摘要 |
<p>Provided in embodiments of the present invention are a method and device for path calculation. On the basis of the embodiments of the present invention, the method for path calculation comprises: determining a path between a first add-drop wavelength interface and a second add-drop wavelength interface on the basis of an interface number of a wavelength-division multiplexing link, of an interface number of the first wavelength add-drop interface, and of an interface number of the second wavelength add-drop interface; and allotting a center frequency for the path on the basis of an unavailable frequency range of the wavelength-division multiplexing link through which the path passes, of an available center frequency of the first add-drop wavelength interface, of an available center frequency of the second add-drop wavelength interface, of a spectrum bandwidth of the first add-drop wavelength interface, and of a spectrum bandwidth of the second add-drop wavelength interface. The present invention allows for automated acquisition of the topology information of a flexible grid network, thereby automatically calculating the link path and allotting available spectrum resources for the flexible grid network.</p> |