this paper proposes a modulation format-based spectrum reconstruction algorithm taking into consideration the feature of variable service modulation format in elastic optical networks and compares in simulation this algorithm with the shortest-path reconstruction algorithm.The results show that the proposed algorithm more flexibly changes the allocation of spectrum subcarriers and effectively improves the utilization of spectrum resources under the same network conditions.