摘要 |
The present invention provides a method and device for routing and wavelength assignment in an optical network. The method comprises: a topology step in which a topology network of the optical network is obtained; a route calculation step in which at least one route in the topology network is calculated, a first node and a last node of the route being predetermined, and the at least one route being part of all routes from the first node to the last node; and a wavelength assignment determination step in which for each node on the route, it is determined whether link attribute information of the node meets a predetermined constraint condition, if the predetermined constraint condition is met, the route is selected as a working route, and the method ends; if the predetermined constraint condition is not met, the method returns to the route calculation step. |