Abstract:
A grooming method and apparatus for a packet optical transport network are disclosed. The method includes: according to an arrangement order of various services, planning a path from a service source node to a service target node in an ith service in a topology set graph; when the path includes a wavelength link in a physical link, removing the wavelength link, and establishing a virtual link between a link source node and a link target node of the removed wavelength link; updating capacities of various links in the path; calculating a weight of a newly established virtual link, and adding the newly established virtual link and the corresponding weight to the topology set graph; and planning a path from a service source node to a service target node in an i+1th service in the topology set graph, until all services are finished.