WO2012103852A2 - Method and device for wavelength-division multiplexing network planning - Google Patents

Method and device for wavelength-division multiplexing network planning Download PDF

Info

Publication number
WO2012103852A2
WO2012103852A2 PCT/CN2012/074185 CN2012074185W WO2012103852A2 WO 2012103852 A2 WO2012103852 A2 WO 2012103852A2 CN 2012074185 W CN2012074185 W CN 2012074185W WO 2012103852 A2 WO2012103852 A2 WO 2012103852A2
Authority
WO
WIPO (PCT)
Prior art keywords
service
virtual
route
link
physical
Prior art date
Application number
PCT/CN2012/074185
Other languages
French (fr)
Chinese (zh)
Other versions
WO2012103852A3 (en
Inventor
曾峰
董继雄
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2012/074185 priority Critical patent/WO2012103852A2/en
Priority to CN201280000341.8A priority patent/CN102934491B/en
Publication of WO2012103852A2 publication Critical patent/WO2012103852A2/en
Publication of WO2012103852A3 publication Critical patent/WO2012103852A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Definitions

  • the present invention relates to optical communication technologies, and in particular, to a wavelength division network planning method and device. Background technique
  • WDM Wavelength Division Multiple
  • the existing WDM network plan is a two-layer network plan, which is designed from the client layer to the service layer, that is, first based on input network data, such as sites, links, services, and various restrictions.
  • the client layer is virtual topology, and then the virtual topology and the physical topology are mapped. After the mapping is completed, the route of the virtual link on the virtual topology is determined on the physical topology, and finally the virtual topology and the virtual topology are obtained. Corresponding physical topology.
  • the present invention provides a WDM network planning method and apparatus for reducing the cost of a WDM network plan.
  • Embodiments of the present invention provide a WDM network planning method, including:
  • Obtaining a service requirement of the user where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
  • each physical path of each of the services a fiber link that is a source node from each of the services to a sink node of each of the services; a shortest path corresponding to each physical route of each of the services, and a physical quantity of each of the services
  • the shortest path corresponding to the route is a virtual link connection with the lowest link cost when each of the services is carried by the virtual link on each physical route of each of the services; each physical route of each service corresponds to The shortest link cost includes the cost of creating a virtual link carrying the each service and the physical cost of each physical route of each service on each physical route of each service;
  • the shortest route with the lowest link cost in the shortest path corresponding to all the physical routes of each service is used as the target route of each service, and the target route of each service and the bandwidth of each service are determined according to the bandwidth of each service.
  • the virtual link information of each service is obtained, and the virtual link information of the first network is obtained.
  • the virtual link information of each service includes the number of virtual links
  • the embodiment of the present invention provides a computer program product, including computer program code.
  • a computer unit executes the computer program code, the computer unit performs the operations described in the wavelength division network planning method provided by the embodiment of the present invention.
  • the embodiment of the invention provides a wavelength division network planning device, which includes:
  • a receiver configured to acquire a service requirement of the user, where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
  • a route calculation unit configured to calculate at least one physical route for each of the services, where each physical route of each service is an optical fiber from a source node of each service to a sink node of each service Link
  • a shortest path calculation unit configured to calculate a shortest path corresponding to each physical route of each service, where a shortest path corresponding to each physical route of each service is on each physical route of each service The virtual link connection with the lowest link cost when each of the services is carried by the virtual link; the shortest link cost corresponding to each physical route of each service is included in each physical of each service The cost of creating a virtual link carrying each of the services and the physical cost of each physical route of each service on the route;
  • a virtual topology obtaining unit configured to select a shortest path with the lowest link cost from a shortest path corresponding to all physical routes of each service as a target route of each service, according to each of the industries
  • the target route and the bandwidth of each of the services determine the virtual link information of each of the services;
  • the virtual link information of each of the services includes the number of virtual links and the bearer that carries each of the services. Describe the capacity and end nodes of each virtual link of each service;
  • the physical topology obtaining unit is configured to determine a physical route corresponding to the target route of each service, and obtain a first network physical topology that forms a mapping relationship with the first network virtual topology.
  • the WDM network planning method, device and computer program product provided by the embodiments of the present invention calculate at least one physical route from a source node of a service to a sink node of a service for each service, and then calculate each physical route of each service.
  • Corresponding shortest path selecting the shortest route with the lowest link cost from all the shortest paths corresponding to each service as the target route of each service, and determining the virtual link information of each service according to the target route and bandwidth of each service, Then obtain the virtual topology of the network, determine the physical route corresponding to the target route of each service, and then obtain the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network.
  • the embodiment of the present invention determines the virtual link of the bearer service and the physical route that carries the virtual link based on the shortest link with the lowest link cost, and finally obtains the network virtual topology and the network physics that forms a mapping relationship with the network virtual topology. Topology, effectively reducing the cost of multi-layer network planning.
  • FIG. 1 is a flowchart of a WDM network planning method according to an embodiment of the present invention
  • FIG. 1B is a flow chart of an embodiment of step 103 in FIG. 1A according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an embodiment of step 102 to step 105 according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a WDM network planning method according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a WDM network planning method according to another embodiment of the present invention.
  • FIG. 5A is a schematic diagram of a directed connection relationship corresponding to service 1 according to an embodiment of the present invention
  • FIG. 5B is a schematic diagram of a directed connection relationship corresponding to service 2 according to an embodiment of the present invention
  • FIG. 5C is a schematic diagram of a directed connection relationship corresponding to service 3 according to an embodiment of the present invention
  • FIG. 5D is a schematic diagram of a WDM network planning result according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a WDM network planning device according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a WDM network planning device according to another embodiment of the present invention.
  • FIG. 1A is a flowchart of a WDM network planning method according to an embodiment of the present invention. As shown in FIG. 1A, the method in this embodiment includes:
  • Step 101 Obtain a service requirement of the user.
  • the service requirements of the user include but are not limited to: the source node of each service, the sink node of each service, and the bandwidth of each service.
  • the user's business needs may also include the number of failures allowed by the service, the separation policy, the necessary routing nodes, and the non-routing nodes. Business needs will vary depending on the business.
  • the execution subject of this embodiment may be a WDM network planning device.
  • the method for obtaining the service requirement of the user may be as follows:
  • the wavelength division network planning device provides an input interface to the user, and the user inputs its own service requirement through the input interface, that is, inputs information such as a source node, a sink node, and a bandwidth of each service.
  • the user can also input the number of failures allowed by the service through the input interface, the separation policy, the necessary routing nodes, and the routing nodes.
  • the WDM network planning device is directly obtained from other devices.
  • Other devices may be servers that store the user's business needs, but are not limited thereto.
  • Step 102 Calculate at least one physical route for each service, and each physical route of each service is a fiber link from a source node of each service to a sink node of each service.
  • the WDM network planning device calculates at least one physical route for each service according to the physical topology of the network and the source node and the sink node of each service in the service requirement. Physical routing It is the fiber link from the source node of the service to the sink node of the service. Among them, the physical topology belongs to the service layer. It can be seen that the WDM network planning device of the present embodiment starts from the service layer when planning the WDM network, instead of starting from the client layer as in the prior art, that is, not counting the virtual from the prior art. The link begins.
  • Step 103 Calculate the shortest path corresponding to each physical route of each service.
  • the shortest path corresponding to each physical route of each service is to carry each service time chain through the virtual link on each physical route of each service. The lowest cost virtual link connection.
  • a virtual link is formed by a wavelength link of a wavelength division network.
  • the service is carried in a wavelength link, and the wavelength link is carried in a fiber link (ie, a physical route) on the physical topology.
  • a fiber link ie, a physical route
  • the cost of links consumed by different virtual link connections is different.
  • the virtual link connection of the bearer service with the lowest link cost per physical route is referred to as the shortest path.
  • Wavelength network costs primarily include physical network costs and all wavelength link costs. Since the physical network is initially built, the main cost of planning is the cost of the wavelength link, that is, the cost of the virtual link carrying the service.
  • the shortest link cost corresponding to each physical route of each service includes the cost of creating a virtual link carrying each service and each service of each service on each physical route of each service. The physical cost of physical routing.
  • the virtual link existing in the network may be preferentially considered, but when the existing virtual link does not have sufficient capacity, a new virtual link is allowed to be added to the network to satisfy The requirements that carry the business.
  • the WDM network planning device sorts all the services, and sequentially calculates the shortest path corresponding to all the physical routes of each service according to the sorted service sequence. .
  • the capacity of the virtual link used is sufficiently large in calculating the shortest path of each physical route, and the actual capacity of the virtual link is determined in a subsequent planning process.
  • Step 104 Select the shortest route with the lowest link cost from the shortest path corresponding to all the physical routes of each service as the target route of each service, and determine the service of each service according to the target route of each service and the bandwidth of each service.
  • the number of virtual links and the capacity and end nodes of each virtual link carrying each service obtain the first network virtual topology.
  • the belongings The shortest link cost corresponding to the routing is compared, and the shortest path with the lowest link cost is selected as the target route of the service; then, the physical route corresponding to the target route of the service is determined as the physical route of the service, according to the The target route of the service and the bandwidth of the service determine the virtual link information of the service.
  • the physical route corresponding to the target route of each service (that is, the physical route of each service) is used to carry the virtual link of each service.
  • the WDM network planning device can sort all the services, and sequentially calculate the target routes of each service according to the sorted service order.
  • the WDM network planning device can calculate the target route of the service after calculating the shortest path of all physical routes of a service.
  • the virtual link information of each service includes the number of virtual links carrying each service and the capacity and end nodes of each virtual link carrying each service.
  • the capacity of the virtual link carrying the service is greater than or equal to the bandwidth of the carried service.
  • the WDM network planning device may determine, according to the cross-nodes on the target route of each service, the number of virtual links that carry each service and the end nodes of each virtual link that carries each service.
  • the cross-node on the target route of each service is a node other than the source node of each service and the sink node of each service on the target route of each service.
  • the end node of a virtual link can be the source node of the service and the nearest cross-node from the source node, two adjacent cross-nodes, and the sink node of the distance service.
  • the target route of a service is the node A-node B-node C-node D
  • the node A and the node D are respectively the source node and the sink node of the service
  • the cross-node on the target route of the service is Node B and node C
  • the service needs three virtual links to carry, and the end nodes of one virtual link are node A and node B, respectively, and another virtual link
  • the end nodes are node B and node C, respectively, and the end nodes of the last virtual link are node C and node D, respectively.
  • the target route of a service is the node A-Node B
  • the node A and the node B are the source node and the sink node of the service respectively
  • the target route of the service does not have a cross node
  • the line can be determined.
  • the service needs to be carried by a virtual link.
  • the end nodes of the virtual link are node A and node B, respectively.
  • the capacity of the virtual link carrying each service is to meet the bandwidth requirement of the service carried by the virtual link. This is a basic requirement for virtual links. Therefore, the WDM network planning device can determine the capacity of each virtual link carrying each service according to the bandwidth of each service. For example, if only one service exists on a virtual link carrying a service, the WDM network planning device can determine the capacity of the virtual link that carries the service according to the bandwidth of the service. If one virtual link carrying one service also carries another service, the WDM network planning device determines the virtual part of the service and the other service according to the sum of the bandwidth of the service and another service. The capacity of the link. In a WDM network, the capacity of a wavelength link is generally fixed, such as 20G, 40G, or 100G. Therefore, the WDM network planning device determines the capacity of the virtual link, that is, determines which capacity of the wavelength link to use and The number of wavelength links used.
  • the capacity of the virtual link determines the cost of the WDM network planning to a certain extent.
  • the virtual link that carries the lowest cost is determined based on the virtual link connection with the lowest link cost on the physical route. Road information is therefore beneficial to reduce the planning cost of the WDM network.
  • the virtual topology of the network is mainly composed of information such as the virtual link carrying each service in the network and the capacity of the virtual link. Therefore, after the virtual link information of all services in the network is obtained, the virtual topology of the network (that is, the first network virtual topology) can be obtained according to the virtual link information of all services.
  • the obtained virtual link information of all services directly constitutes the first network virtual topology.
  • the existing virtual topology may be updated according to the obtained virtual link information of all services to obtain a first network virtual topology.
  • the "renewing the existing virtual topology based on the obtained virtual link information of all services to obtain the first network virtual topology" mainly refers to the virtual link information according to each service, and the existing virtual extension Puzhong adds a virtual link and/or changes the capacity of an existing virtual link to obtain a first network virtual topology.
  • Step 105 Determine a physical route corresponding to the target route of each service, and obtain a first network physical topology that forms a mapping relationship with the virtual topology of the first network.
  • the physical route corresponding to the target route of each service is the physical route of the virtual link that carries each service. Therefore, after obtaining the virtual topology of the first network, the WDM network planning device can determine according to the determined The physical route corresponding to the target route of each service is obtained by the first network physical topology that forms a mapping relationship with the first network virtual topology.
  • the first network physical topology is actually a physical topology consisting of physical routes carrying virtual links in the virtual topology of the first network.
  • the WDM network planning device obtains the target route of each service at the customer layer based on at least one physical route of each service calculated by the service layer, and obtains the virtual link information of each service, and finally obtains The virtual topology of the entire network and the network physical topology that form a mapping relationship with the virtual topology of the entire network realize the planning from the service layer to the client layer.
  • the client layer refers to a virtual topology that consists of virtual links.
  • one or more of the following information may be saved: the service requirement of the user acquired in step 101, the physical route calculated in step 102, and the shortest path calculated in step 103, determined by step 104.
  • the WDM network planning device calculates at least one physical route for each service according to the physical extension of the source node, the sink node, and the network of the service, and then calculates the shortest corresponding to each physical route of each service.
  • the shortest path with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network is obtained.
  • the virtual topology determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network.
  • the virtual link of the bearer service and the physical route carrying the virtual link are determined based on the virtual link connection with the lowest link cost, and finally the network virtual topology and the network forming the mapping relationship with the network virtual topology are obtained.
  • the physical topology effectively reduces the cost of multi-layer network planning.
  • the planning method of this embodiment is a planning method from the service layer to the client layer, avoiding the design from the client layer to the service layer in the prior art. The various problems encountered in the train of thought are also conducive to reducing the cost of multi-layer network planning.
  • the target route of each service at the customer layer is obtained based on at least one physical route of each service calculated by the service layer, and then the virtual link information of each service is obtained, and finally the virtual topology of the network is obtained.
  • the virtual topology becomes evidence-based, and solving the problem that the existing virtual topology cannot be obtained from many virtual topologies in the prior art.
  • a virtual link that carries each service is obtained based on the virtual link connection with the lowest link cost, and the planning cost is high due to the number of hops on the virtual link in order to meet the separation feature in the prior art. The problem.
  • the service failure prevention capability refers to that the service must be able to reach the sink node through other physical paths once the physical path selected by the service fails. That is to say, if the service is required to have anti-fault capability, it is necessary to establish a standby physical route for the service that satisfies a certain separation characteristic.
  • the wavelength division network planning device can use K
  • KSP K shortest paths
  • step 102 may specifically adopt the following implementation manners:
  • the WDM network planning device can use the link separation algorithm to calculate at least one link separation route for each service.
  • the link separation route is a physical route that satisfies the number of failures that the service is allowed to bear.
  • the process of calculating a link separation route on a physical topology belongs to the prior art and will not be described in detail herein.
  • the WDM network planning device can also use the node separation algorithm to calculate at least one separate node route for each service.
  • the node separation route is a physical route that satisfies the number of failures that the service is allowed to bear.
  • the process of calculating a node separation route on a physical topology belongs to the prior art and will not be described in detail herein.
  • the WDM network planning device can also calculate at least one SRLG separate route for each service using the Shared Risk Link Group ( SRLG) separation algorithm.
  • SRLG Shared Risk Link Group
  • the SRLG split route is a physical route that satisfies the number of failures that the service is allowed to bear.
  • the process of calculating the SRLG separation route on the physical topology belongs to the prior art and will not be described in detail herein.
  • step 103 the process of an embodiment of step 103 is as shown in FIG. 1B, and specifically includes: Step 103: forming a directional corresponding to each physical route of each service according to a node that passes through each physical route of each service Connection relationship.
  • the directional connection relationship corresponding to each physical route of each service includes the source node of each service and the destination node of each service between two nodes on each physical route of each service. Directed connection.
  • the directed connection relationship may be a directed graph, but is not limited thereto.
  • the directed graph corresponding to each physical route includes a directed connection from the source node to the sink node between the two nodes on each physical route.
  • a directed connection can be referred to as an edge.
  • Step 103b Assign a weight value to each of the directed connections in the directed connection relationship corresponding to each physical route of each service.
  • the weight value of each directed connection in the directed connection relationship is related to whether a virtual link exists on the fiber link corresponding to the directed connection.
  • the principle of assigning a weight value to a directed connection in a directed connection relationship is as follows: the weight value d of the directional connection of the virtual link already exists on the corresponding fiber link, and the virtual link does not exist on the corresponding fiber link. The weight value of the directed connection.
  • a random assignment may be used to assign a weight value to each directed connection in the directed connection relationship. For example, if there is no virtual link on the fiber link corresponding to a directed connection, the weight value can be assigned to infinity, but it is not limited to this; if there is a virtual link on the fiber link corresponding to a directed connection, Assign the weight value to 10 or 1, etc., but it is not limited to this.
  • the weight value may be assigned to the directional connection according to the following manner: if the virtual link already exists on the fiber link corresponding to the directional connection The weight of the directed connection is the physical cost of the fiber link corresponding to the directed connection. If there is no virtual link on the fiber link corresponding to the directed connection, the weight of the directed connection is the fiber corresponding to the directed connection. The cost of creating a new virtual link on the link and the physical cost of the fiber link corresponding to the directed connection.
  • the wavelength division network planning device may calculate, according to formula (1), a weight value of each directed connection in each of the directed connection relationships corresponding to each physical route of each service; and then calculate the calculated directed connection.
  • the weight value is assigned to the directed connection in the directed connection relationship corresponding to each physical route of each service.
  • Cos is the calculated weight value of the directed connection.
  • the service installation cost is the cost of creating a virtual link on the fiber link corresponding to the directed connection. For example, if the cost of creating a new virtual link is set to 1, the new fiber link on the directional connection is new. The cost of building two virtual links is 2. If the virtual link is not required to be created on the fiber link corresponding to the directed connection, the cost is 0.
  • the OMS cost is the physical cost of the fiber link corresponding to the directed connection, that is, the cost of the physical device such as the fiber on the fiber link.
  • the traffic on the path is the amount of traffic on the existing virtual link on the fiber link corresponding to the directed connection; for example, if two virtual links already exist on the fiber link corresponding to a wired connection, the fiber link
  • the traffic on the road is the sum of the traffic on the two virtual links. It is explained here that the traffic volume of this embodiment mainly refers to the bandwidth of the service.
  • Wl, w2, and w3 are weight coefficients.
  • wl, w2 and w3 allow the user to make adjustments for different services.
  • Step 103c Calculate a shortest path corresponding to each physical route of each service according to the weighted value of each directed connection in each of the directed connection relationship and the directed connection relationship of each physical route of each service.
  • the WDM network planning device can calculate all virtual link connections from the source node of the service to the sink node of the service according to the directed connection relationship, that is, obtain the slave All single-directional directed connections from the source node of the service to the sink nodes of the service and all combinations of multiple directed connections. Then, the WDM network planning device uses the weight value of a single directed connection from the source node of the service to the sink node of the service as the link cost corresponding to the single directed connection, and respectively sets the source node of each service to the service.
  • the weight values of the respective connected connections in the combination of the directed connections of the nodes are added as the link costs corresponding to the combinations of the directed connections, and finally a combination of a single directed connection or a directed connection with the lowest link cost is selected. As the shortest path of the physical route.
  • the implementation manner of the step 103c may be: the wavelength division network planning device takes as input a weighted value of each directed connection relationship and a directed connection in each of the directed connections of each physical route of each service,
  • the shortest path algorithm is used to calculate the shortest path corresponding to each physical route of each service.
  • the use of the shortest path algorithm is beneficial to improve the efficiency of obtaining the shortest path.
  • the link cost corresponding to the shortest path is obtained.
  • the above first forms a directed connection relationship, then assigns a weighted value to the directed connection in the directed connection relationship, and finally obtains a directed connection or a directed connection with the lowest link cost according to the weighted value of the directed connection relationship and the directed connection.
  • the combination as the shortest path embodiment has the advantages of simple implementation, high efficiency, and the like.
  • FIG. 2 shows an implementation flow of the joint implementation of the foregoing steps 102-105, but is not limited to This.
  • the implementation process includes:
  • Step 1031 Sort all services.
  • Step 1032 Select one service from all services according to the service sequence, and subtract 1 from the total number of services.
  • Step 1033 Initialize the link cost corresponding to the selected service to infinity.
  • Step 1034 Determine whether to traverse all the physical routes of the selected service. If the determination result is no, go to step 1035. If the judgment result is yes, go to step 1038.
  • Step 1035 Select a physical route that is not traversed from all physical routes of the selected service, and calculate a shortest path corresponding to the selected physical route.
  • the wavelength division network planning device first forms a directed connection relationship of the selected physical route according to the node through which the selected physical route passes.
  • the WDM network planning device assigns a weight value to each of the directed connections in the directed connection relationship corresponding to the selected physical route according to the existence of the virtual link on the selected physical route.
  • the assignment principle is: the weight value of the directional connection of the virtual link on the corresponding fiber link d, and the weight value of the directional connection of the virtual link on the corresponding fiber link.
  • the wavelength division network planning device may calculate, according to formula (1), a weight value of each directed connection in the directed connection relationship corresponding to the selected physical route, and then assign the calculated weight value to the corresponding one. To connect.
  • the wavelength division network planning device calculates the shortest path corresponding to the selected physical route by using the directed connection relationship corresponding to the selected physical route and the weight value of each directed connection in the directed connection relationship.
  • the wavelength division network planning device may input the weight value of the directed connection relationship corresponding to the selected physical route and the directed connection in the directed connection relationship, and calculate the selected physical route by using the shortest path algorithm.
  • the shortest path and the shortest link cost may be input the weight value of the directed connection relationship corresponding to the selected physical route and the directed connection in the directed connection relationship.
  • Step 1036 Determine whether the shortest link cost corresponding to the selected physical route is less than the link cost corresponding to the selected service; if the determination result is yes, go to step 1037; if the judgment result is no, go back to step 1034.
  • Step 1037 Update the link cost corresponding to the selected service to the shortest link cost corresponding to the selected physical route, and update the target route of the selected service to the selected physical path. Return to step 1034 by the corresponding shortest path.
  • Steps 1034 to 1037 are specifically the process of selecting the shortest path with the lowest link cost from the shortest path corresponding to at least one physical route of the selected service as the target route of the selected service.
  • Step 1038 Determine a physical route corresponding to the target route of the selected service as a physical route of the selected service, and determine virtual link information of the selected service according to the target route of the selected service and the bandwidth of the selected service.
  • the network virtual topology is updated according to the virtual link information of the selected service, and step 1039 is performed.
  • the target route of the selected service is the shortest route with the lowest link cost in the shortest path corresponding to all the physical routes of the selected service, and the link is the shortest.
  • the physical route with the lowest cost shortest path corresponds to the physical route of the selected service.
  • the WDM network planning device determines the number of virtual links carrying the selected service according to the cross-nodes on the target route of the selected service. If there is no virtual link on the physical route corresponding to the target route of the selected service, all the virtual links need to be created on the physical route corresponding to the target route of the selected service; if the selected service is in the selected service If one or more virtual links exist on the physical route corresponding to the target route, you only need to create the remaining virtual link on the physical route corresponding to the target route of the selected service.
  • the WDM network planning device further needs to determine the capacity of each virtual link carrying the selected service according to the bandwidth of the selected service. For a virtual link that already exists, the bandwidth planning device determines the bandwidth for the virtual link. For example, the bandwidth of the virtual link is updated, for example, the bandwidth is increased, and the bandwidth may be increased by adding a new wavelength link or replacing the bandwidth. Large wavelength link implementation.
  • Step 1039 Determine whether the total number of services is 0. If the judgment result is no, return to step 1032; if the determination result is yes, go to step 1040.
  • Step 1040 Obtain a network physical topology that forms a mapping relationship with the current network virtual topology according to the determined physical route of each selected service, and end the operation.
  • a variable such as the total number of services is set, and each time a service is processed, 1 is subtracted to record whether virtual link information of all services is calculated.
  • the judgment result is no, that is, the total number of services is not 0, indicating that there are still services that have not been processed, then continue to acquire the service and then process it. If the judgment result is yes, the total number of services is 0. If the virtual link information of all the services is calculated, the physical topology of the network that is mapped to the virtual topology of the network is obtained according to the determined physical route of all services, and the operation ends; at this time, according to step 1038, The network virtual topology after the updated virtual link information of the selected service is the first network topology, and the first network physical topology formed by the mapping with the first network virtual topology is obtained in step 1040.
  • the processing flow provided in this embodiment has the advantages of simple implementation, high efficiency, and the like while realizing the purpose of calculating the virtual link of the client layer according to the service layer physical route.
  • the WDM network planning device may further optimize the first network virtual topology to obtain a third network virtual topology.
  • the method further includes: Step 106: Delete at least one virtual link in the virtual topology of the first network, determine at least one affected service, and obtain the first Two network virtual topography.
  • At least one of the affected services includes the service of the deleted virtual link, that is, the service carried by the deleted virtual link.
  • the WDM network planning device may randomly select at least one existing virtual link in the first network virtual topology to delete the virtual link.
  • a service carried by the virtual link is called an affected service because the service is carried on each virtual link.
  • the number of affected services is the number of services carried by the deleted virtual link.
  • obtaining the virtual topology of the second network in this embodiment refers to the virtual topology after releasing the bandwidth resources occupied by all affected services.
  • Step 107 Obtain virtual link information of each affected service in at least one affected service.
  • an implementation manner of step 107 includes: the wavelength division network planning device can calculate a shortest path corresponding to each physical route of each affected service; and obtain a shortest path corresponding to all physical routes of each affected service. The shortest path with the lowest link cost is selected as the target route of each affected service. The virtual link information of each affected service is determined according to the target route of each affected service and the bandwidth of each affected service.
  • the physical route corresponding to the target route of each affected service can be determined as the physical route of each affected service.
  • step 103 For the process of calculating the shortest path corresponding to each physical route of each affected service, the description of the specific implementation manners of step 103 and step 103 is omitted.
  • the target route of each affected service and the bandwidth of each affected service determine the virtual link information of each affected service. For details, refer to the description in step 104, and details are not described here.
  • Step 108 Update the number of virtual links in the virtual topology of the second network according to the number of virtual links in the virtual link information of each affected service to obtain a virtual topology of the third network.
  • the number of virtual links in the virtual topology of the second network is mainly increased according to the number of virtual links in the virtual link information of each affected service. / or delete the virtual link.
  • the at least one virtual link in the virtual topology of the first network is deleted, and the affected service and the virtual topology of the second network are obtained, and then the virtual link information of the affected service is obtained, and then obtained according to the obtained virtual link.
  • the number of virtual links in the virtual link information that affects the service is updated.
  • the virtual topology of the second network is used to obtain the virtual topology of the third network, which optimizes the virtual topology of the network, which is beneficial to further reduce the planning cost of the multi-layer network.
  • the result of updating the number of virtual links in the virtual topology of the second network is usually: updating the second network virtual topology according to the number of virtual links in the virtual link information of each affected service obtained.
  • the number of virtual links in the third network virtual topography obtained by Park is less than the number of virtual links in the virtual topology of the first network, so that the purpose of optimizing the virtual topology of the network can be achieved, but it is not limited thereto.
  • the result of updating the number of virtual links in the virtual topology of the second network may be: updating the second network virtual topology according to the number of virtual links in the virtual link information of each affected service.
  • the number of virtual links in the obtained third network virtual topology is the same as the number of virtual links in the first network virtual topology. For this update result, the network virtual topology can be further updated.
  • the method further includes:
  • Step 109 Determine whether the update operation ends; if the determination result is no, perform step 110; otherwise, end the operation.
  • Step 110 Determine whether the number of virtual links in the virtual topology of the third network is smaller than the number of virtual links in the virtual topology of the second network. If the determination result is no, go to step 111; if the judgment result is yes, execute Step 112.
  • Step 111 Restore the third network virtual topology to the second network virtual topology, and re-create the second network virtual topology as the first network virtual topology, and return to step 106 until the update operation ends.
  • Step 112 Re-establish the third network virtual topology as the first network virtual topology, and return to step 106 until the update operation ends.
  • This embodiment is equivalent to the process of continuously updating the virtual topology of the network for the purpose of reducing the number of virtual links in the virtual topology of the network.
  • the third network virtual topology is obtained, and the number of virtual links in the virtual topology of the third network and the number of virtual links in the virtual topology of the second network before the update are obtained by the WDM network planning device. Comparing, that is, determining whether the number of virtual links in the third network virtual topology obtained by the update is smaller than the number of virtual links in the virtual topology of the second network before the update, that is, determining the updated third network virtual Whether the number of virtual links in the topology is smaller than the number of virtual links in the virtual topology of the first network, that is, whether the planning cost of the network is reduced.
  • the number of virtual links in the network virtual topology determines the size of the network planning cost.
  • the result of the update is accepted, and the third network virtual topology is re-established.
  • the next update process that is, returns to step 106 until the update process ends.
  • the update processing operation ends.
  • the update threshold may be input by the user or may be determined by the update algorithm used.
  • the update processing operation ends.
  • the update processing time can be input by the user.
  • the update processing method provided in this embodiment has the advantages of simple implementation, fast processing speed, and reduced network.
  • the WDM network planning device may further optimize the number of virtual links in the first network virtual topology.
  • the objective is to use a simulated annealing algorithm, an evolution algorithm, a particle swarm algorithm or an ant colony algorithm to optimize the virtual link in the network to obtain a third network virtual topology.
  • the simulated annealing algorithm, the evolution algorithm, the particle swarm algorithm, or the ant colony algorithm are all common optimization processing algorithms. Therefore, the specific embodiments of the present invention are not described.
  • the physical topology of the network is a linear physical topology
  • the linear physical topology is: Node A-Node B-Node C-Node D-Node E.
  • there are three services in the network and there is no protection service, that is, the number of service failures per service is 0, the bandwidth of each service is 2.5G, and the three services are: Service 1: Node A-node C; Service 2: Node C - Node E; Service 3: Node A - Node E.
  • Node A and node C are the source node and the sink node of service 1, respectively; node C and node E are the source node and the sink node of service 2, respectively; node A and node E are the source node and the sink node of service 3, respectively.
  • the capacity of each virtual link is preset to be 10 G.
  • the first step is to calculate the physical route of each service based on the linear physical topology.
  • a physical route is calculated for the service 1 according to the linear physical topology and the source and the sink node of the service 1, and the physical route is: node A-node B-node C;
  • the physical route is: node C-node D-node E;
  • a physical route is calculated for service 3.
  • the physical route is: node A-node B-node C-node D-node E.
  • the second step is to obtain the first network virtual topology.
  • the order of the service planning obtained by the ordering is Service 1, Service 2, and Service 3.
  • plan for Business 1 first.
  • Service 1 has only one physical route, and the nodes passing through the physical route form a directed connection relationship, as shown in FIG. 5A. There are a total of three directed connections in the directed connection relationship, namely:
  • the number of cross-node combinations selectable on the physical route is 2, and there is no cross node and node B as cross nodes. Since the number of virtual links in the current network is 0, if node B is selected as the cross-node, two virtual links need to be created, that is, a new fiber link corresponding to the directed connection formed by node A to node B needs to be new. Create a virtual link, the corresponding service installation cost is 1, and node A to node B only need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the path The traffic on the link is 0. On the fiber link corresponding to the directed connection formed by the node B to the node C, a virtual link needs to be created.
  • the corresponding service installation cost is also 1, and the node B to the node C only need one.
  • the cost of the corresponding OMS is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0. If you do not have a cross-node, you need to create a virtual link. A virtual link needs to be created on the fiber link corresponding to the directed connection from node A to node C.
  • the corresponding service installation cost is 1, because node A is Node C needs to go through two hops, so the corresponding OMS cost is 2, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
  • the wavelength division network planning device may first acquire all virtual link connections from the node A to the node C, and then add the weight values of the directed connections included in each virtual link connection as links of the corresponding virtual link connections. cost.
  • the link bearer mode of 110 is that node A to node C are the shortest.
  • the method of calculating the shortest path is called a direct calculation method.
  • the WDM network planning device can take the direct connection relationship and the weight value of each directed connection as input, and directly use the shortest path calculated by the shortest path algorithm.
  • the shortest path corresponding to the physical route of the calculation service 1 is terminated after the shortest path corresponding to the physical route is calculated.
  • the calculated shortest path is the destination route of service 1
  • the physical route corresponding to the target route is also the physical route of service 1.
  • the target route of service 1 does not include a cross node (that is, does not include nodes other than the source node and the sink node), it is determined that the number of virtual links of service 1 is 1, and the virtual link is recorded as VLinkl, VLinkl.
  • the source and sink nodes are node A and node C, respectively. Since the bandwidth of service 1 is 2.5G, the remaining bandwidth of VLink1 after carrying service 1 is 7.5G.
  • SrcDst represents the source and sink nodes of the virtual link
  • FreeBand represents the remaining bandwidth of the virtual link.
  • the physical route of service 1 is: node A-node B-node C; the virtual link of service 1 is: VLinkl.
  • the planning process for Business 2 is similar to the planning process for Business 1.
  • Service 2 also has only one physical route, and the nodes passing through the physical route form a directed connection relationship, as shown in FIG. 5B.
  • the directed connection relationship includes three directed connections, which are:
  • the number of cross-node combinations selectable on the physical route is 2, and there is no cross node and node D as cross nodes, respectively. If you select node D as the cross-node, you need to create two virtual links. That is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node C to node D. The corresponding service installation cost is 1.
  • the corresponding service installation cost is 1, and node D to node E only needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the path is The business volume is 0. If you do not have a cross-node, you need to create a virtual link, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node C to node E.
  • the corresponding service installation cost is 1.
  • the wavelength division network planning device uses the direct calculation method or the shortest path calculation method to calculate the shortest path as the node C-node E, and the shortest link cost is 110.
  • the shortest path corresponding to the physical route of the calculation service 2 is ended.
  • the shortest path calculated is the target route of service 2.
  • the physical route corresponding to the target route is also the physical route of service 2.
  • the target route of the service 2 does not include the cross node (that is, the node other than the source node and the sink node is not included), it is determined that the number of virtual links of the service 2 is 1, and the virtual link is recorded as VLink2, VLink2.
  • the source and sink nodes are node C and node E, respectively. Since the bandwidth of service 2 is 2.5G, the remaining bandwidth of VLink2 after carrying service 2 is 7.5G.
  • Service 2 For Service 2, the physical route of Service 2 is: Node C-Node D-Node E; The virtual link of Service 2 is: VLink2.
  • the Service 3 also has only one physical route, and a node according to the physical route forms a directed connection relationship, as shown in FIG. 5C.
  • the directed connection relationship includes 10 directed connections, which are:
  • a virtual link needs to be created on the fiber link corresponding to the directed connection from node A to node E.
  • the corresponding service installation cost is 1, and node A is The node E needs four hops, so the corresponding OMS cost is 4. Since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
  • the virtual link that corresponds to the directional connection formed by the node A to the node B needs to create a virtual link.
  • the corresponding service installation cost is 1. Node A to Node B only need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; at node B to node E A virtual link needs to be newly created on the fiber link corresponding to the directed connection.
  • the corresponding service installation cost is 1, and the node B to node E needs three hops. Therefore, the corresponding OMS cost is 3, and the virtual link is required. Created, so there is no traffic, then the traffic on the path is 0.
  • the service 1 is already present, so the traffic on the path is 1; the virtual link VLink2 already exists on the fiber link corresponding to the directed connection formed by the node C to the node E, so no new virtual link needs to be created.
  • the service installation cost is 0.
  • the node C to node E requires two hops, and the corresponding OMS cost is 2. Since the service 2 already exists on VLink2, the traffic on the path is 1.
  • the corresponding service installation cost is 1.
  • Node A to node D need three hops, so the corresponding OMS cost is 3, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; from node D to node E A virtual link needs to be created on the fiber link corresponding to the directed connection.
  • the corresponding service installation cost is 1.
  • the node D to node E needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual link needs to be newly created. Therefore, there is no traffic, and the traffic on the path is 0.
  • the corresponding service installation cost is 1 , Node A to Node B need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; at Node B to Node C A virtual link needs to be created on the fiber link corresponding to the directed connection.
  • the corresponding service installation cost is 1, and the node B to node C needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual link is required. Newly created, so there is no traffic, then the traffic on the path is 0.
  • the weight values of each of the directed connections are respectively calculated according to the formula (1).
  • the corresponding service installation cost is 1 , Node A to Node B need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; Node B to Node D constitute A virtual link needs to be newly created on the fiber link corresponding to the directed connection.
  • the corresponding service installation cost is 1, and the node B to node D needs two hops. Therefore, the corresponding OMS cost is 2, and since the virtual link needs new Created, so there is no traffic, the traffic on the path is 0; a virtual link needs to be created on the fiber link corresponding to the directed connection formed by the node D to the node E, and the corresponding service installation cost is 1.
  • Node D to node E needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
  • the weight values of each of the directed connections are respectively calculated according to the formula (1).
  • the installation cost is 1, the node A to the node B needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; A virtual link needs to be newly created on the fiber link corresponding to the directed connection formed by the node C.
  • the corresponding service installation cost is 1, and the node B to node C needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual chain is The road needs to be newly created, so there is no traffic, and the traffic on the path is 0.
  • a virtual link needs to be created on the fiber link corresponding to the directed connection formed by the node C to the node D.
  • the cost is 1, the node C to the node D needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; Directed connection of node E Need to create a new virtual link on the corresponding fiber link corresponding to the installation cost of a service, the node D to node E need to hop, Therefore, the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
  • the WDM network planning device can calculate the shortest path to the node A-node C-node E using the direct calculation method or using the shortest path algorithm, and the shortest link cost is 18.
  • the shortest path corresponding to the physical route of the calculation service 3 is ended.
  • the shortest path calculated is the destination route of service 3.
  • the physical route corresponding to the target route is also the physical route of service 3.
  • the number of virtual links in service 3 is 2, and the two virtual links are VLink1 and VLink2. Since the bandwidth of service 3 is 2.5G, the remaining bandwidth of VLinkl and VLink2 after carrying service 3 is 5G.
  • the physical route of service 3 is: node A-node B-node C-node D-node E; the virtual link of service 3 is: VLinkl and VLink2.
  • the virtual topology of the network in the WDM network planning result is composed of two virtual links, namely VLink1 and VLink2.
  • the WDM network planning result also includes a network that forms a mapping relationship with the network virtual topology.
  • Physical topology the physical topology of the network is determined by the physical route of service 1: Node A - Node B - Node C, Physical route of Service 2: Node C - Node D - Node E and Physical route of Service 3: Node A - Node B-node C-node D-node E is constructed.
  • the physical route of the service 1 and the physical route of the service 2 coincide with the physical route of the service 3, and therefore, the network physical topology of the embodiment is visually observed by the physical route: Node A-Node B - Node C - Node D - Node E.
  • Step 3 Update the virtual topology of the network.
  • Stpl deletes a virtual link.
  • the deleted virtual link is VLink1.
  • the affected services related to VLinkl are service 1 and service 3.
  • the resources occupied by service 1 and service 3 are released, and the virtual topology of the network after the virtual link is deleted is obtained.
  • This example is to delete a virtual link as an example, but is not limited thereto.
  • the physical route of Service 1 is: Node A-Node B-Node C
  • the virtual link of Service 1 is: VLinkl
  • the physical route of Service 2 is: Node C-Node D-Node E
  • Virtual Link of Service 2 is: VLink2
  • the physical route of service 3 is: node A-node B-node C-node D-node E
  • the virtual link of service 3 is: VLinkl and VLink2.
  • the result of updating the virtual topology of the network includes at least one of the following: finally updating the capacity of the virtual link in the virtual topology of the network, and finally updating the virtual topology of the virtual link in the network. The number.
  • the update result of the virtual topology of the network is mainly based on the number of virtual links in the virtual topology of the network.
  • the WDM network planning method provided by the embodiment of the present invention is a multi-layer planning method based on the self-service layer to the client layer, avoiding the prior art from the client layer to the service layer planning idea.
  • a series of problems can well control the hop count of the virtual topology in the customer layer, optimize the capacity of the virtual link in the virtual layer of the client layer, greatly improve the results of the multi-layer network planning, and reduce the planning cost.
  • the design process of obtaining the virtual link information of the service according to the physical topology and the service requirement of the embodiment of the present invention can well guide the network management personnel to plan and design the virtual topology, thereby guiding the user to construct the network.
  • FIG. 6 is a schematic structural diagram of a WDM network planning device according to an embodiment of the present invention.
  • the device in this embodiment includes: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, a virtual topology acquisition unit 64, and a physical topology acquisition unit 65.
  • the receiver 61 is configured to acquire a service requirement of the user.
  • Business requirements include: the source node of each service, the sink nodes of each service, and the bandwidth of each service.
  • the route calculation unit 62 is connected to the receiver 61 and configured to calculate at least one physical route for each service.
  • Each physical route of each service is a fiber link of a source node of each service acquired from the receiver 61 to a sink node of each service.
  • the shortest path calculation unit 63 is connected to the route calculation unit 62 for calculating the shortest path corresponding to each physical route of each service calculated by the route calculation unit 62.
  • the shortest path corresponding to each physical route of each service is the virtual link connection with the lowest link cost when carrying each service through the virtual link on each physical route of each service; each physical route of each service
  • the corresponding shortest link cost includes the cost of creating a virtual link carrying each service and the physical cost of each physical route of each service on each physical route of each service.
  • the virtual topology obtaining unit 64 is connected to the receiver 61 and the shortest path calculating unit 63, and selects the shortest path with the lowest link cost among the shortest paths corresponding to all physical routes of each service calculated from the shortest path calculating unit 63.
  • the virtual link information of each service is determined according to the target route of each service and the bandwidth of each service acquired by the receiver 61.
  • the virtual link information of each service includes the number of virtual links carrying each service and the capacity and end nodes of the virtual link carrying each service.
  • the physical topology obtaining unit 65 is connected to the virtual topology obtaining unit 64, and is configured to determine a physical route corresponding to the target route of each service acquired by the virtual topology obtaining unit 64, and obtain a mapping relationship with the virtual topology of the first network.
  • the first network physical topology is connected to the virtual topology obtaining unit 64, and is configured to determine a physical route corresponding to the target route of each service acquired by the virtual topology obtaining unit 64, and obtain a mapping relationship with the virtual topology of the first network.
  • the function modules of the WDM network optimization device provided in this embodiment can be used to execute the process of the WDM network planning method shown in FIG. 1A.
  • the specific working principle is not described here. For details, refer to the description of the method embodiments.
  • the WDM network planning device of the embodiment further includes a memory for storing one or more of the following information: the service requirement of the user acquired by the receiver 61, and the physical route calculated by the route calculation unit 62, the shortest The shortest path calculated by the path calculating unit 63, the target route determined by the virtual topology obtaining unit 64, the obtained virtual link information and the first network virtual topology, and the target of each service determined by the physical topology obtaining unit 65 The physical route corresponding to the route and the obtained first network physical topology formed by mapping with the first network virtual topology.
  • the memory is connected to at least one or more of the following units: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, The virtual topology acquisition unit 64 and the physical topology acquisition unit 65.
  • the WDM network planning device of the embodiment further includes a transmitter, configured to use the WDM network planning result, that is, the first network virtual topology and the first network physical topology that forms a mapping relationship with the first network virtual topology. ) is sent to a network management device or a Path Computation Element (PCE) or a display device.
  • a transmitter configured to use the WDM network planning result, that is, the first network virtual topology and the first network physical topology that forms a mapping relationship with the first network virtual topology.
  • PCE Path Computation Element
  • the wavelength division network planning device of the embodiment may include a power module, an input device, and an output device in addition to the above devices.
  • the memory, the receiver, the power supply module, the input device, the output device, and the like of the above-described wavelength division network planning device are not shown in the drawings.
  • the wavelength division network planning device of this embodiment may be various devices having computing capabilities, such as a computer, a server, and the like.
  • the wavelength division network planning device of the embodiment calculates at least one physical route for each service according to the physical topology of the source node, the sink node, and the network, and then calculates the shortest path corresponding to each physical route of each service.
  • the shortest route with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network virtual extension is obtained.
  • Park determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network.
  • the WDM network planning device of the present embodiment determines the virtual link of the bearer service and the physical route that carries the virtual link based on the virtual link connection with the lowest link cost, and finally obtains the network virtual topology and the network virtual topology.
  • the network physical topology of the mapping relationship is effectively reduced, and the cost of the multi-layer network planning is effectively reduced.
  • the planning process of the wavelength division network planning device of the present embodiment is a planning process from the service layer to the customer layer. The process avoids various problems encountered in the design of the customer layer to the service layer in the prior art, and also reduces the cost of the multi-layer network planning.
  • Another embodiment of the present invention provides a computer program product comprising computer program code for performing the operations recited in the various method embodiments described above when a computer unit executes the computer program code. The specific content will not be described here.
  • FIG. 7 is a schematic structural diagram of a WDM network planning device according to another embodiment of the present invention.
  • the device in this embodiment also includes at least: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, a virtual topology acquisition unit 64, and objects.
  • the topology acquisition unit 65 the apparatus of this embodiment also includes devices such as a memory, a receiver, a power supply module, an input device, and an output device, which are not shown in the drawings for simplicity of illustration.
  • the shortest path calculation unit 63 of this embodiment includes: a formation subunit 631, an assignment subunit 632, and a calculation subunit 633.
  • the sub-unit 631 is formed, and is connected to the route calculation unit 62, and is configured to form a directional connection corresponding to each physical route of each service according to the node through which each physical route of each service calculated by the route calculation unit 62 passes. relationship.
  • the directed connection relationship corresponding to each physical route of each service includes a directed connection between the two nodes of each service on each physical route of each service along the direction of the source node of each service to the sink node of each service.
  • the assignment sub-unit 632 is connected to the formation sub-unit 631, and is used to assign a weight value to each of the directed connections in the corresponding connection relationship corresponding to each physical route of each service formed by the sub-unit 631. If the virtual link exists on the fiber link corresponding to the connection, the weight of the directional connection is the physical cost of the fiber link corresponding to the directional connection; if there is no virtual link on the fiber link corresponding to the directional connection The weight of the link, the directed connection is the cost of creating a virtual link on the fiber link corresponding to the directed connection and the physical cost of the fiber link corresponding to the directed connection.
  • the calculation subunit 633 is connected to the formation subunit 631 and the assignment subunit 632 for the directed connection according to the directed connection relationship and the assignment subunit 632 corresponding to each physical route of each service formed by the subunit 631.
  • the weight value of each directed connection in the relationship, and the shortest path corresponding to each physical route of each service is calculated.
  • the calculating sub-unit 633 is specifically configured to input, by using a shortest path algorithm, a weighted value of each of the directed connection relationship and the directional connection in each of the directional connections of each physical route of each service.
  • the shortest path corresponding to each physical route of the strip service.
  • the assignment sub-unit 632 is specifically configured to calculate, according to the formula (1), a weight value of each directed connection in each of the directed connection relationships corresponding to each physical route of each service, and the calculated directed connection The weight value is assigned to the directed connection in the directed connection relationship corresponding to each physical route of each service.
  • formula (1) refer to the description in the above method embodiment.
  • the virtual topology obtaining unit 64 of this embodiment includes: a first determining subunit 641, a second determining subunit 642, a third determining subunit 643, and an obtaining subunit 644.
  • the first determining sub-unit 641 is connected to the calculating sub-unit 633, and is configured to select the lowest link cost among the shortest paths corresponding to all the physical routes of each service calculated from the calculating sub-unit 633.
  • the shortest path is the target route for each service.
  • the first determining subunit 641 is further connected to the physical topology obtaining unit 65, and is configured to provide the physical topology obtaining unit 65 with a target route of each service.
  • the second determining sub-unit 642 is connected to the first determining sub-unit 641, and is configured to determine, according to the cross-nodes on the target route of each service determined by the first determining sub-unit 641, the virtual link that carries each service.
  • the target node of each service is the node on the route of each service except the source node of each service and the node of each service.
  • the third determining subunit 643 is connected to the receiver 61 and the second determining subunit 642, and is configured to determine, according to the bandwidth of each service acquired by the receiver 61, each bearer determined by the second determining subunit 642 The capacity of a virtual link.
  • the obtaining sub-unit 644 is configured to determine, according to the second determining sub-unit 642, the number of virtual links carrying each service, and the end node of each virtual link carrying each service and the third determining sub-unit 643. The capacity of each virtual link carrying each service is obtained, and the first network virtual topology is obtained.
  • the WDM network planning device of this embodiment further includes: an impact service determining unit 66, a virtual link obtaining unit 67, and a virtual topology updating unit 68.
  • the influencing service determining unit 66 is connected to the obtaining sub-unit 644 in the virtual topology obtaining unit 64, and is configured to delete at least one virtual link in the first network virtual topology obtained by the obtaining sub-unit 644, and determine at least one piece. Affected business, obtain the second network virtual topology.
  • the affected service is a virtual link.
  • the information includes the service of the deleted virtual link.
  • the virtual link obtaining unit 67 is connected to the impact service determining unit 66, and configured to obtain the virtual link information of each of the at least one affected service determined by the impact determining unit 66.
  • the virtual topology update unit 68 is connected to the impact service determining unit 66 and the virtual link obtaining unit 67, and is configured to use the number of virtual links in the virtual link information of each affected service obtained by the virtual link obtaining unit 67. And updating the number of virtual links in the second network virtual topology obtained by the service determining unit 66, and acquiring the third network virtual topology.
  • the number of virtual links in the third network virtual topology acquired by the virtual topology update unit 68 is smaller than the number of virtual links in the virtual topology of the first network, but is not limited thereto.
  • the virtual link obtaining unit 67 includes: a shortest path calculating subunit 671 and a virtual link determining subunit 672.
  • the shortest path calculation subunit 671 is connected to the impact service determining unit 66 for calculation.
  • the shortest path corresponding to each physical route of each affected service determined by the service determining unit 66 is determined.
  • the virtual link determining subunit 672 is connected to the shortest path calculating subunit 671 for selecting the shortest link cost of the shortest path corresponding to all physical routes of each affected service calculated from the shortest path calculating subunit 671 As the target route of each affected service, the virtual link information of each affected service is further determined according to the target route of each affected service and the bandwidth of each affected service.
  • the WDM network planning of this embodiment also includes: a first iteration unit 69.
  • the first iteration unit 69 is connected to the impact service determining unit 66 and the virtual topology update unit 68, and the number of virtual links in the third network virtual topology obtained by the virtual topology update unit 68 is greater than or When the number of virtual links in the second network virtual topology obtained by the service determining unit 66 is affected, the three network virtual topologies are restored to the second network virtual topology, and the second network virtual topology is re-established as the first network virtual The topology, the triggering impact service determining unit 66 re-executes deleting at least one virtual link in the first network virtual topology, determining at least one affected service, and obtaining the operation of the second network virtual topology.
  • the wavelength division network planning device of this embodiment further includes: a second iteration unit 70.
  • the second iteration unit 70 is connected to the impact service determining unit 66 and the virtual topology update unit 68, and the number of virtual links in the third network virtual topology obtained by the virtual topology update unit 68 is smaller than the impact service determination.
  • the third network virtual topology is re-established as the first network virtual topology, and the trigger impact service determining unit 66 re-executes the first network virtual topology. At least one virtual link is deleted, and at least one affected service is determined, and the operation of the second network virtual topology is obtained.
  • the route calculation unit 62 of this embodiment may be specifically configured to calculate at least one physical route for each service by using a KSP algorithm.
  • the service requirements of this embodiment include: the number of failures allowed for each service.
  • the route calculation unit 62 may be specifically configured to calculate at least one link separation route for each service by using a link separation algorithm.
  • a link-separated route is a physical route that satisfies the number of failures that a service is allowed to bear.
  • the route calculation unit 62 may be specifically configured to calculate at least one node separate route for each service by using a node separation algorithm.
  • a node-separated route is a physical route that satisfies the number of failures that the service is allowed to bear.
  • the route calculation unit 62 may be specifically configured to calculate at least one SRLG separate route for each service using the SRLG separation algorithm.
  • the SRLG separation route is a physical route that meets the number of failures that the service is allowed to bear.
  • the wavelength division network planning device of the embodiment calculates at least one physical route for each service according to the physical topology of the source node, the sink node, and the network, and then calculates the shortest path corresponding to each physical route of each service.
  • the shortest route with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network virtual extension is obtained.
  • Park determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network.
  • the WDM network planning device of the present embodiment determines the virtual link of the bearer service and the physical route that carries the virtual link based on the virtual link connection with the lowest link cost, and finally obtains the network virtual topology and the network virtual topology.
  • the network physical topology of the mapping relationship is effectively reduced, and the cost of the multi-layer network planning is effectively reduced.
  • the planning process of the wavelength division network planning device of the present embodiment is a planning process from the service layer to the customer layer. The process avoids various problems encountered in the design of the customer layer to the service layer in the prior art, and also reduces the cost of the multi-layer network planning.
  • the method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Provided are a method and device for wavelength-division multiplexing network planning. The method comprises: obtaining user service requirements, and calculating at least one physical route for each service; calculating for each service the shortest route corresponding to each physical route, selecting the shortest route having the lowest cost link from among all of the shortest routes and designating said route as the target route, determining virtual link information on the basis of the target route and bandwidth, and obtaining a first network virtual topology; determining the physical route corresponding to the target route, and obtaining a first network physical topology having a mapping relationship to the first network virtual topology. The technical solution of the present invention reduces planning cost with respect to a wavelength-division multiplexing network.

Description

波分网络规划方法及设备  Wave division network planning method and equipment
技术领域 本发明涉及光通信技术, 尤其涉及一种波分网络规划方法及设备。 背景技术 TECHNICAL FIELD The present invention relates to optical communication technologies, and in particular, to a wavelength division network planning method and device. Background technique
随着波分复用 (Wavelength Division Multiple, WDM ) 网络(简称为波 分网络) 的发展, 网络运营商对波分业务的规划提出了越来越高的要求。 网 络结构复杂, 业务数量大规模上升, 网络限制条件增加, 导致规划考虑的目 标因素越来越多, 波分网络规划变得非常复杂。  With the development of Wavelength Division Multiple (WDM) networks (referred to as wavelength division networks), network operators have put forward higher and higher requirements for the planning of wavelength division services. The network structure is complex, the number of services is increasing on a large scale, and network restrictions are increasing. As a result, more and more target factors are considered in planning, and the WDM network planning becomes very complicated.
现有的波分网络规划是一种两层网络的规划, 其设计思路是从客户层到 服务层, 即首先根据输入的网络数据, 例如站点、 链路、 业务以及各种限制 条件等, 创建客户层虚拓朴, 然后将虚拓朴和物理拓朴进行映射, 映射完成 后就确定了虚拓朴上的虚链路在物理拓朴上的路由, 最终得到虚拓朴和与虚 拓朴对应的物理拓朴。  The existing WDM network plan is a two-layer network plan, which is designed from the client layer to the service layer, that is, first based on input network data, such as sites, links, services, and various restrictions. The client layer is virtual topology, and then the virtual topology and the physical topology are mapped. After the mapping is completed, the route of the virtual link on the virtual topology is determined on the physical topology, and finally the virtual topology and the virtual topology are obtained. Corresponding physical topology.
众所周知, 对于有 n个节点的物理网络来说, 存在 2n个虚拓朴。 目前并 没有很好的方法可以从众多虚拓朴中选择合适的虚拓朴进行建立, 因此, 虚 拓朴的建立比较困难, 导致网络规划成本较高; 另外, 在虚拓朴上业务进行 路由时需要满足分离特性, 这就使得业务在虚链路上的路由跳数较多, 导致 每条虚链路的容量要求较高即需要的带宽资源等较多, 而虚链路的容量决定 了规划成本, 因此, 现有波分网络规划方法的成本较高。 发明内容 As is well known, for a physical network with n nodes, there are 2 n virtual topologies. At present, there is no good way to establish a suitable virtual topology from many virtual topologies. Therefore, the establishment of virtual topology is more difficult, resulting in higher network planning costs. In addition, the service is routed on the virtual topology. The number of hops on the virtual link is high, which results in a higher capacity requirement for each virtual link, that is, more bandwidth resources, and the capacity of the virtual link is determined. Planning costs, therefore, the cost of existing WDM network planning methods is higher. Summary of the invention
本发明提供一种波分网络规划方法及设备, 用以降低波分网络规划的成 本。  The present invention provides a WDM network planning method and apparatus for reducing the cost of a WDM network plan.
本发明实施例提供一种波分网络规划方法, 包括:  Embodiments of the present invention provide a WDM network planning method, including:
获取用户的业务需求, 所述业务需求包括: 每条业务的源节点、 所述每 条业务的宿节点和所述每条业务的带宽;  Obtaining a service requirement of the user, where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
为所述每条业务计算出至少一条物理路由, 所述每条业务的每条物理路 由为从所述每条业务的源节点到所述每条业务的宿节点的光纤链路; 计算所述每条业务的每条物理路由对应的最短路, 所述每条业务的每条 物理路由对应的最短路为在所述每条业务的每条物理路由上通过虚链路承载 所述每条业务时链路成本最低的虚链路连接; 所述每条业务的每条物理路由 对应的最短路的链路成本包括在所述每条业务的每条物理路由上新建承载所 述每条业务的虚链路的成本和所述每条业务的每条物理路由的物理成本; 从所述每条业务的所有物理路由对应的最短路中选择链路成本最低的最 短路作为所述每条业务的目标路由, 根据所述每条业务的目标路由和所述每 条业务的带宽确定所述每条业务的虚链路信息, 获得第一网络虚拓朴; 所述 每条业务的虚链路信息包括承载所述每条业务的虚链路个数和承载所述每条 业务的每条虚链路的容量和端节点; Calculating at least one physical route for each of the services, each physical path of each of the services a fiber link that is a source node from each of the services to a sink node of each of the services; a shortest path corresponding to each physical route of each of the services, and a physical quantity of each of the services The shortest path corresponding to the route is a virtual link connection with the lowest link cost when each of the services is carried by the virtual link on each physical route of each of the services; each physical route of each service corresponds to The shortest link cost includes the cost of creating a virtual link carrying the each service and the physical cost of each physical route of each service on each physical route of each service; The shortest route with the lowest link cost in the shortest path corresponding to all the physical routes of each service is used as the target route of each service, and the target route of each service and the bandwidth of each service are determined according to the bandwidth of each service. The virtual link information of each service is obtained, and the virtual link information of the first network is obtained. The virtual link information of each service includes the number of virtual links that carry the each service and each of the services that carry the service. Virtual link Capacity and the end node;
确定所述每条业务的目标路由对应的物理路由, 获得与所述第一网络虚 拓朴形成映射关系的第一网络物理拓朴。  Determining a physical route corresponding to the target route of each of the services, and obtaining a first network physical topology that forms a mapping relationship with the first network virtual topology.
本发明实施例提供一种计算机程序产品, 包括计算机程序代码, 当一个 计算机单元执行所述计算机程序代码时, 所述计算机单元执行本发明实施例 提供的波分网络规划方法中所记载的动作。  The embodiment of the present invention provides a computer program product, including computer program code. When a computer unit executes the computer program code, the computer unit performs the operations described in the wavelength division network planning method provided by the embodiment of the present invention.
本发明实施例提供一种波分网络规划设备, 包括:  The embodiment of the invention provides a wavelength division network planning device, which includes:
接收器, 用于获取用户的业务需求, 所述业务需求包括: 每条业务的源 节点、 所述每条业务的宿节点和所述每条业务的带宽;  a receiver, configured to acquire a service requirement of the user, where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
路由计算单元, 用于为所述每条业务计算出至少一条物理路由, 所述每 条业务的每条物理路由为从所述每条业务的源节点到所述每条业务的宿节点 的光纤链路;  a route calculation unit, configured to calculate at least one physical route for each of the services, where each physical route of each service is an optical fiber from a source node of each service to a sink node of each service Link
最短路计算单元,用于计算所述每条业务的每条物理路由对应的最短路, 所述每条业务的每条物理路由对应的最短路为在所述每条业务的每条物理路 由上通过虚链路承载所述每条业务时链路成本最低的虚链路连接; 所述每条 业务的每条物理路由对应的最短路的链路成本包括在所述每条业务的每条物 理路由上新建承载所述每条业务的虚链路的成本和所述每条业务的每条物理 路由的物理成本;  a shortest path calculation unit, configured to calculate a shortest path corresponding to each physical route of each service, where a shortest path corresponding to each physical route of each service is on each physical route of each service The virtual link connection with the lowest link cost when each of the services is carried by the virtual link; the shortest link cost corresponding to each physical route of each service is included in each physical of each service The cost of creating a virtual link carrying each of the services and the physical cost of each physical route of each service on the route;
虚拓朴获取单元, 用于从所述每条业务的所有物理路由对应的最短路中 选择链路成本最低的最短路作为所述每条业务的目标路由, 根据所述每条业 务的目标路由和所述每条业务的带宽确定所述每条业务的虚链路信息; 所述 每条业务的虚链路信息包括承载所述每条业务的虚链路个数和承载所述每条 业务的每条虚链路的容量和端节点; a virtual topology obtaining unit, configured to select a shortest path with the lowest link cost from a shortest path corresponding to all physical routes of each service as a target route of each service, according to each of the industries The target route and the bandwidth of each of the services determine the virtual link information of each of the services; the virtual link information of each of the services includes the number of virtual links and the bearer that carries each of the services. Describe the capacity and end nodes of each virtual link of each service;
物理拓朴获取单元,用于确定所述每条业务的目标路由对应的物理路由, 获得与所述第一网络虚拓朴形成映射关系的第一网络物理拓朴。  The physical topology obtaining unit is configured to determine a physical route corresponding to the target route of each service, and obtain a first network physical topology that forms a mapping relationship with the first network virtual topology.
本发明实施例提供的波分网络规划方法、 设备及计算机程序产品, 为每 条业务计算出至少一条从业务的源节点到业务的宿节点的物理路由, 然后计 算每条业务的每条物理路由对应的最短路, 从每条业务对应的所有最短路中 选择链路成本最低的最短路作为每条业务的目标路由, 根据每条业务的目标 路由和带宽确定每条业务的虚链路信息, 然后获得网络虚拓朴, 确定出每条 业务的目标路由对应的物理路由, 然后获得与网络虚拓朴形成映射关系的网 络物理拓朴, 从而得到波分网络的规划结果。 由上述可见, 本发明实施例基 于链路成本最低的最短路确定承载业务的虚链路和承载虚链路的物理路由, 最终得到网络虚拓朴以及与网络虚拓朴形成映射关系的网络物理拓朴, 有效 地降低了多层网络规划的成本。 附图说明  The WDM network planning method, device and computer program product provided by the embodiments of the present invention calculate at least one physical route from a source node of a service to a sink node of a service for each service, and then calculate each physical route of each service. Corresponding shortest path, selecting the shortest route with the lowest link cost from all the shortest paths corresponding to each service as the target route of each service, and determining the virtual link information of each service according to the target route and bandwidth of each service, Then obtain the virtual topology of the network, determine the physical route corresponding to the target route of each service, and then obtain the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network. It can be seen from the foregoing that the embodiment of the present invention determines the virtual link of the bearer service and the physical route that carries the virtual link based on the shortest link with the lowest link cost, and finally obtains the network virtual topology and the network physics that forms a mapping relationship with the network virtual topology. Topology, effectively reducing the cost of multi-layer network planning. DRAWINGS
施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其它的附图。 BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are required to be used in the description of the prior art, are briefly described. It is obvious that the drawings in the following description are some embodiments of the present invention, and no one would be creative to those skilled in the art Other drawings can also be obtained from these drawings on the premise of labor.
图 1 A为本发明一实施例提供的波分网络规划方法的流程图;  FIG. 1 is a flowchart of a WDM network planning method according to an embodiment of the present invention;
图 1B为本发明一实施例提供的图 1A中步骤 103的一种实施方式的流程 图;  FIG. 1B is a flow chart of an embodiment of step 103 in FIG. 1A according to an embodiment of the present invention;
图 2为本发明一实施例提供的步骤 102-步骤 105的一种实施方式的流程 图;  FIG. 2 is a flow chart of an embodiment of step 102 to step 105 according to an embodiment of the present invention;
图 3为本发明另一实施例提供的波分网络规划方法的流程图;  3 is a flowchart of a WDM network planning method according to another embodiment of the present invention;
图 4为本发明又一实施例提供的波分网络规划方法的流程图;  4 is a flowchart of a WDM network planning method according to another embodiment of the present invention;
图 5A为本发明一实施例提供的业务 1对应的有向连接关系的示意图; 图 5B为本发明一实施例提供的业务 2对应的有向连接关系的示意图; 图 5C为本发明一实施例提供的业务 3对应的有向连接关系的示意图; 图 5D为本发明一实施例提供的波分网络规划结果的示意图; 5A is a schematic diagram of a directed connection relationship corresponding to service 1 according to an embodiment of the present invention; FIG. 5B is a schematic diagram of a directed connection relationship corresponding to service 2 according to an embodiment of the present invention; FIG. 5C is a schematic diagram of a directed connection relationship corresponding to service 3 according to an embodiment of the present invention; FIG. 5D is a schematic diagram of a WDM network planning result according to an embodiment of the present invention;
图 6为本发明一实施例提供的波分网络规划设备的结构示意图; 图 7为本发明另一实施例提供的波分网络规划设备的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其它实施例, 都属于本发明保护的范围。  FIG. 6 is a schematic structural diagram of a WDM network planning device according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a WDM network planning device according to another embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1A为本发明一实施例提供的波分网络规划方法的流程图。如图 1A所 示, 本实施例的方法包括:  FIG. 1A is a flowchart of a WDM network planning method according to an embodiment of the present invention. As shown in FIG. 1A, the method in this embodiment includes:
步骤 101、 获取用户的业务需求。  Step 101: Obtain a service requirement of the user.
其中, 用户的业务需求包括但不限于: 每条业务的源节点、 每条业务的 宿节点和每条业务的带宽。 例如, 对于某些业务, 用户的业务需求还可以包 括业务的允许承受的故障次数、 分离策略、 必经路由节点、 必不经路由节点 等。 业务需求视不同业务会有所不同。  The service requirements of the user include but are not limited to: the source node of each service, the sink node of each service, and the bandwidth of each service. For example, for some services, the user's business needs may also include the number of failures allowed by the service, the separation policy, the necessary routing nodes, and the non-routing nodes. Business needs will vary depending on the business.
本实施例的执行主体可以是波分网络规划设备。  The execution subject of this embodiment may be a WDM network planning device.
其中, 获取用户的业务需求的方式可以为: 波分网络规划设备向用户提 供输入界面, 用户通过输入界面输入自己的业务需求, 即输入每条业务的源 节点、 宿节点、 带宽等信息。 对于一些业务, 用户还可以通过输入界面输入 业务的允许承受的故障次数、 分离策略、 必经路由节点、 必不经路由节点等。  The method for obtaining the service requirement of the user may be as follows: The wavelength division network planning device provides an input interface to the user, and the user inputs its own service requirement through the input interface, that is, inputs information such as a source node, a sink node, and a bandwidth of each service. For some services, the user can also input the number of failures allowed by the service through the input interface, the separation policy, the necessary routing nodes, and the routing nodes.
另外, 获取用户的业务需求的方式还可以是: 波分网络规划设备从其它 设备上直接获取。 其它设备可以是存储有用户的业务需求的服务器, 但不限 于此。  In addition, the way to obtain the user's business needs can also be: The WDM network planning device is directly obtained from other devices. Other devices may be servers that store the user's business needs, but are not limited thereto.
步骤 102、 为每条业务计算出至少一条物理路由, 每条业务的每条物理 路由为从每条业务的源节点到每条业务的宿节点的光纤链路。  Step 102: Calculate at least one physical route for each service, and each physical route of each service is a fiber link from a source node of each service to a sink node of each service.
在本实施例中, 波分网络规划设备根据网络的物理拓朴、 业务需求中每 条业务的源节点和宿节点, 为每条业务计算出至少一条物理路由。 物理路由 是从业务的源节点到业务的宿节点的光纤链路。 其中, 物理拓朴属于良务层。 由此可见, 本实施例的波分网络规划设备在对波分网络进行规划时首先 从服务层开始, 而不是像现有技术那样先从客户层, 即不像现有技术那样先 从计算虚链路开始。 In this embodiment, the WDM network planning device calculates at least one physical route for each service according to the physical topology of the network and the source node and the sink node of each service in the service requirement. Physical routing It is the fiber link from the source node of the service to the sink node of the service. Among them, the physical topology belongs to the service layer. It can be seen that the WDM network planning device of the present embodiment starts from the service layer when planning the WDM network, instead of starting from the client layer as in the prior art, that is, not counting the virtual from the prior art. The link begins.
步骤 103、 计算每条业务的每条物理路由对应的最短路; 每条业务的每 条物理路由对应的最短路为在每条业务的每条物理路由上通过虚链路承载每 条业务时链路成本最低的虚链路连接。  Step 103: Calculate the shortest path corresponding to each physical route of each service. The shortest path corresponding to each physical route of each service is to carry each service time chain through the virtual link on each physical route of each service. The lowest cost virtual link connection.
虚链路是由波分网络的波长链路构成的, 业务承载到波长链路中, 波长 链路承载到物理拓朴上的光纤链路(即物理路由) 中。 通常, 在每条物理路 由上通过虚链路承载业务的虚链路连接方式会有多种。 不同虚链路连接消耗 的链路成本不同。 在本实施例中, 将每条物理路由上链路成本最低的承载业 务的虚链路连接称为最短路。  A virtual link is formed by a wavelength link of a wavelength division network. The service is carried in a wavelength link, and the wavelength link is carried in a fiber link (ie, a physical route) on the physical topology. Generally, there are multiple virtual link connections for carrying traffic over a virtual link on each physical route. The cost of links consumed by different virtual link connections is different. In this embodiment, the virtual link connection of the bearer service with the lowest link cost per physical route is referred to as the shortest path.
波分网络成本主要包括物理网络成本和所有波长链路成本。 由于物理网 络是初期已经建好的, 因此规划的主要成本是波长链路的成本, 即承载业务 的虚链路所消耗的成本。 在本实施例中, 每条业务的每条物理路由对应的最 短路的链路成本包括在每条业务的每条物理路由上新建承载每条业务的虚链 路的成本和每条业务的每条物理路由的物理成本。 其中, 在通过虚链路承载 业务过程中, 可以优先考虑利用网络中已存在的虚链路, 但当已存在的虚链 路没有足够容量时,允许添加新的虚链路到网络中来满足承载该业务的要求。  Wavelength network costs primarily include physical network costs and all wavelength link costs. Since the physical network is initially built, the main cost of planning is the cost of the wavelength link, that is, the cost of the virtual link carrying the service. In this embodiment, the shortest link cost corresponding to each physical route of each service includes the cost of creating a virtual link carrying each service and each service of each service on each physical route of each service. The physical cost of physical routing. In the process of carrying the service through the virtual link, the virtual link existing in the network may be preferentially considered, but when the existing virtual link does not have sufficient capacity, a new virtual link is allowed to be added to the network to satisfy The requirements that carry the business.
可选的, 在为每条业务都计算出至少一条物理路由后, 波分网络规划设 备对所有业务进行排序, 按照排序后的业务顺序依次计算出每条业务的所有 物理路由分别对应的最短路。  Optionally, after the at least one physical route is calculated for each service, the WDM network planning device sorts all the services, and sequentially calculates the shortest path corresponding to all the physical routes of each service according to the sorted service sequence. .
在本发明的各个实施例中, 在计算每条物理路由的最短路过程中, 使用 到的虚链路的容量是足够大的, 虚链路的实际容量是在后续规划过程中确定 的。  In various embodiments of the present invention, the capacity of the virtual link used is sufficiently large in calculating the shortest path of each physical route, and the actual capacity of the virtual link is determined in a subsequent planning process.
步骤 104、 从每条业务的所有物理路由对应的最短路中选择链路成本最 低的最短路作为每条业务的目标路由, 根据每条业务的目标路由和每条业务 的带宽确定每条业务的虚链路个数和承载每条业务的每条虚链路的容量和端 节点, 获得第一网络虚拓朴。  Step 104: Select the shortest route with the lowest link cost from the shortest path corresponding to all the physical routes of each service as the target route of each service, and determine the service of each service according to the target route of each service and the bandwidth of each service. The number of virtual links and the capacity and end nodes of each virtual link carrying each service obtain the first network virtual topology.
对每条业务来说, 当确定其所有物理路由对应的最短路后, 再将所有物 理路由对应的最短路的链路成本进行比较, 从中选择链路成本最低的最短路 作为该业务的目标路由; 然后, 确定该业务的目标路由对应的物理路由作为 该业务的物理路由, 根据该业务的目标路由和该业务的带宽确定该业务的虚 链路信息。 确定的每条业务的目标路由对应的物理路由 (即每条业务的物理 路由)用于承载每条业务的虚链路。 For each business, when determining the shortest path corresponding to all its physical routes, then the belongings The shortest link cost corresponding to the routing is compared, and the shortest path with the lowest link cost is selected as the target route of the service; then, the physical route corresponding to the target route of the service is determined as the physical route of the service, according to the The target route of the service and the bandwidth of the service determine the virtual link information of the service. The physical route corresponding to the target route of each service (that is, the physical route of each service) is used to carry the virtual link of each service.
可选的, 在计算出每条业务的所有物理路由分别对应的最短路后, 波分 网络规划设备可以对所有业务进行排序, 按照排序后的业务顺序依次计算出 每条业务的目标路由。  Optionally, after calculating the shortest path corresponding to all the physical routes of each service, the WDM network planning device can sort all the services, and sequentially calculate the target routes of each service according to the sorted service order.
可选的, 波分网络规划设备还可以每计算出一条业务的所有物理路由的 最短路后, 接着计算出该条业务的目标路由。  Optionally, the WDM network planning device can calculate the target route of the service after calculating the shortest path of all physical routes of a service.
每条业务的虚链路信息包括承载每条业务的虚链路的个数和承载每条业 务的每条虚链路的容量和端节点。 其中, 承载业务的虚链路的容量要大于或 等于所承载的业务的带宽。  The virtual link information of each service includes the number of virtual links carrying each service and the capacity and end nodes of each virtual link carrying each service. The capacity of the virtual link carrying the service is greater than or equal to the bandwidth of the carried service.
可选的,波分网络规划设备可以根据每条业务的目标路由上的交叉节点, 确定承载每条业务的虚链路的个数以及承载每条业务的每条虚链路的端节 点。 其中, 每条业务的目标路由上的交叉节点为每条业务的目标路由上除每 条业务的源节点和每条业务的宿节点之外的节点。 其中, 交叉节点的个数加 Optionally, the WDM network planning device may determine, according to the cross-nodes on the target route of each service, the number of virtual links that carry each service and the end nodes of each virtual link that carries each service. The cross-node on the target route of each service is a node other than the source node of each service and the sink node of each service on the target route of each service. Where the number of cross nodes plus
1 即为根据交叉节点确定出的虚链路个数, 一条虚链路的端节点可以是业务 的源节点和距离源节点最近的交叉节点、 两个相邻的交叉节点、 距离业务的 宿节点最近的交叉节点和业务的宿节点、以及源节点和宿节点中的一种情况。 举例说明, 一条业务的目标路由为节点 A-节点 B-节点 C-节点 D, 节点 A和 节点 D分别为该条业务的源节点和宿节点, 则该条业务的目标路由上的交叉 节点为节点 B和节点 C; 则基于交叉节点节点 B和节点 C可以确定出该条业 务需要 3条虚链路来承载, 一条虚链路的端节点分别为节点 A和节点 B, 另 一条虚链路的端节点分别为节点 B和节点 C, 最后一条虚链路的端节点分别 为节点 C和节点 D。 举例说明, 一条业务的目标路由为节点 A-节点 B, 节点 A和节点 B分别为该条业务的源节点和宿节点, 则该条业务的目标路由不存 在交叉节点, 则可以确定出该条业务需要 1条虚链路来承载, 该虚链路的端 节点分别为节点 A和节点 B。 1 is the number of virtual links determined according to the cross-node. The end node of a virtual link can be the source node of the service and the nearest cross-node from the source node, two adjacent cross-nodes, and the sink node of the distance service. One of the nearest cross nodes and service sink nodes, as well as source and sink nodes. For example, the target route of a service is the node A-node B-node C-node D, and the node A and the node D are respectively the source node and the sink node of the service, and the cross-node on the target route of the service is Node B and node C; based on the cross-node node B and node C, it can be determined that the service needs three virtual links to carry, and the end nodes of one virtual link are node A and node B, respectively, and another virtual link The end nodes are node B and node C, respectively, and the end nodes of the last virtual link are node C and node D, respectively. For example, if the target route of a service is the node A-Node B, and the node A and the node B are the source node and the sink node of the service respectively, if the target route of the service does not have a cross node, the line can be determined. The service needs to be carried by a virtual link. The end nodes of the virtual link are node A and node B, respectively.
其中,承载每条业务的虚链路的容量要满足其所承载的业务的带宽需求, 这是对虚链路对基本的要求。 因此, 波分网络规划设备可以根据每条业务的 带宽, 确定承载每条业务的每条虚链路的容量。 举例说明, 如果承载一条业 务的一条虚链路上仅存在该条业务, 则波分网络规划设备根据该业务的带宽 就可以确定承载该条业务的该条虚链路的容量。 如果承载一条业务的一条虚 链路同时还承载有另一条业务, 则波分网络规划设备就会根据该业务和另一 条业务的带宽之和确定同时承载该条业务和另一条业务的该条虚链路的容 量。 在波分网络中, 波长链路的容量一般是固定的, 例如 20G、 40G或 100G 等, 因此, 波分网络规划设备确定虚链路的容量也就是确定需要使用哪种容 量的波长链路以及使用的波长链路的个数。 The capacity of the virtual link carrying each service is to meet the bandwidth requirement of the service carried by the virtual link. This is a basic requirement for virtual links. Therefore, the WDM network planning device can determine the capacity of each virtual link carrying each service according to the bandwidth of each service. For example, if only one service exists on a virtual link carrying a service, the WDM network planning device can determine the capacity of the virtual link that carries the service according to the bandwidth of the service. If one virtual link carrying one service also carries another service, the WDM network planning device determines the virtual part of the service and the other service according to the sum of the bandwidth of the service and another service. The capacity of the link. In a WDM network, the capacity of a wavelength link is generally fixed, such as 20G, 40G, or 100G. Therefore, the WDM network planning device determines the capacity of the virtual link, that is, determines which capacity of the wavelength link to use and The number of wavelength links used.
在波分网络规划过程中, 虚链路的容量在一定程度上决定波分网络规划 的成本, 而本实施例基于物理路由上链路成本最低的虚链路连接确定承载每 条业务的虚链路信息, 因此有利于降低波分网络的规划成本。  In the WDM network planning process, the capacity of the virtual link determines the cost of the WDM network planning to a certain extent. In this embodiment, the virtual link that carries the lowest cost is determined based on the virtual link connection with the lowest link cost on the physical route. Road information is therefore beneficial to reduce the planning cost of the WDM network.
其中, 网络的虚拓朴主要由网络中承载每条业务的虚链路以及虚链路的 容量等信息构成。 因此, 当获取到网络中所有业务的虚链路信息后, 可以根 据所有业务的虚链路信息获得网络的虚拓朴(即第一网络虚拓朴) 。  The virtual topology of the network is mainly composed of information such as the virtual link carrying each service in the network and the capacity of the virtual link. Therefore, after the virtual link information of all services in the network is obtained, the virtual topology of the network (that is, the first network virtual topology) can be obtained according to the virtual link information of all services.
可选的, 如果网络中不存在虚拓朴, 获取的所有业务的虚链路信息可以 直接构成第一网络虚拓朴。  Optionally, if there is no virtual topology in the network, the obtained virtual link information of all services directly constitutes the first network virtual topology.
可选的, 如果网络中已经存在虚拓朴, 则可以根据获取的所有业务的虚 链路信息对已经存在的虚拓朴进行更新, 得到第一网络虚拓朴。 所述 "根据 获取的所有业务的虚链路信息对已经存在的虚拓朴进行更新, 得到第一网络 虚拓朴" 主要是指根据每条业务的虚链路信息, 在已经存在的虚拓朴中新增 虚链路和 /或改变已存在的虚链路的容量, 从而得到第一网络虚拓朴。  Optionally, if a virtual topology exists in the network, the existing virtual topology may be updated according to the obtained virtual link information of all services to obtain a first network virtual topology. The "renewing the existing virtual topology based on the obtained virtual link information of all services to obtain the first network virtual topology" mainly refers to the virtual link information according to each service, and the existing virtual extension Puzhong adds a virtual link and/or changes the capacity of an existing virtual link to obtain a first network virtual topology.
步骤 105、 确定每条业务的目标路由对应的物理路由, 获得与第一网络 虚拓朴形成映射关系的第一网络物理拓朴。  Step 105: Determine a physical route corresponding to the target route of each service, and obtain a first network physical topology that forms a mapping relationship with the virtual topology of the first network.
其中, 所确定的每条业务的目标路由对应的物理路由即为承载每条业务 的虚链路的物理路由, 因此, 在得到第一网络虚拓朴后, 波分网络规划设备 可以根据所确定的每条业务的目标路由对应的物理路由得到与第一网络虚拓 朴形成映射关系的第一网络物理拓朴。 其中, 第一网络物理拓朴实际上是由 承载第一网络虚拓朴中的虚链路的物理路由构成的物理拓朴。  The physical route corresponding to the target route of each service is the physical route of the virtual link that carries each service. Therefore, after obtaining the virtual topology of the first network, the WDM network planning device can determine according to the determined The physical route corresponding to the target route of each service is obtained by the first network physical topology that forms a mapping relationship with the first network virtual topology. The first network physical topology is actually a physical topology consisting of physical routes carrying virtual links in the virtual topology of the first network.
在获得第一网络虚拓朴和与第一网络虚拓朴形成映射关系的第一网络物 理拓朴后, 也就得到了波分网络的规划结果。 Obtaining a first network virtual topography and a first network object that forms a mapping relationship with the first network virtual topology After the topography, it also got the planning results of the WDM network.
也就是说, 波分网络规划设备基于由服务层计算出的每条业务的至少一 条物理路由, 得到位于客户层的每条业务的目标路由, 进而得到每条业务的 虚链路信息, 最终得到整个网络的虚拓朴和与整个网络的虚拓朴形成映射关 系的网络物理拓朴, 实现了从服务层向客户层的规划。 其中, 客户层是指由 虚链路构成虚拓朴层。  In other words, the WDM network planning device obtains the target route of each service at the customer layer based on at least one physical route of each service calculated by the service layer, and obtains the virtual link information of each service, and finally obtains The virtual topology of the entire network and the network physical topology that form a mapping relationship with the virtual topology of the entire network realize the planning from the service layer to the client layer. The client layer refers to a virtual topology that consists of virtual links.
进一步地, 可以保存下述中的一种或多种信息: 通过步骤 101获取的用 户的业务需求, 通过步骤 102计算出的物理路由, 通过步骤 103计算出的最 短路, 通过步骤 104确定出的目标路由、 获得的虚链路信息和第一网络虚拓 朴, 以及通过步骤 105确定的目标路由对应的物理路由、 获得的与第一网络 虚拓朴形成映射关系的第一网络物理拓朴。  Further, one or more of the following information may be saved: the service requirement of the user acquired in step 101, the physical route calculated in step 102, and the shortest path calculated in step 103, determined by step 104. The target route, the obtained virtual link information, and the first network virtual topology, and the physical route corresponding to the target route determined in step 105, and the obtained first network physical topology formed in a mapping relationship with the first network virtual topology.
在本实施例中, 波分网络规划设备根据业务的源节点、 宿节点和网络的 物理拓 4卜为每条业务计算出至少一条物理路由, 然后计算每条业务的每条物 理路由对应的最短路, 从每条业务对应的所有最短路中选择链路成本最低的 最短路作为每条业务的目标路由, 根据每条业务的目标路由和带宽确定每条 业务的虚链路信息, 然后获得网络虚拓朴, 确定出每条业务的目标路由对应 的物理路由, 然后获得与网络虚拓朴形成映射关系的网络物理拓朴, 从而得 到波分网络的规划结果。 由此可见, 本实施例基于链路成本最低的虚链路连 接确定承载业务的虚链路和承载虚链路的物理路由, 最终得到网络虚拓朴以 及与网络虚拓朴形成映射关系的网络物理拓朴, 有效地降低了多层网络规划 的成本; 另外, 本实施例的规划方法是一种从服务层向客户层的规划方法, 避免了现有技术中从客户层到服务层的设计思路中遇到的各种问题, 也有利 于降低多层网络规划的成本。 例如, 本实施例基于在服务层计算出的每条业 务的至少一条物理路由获取位于客户层的每条业务的目标路由, 进而获取每 条业务的虚链路信息, 最终获得网络的虚拓朴, 使得虚拓朴的获取变得有据 可依, 解决了现有技术中无法从众多虚拓朴中获取合适虚拓朴的问题。 又例 如, 本实施例基于链路成本最低的虚链路连接获得承载每条业务的虚链路, 解决了现有技术中为了满足分离特性使得虚链路上路由跳数多而导致规划成 本高的问题。  In this embodiment, the WDM network planning device calculates at least one physical route for each service according to the physical extension of the source node, the sink node, and the network of the service, and then calculates the shortest corresponding to each physical route of each service. The shortest path with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network is obtained. The virtual topology determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network. Therefore, in this embodiment, the virtual link of the bearer service and the physical route carrying the virtual link are determined based on the virtual link connection with the lowest link cost, and finally the network virtual topology and the network forming the mapping relationship with the network virtual topology are obtained. The physical topology effectively reduces the cost of multi-layer network planning. In addition, the planning method of this embodiment is a planning method from the service layer to the client layer, avoiding the design from the client layer to the service layer in the prior art. The various problems encountered in the train of thought are also conducive to reducing the cost of multi-layer network planning. For example, in this embodiment, the target route of each service at the customer layer is obtained based on at least one physical route of each service calculated by the service layer, and then the virtual link information of each service is obtained, and finally the virtual topology of the network is obtained. , making the acquisition of the virtual topology become evidence-based, and solving the problem that the existing virtual topology cannot be obtained from many virtual topologies in the prior art. For example, in this embodiment, a virtual link that carries each service is obtained based on the virtual link connection with the lowest link cost, and the planning cost is high due to the number of hops on the virtual link in order to meet the separation feature in the prior art. The problem.
在实际应用中, 如果用户需要业务具有抗故障能力, 则在业务需求中会 包括业务允许承受的故障次数这一信息, 同时还会包括分离策略。 如果用户 不需要业务具有抗故障能力, 则在业务需求中可以不包括业务允许承受的故 障次数这一信息, 或者包括业务允许承受的故障次数但取值为 0。 其中, 业 务抗故障能力是指一旦业务选择的物理路径发生故障后 , 业务要能够通过其 它物理路径到达宿节点。 也就是说, 如果需要业务具有抗故障能力, 就需要 为该业务建立满足一定的分离特性的备用物理路由。 In practical applications, if the user needs the service to be fault-resistant, it will be in the business demand. This includes information on the number of failures the business is allowed to accept, as well as separation strategies. If the user does not need the service to be fault-tolerant, the service requirement may not include the information about the number of failures that the service is allowed to bear, or the number of failures that the service is allowed to bear but the value is zero. The service failure prevention capability refers to that the service must be able to reach the sink node through other physical paths once the physical path selected by the service fails. That is to say, if the service is required to have anti-fault capability, it is necessary to establish a standby physical route for the service that satisfies a certain separation characteristic.
针对业务需求中不包括业务允许承受的故障次数这一信息, 或者包括业 务允许承受的故障次数但取值为 0的情况, 步骤 102的一种实施方式为: 波 分网络规划设备可以使用 K条最短路(K shortest paths, KSP )算法为每条业 务计算出至少一条物理路由。 其中, K为大于 0的整数。 使用 KSP算法在物 理拓朴上计算物理路由的过程属于现有技术, 在此不再详述。  For the case that the service requirement does not include the number of faults that the service is allowed to bear, or the number of faults that the service is allowed to bear, but the value is 0, one implementation of the step 102 is as follows: The wavelength division network planning device can use K The K shortest paths (KSP) algorithm calculates at least one physical route for each service. Where K is an integer greater than zero. The process of computing physical routes on the physical topology using the KSP algorithm is prior art and will not be described in detail herein.
针对业务需求中包括业务允许承受的故障次数且业务允许承受的故障次 数大于 0的情况, 根据分离策略的不同, 步骤 102具体可以釆用以下几种实 施方式:  For the case where the service requirement includes the number of failures that the service is allowed to bear and the number of failures that the service is allowed to bear is greater than 0, according to the separation strategy, step 102 may specifically adopt the following implementation manners:
波分网络规划设备可以使用链路分离算法为每条业务计算出至少一条链 路分离路由。 在此, 链路分离路由即为满足业务允许承受的故障次数的物理 路由。 在物理拓朴上计算链路分离路由的过程属于现有技术, 在此不再详述。  The WDM network planning device can use the link separation algorithm to calculate at least one link separation route for each service. Here, the link separation route is a physical route that satisfies the number of failures that the service is allowed to bear. The process of calculating a link separation route on a physical topology belongs to the prior art and will not be described in detail herein.
波分网络规划设备还可以使用节点分离算法为每条业务计算出至少一条 节点分离路由。 在此, 节点分离路由即为满足业务允许承受的故障次数的物 理路由。 在物理拓朴上计算节点分离路由的过程属于现有技术, 在此不再详 述。  The WDM network planning device can also use the node separation algorithm to calculate at least one separate node route for each service. Here, the node separation route is a physical route that satisfies the number of failures that the service is allowed to bear. The process of calculating a node separation route on a physical topology belongs to the prior art and will not be described in detail herein.
波分网络规划设备还可以使用共享风险链路组( Shared Risk Link Group, SRLG )分离算法为每条业务计算出至少一条 SRLG分离路由。 在此, SRLG 分离路由即为满足业务允许承受的故障次数的物理路由。 在物理拓朴上计算 SRLG分离路由的过程属于现有技术, 在此不再详述。  The WDM network planning device can also calculate at least one SRLG separate route for each service using the Shared Risk Link Group ( SRLG) separation algorithm. Here, the SRLG split route is a physical route that satisfies the number of failures that the service is allowed to bear. The process of calculating the SRLG separation route on the physical topology belongs to the prior art and will not be described in detail herein.
可选的, 步骤 103的一种实施方式的流程如图 1B所示, 具体包括: 步骤 103a、 根据每条业务的每条物理路由经过的节点形成每条业务的每 条物理路由对应的有向连接关系。  Optionally, the process of an embodiment of step 103 is as shown in FIG. 1B, and specifically includes: Step 103: forming a directional corresponding to each physical route of each service according to a node that passes through each physical route of each service Connection relationship.
其中, 每条业务的每条物理路由对应的有向连接关系包括每条业务的每 条物理路由上两两节点之间沿着每条业务的源节点和每条业务的宿节点方向 的有向连接。 The directional connection relationship corresponding to each physical route of each service includes the source node of each service and the destination node of each service between two nodes on each physical route of each service. Directed connection.
可选的, 有向连接关系可以是有向图, 但不限于此。 每条物理路由对应 的有向图包括了每条物理路由上两两节点之间从源节点到宿节点方向的有向 连接。 在有向图中, 有向连接可以被称为边。  Optionally, the directed connection relationship may be a directed graph, but is not limited thereto. The directed graph corresponding to each physical route includes a directed connection from the source node to the sink node between the two nodes on each physical route. In a directed graph, a directed connection can be referred to as an edge.
步骤 103b、 为每条业务的每条物理路由对应的有向连接关系中的每条有 向连接赋权重值。  Step 103b: Assign a weight value to each of the directed connections in the directed connection relationship corresponding to each physical route of each service.
其中, 有向连接关系中的每条有向连接的权重值与该条有向连接对应的 光纤链路上是否存在虚链路有关系。 为有向连接关系中有向连接赋权重值的 原则为: 所对应的光纤链路上已经存在虚链路的有向连接的权重值 d、于所对 应的光纤链路上不存在虚链路的有向连接的权重值。  The weight value of each directed connection in the directed connection relationship is related to whether a virtual link exists on the fiber link corresponding to the directed connection. The principle of assigning a weight value to a directed connection in a directed connection relationship is as follows: the weight value d of the directional connection of the virtual link already exists on the corresponding fiber link, and the virtual link does not exist on the corresponding fiber link. The weight value of the directed connection.
可选的, 在满足上述赋值原则的基础上, 可以釆用随机赋值的方式为有 向连接关系中的每条有向连接赋权重值。 例如, 如果一条有向连接对应的光 纤链路上不存在虚链路, 可以将其权重值赋值为无穷大, 但不限于此; 如果 一条有向连接对应的光纤链路上存在虚链路, 可以将其权重值赋值为 10或 1 等, 但不限于此。  Optionally, on the basis of satisfying the above-mentioned assignment principle, a random assignment may be used to assign a weight value to each directed connection in the directed connection relationship. For example, if there is no virtual link on the fiber link corresponding to a directed connection, the weight value can be assigned to infinity, but it is not limited to this; if there is a virtual link on the fiber link corresponding to a directed connection, Assign the weight value to 10 or 1, etc., but it is not limited to this.
可选的, 考虑到波分网络成本主要包括物理网络成本和所有波长链路成 本, 可以为根据以下方式为有向连接赋权重值: 如果有向连接对应的光纤链 路上已经存在虚链路, 有向连接的权重值为有向连接对应的光纤链路的物理 成本; 如果有向连接对应的光纤链路上不存在虚链路, 有向连接的权重值为 在有向连接对应的光纤链路上新建虚链路的成本和有向连接对应的光纤链路 的物理成本。  Optionally, considering that the WDM network cost mainly includes the physical network cost and the cost of all the wavelength links, the weight value may be assigned to the directional connection according to the following manner: if the virtual link already exists on the fiber link corresponding to the directional connection The weight of the directed connection is the physical cost of the fiber link corresponding to the directed connection. If there is no virtual link on the fiber link corresponding to the directed connection, the weight of the directed connection is the fiber corresponding to the directed connection. The cost of creating a new virtual link on the link and the physical cost of the fiber link corresponding to the directed connection.
可选的, 波分网络规划设备可以根据公式( 1 )计算出每条业务的每条物 理路由对应的有向连接关系中的每条有向连接的权重值; 然后将计算出的有 向连接的权重值赋给每条业务的每条物理路由对应的有向连接关系中的有向 连接。  Optionally, the wavelength division network planning device may calculate, according to formula (1), a weight value of each directed connection in each of the directed connection relationships corresponding to each physical route of each service; and then calculate the calculated directed connection. The weight value is assigned to the directed connection in the directed connection relationship corresponding to each physical route of each service.
公式 ( 1 ) : Cos=wl *业务安装成本 +w2*光复用段 ( Optical multiplexer segment, OMS )成本 +w2*路径上的业务量。  Formula (1): Cos=wl * Service installation cost +w2* Optical multiplexer segment (OMS) cost +w2* Traffic on the path.
其中, Cos为计算出的有向连接的权重值。  Where Cos is the calculated weight value of the directed connection.
业务安装成本为在有向连接对应的光纤链路上新建虚链路的成本 ,例如 , 设新建一条虚链路消耗的成本设为 1 , 则在该有向连接对应的光纤链路上新 建两条虚链路消耗的成本为 2。 如果在该有向连接对应的光纤链路上不需要 新建虚链路, 则该项成本为 0。 The service installation cost is the cost of creating a virtual link on the fiber link corresponding to the directed connection. For example, if the cost of creating a new virtual link is set to 1, the new fiber link on the directional connection is new. The cost of building two virtual links is 2. If the virtual link is not required to be created on the fiber link corresponding to the directed connection, the cost is 0.
OMS成本为有向连接对应的光纤链路的物理成本, 即光纤链路上的光纤 等物理器件的成本。  The OMS cost is the physical cost of the fiber link corresponding to the directed connection, that is, the cost of the physical device such as the fiber on the fiber link.
路径上的业务量为有向连接对应的光纤链路上已经存在的虚链路上的业 务量; 例如, 如果一条有线连接对应的光纤链路上已经存在两条虚链路, 则 该光纤链路上的业务量为两个虚链路上业务量的总和。 在此说明, 本实施例 的业务量主要是指业务的带宽。  The traffic on the path is the amount of traffic on the existing virtual link on the fiber link corresponding to the directed connection; for example, if two virtual links already exist on the fiber link corresponding to a wired connection, the fiber link The traffic on the road is the sum of the traffic on the two virtual links. It is explained here that the traffic volume of this embodiment mainly refers to the bandwidth of the service.
wl、 w2和 w3为权重系数。 在本发明实施例中, wl、 w2和 w3允许用 户针对不同业务进行调整。  Wl, w2, and w3 are weight coefficients. In the embodiment of the present invention, wl, w2 and w3 allow the user to make adjustments for different services.
步骤 103c、 根据每条业务的每条物理路由对应的有向连接关系和有向连 接关系中每条有向连接的权重值, 计算出每条业务的每条物理路由对应的最 短路。  Step 103c: Calculate a shortest path corresponding to each physical route of each service according to the weighted value of each directed connection in each of the directed connection relationship and the directed connection relationship of each physical route of each service.
在获知有向连接关系中每条有向连接的权重值之后, 波分网络规划设备 可以根据有向连接关系计算出从业务的源节点到业务的宿节点的所有虚链路 连接, 即获取从业务的源节点到业务的宿节点的所有单条有向连接以及多个 有向连接的所有组合。 然后, 波分网络规划设备将从业务的源节点到业务的 宿节点的单条有向连接的权重值作为这些单条有向连接对应的链路成本, 分 别将各个从业务的源节点到业务的宿节点的有向连接的组合中各条有向连接 的权重值相加作为各有向连接的组合对应的链路成本, 最终从中选择链路成 本最低的一个单条有向连接或有向连接的组合作为该条物理路由的最短路。  After learning the weight value of each directed connection in the directed connection relationship, the WDM network planning device can calculate all virtual link connections from the source node of the service to the sink node of the service according to the directed connection relationship, that is, obtain the slave All single-directional directed connections from the source node of the service to the sink nodes of the service and all combinations of multiple directed connections. Then, the WDM network planning device uses the weight value of a single directed connection from the source node of the service to the sink node of the service as the link cost corresponding to the single directed connection, and respectively sets the source node of each service to the service. The weight values of the respective connected connections in the combination of the directed connections of the nodes are added as the link costs corresponding to the combinations of the directed connections, and finally a combination of a single directed connection or a directed connection with the lowest link cost is selected. As the shortest path of the physical route.
可选的, 步骤 103c的实施方式具体可以为: 波分网络规划设备以每条业 务的每条物理路由对应的有向连接关系和有向连接中的每条有向连接的权重 值作为输入,使用最短路算法计算出每条业务的每条物理路由对应的最短路。 其中, 通过使用最短路算法有利于提高获取最短路的效率。  Optionally, the implementation manner of the step 103c may be: the wavelength division network planning device takes as input a weighted value of each directed connection relationship and a directed connection in each of the directed connections of each physical route of each service, The shortest path algorithm is used to calculate the shortest path corresponding to each physical route of each service. Among them, the use of the shortest path algorithm is beneficial to improve the efficiency of obtaining the shortest path.
其中, 计算出最短路的同时, 会得到最短路对应的链路成本。  Among them, while calculating the shortest path, the link cost corresponding to the shortest path is obtained.
上述首先形成有向连接关系, 然后为有向连接关系中的有向连接赋权重 值, 最后根据有向连接关系和有向连接的权重值得到链路成本最低的有向连 接或有向连接的组合作为最短路的实施方式具有实现简单, 效率高等优点。  The above first forms a directed connection relationship, then assigns a weighted value to the directed connection in the directed connection relationship, and finally obtains a directed connection or a directed connection with the lowest link cost according to the weighted value of the directed connection relationship and the directed connection. The combination as the shortest path embodiment has the advantages of simple implementation, high efficiency, and the like.
图 2给出了上述步骤 102-步骤 105联合实施的一种实现流程, 但不限于 此。 如图 2所示, 该实现流程包括: FIG. 2 shows an implementation flow of the joint implementation of the foregoing steps 102-105, but is not limited to This. As shown in Figure 2, the implementation process includes:
步骤 1031、 对所有业务进行排序。  Step 1031: Sort all services.
步骤 1032、 按照业务顺序, 从所有业务中选择一个业务, 将业务总数减 去 1。  Step 1032: Select one service from all services according to the service sequence, and subtract 1 from the total number of services.
步骤 1033、 将被选择的业务对应的链路成本初始化为无穷大。  Step 1033: Initialize the link cost corresponding to the selected service to infinity.
步骤 1034、 判断是否遍历完被选的业务的所有物理路由; 如果判断结果 为否, 执行步骤 1035; 如果判断结果为是, 执行步骤 1038。  Step 1034: Determine whether to traverse all the physical routes of the selected service. If the determination result is no, go to step 1035. If the judgment result is yes, go to step 1038.
步骤 1035、 从被选择的业务的所有物理路由中选择一个未被遍历的物理 路由, 计算出被选择的物理路由对应的最短路。  Step 1035: Select a physical route that is not traversed from all physical routes of the selected service, and calculate a shortest path corresponding to the selected physical route.
具体的, 波分网络规划设备首先根据被选择的物理路由经过的节点形成 被选择的物理路由的有向连接关系。  Specifically, the wavelength division network planning device first forms a directed connection relationship of the selected physical route according to the node through which the selected physical route passes.
然后, 波分网络规划设备根据被选择的物理路由上虚链路的存在情况, 为被选择的物理路由对应的有向连接关系中的每条有向连接赋权重值。其中, 赋值原则为: 所对应的光纤链路上存在虚链路的有向连接的权重值 d、于所对 应的光纤链路上不存在虚链路的有向连接的权重值。  Then, the WDM network planning device assigns a weight value to each of the directed connections in the directed connection relationship corresponding to the selected physical route according to the existence of the virtual link on the selected physical route. The assignment principle is: the weight value of the directional connection of the virtual link on the corresponding fiber link d, and the weight value of the directional connection of the virtual link on the corresponding fiber link.
可选的, 波分网络规划设备可以根据公式( 1 )计算出被选择的物理路由 对应的有向连接关系中每条有向连接的权重值, 然后将计算出的权重值赋给 对应的有向连接。  Optionally, the wavelength division network planning device may calculate, according to formula (1), a weight value of each directed connection in the directed connection relationship corresponding to the selected physical route, and then assign the calculated weight value to the corresponding one. To connect.
接着, 波分网络规划设备以被选择的物理路由对应的有向连接关系和该 有向连接关系中每条有向连接的权重值, 计算被选择的物理路由对应的最短 路。  Then, the wavelength division network planning device calculates the shortest path corresponding to the selected physical route by using the directed connection relationship corresponding to the selected physical route and the weight value of each directed connection in the directed connection relationship.
可选的, 波分网络规划设备可以以被选择的物理路由对应的有向连接关 系和有向连接关系中的有向连接的权重值为输入, 使用最短路算法计算出被 选择的物理路由对应的最短路以及最短路的链路成本。  Optionally, the wavelength division network planning device may input the weight value of the directed connection relationship corresponding to the selected physical route and the directed connection in the directed connection relationship, and calculate the selected physical route by using the shortest path algorithm. The shortest path and the shortest link cost.
上述具体实现可参见图 1B所示实施例的描述。  For the above specific implementation, reference may be made to the description of the embodiment shown in FIG. 1B.
步骤 1036、 判断被选择的物理路由对应的最短路的链路成本是否小于被 选择的业务对应的链路成本; 如果判断结果为是, 执行步骤 1037; 如果判断 结果为否, 返回执行步骤 1034。  Step 1036: Determine whether the shortest link cost corresponding to the selected physical route is less than the link cost corresponding to the selected service; if the determination result is yes, go to step 1037; if the judgment result is no, go back to step 1034.
步骤 1037、 将被选择的业务对应的链路成本更新为被选择的物理路由对 应的最短路的链路成本, 将被选择的业务的目标路由更新为被选择的物理路 由对应的最短路, 返回执行步骤 1034。 Step 1037: Update the link cost corresponding to the selected service to the shortest link cost corresponding to the selected physical route, and update the target route of the selected service to the selected physical path. Return to step 1034 by the corresponding shortest path.
其中, 步骤 1034-步骤 1037具体为从被选择的业务的至少一条物理路由 对应的最短路中选择链路成本最低的最短路作为被选择的业务的目标路由的 过程。  Steps 1034 to 1037 are specifically the process of selecting the shortest path with the lowest link cost from the shortest path corresponding to at least one physical route of the selected service as the target route of the selected service.
步骤 1038、 确定被选择的业务的目标路由对应的物理路由为被选择的业 务的物理路由, 根据被选择的业务的目标路由和被选择的业务的带宽确定被 选择的业务的虚链路信息,根据被选择的业务的虚链路信息更新网络虚拓朴, 执行步骤 1039。  Step 1038: Determine a physical route corresponding to the target route of the selected service as a physical route of the selected service, and determine virtual link information of the selected service according to the target route of the selected service and the bandwidth of the selected service. The network virtual topology is updated according to the virtual link information of the selected service, and step 1039 is performed.
其中, 当遍历完被选择的业务的所有物理路由后, 此时被选择的业务的 目标路由为被选择的业务的所有物理路由对应的最短路中链路成本最低的最 短路, 将该链路成本最低的最短路对应的物理路由作为被选择的业务的物理 路由。  After the traversal of all the physical routes of the selected service, the target route of the selected service is the shortest route with the lowest link cost in the shortest path corresponding to all the physical routes of the selected service, and the link is the shortest. The physical route with the lowest cost shortest path corresponds to the physical route of the selected service.
具体的,波分网络规划设备根据被选择的业务的目标路由上的交叉节点, 确定承载被选择的业务的虚链路个数。 其中, 如果被选择的业务的目标路由 对应的物理路由上不存在任何虚链路, 则在被选择的业务的目标路由对应的 物理路由上需要新建全部虚链路; 如果在被选择的业务的目标路由对应的物 理路由上已经存在一条或多条虚链路, 则在被选择的业务的目标路由对应的 物理路由上只需要新建剩余的虚链路即可。  Specifically, the WDM network planning device determines the number of virtual links carrying the selected service according to the cross-nodes on the target route of the selected service. If there is no virtual link on the physical route corresponding to the target route of the selected service, all the virtual links need to be created on the physical route corresponding to the target route of the selected service; if the selected service is in the selected service If one or more virtual links exist on the physical route corresponding to the target route, you only need to create the remaining virtual link on the physical route corresponding to the target route of the selected service.
进一步, 波分网络规划设备还需要根据被选择的业务的带宽, 确定承载 被选择的业务的每条虚链路的容量。 其中, 对于已经存在的虚链路来说, 波 分网络规划设备为其确定带宽主要是指更新该虚链路的带宽,例如增大带宽, 具体可以通过增加新的波长链路或更换带宽更大的波长链路实现。  Further, the WDM network planning device further needs to determine the capacity of each virtual link carrying the selected service according to the bandwidth of the selected service. For a virtual link that already exists, the bandwidth planning device determines the bandwidth for the virtual link. For example, the bandwidth of the virtual link is updated, for example, the bandwidth is increased, and the bandwidth may be increased by adding a new wavelength link or replacing the bandwidth. Large wavelength link implementation.
步骤 1039、 判断业务总数是否为 0; 如果判断结果为否, 返回执行步骤 1032; 如果判断结果为是, 执行步骤 1040。  Step 1039: Determine whether the total number of services is 0. If the judgment result is no, return to step 1032; if the determination result is yes, go to step 1040.
步骤 1040、 根据上述确定出的每条被选择的业务的物理路由获得与当前 网络虚拓朴形成映射关系的网络物理拓朴, 结束操作。  Step 1040: Obtain a network physical topology that forms a mapping relationship with the current network virtual topology according to the determined physical route of each selected service, and end the operation.
在本实施例中, 设置业务总数这样一变量, 每处理一个业务就将其减去 1来记录是否计算出了所有业务的虚链路信息。  In this embodiment, a variable such as the total number of services is set, and each time a service is processed, 1 is subtracted to record whether virtual link information of all services is calculated.
如果判断结果为否, 即业务总数不为 0, 说明还存在尚未被处理的业务, 则继续获取业务, 然后对其进行处理。 如果判断结果为是, 即业务总数为 0 是, 说明计算出了所有业务的虚链路信息, 则根据所确定的所有业务的物理 路由获得与网络虚拓朴形成映射关系的网络物理拓朴, 结束操作; 此时, 步 骤 1038 中根据被选择的业务的虚链路信息更新后的网络虚拓朴即为第一网 络拓朴,步骤 1040得到的即为与第一网络虚拓朴形成映射关系的第一网络物 理拓朴。 If the judgment result is no, that is, the total number of services is not 0, indicating that there are still services that have not been processed, then continue to acquire the service and then process it. If the judgment result is yes, the total number of services is 0. If the virtual link information of all the services is calculated, the physical topology of the network that is mapped to the virtual topology of the network is obtained according to the determined physical route of all services, and the operation ends; at this time, according to step 1038, The network virtual topology after the updated virtual link information of the selected service is the first network topology, and the first network physical topology formed by the mapping with the first network virtual topology is obtained in step 1040.
本实施例提供的处理流程在实现根据服务层物理路由计算出客户层的虚 链路的目的的同时, 还具有实现简单, 效率高等优点。  The processing flow provided in this embodiment has the advantages of simple implementation, high efficiency, and the like while realizing the purpose of calculating the virtual link of the client layer according to the service layer physical route.
进一步, 在获得第一网络虚拓朴之后, 波分网络规划设备还可以对第一 网络虚拓朴进行优化处理, 得到第三网络虚拓朴。  Further, after obtaining the first network virtual topology, the WDM network planning device may further optimize the first network virtual topology to obtain a third network virtual topology.
如图 3所示, 在本发明的另一实施例中, 步骤 105之后还包括: 步骤 106、 将第一网络虚拓朴中的至少一条虚链路删除, 确定至少一条 受影响业务, 获得第二网路虚拓朴。  As shown in FIG. 3, in another embodiment of the present invention, after the step 105, the method further includes: Step 106: Delete at least one virtual link in the virtual topology of the first network, determine at least one affected service, and obtain the first Two network virtual topography.
其中, 至少一条受影响业务为虚链路信息中包括被删除虚链路的业务, 即由被删除的虚链路承载的业务。  At least one of the affected services includes the service of the deleted virtual link, that is, the service carried by the deleted virtual link.
可选的, 波分网络规划设备可以在第一网络虚拓朴中随机选择至少一条 已经存在的虚链路, 将该虚链路删除。 由于每条虚链路上都承载有业务, 故 由该虚链路承载的业务被称为受影响业务。 受影响业务的个数即为被删除虚 链路承载的业务的个数。  Optionally, the WDM network planning device may randomly select at least one existing virtual link in the first network virtual topology to delete the virtual link. A service carried by the virtual link is called an affected service because the service is carried on each virtual link. The number of affected services is the number of services carried by the deleted virtual link.
在此说明, 承载受影响业务的虚链路可能有多条, 例如其中一条被删除 要是指带宽资源)也要被释放, 也就是要修改其它承载有受影响业务的虚链 路的容量。 所以, 本实施例获得第二网络虚拓朴是指释放所有受影响业务占 用的带宽资源后的虚拓朴。  It is noted that there may be multiple virtual links carrying the affected services, for example, one of them is deleted, and the bandwidth resource is also released, that is, the capacity of other virtual links carrying the affected services is modified. Therefore, obtaining the virtual topology of the second network in this embodiment refers to the virtual topology after releasing the bandwidth resources occupied by all affected services.
步骤 107、 获得至少一条受影响业务中每条受影响业务的虚链路信息。 可选的, 步骤 107的一种实施方式包括: 波分网络规划设备可以计算每 条受影响业务的每条物理路由对应的最短路; 从每条受影响业务的所有物理 路由对应的最短路中选择链路成本最低的最短路作为每条受影响业务的目标 路由, 根据每条受影响业务的目标路由和每条受影响业务的带宽确定每条受 影响业务的虚链路信息。  Step 107: Obtain virtual link information of each affected service in at least one affected service. Optionally, an implementation manner of step 107 includes: the wavelength division network planning device can calculate a shortest path corresponding to each physical route of each affected service; and obtain a shortest path corresponding to all physical routes of each affected service. The shortest path with the lowest link cost is selected as the target route of each affected service. The virtual link information of each affected service is determined according to the target route of each affected service and the bandwidth of each affected service.
可选的, 波分网络规划设备确定出每条受影响业务的目标路由之后, 还 可以确定每条受影响业务的目标路由对应的物理路由为每条受影响业务的物 理路由。 Optionally, after the wavelength division network planning device determines the target route of each affected service, The physical route corresponding to the target route of each affected service can be determined as the physical route of each affected service.
其中, 波分网络规划设备计算每条受影响业务的每条物理路由对应的最 短路的过程可参见步骤 103以及步骤 103的具体实施方式的描述, 在此不再 其中, 波分网络规划设备根据每条受影响业务的目标路由和每条受影响 业务的带宽确定每条受影响业务的虚链路信息可参见步骤 104的描述, 在此 不再赘述。  For the process of calculating the shortest path corresponding to each physical route of each affected service, the description of the specific implementation manners of step 103 and step 103 is omitted. For the target route of each affected service and the bandwidth of each affected service, determine the virtual link information of each affected service. For details, refer to the description in step 104, and details are not described here.
步骤 108、 根据获得的每条受影响业务的虚链路信息中的虚链路个数, 更新第二网络虚拓朴中的虚链路个数, 获得第三网络虚拓朴。  Step 108: Update the number of virtual links in the virtual topology of the second network according to the number of virtual links in the virtual link information of each affected service to obtain a virtual topology of the third network.
其中, 根据获得的每条受影响业务的虚链路信息中的虚链路个数, 更新 第二网络虚拓朴中的虚链路个数主要是指在第二网络虚拓朴中增加和 /或删 除虚链路。  The number of virtual links in the virtual topology of the second network is mainly increased according to the number of virtual links in the virtual link information of each affected service. / or delete the virtual link.
在本实施例中, 通过删除第一网络虚拓朴中的至少一条虚链路, 获取受 影响业务和第二网络虚拓朴, 然后获得受影响业务的虚链路信息, 进而根据 获得的受影响业务的虚链路信息中的虚链路个数更新第二网络虚拓朴得到第 三网络虚拓朴, 实现对网络虚拓朴的优化, 有利于进一步降低多层网络的规 划成本。  In this embodiment, the at least one virtual link in the virtual topology of the first network is deleted, and the affected service and the virtual topology of the second network are obtained, and then the virtual link information of the affected service is obtained, and then obtained according to the obtained virtual link. The number of virtual links in the virtual link information that affects the service is updated. The virtual topology of the second network is used to obtain the virtual topology of the third network, which optimizes the virtual topology of the network, which is beneficial to further reduce the planning cost of the multi-layer network.
在此说明, 根据获得的每条受影响业务的虚链路信息中的虚链路个数, 更新第二网络虚拓朴中的虚链路个数的结果通常是: 更新第二网络虚拓朴得 到的第三网络虚拓朴中虚链路个数比第一网络虚拓朴中的虚链路个数少, 这 样可以达到优化网络虚拓朴的目的, 但不限于此。 例如, 根据获得的每条受 影响业务的虚链路信息中的虚链路个数, 更新第二网络虚拓朴中的虚链路个 数的结果还可能是: 更新第二网络虚拓朴得到的第三网络虚拓朴中的虚链路 个数与第一网络虚拓朴中的虚链路个数相同。 对于这种更新结果, 可以进一 步对网络虚拓朴进行更新。  The result of updating the number of virtual links in the virtual topology of the second network is usually: updating the second network virtual topology according to the number of virtual links in the virtual link information of each affected service obtained. The number of virtual links in the third network virtual topography obtained by Park is less than the number of virtual links in the virtual topology of the first network, so that the purpose of optimizing the virtual topology of the network can be achieved, but it is not limited thereto. For example, the result of updating the number of virtual links in the virtual topology of the second network may be: updating the second network virtual topology according to the number of virtual links in the virtual link information of each affected service. The number of virtual links in the obtained third network virtual topology is the same as the number of virtual links in the first network virtual topology. For this update result, the network virtual topology can be further updated.
基于上述, 如图 4所示, 在本发明的又一实施例中, 在步骤 108之后还 包括:  Based on the above, as shown in FIG. 4, in another embodiment of the present invention, after step 108, the method further includes:
步骤 109、 判断更新操作是否结束; 如果判断结果为否, 执行步骤 110; 反之, 结束操作。 步骤 110、 判断第三网络虚拓朴中的虚链路个数是否小于第二网络虚拓 朴中的虚链路个数; 如果判断结果为否, 执行步骤 111 ; 如果判断结果为是, 执行步骤 112。 Step 109: Determine whether the update operation ends; if the determination result is no, perform step 110; otherwise, end the operation. Step 110: Determine whether the number of virtual links in the virtual topology of the third network is smaller than the number of virtual links in the virtual topology of the second network. If the determination result is no, go to step 111; if the judgment result is yes, execute Step 112.
步骤 111、 将第三网络虚拓朴恢复为第二网络虚拓朴, 将第二网络虚拓 重新作为第一网络虚拓朴, 返回执行步骤 106, 直到更新操作结束为止。  Step 111: Restore the third network virtual topology to the second network virtual topology, and re-create the second network virtual topology as the first network virtual topology, and return to step 106 until the update operation ends.
步骤 112、 将第三网络虚拓朴重新作为第一网络虚拓朴, 返回执行步骤 106, 直到更新操作结束为止。  Step 112: Re-establish the third network virtual topology as the first network virtual topology, and return to step 106 until the update operation ends.
本实施例相当于以减少网络虚拓朴中的虚链路个数为目的, 对网络虚拓 朴进行不断更新的过程。  This embodiment is equivalent to the process of continuously updating the virtual topology of the network for the purpose of reducing the number of virtual links in the virtual topology of the network.
在每次更新结束后得到第三网络虚拓朴, 波分网络规划设备将第三网络 虚拓朴中的虚链路个数与更新前的第二网络虚拓朴中的虚链路个数进行比 较, 即判断更新得到的第三网络虚拓朴中的虚链路个数是否小于更新前的第 二网络虚拓朴中的虚链路个数, 亦即判断更新得到的第三网络虚拓朴中的虚 链路个数是否小于第一网络虚拓朴中的虚链路个数, 亦即判断网络的规划成 本是否有降低。 其中, 网络虚拓朴中的虚链路个数决定了网络规划成本的大 小。  After the end of each update, the third network virtual topology is obtained, and the number of virtual links in the virtual topology of the third network and the number of virtual links in the virtual topology of the second network before the update are obtained by the WDM network planning device. Comparing, that is, determining whether the number of virtual links in the third network virtual topology obtained by the update is smaller than the number of virtual links in the virtual topology of the second network before the update, that is, determining the updated third network virtual Whether the number of virtual links in the topology is smaller than the number of virtual links in the virtual topology of the first network, that is, whether the planning cost of the network is reduced. The number of virtual links in the network virtual topology determines the size of the network planning cost.
如果更新后得到的第三网络虚拓朴中的虚链路个数小于更新前第二网络 虚拓朴中的虚链路个数, 则接受此次更新结果, 将第三网络虚拓朴重新作为 第一网络虚拓朴继续下一次更新处理, 即返回步骤 106, 直到更新处理结束 为止。  If the number of virtual links in the third network virtual topology obtained after the update is smaller than the number of virtual links in the virtual topology of the second network before the update, the result of the update is accepted, and the third network virtual topology is re-established. As the first network virtual topology continues the next update process, that is, returns to step 106 until the update process ends.
如果更新后得到的第三网络虚拓朴中的虚链路个数大于或等于更新前第 二网络虚拓朴中的虚链路个数, 则拒绝此次更新结果, 将第三网络虚拓朴恢 复为第二网络虚拓朴, 将第二网络虚拓朴重新作为第一网络虚拓朴继续下一 次更新处理, 即返回步骤 106, 直到更新处理结束为止。 达到设定的更新次数门限后, 结束更新处理操作。 其中, 更新次数门限可以 由用户输入, 也可以由使用的更新算法自己确定。 处理时间到达时, 结束更新处理操作。 其中, 更新处理时间可以由用户输入。  If the number of virtual links in the third network virtual topology obtained after the update is greater than or equal to the number of virtual links in the virtual topology of the second network before the update, the update result is rejected, and the third network is expanded. The PC is restored to the second network virtual topology, and the second network virtual topology is re-executed as the first network virtual topology to continue the next update process, that is, returning to step 106 until the update process ends. After the set update threshold is reached, the update processing operation ends. The update threshold may be input by the user or may be determined by the update algorithm used. When the processing time arrives, the update processing operation ends. The update processing time can be input by the user.
本实施例提供的更新处理方法具有实现简单, 处理速度快, 降低了网络 规划的成本。 The update processing method provided in this embodiment has the advantages of simple implementation, fast processing speed, and reduced network. The cost of planning.
在此说明, 除了使用图 4所示的更新方法对第一网络虚拓朴进行更新操 作之外, 波分网络规划设备还可以以第一网络虚拓朴中的虚链路个数最少为 优化目标, 使用模拟退火算法、 演进算法、 粒子群算法或蚁群算法对网络中 的虚链路进行优化处理, 获取第三网络虚拓朴。  It is noted that, except that the update operation of the first network virtual topology is performed by using the update method shown in FIG. 4, the WDM network planning device may further optimize the number of virtual links in the first network virtual topology. The objective is to use a simulated annealing algorithm, an evolution algorithm, a particle swarm algorithm or an ant colony algorithm to optimize the virtual link in the network to obtain a third network virtual topology.
其中, 模拟退火算法、 演进算法、 粒子群算法或蚁群算法均为较为常见 的优化处理算法, 因此, 本发明实施例对各自的具体原理不进行说明。  The simulated annealing algorithm, the evolution algorithm, the particle swarm algorithm, or the ant colony algorithm are all common optimization processing algorithms. Therefore, the specific embodiments of the present invention are not described.
为了便于理解本发明上述实施例提供的技术方案, 下面将以具体物理拓 朴结合具体业务进行说明。  In order to facilitate the understanding of the technical solutions provided by the foregoing embodiments of the present invention, a specific physical topology will be described in conjunction with specific services.
在本实施例中, 网络的物理拓朴为线性物理拓朴, 该线性物理拓朴为: 节点 A-节点 B-节点 C-节点 D-节点 E。 在本实施例中, 网络中存在三条业务, 且不存在保护业务, 即每条业务的业务故障次数为 0, 每条业务的带宽为 2.5G, 三条业务分别为: 业务 1 : 节点 A-节点 C; 业务 2: 节点 C-节点 E; 业务 3: 节点 A-节点 E。 其中, 节点 A和节点 C分别为业务 1的源节点和宿 节点; 节点 C和节点 E分别为业务 2的源节点和宿节点; 节点 A和节点 E分 别为业务 3的源节点和宿节点。  In this embodiment, the physical topology of the network is a linear physical topology, and the linear physical topology is: Node A-Node B-Node C-Node D-Node E. In this embodiment, there are three services in the network, and there is no protection service, that is, the number of service failures per service is 0, the bandwidth of each service is 2.5G, and the three services are: Service 1: Node A-node C; Service 2: Node C - Node E; Service 3: Node A - Node E. Node A and node C are the source node and the sink node of service 1, respectively; node C and node E are the source node and the sink node of service 2, respectively; node A and node E are the source node and the sink node of service 3, respectively.
在本实施例中, 预先设定每条虚链路的容量为 10G, 初始状态时网络中 不存在虚链路(即网络资源状态为空) 。 另外, 还预先设定使用的权重系数 分别为 wl=100, w2=5, w3=-l。  In this embodiment, the capacity of each virtual link is preset to be 10 G. In the initial state, there is no virtual link in the network (that is, the network resource status is empty). In addition, the weight coefficients used are also preset to be wl=100, w2=5, w3=-l.
下面开始对上述线性物理拓朴进行规划:  Let's start planning the linear physical topology above:
第一步, 根据线性物理拓朴, 计算每条业务的物理路由。  The first step is to calculate the physical route of each service based on the linear physical topology.
在本实施例中, 根据线性物理拓朴和业务 1的源、 宿节点, 为业务 1计 算出一条物理路由, 该物理路由为: 节点 A-节点 B-节点 C;  In this embodiment, a physical route is calculated for the service 1 according to the linear physical topology and the source and the sink node of the service 1, and the physical route is: node A-node B-node C;
根据线性物理拓朴和业务 2的源、 宿节点, 为业务 2计算出一条物理路 由, 该物理路由为: 节点 C-节点 D-节点 E;  Calculating a physical route for service 2 according to the linear physical topology and the source and sink nodes of service 2, the physical route is: node C-node D-node E;
根据线性物理拓朴和业务 3的源、 宿节点, 为业务 3计算出一条物理路 由, 该物理路由为: 节点 A-节点 B-节点 C-节点 D-节点 E。  According to the linear physical topology and the source and sink nodes of service 3, a physical route is calculated for service 3. The physical route is: node A-node B-node C-node D-node E.
第二步, 获得第一网络虚拓朴。  The second step is to obtain the first network virtual topology.
首先, 对业务进行排序, 得到业务规划顺序。 在本实施例中, 排序得到 的业务规划顺序依次为业务 1、 业务 2、 业务 3。 接下来, 先对业务 1进行规划。 First, sort the business and get the business planning order. In this embodiment, the order of the service planning obtained by the ordering is Service 1, Service 2, and Service 3. Next, plan for Business 1 first.
业务 1仅存在一条物理路由, 根据该物理路由经过的节点形成有向连接 关系, 如图 5A所示。 该有向连接关系一共有 3条有向连接, 分别为:  Service 1 has only one physical route, and the nodes passing through the physical route form a directed connection relationship, as shown in FIG. 5A. There are a total of three directed connections in the directed connection relationship, namely:
节点 A到节点 B构成的有向连接;  a directed connection formed by node A to node B;
节点 A到节点 C构成的有向连接;  a directed connection formed by node A to node C;
节点 B到节点 C构成的有向连接。  A directed connection formed by node B to node C.
该物理路由上可选择的交叉节点组合个数为 2, 分别是没有交叉节点和 节点 B作为交叉节点。 由于当前网络中的虚链路个数为 0, 如果选择节点 B 作为交叉节点, 则需要创建两条虚链路, 即在节点 A到节点 B构成的有向连 接对应的光纤链路上需要新创建一条虚链路, 对应的业务安装成本为 1 , 节 点 A到节点 B只需一跳, 故对应 OMS成本为 1 , 又由于虚链路是需要新创 建的, 故不存在业务量, 则路径上的业务量为 0; 在节点 B到节点 C构成的 有向连接对应的光纤链路上也需要新创建一条虚链路, 对应的业务安装成本 也为 1 , 节点 B到节点 C只需一跳, 故对应 OMS成本为 1 , 又由于虚链路是 需要新创建的, 故不存在业务量, 则路径上的业务量为 0。 如果选择没有交 叉节点, 则需要创建一条虚链路, 节点 A到节点 C构成的有向连接对应的光 纤链路上需要新创建一条虚链路, 对应的业务安装成本为 1 , 由于节点 A到 节点 C需要经过两跳,故对应的 OMS成本为 2, 又由于虚链路是需要新创建 的, 故不存在业务量, 则路径上的业务量为 0。  The number of cross-node combinations selectable on the physical route is 2, and there is no cross node and node B as cross nodes. Since the number of virtual links in the current network is 0, if node B is selected as the cross-node, two virtual links need to be created, that is, a new fiber link corresponding to the directed connection formed by node A to node B needs to be new. Create a virtual link, the corresponding service installation cost is 1, and node A to node B only need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the path The traffic on the link is 0. On the fiber link corresponding to the directed connection formed by the node B to the node C, a virtual link needs to be created. The corresponding service installation cost is also 1, and the node B to the node C only need one. The cost of the corresponding OMS is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0. If you do not have a cross-node, you need to create a virtual link. A virtual link needs to be created on the fiber link corresponding to the directed connection from node A to node C. The corresponding service installation cost is 1, because node A is Node C needs to go through two hops, so the corresponding OMS cost is 2, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式( 1 )分别计算出有向连接关系中每条有向连接的权 重值。  Based on the above, the weight values of each directional connection in the directed connection relationship are respectively calculated according to the formula (1).
节点 A到节点 B构成的有向连接的权重值 =100*1+5* 1+ ( -1 ) *0=105。 节点 A到节点 C构成的有向连接的权重值 =100*1+5*2+ ( -1 ) *0=110。 节点 B到节点 C构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 基于上述, 计算出物理路由节点 A-节点 B-节点 C的最短路为节点 A-节 点 C, 该最短路的链路成本为 110。 其中, 波分网络规划设备可以先获取从节 点 A到节点 C的所有虚链路连接, 然后将每个虚链路连接包括的有向连接的 权重值相加作为相应虚链路连接的链路成本。 例如, 从节点 A到节点 C的有 向连接为一种虚链路连接, 其链路成本为 110; 从节点 A到节点 B再到节点 C是另一种虚链路连接, 其链路成本为 105+105=210; 然后选择链路成本为 110的链路承载方式, 即节点 A到节点 C为最短路。 将该计算最短路的方法 称为直接计算方法。 The weight value of the directed connection formed by node A to node B = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by the node A to the node C=100*1+5*2+(-1)*0=110. The weight value of the directed connection formed by the node B to the node C = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. Based on the above, it is calculated that the shortest path of the physical routing node A-Node B-Node C is Node A-Node C, and the shortest link cost is 110. The wavelength division network planning device may first acquire all virtual link connections from the node A to the node C, and then add the weight values of the directed connections included in each virtual link connection as links of the corresponding virtual link connections. cost. For example, the directed connection from node A to node C is a virtual link connection with a link cost of 110; from node A to node B to node C is another virtual link connection, the link cost Is 105+105=210; then select the link cost as The link bearer mode of 110 is that node A to node C are the shortest. The method of calculating the shortest path is called a direct calculation method.
可选的, 为了提高获取最短路的效率, 波分网络规划设备可以将有向连 接关系以及每条有向连接的权重值作为输入, 直接使用最短路算法计算出的 最短路。  Optionally, in order to improve the efficiency of obtaining the shortest path, the WDM network planning device can take the direct connection relationship and the weight value of each directed connection as input, and directly use the shortest path calculated by the shortest path algorithm.
另外, 由于业务 1仅存在这一条物理路由, 所以计算出这条物理路由对 应的最短路后, 就结束了计算业务 1的物理路由对应的最短路的过程。 计算 出的最短路也就是业务 1 的目标路由, 该目标路由对应的物理路由也是业务 1的物理路由。  In addition, since only one physical route exists in the service 1, the shortest path corresponding to the physical route of the calculation service 1 is terminated after the shortest path corresponding to the physical route is calculated. The calculated shortest path is the destination route of service 1, and the physical route corresponding to the target route is also the physical route of service 1.
由于业务 1的目标路由上不包括交叉节点 (即不包括除源节点和宿节点 之外的节点) , 故确定业务 1的虚链路个数为 1 , 将该虚链路记为 VLinkl , VLinkl的源、 宿端节点分别为节点 A和节点 C。 由于业务 1的带宽为 2.5G, 故 VLinkl承载业务 1后的剩余带宽为 7.5G。  Since the target route of service 1 does not include a cross node (that is, does not include nodes other than the source node and the sink node), it is determined that the number of virtual links of service 1 is 1, and the virtual link is recorded as VLinkl, VLinkl. The source and sink nodes are node A and node C, respectively. Since the bandwidth of service 1 is 2.5G, the remaining bandwidth of VLink1 after carrying service 1 is 7.5G.
至此得到: 网络的虚拓朴包括 { ( VLinkl , SrcDst =A-C, Freeband=7.5 ) }。 其中, SrcDst表示虚链路的源、 宿端节点; FreeBand表示虚链路的剩余带宽。  So far: The virtual topology of the network includes { ( VLinkl , SrcDst = A-C, Freeband=7.5 ) }. Where SrcDst represents the source and sink nodes of the virtual link; FreeBand represents the remaining bandwidth of the virtual link.
对业务 1来说, 业务 1的物理路由为: 节点 A-节点 B-节点 C; 业务 1的 虚链路为: VLinkl。  For service 1, the physical route of service 1 is: node A-node B-node C; the virtual link of service 1 is: VLinkl.
接下来对业务 2进行规划。  Next, plan for Business 2.
对业务 2的规划过程与对业务 1的规划过程相类似。 业务 2也只有一条 物理路由, 根据该物理路由经过的节点形成有向连接关系, 如图 5B所示。 该 有向连接关系包括 3条有向连接, 分别为:  The planning process for Business 2 is similar to the planning process for Business 1. Service 2 also has only one physical route, and the nodes passing through the physical route form a directed connection relationship, as shown in FIG. 5B. The directed connection relationship includes three directed connections, which are:
节点 C到节点 D构成的有向连接;  a directed connection formed by node C to node D;
节点 C到节点 E构成的有向连接;  a directed connection formed by node C to node E;
节点 D到节点 E构成的有向连接。  The directed connection formed by node D to node E.
该物理路由上可选择的交叉节点组合个数为 2, 分别是没有交叉节点和 节点 D作为交叉节点。 如果选择节点 D作为交叉节点, 则需要创建两条虚链 路, 即在节点 C到节点 D构成的有向连接对应的光纤链路上需要新创建一条 虚链路, 对应的业务安装成本为 1 , 节点 C到节点 D只需一跳, 故对应 OMS 成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业 务量为 0; 在节点 D到节点 E构成的有向连接对应的光纤链路上需要新创建 一条虚链路, 对应的业务安装成本为 1 , 节点 D到节点 E只需一跳, 故对应 OMS成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上 的业务量为 0。 如果选择没有交叉节点, 则需要创建一条虚链路, 即节点 C 到节点 E构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的 业务安装成本为 1 , 节点 C到节点 E需要两跳, 故对应 OMS成本为 2, 又由 于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0。 The number of cross-node combinations selectable on the physical route is 2, and there is no cross node and node D as cross nodes, respectively. If you select node D as the cross-node, you need to create two virtual links. That is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node C to node D. The corresponding service installation cost is 1. Node C to node D only need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; at node D to node E Newly created on the fiber link corresponding to the directed connection For a virtual link, the corresponding service installation cost is 1, and node D to node E only needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the path is The business volume is 0. If you do not have a cross-node, you need to create a virtual link, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node C to node E. The corresponding service installation cost is 1. The node E needs two hops, so the corresponding OMS cost is 2, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式( 1 )分别计算出有向连接关系中每条有向连接的权 重值。  Based on the above, the weight values of each directional connection in the directed connection relationship are respectively calculated according to the formula (1).
节点 C到节点 D构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 C到节点 E构成的有向连接的权重值 =100*1+5*2+ ( -1 ) *0=110。 节点 D到节点 E构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 基于上述, 波分网络规划设备使用直接计算方法或最短路计算方法, 计 算出最短路为节点 C-节点 E, 该最短路的链路成本为 110。  The weight value of the directed connection formed by node C to node D = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by node C to node E is 100*1+5*2+ ( -1 ) *0=110. The weight value of the directed connection formed by node D to node E = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. Based on the above, the wavelength division network planning device uses the direct calculation method or the shortest path calculation method to calculate the shortest path as the node C-node E, and the shortest link cost is 110.
另外, 由于业务 2仅存在这一条物理路由, 所以计算出这条物理路由对 应的最短路后, 就结束了计算业务 2的物理路由对应的最短路的过程。 计算 出的最短路也就是业务 2的目标路由, 该目标路由对应的物理路由也是业务 2的物理路由。  In addition, since only the physical route exists in the service 2, after calculating the shortest path corresponding to the physical route, the shortest path corresponding to the physical route of the calculation service 2 is ended. The shortest path calculated is the target route of service 2. The physical route corresponding to the target route is also the physical route of service 2.
由于业务 2的目标路由上不包括交叉节点 (即不包括除源节点和宿节点 之外的节点) , 故确定业务 2的虚链路个数为 1 , 将该虚链路记为 VLink2, VLink2的源、 宿端节点分别为节点 C和节点 E。 由于业务 2的带宽为 2.5G, 故 VLink2在承载业务 2后的剩余带宽为 7.5G。  Since the target route of the service 2 does not include the cross node (that is, the node other than the source node and the sink node is not included), it is determined that the number of virtual links of the service 2 is 1, and the virtual link is recorded as VLink2, VLink2. The source and sink nodes are node C and node E, respectively. Since the bandwidth of service 2 is 2.5G, the remaining bandwidth of VLink2 after carrying service 2 is 7.5G.
至此得到: 网络的虚拓朴包括 { ( VLinkl , SrcDst =A-C, Freeband=7.5 ); ( VLink2, SrcDst =C-E, Freeband=7.5 ) }。  So far: The virtual topology of the network includes { ( VLinkl , SrcDst =A-C, Freeband=7.5 ); ( VLink2, SrcDst =C-E, Freeband=7.5 ) }.
对业务 2来说, 业务 2的物理路由为: 节点 C-节点 D-节点 E; 业务 2的 虚链路为: VLink2。  For Service 2, the physical route of Service 2 is: Node C-Node D-Node E; The virtual link of Service 2 is: VLink2.
对业务 3进行规划。  Plan for business 3.
业务 3也只有一条物理路由, 根据该物理路由经过的节点形成有向连接 关系, 如图 5C所示。 该有向连接关系包括 10条有向连接, 分别为:  Service 3 also has only one physical route, and a node according to the physical route forms a directed connection relationship, as shown in FIG. 5C. The directed connection relationship includes 10 directed connections, which are:
节点 A到节点 B构成的有向连接;  a directed connection formed by node A to node B;
节点 A到节点 C构成的有向连接; 节点 A到节点 D构成的有向连接; a directed connection formed by node A to node C; a directed connection formed by node A to node D;
节点 A到节点 E构成的有向连接;  a directed connection formed by node A to node E;
节点 B到节点 C构成的有向连接;  a directed connection formed by node B to node C;
节点 B到节点 D构成的有向连接;  a directed connection formed by node B to node D;
节点 B到节点 E构成的有向连接;  a directed connection formed by node B to node E;
节点 C到节点 D构成的有向连接;  a directed connection formed by node C to node D;
节点 C到节点 E构成的有向连接;  a directed connection formed by node C to node E;
节点 D到节点 E构成的有向连接。  The directed connection formed by node D to node E.
该物理路由上可选择的交叉节点组合个数为 23=8, 分别是: 没有交叉节 点, 节点 B作为交叉节点, 节点 C作为交叉节点, 节点 D作为交叉节点, 节 点 B和节点 C作为交叉节点, 节点 B和节点 D作为交叉节点, 节点 C和节 点 D作为交叉节点, 节点 B、 节点 C和节点 D作为交叉节点。 选择不同交叉 节点组合对应的虚链路连接分别为: The number of cross-node combinations selectable on the physical route is 2 3 = 8, which are: no cross nodes, node B as a cross node, node C as a cross node, node D as a cross node, node B and node C as a cross Nodes, Node B and Node D act as cross nodes, Node C and Node D act as cross nodes, and Node B, Node C and Node D act as cross nodes. Select the virtual link connections corresponding to different cross-node combinations:
如果不选择交叉节点, 则需要创建一条虚链路, 即节点 A到节点 E构成 的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的业务安装成本 为 1 , 节点 A到节点 E需要四跳, 故对应 OMS成本为 4, 由于虚链路是需要 新创建的, 故不存在业务量, 则路径上的业务量为 0。  If you do not select a cross-node, you need to create a virtual link, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node A to node E. The corresponding service installation cost is 1, and node A is The node E needs four hops, so the corresponding OMS cost is 4. Since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式(1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each directional connection are respectively calculated according to the formula (1).
节点 A到节点 E构成的有向连接的权重值 =100*1+5*4+ ( -1 ) *0=120。 如果选择节点 B作为交叉节点, 则需要创建两条虚链路, 即节点 A到节 点 B构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的业务 安装成本为 1 , 节点 A到节点 B只需一跳, 故对应 OMS成本为 1 , 又由于虚 链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0; 在节点 B 到节点 E构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的 业务安装成本为 1 , 节点 B到节点 E需要三跳, 故对应 OMS成本为 3 , 又由 于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0。  The weight value of the directed connection formed by node A to node E = 100*1+5*4+ ( -1 ) *0=120. If you select Node B as the cross-node, you need to create two virtual links. The virtual link that corresponds to the directional connection formed by the node A to the node B needs to create a virtual link. The corresponding service installation cost is 1. Node A to Node B only need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; at node B to node E A virtual link needs to be newly created on the fiber link corresponding to the directed connection. The corresponding service installation cost is 1, and the node B to node E needs three hops. Therefore, the corresponding OMS cost is 3, and the virtual link is required. Created, so there is no traffic, then the traffic on the path is 0.
基于上述, 根据公式(1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each directional connection are respectively calculated according to the formula (1).
节点 A到节点 B构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 B到节点 E构成的有向连接的权重值 =100*1+5*3+ ( -1 ) *0=115。 如果选择节点 C作为交叉节点,由于节点 A到节点 C构成的有向连接对 应的光纤链路上之间已经存在虚链路 VLinkl , 故不需要新创建虚链路, 对应 的业务安装成本为 0, 节点 A到节点 C需要两跳, 对应的 OMS成本为 2, 由 于 VLinkl上已经存在业务 1 , 故路径上的业务量为 1; 节点 C到节点 E构成 的有向连接对应的光纤链路上也已经存在虚链路 VLink2 , 故不需要新创建虚 链路, 对应的业务安装成本为 0, 节点 C到节点 E需要两跳, 对应的 OMS 成本为 2, 由于 VLink2上已经存在业务 2, 故路径上的业务量为 1。 The weight value of the directed connection formed by node A to node B = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by the node B to the node E is 100*1+5*3+(-1)*0=115. If node C is selected as the cross node, the paired connection pair formed by node A to node C The virtual link VLink1 exists on the fiber link. Therefore, the virtual link is not required to be created. The corresponding service installation cost is 0. Node A to node C requires two hops. The corresponding OMS cost is 2, due to VLinkl. The service 1 is already present, so the traffic on the path is 1; the virtual link VLink2 already exists on the fiber link corresponding to the directed connection formed by the node C to the node E, so no new virtual link needs to be created. The service installation cost is 0. The node C to node E requires two hops, and the corresponding OMS cost is 2. Since the service 2 already exists on VLink2, the traffic on the path is 1.
基于上述, 根据公式(1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each directional connection are respectively calculated according to the formula (1).
节点 A到节点 C构成的有向连接的权重值 =100*0+5*2+ ( -1 ) *1=9。 节点 C到节点 E构成的有向连接的权重值 =100*0+5*2+ ( -1 ) *1=9。 如果选择节点 D作为交叉节点, 则需要创建两条虚链路, 即节点 A到节 点 D构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的业务 安装成本为 1 , 节点 A到节点 D需要三跳, 故对应 OMS成本为 3 , 又由于虚 链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0; 在节点 D 到节点 E构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的 业务安装成本为 1 , 节点 D到节点 E需要一跳, 故对应 OMS成本为 1 , 又由 于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0。  The weight value of the directed connection formed by node A to node C = 100*0+5*2+ ( -1 ) *1=9. The weight value of the directed connection formed by node C to node E = 100 * 0 + 5 * 2 + ( -1 ) * 1 = 9. If you select node D as the cross-node, you need to create two virtual links, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from node A to node D. The corresponding service installation cost is 1. Node A to node D need three hops, so the corresponding OMS cost is 3, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; from node D to node E A virtual link needs to be created on the fiber link corresponding to the directed connection. The corresponding service installation cost is 1. The node D to node E needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual link needs to be newly created. Therefore, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式(1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each directional connection are respectively calculated according to the formula (1).
节点 A到节点 D构成的有向连接的权重值 =100*1+5*3+ ( -1 ) *0=115。 节点 D到节点 E构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 如果选择节点 B和节点 C作为交叉节点,由于节点 C到节点 E构成的有 向连接对应的光纤链路上已经存在虚链路 VLink2,故只需分别在节点 A到节 点 B、 节点 B到节点 C构成的有向连接对应的光纤链路上创建两条虚链路, 即节点 A到节点 B构成的有向连接对应的光纤链路上需要新创建一条虚链 路, 对应的业务安装成本为 1 , 节点 A到节点 B需要一跳, 故对应 OMS成 本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务 量为 0; 在节点 B到节点 C构成的有向连接对应的光纤链路上需要新创建一 条虚链路,对应的业务安装成本为 1 ,节点 B到节点 C需要一跳,故对应 OMS 成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业 务量为 0。  The weight value of the directed connection formed by node A to node D = 100*1+5*3+ ( -1 ) *0=115. The weight value of the directed connection formed by node D to node E = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. If Node B and Node C are selected as the cross-nodes, since the virtual link VLink2 already exists on the fiber link corresponding to the directed connection formed by the node C to the node E, only the node A to the node B and the node B to the node respectively A virtual link is created on the fiber link corresponding to the directional connection formed by C. A virtual link needs to be created on the fiber link corresponding to the directional connection formed by the node A to the node B. The corresponding service installation cost is 1 , Node A to Node B need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; at Node B to Node C A virtual link needs to be created on the fiber link corresponding to the directed connection. The corresponding service installation cost is 1, and the node B to node C needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual link is required. Newly created, so there is no traffic, then the traffic on the path is 0.
基于上述, 根据公式( 1 )分别计算出每条有向连接的权重值。 节点 A到节点 B构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 B到节点 C构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 C到节点 E构成的有向连接的权重值 =100*0+5*2+ ( -1 ) *1=9。 如果选择节点 B和节点 D作为交叉节点, 则需要创建三条虚链路, 即节 点 A到节点 B构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对 应的业务安装成本为 1 , 节点 A到节点 B需要一跳, 故对应 OMS成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0; 节点 B到节点 D构成的有向连接对应的光纤链路上需要新创建一条虚链路, 对应的业务安装成本为 1 ,节点 B到节点 D需要两跳,故对应 OMS成本为 2, 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务量为 0; 在节点 D到节点 E构成的有向连接对应的光纤链路上需要新创建一条虚链 路, 对应的业务安装成本为 1 , 节点 D到节点 E需要一跳, 故对应 OMS成 本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业务 量为 0。 Based on the above, the weight values of each of the directed connections are respectively calculated according to the formula (1). The weight value of the directed connection formed by node A to node B = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by the node B to the node C = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by node C to node E = 100 * 0 + 5 * 2 + ( -1 ) * 1 = 9. If you select Node B and Node D as the cross-nodes, you need to create three virtual links, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from Node A to Node B. The corresponding service installation cost is 1 , Node A to Node B need one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; Node B to Node D constitute A virtual link needs to be newly created on the fiber link corresponding to the directed connection. The corresponding service installation cost is 1, and the node B to node D needs two hops. Therefore, the corresponding OMS cost is 2, and since the virtual link needs new Created, so there is no traffic, the traffic on the path is 0; a virtual link needs to be created on the fiber link corresponding to the directed connection formed by the node D to the node E, and the corresponding service installation cost is 1. Node D to node E needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式( 1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each of the directed connections are respectively calculated according to the formula (1).
节点 A到节点 B构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 B到节点 D构成的有向连接的权重值 =100*1+5*2+ ( -1 ) *0=110。 节点 D到节点 E构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 如果选择节点 B、 节点 C和节点 D作为交叉节点, 则需要创建四条虚链 路, 即节点 A到节点 B构成的有向连接对应的光纤链路上需要新创建一条虚 链路, 对应的业务安装成本为 1 , 节点 A到节点 B需要一跳, 故对应 OMS 成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上的业 务量为 0; 在节点 B到节点 C构成的有向连接对应的光纤链路上需要新创建 一条虚链路, 对应的业务安装成本为 1 , 节点 B到节点 C需要一跳, 故对应 OMS成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径上 的业务量为 0; 节点 C到节点 D构成的有向连接对应的光纤链路上需要新创 建一条虚链路, 对应的业务安装成本为 1 , 节点 C到节点 D需要一跳, 故对 应 OMS成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则路径 上的业务量为 0; 在节点 D到节点 E构成的有向连接对应的光纤链路上需要 新创建一条虚链路, 对应的业务安装成本为 1 , 节点 D到节点 E需要一跳, 故对应 OMS成本为 1 , 又由于虚链路是需要新创建的, 故不存在业务量, 则 路径上的业务量为 0。 The weight value of the directed connection formed by node A to node B = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by the node B to the node D=100*1+5*2+(-1)*0=110. The weight value of the directed connection formed by the node D to the node E = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. If you select Node B, Node C, and Node D as the cross-nodes, you need to create four virtual links, that is, a virtual link needs to be created on the fiber link corresponding to the directed connection from Node A to Node B. The installation cost is 1, the node A to the node B needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; A virtual link needs to be newly created on the fiber link corresponding to the directed connection formed by the node C. The corresponding service installation cost is 1, and the node B to node C needs one hop. Therefore, the corresponding OMS cost is 1, and the virtual chain is The road needs to be newly created, so there is no traffic, and the traffic on the path is 0. A virtual link needs to be created on the fiber link corresponding to the directed connection formed by the node C to the node D. The cost is 1, the node C to the node D needs one hop, so the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, then the traffic on the path is 0; Directed connection of node E Need to create a new virtual link on the corresponding fiber link corresponding to the installation cost of a service, the node D to node E need to hop, Therefore, the corresponding OMS cost is 1, and since the virtual link needs to be newly created, there is no traffic, and the traffic on the path is 0.
基于上述, 根据公式(1 )分别计算出每条有向连接的权重值。  Based on the above, the weight values of each directional connection are respectively calculated according to the formula (1).
节点 A到节点 B构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 B到节点 C构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 C到节点 D构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 节点 D到节点 E构成的有向连接的权重值 =100*1+5*1+ ( -1 ) *0=105。 基于上述, 波分网络规划设备可以使用直接计算方法或使用最短路算法 计算出最短路为节点 A-节点 C-节点 E, 该最短路的链路成本为 18。  The weight value of the directed connection formed by node A to node B = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by node B to node C = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by node C to node D = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. The weight value of the directed connection formed by node D to node E = 100 * 1 + 5 * 1 + ( -1 ) * 0 = 105. Based on the above, the WDM network planning device can calculate the shortest path to the node A-node C-node E using the direct calculation method or using the shortest path algorithm, and the shortest link cost is 18.
另外, 由于业务 3仅存在这一条物理路由, 所以计算出这条物理路由对 应的最短路后, 就结束了计算业务 3的物理路由对应的最短路的过程。 计算 出的最短路也就是业务 3的目标路由, 该目标路由对应的物理路由也是业务 3 的物理路由。 由于业务 3 的目标路由上包括一个交叉节点, 故确定业务 3 的虚链路个数为 2, 两个虚链路分别为 VLinkl和 VLink2。 由于业务 3的带 宽为 2.5G, 故 VLinkl和 VLink2在承载业务 3后的剩余带宽分别为 5G。  In addition, since only the physical route exists in the service 3, after calculating the shortest path corresponding to the physical route, the shortest path corresponding to the physical route of the calculation service 3 is ended. The shortest path calculated is the destination route of service 3. The physical route corresponding to the target route is also the physical route of service 3. The number of virtual links in service 3 is 2, and the two virtual links are VLink1 and VLink2. Since the bandwidth of service 3 is 2.5G, the remaining bandwidth of VLinkl and VLink2 after carrying service 3 is 5G.
至此得到: 网络的虚拓朴包括 { ( VLinkl , SrcDst =A-C, Freeband=5 ) ; ( VLink2, SrcDst =C-E, Freeband=5 ) }。  So far: The virtual topography of the network includes { ( VLinkl , SrcDst = A-C, Freeband=5 ); ( VLink2, SrcDst =C-E, Freeband=5 ) }.
对业务 3来说, 业务 3的物理路由为: 节点 A-节点 B-节点 C-节点 D-节 点 E; 业务 3的虚链路为: VLinkl和 VLink2。  For service 3, the physical route of service 3 is: node A-node B-node C-node D-node E; the virtual link of service 3 is: VLinkl and VLink2.
至此, 对所有业务的规划过程结束, 得到了波分网络的规划结果, 如图 At this point, the planning process for all services is completed, and the planning results of the WDM network are obtained.
5D所示。 如图 5D所示, 该波分网络规划结果中的网络虚拓朴由两条虚链路 构成, 分别为 VLinkl和 VLink2; 该波分网络规划结果还包括与网络虚拓朴 形成映射关系的网络物理拓朴, 该网络物理拓朴由业务 1 的物理路由: 节点 A-节点 B-节点 C、 业务 2的物理路由: 节点 C-节点 D-节点 E以及业务 3的 物理路由: 节点 A-节点 B-节点 C-节点 D-节点 E构成。 在本实施例中, 业务 1的物理路由和业务 2的物理路由正好与业务 3的物理路由相重合, 因此, 直观上来看本实施例的网络物理拓朴是由物理路由: 节点 A-节点 B-节点 C- 节点 D-节点 E构成。 5D shown. As shown in FIG. 5D, the virtual topology of the network in the WDM network planning result is composed of two virtual links, namely VLink1 and VLink2. The WDM network planning result also includes a network that forms a mapping relationship with the network virtual topology. Physical topology, the physical topology of the network is determined by the physical route of service 1: Node A - Node B - Node C, Physical route of Service 2: Node C - Node D - Node E and Physical route of Service 3: Node A - Node B-node C-node D-node E is constructed. In this embodiment, the physical route of the service 1 and the physical route of the service 2 coincide with the physical route of the service 3, and therefore, the network physical topology of the embodiment is visually observed by the physical route: Node A-Node B - Node C - Node D - Node E.
第三步: 对网络的虚拓朴进行更新。  Step 3: Update the virtual topology of the network.
Stpl , 删除一条虚链路, 在本实施例中, 被删除虚链路为 VLinkl。 则与 VLinkl相关的受影响业务为业务 1和业务 3 , 释放业务 1和业务 3所占用的 所有资源, 得到删除虚链路后的网络的虚拓朴。 本实施例以删除一条虚链路 为例, 但不限于此。 Stpl, deletes a virtual link. In this embodiment, the deleted virtual link is VLink1. And The affected services related to VLinkl are service 1 and service 3. The resources occupied by service 1 and service 3 are released, and the virtual topology of the network after the virtual link is deleted is obtained. This example is to delete a virtual link as an example, but is not limited thereto.
删除虚链路后的网络的虚拓朴包括 { ( VLink2 , SrcDst=C-E , Freeband=7.5 ) }。  The virtual topology of the network after the virtual link is deleted includes { ( VLink2 , SrcDst=C-E , Freeband=7.5 ) }.
Stp2, 返回第二步, 重新对业务 1和业务 3进行规划。 对业务 1和业务 3 的规划结果和初始规划的结果的相同, 故拒绝此次规划结果。 此时, 网络的 虚拓朴仍包括: { ( VLinkl , SrcDst =A-C, Freeband=5 ); ( VLink2, SrcDst =C-E, Freeband=5 ) } ; 对于业务 1来说, 业务 1的物理路由为: 节点 A-节 点 B-节点 C, 业务 1的虚链路为: VLinkl ; 对于业务 2来说, 业务 2的物理 路由为: 节点 C-节点 D-节点 E, 业务 2的虚链路为: VLink2; 对于业务 3来 说, 业务 3的物理路由为: 节点 A-节点 B-节点 C-节点 D-节点 E, 业务 3的 虚链路为: VLinkl和 VLink2。  Stp2, return to the second step, re-planning for Business 1 and Business 3. The results of the planning for Business 1 and Business 3 are the same as those for the initial planning, so the results of the planning are rejected. At this point, the virtual topology of the network still includes: { ( VLinkl , SrcDst =AC, Freeband=5 ); ( VLink2, SrcDst =CE, Freeband=5 ) } ; For Service 1, the physical route of Service 1 is: Node A-Node B-Node C, the virtual link of Service 1 is: VLinkl; For Service 2, the physical route of Service 2 is: Node C-Node D-Node E, Virtual Link of Service 2 is: VLink2 For service 3, the physical route of service 3 is: node A-node B-node C-node D-node E, and the virtual link of service 3 is: VLinkl and VLink2.
如果更新次数尚未达到预设更新次数门限, 继续返回 Stpl , 直到更新次 数达到预设更新次数门限为止。  If the number of updates has not reached the preset update threshold, continue to return to Stpl until the number of updates reaches the preset update threshold.
在此说明, 对网络的虚拓朴进行更新的结果至少包括下述中的一种: 最 终更新了网络的虚拓朴中虚链路的容量、 最终更新了网络的虚拓朴中虚链路 的个数。  It is noted that the result of updating the virtual topology of the network includes at least one of the following: finally updating the capacity of the virtual link in the virtual topology of the network, and finally updating the virtual topology of the virtual link in the network. The number.
在本发明各实施例中, 对网络的虚拓朴的更新结果以最终更新了网络的 虚拓朴中的虚链路的个数为主。  In various embodiments of the present invention, the update result of the virtual topology of the network is mainly based on the number of virtual links in the virtual topology of the network.
综上所述, 本发明实施例提供的波分网络规划方法是一种基于自服务层 向客户层的多层规划方法, 避开了现有技术从客户层到服务层的规划思路中 遇到的一系列问题, 可以很好的控制业务在客户层虚拓朴的跳数, 优化了客 户层虚拓朴中虚链路的容量, 大大提升了多层网络规划的结果, 降低了规划 成本。 另外, 本发明实施例根据物理拓朴和业务需求获取业务的虚链路信息 的设计过程可以很好的指导网络管理人员规划和设计虚拓朴, 进而指导用户 组建网络。  In summary, the WDM network planning method provided by the embodiment of the present invention is a multi-layer planning method based on the self-service layer to the client layer, avoiding the prior art from the client layer to the service layer planning idea. A series of problems can well control the hop count of the virtual topology in the customer layer, optimize the capacity of the virtual link in the virtual layer of the client layer, greatly improve the results of the multi-layer network planning, and reduce the planning cost. In addition, the design process of obtaining the virtual link information of the service according to the physical topology and the service requirement of the embodiment of the present invention can well guide the network management personnel to plan and design the virtual topology, thereby guiding the user to construct the network.
图 6为本发明一实施例提供的波分网络规划设备的结构示意图。 如图 6 所示, 本实施例的设备包括: 接收器 61、 路由计算单元 62、 最短路计算单元 63、 虚拓朴获取单元 64和物理拓朴获取单元 65。 其中, 接收器 61 , 用于获取用户的业务需求。 业务需求包括: 每条业务 的源节点、 每条业务的宿节点和每条业务的带宽。 FIG. 6 is a schematic structural diagram of a WDM network planning device according to an embodiment of the present invention. As shown in FIG. 6, the device in this embodiment includes: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, a virtual topology acquisition unit 64, and a physical topology acquisition unit 65. The receiver 61 is configured to acquire a service requirement of the user. Business requirements include: the source node of each service, the sink nodes of each service, and the bandwidth of each service.
路由计算单元 62, 与接收器 61连接, 用于为每条业务计算出至少一条 物理路由。每条业务的每条物理路由为从接收器 61获取的每条业务的源节点 到每条业务的宿节点的光纤链路。  The route calculation unit 62 is connected to the receiver 61 and configured to calculate at least one physical route for each service. Each physical route of each service is a fiber link of a source node of each service acquired from the receiver 61 to a sink node of each service.
最短路计算单元 63 , 与路由计算单元 62连接, 用于计算路由计算单元 62计算出的每条业务的每条物理路由对应的最短路。 每条业务的每条物理路 由对应的最短路为在每条业务的每条物理路由上通过虚链路承载每条业务时 链路成本最低的虚链路连接; 每条业务的每条物理路由对应的最短路的链路 成本包括在每条业务的每条物理路由上新建承载每条业务的虚链路的成本和 每条业务的每条物理路由的物理成本。  The shortest path calculation unit 63 is connected to the route calculation unit 62 for calculating the shortest path corresponding to each physical route of each service calculated by the route calculation unit 62. The shortest path corresponding to each physical route of each service is the virtual link connection with the lowest link cost when carrying each service through the virtual link on each physical route of each service; each physical route of each service The corresponding shortest link cost includes the cost of creating a virtual link carrying each service and the physical cost of each physical route of each service on each physical route of each service.
虚拓朴获取单元 64, 与接收器 61和最短路计算单元 63连接, 用于从最 短路计算单元 63 计算出的每条业务的所有物理路由对应的最短路中选择链 路成本最低的最短路作为每条业务的目标路由, 根据每条业务的目标路由和 接收器 61获取的每条业务的带宽确定每条业务的虚链路信息。每条业务的虚 链路信息包括承载每条业务的虚链路个数和承载每条业务的虚链路的容量和 端节点。  The virtual topology obtaining unit 64 is connected to the receiver 61 and the shortest path calculating unit 63, and selects the shortest path with the lowest link cost among the shortest paths corresponding to all physical routes of each service calculated from the shortest path calculating unit 63. As the target route of each service, the virtual link information of each service is determined according to the target route of each service and the bandwidth of each service acquired by the receiver 61. The virtual link information of each service includes the number of virtual links carrying each service and the capacity and end nodes of the virtual link carrying each service.
物理拓朴获取单元 65 , 与虚拓朴获取单元 64连接, 用于确定虚拓朴获 取单元 64获取的每条业务的目标路由对应的物理路由,获得与第一网络虚拓 朴形成映射关系的第一网络物理拓朴。  The physical topology obtaining unit 65 is connected to the virtual topology obtaining unit 64, and is configured to determine a physical route corresponding to the target route of each service acquired by the virtual topology obtaining unit 64, and obtain a mapping relationship with the virtual topology of the first network. The first network physical topology.
本实施例提供的波分网络优化设备的各功能模块可用于执行图 1A所示 波分网络规划方法的流程, 其具体工作原理不再赘述, 详见方法实施例的描 述。  The function modules of the WDM network optimization device provided in this embodiment can be used to execute the process of the WDM network planning method shown in FIG. 1A. The specific working principle is not described here. For details, refer to the description of the method embodiments.
进一步, 本实施例的波分网络规划设备还包括存储器, 用于保存下述中 的一种或多种信息: 接收器 61获取的用户的业务需求, 路由计算单元 62计 算出的物理路由, 最短路计算单元 63计算出的最短路, 虚拓朴获取单元 64 确定出的目标路由、 获得的虚链路信息和第一网络虚拓朴, 以及物理拓朴获 取单元 65 确定的每条业务的目标路由对应的物理路由和获得的与第一网络 虚拓朴形成映射关系的第一网络物理拓朴。 相应地, 存储器至少与下述的一 个或多个单元相连接: 接收器 61、 路由计算单元 62、 最短路计算单元 63、 虚拓朴获取单元 64和物理拓朴获取单元 65。 Further, the WDM network planning device of the embodiment further includes a memory for storing one or more of the following information: the service requirement of the user acquired by the receiver 61, and the physical route calculated by the route calculation unit 62, the shortest The shortest path calculated by the path calculating unit 63, the target route determined by the virtual topology obtaining unit 64, the obtained virtual link information and the first network virtual topology, and the target of each service determined by the physical topology obtaining unit 65 The physical route corresponding to the route and the obtained first network physical topology formed by mapping with the first network virtual topology. Correspondingly, the memory is connected to at least one or more of the following units: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, The virtual topology acquisition unit 64 and the physical topology acquisition unit 65.
进一步, 本实施例的波分网络规划设备还包括发送器, 用于将波分网络 规划结果(即第一网络虚拓朴以及与第一网络虚拓朴形成映射关系的第一网 络物理拓朴) 发送给网络管理设备或路径计算单元 (Path Computation Element, PCE )或显示装置 ( display device )等。  Further, the WDM network planning device of the embodiment further includes a transmitter, configured to use the WDM network planning result, that is, the first network virtual topology and the first network physical topology that forms a mapping relationship with the first network virtual topology. ) is sent to a network management device or a Path Computation Element (PCE) or a display device.
进一步, 本实施例的波分网络规划设备除了具有上述各器件之外, 还可 以包括电源模块、 输入设备以及输出设备等器件。  Further, the wavelength division network planning device of the embodiment may include a power module, an input device, and an output device in addition to the above devices.
其中, 为简化图示, 上述波分网络规划设备的存储器、 接收器、 电源模 块、 输入设备以及输出设备等未在附图中示出。  Here, in order to simplify the illustration, the memory, the receiver, the power supply module, the input device, the output device, and the like of the above-described wavelength division network planning device are not shown in the drawings.
本实施例的波分网络规划设备可以是各种具有计算能力的设备, 例如计 算机、 服务器等。  The wavelength division network planning device of this embodiment may be various devices having computing capabilities, such as a computer, a server, and the like.
本实施例的波分网络规划设备, 根据业务的源节点、 宿节点和网络的物 理拓朴为每条业务计算出至少一条物理路由, 然后计算每条业务的每条物理 路由对应的最短路, 从每条业务对应的所有最短路中选择链路成本最低的最 短路作为每条业务的目标路由, 根据每条业务的目标路由和带宽确定每条业 务的虚链路信息, 然后获得网络虚拓朴, 确定出每条业务的目标路由对应的 物理路由, 然后获得与网络虚拓朴形成映射关系的网络物理拓朴, 从而得到 波分网络的规划结果。 由此可见, 本实施例的波分网络规划设备基于链路成 本最低的虚链路连接确定承载业务的虚链路和承载虚链路的物理路由, 最终 得到网络虚拓朴以及与网络虚拓朴形成映射关系的网络物理拓朴, 有效地降 低了多层网络规划的成本; 另外, 本实施例的波分网络规划设备对波分网络 进行规划过程是一种从服务层向客户层的规划过程, 避免了现有技术中从客 户层到服务层的设计思路中遇到的各种问题, 也有利于降低多层网络规划的 成本。  The wavelength division network planning device of the embodiment calculates at least one physical route for each service according to the physical topology of the source node, the sink node, and the network, and then calculates the shortest path corresponding to each physical route of each service. The shortest route with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network virtual extension is obtained. Park, determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network. It can be seen that the WDM network planning device of the present embodiment determines the virtual link of the bearer service and the physical route that carries the virtual link based on the virtual link connection with the lowest link cost, and finally obtains the network virtual topology and the network virtual topology. The network physical topology of the mapping relationship is effectively reduced, and the cost of the multi-layer network planning is effectively reduced. In addition, the planning process of the wavelength division network planning device of the present embodiment is a planning process from the service layer to the customer layer. The process avoids various problems encountered in the design of the customer layer to the service layer in the prior art, and also reduces the cost of the multi-layer network planning.
本发明另一实施例提供了一种计算机程序产品, 包括计算机程序代码, 当一个计算机单元执行该计算机程序代码时, 该计算机单元执行上述各个方 法实施例中所记载的动作。 具体内容, 此处不再赘述。  Another embodiment of the present invention provides a computer program product comprising computer program code for performing the operations recited in the various method embodiments described above when a computer unit executes the computer program code. The specific content will not be described here.
图 7为本发明另一实施例提供的波分网络规划设备的结构示意图。 本实 施例可基于图 6所示实施例实现。 如图 7所示, 本实施例的设备也至少包括: 接收器 61、 路由计算单元 62、 最短路计算单元 63、 虚拓朴获取单元 64和物 理拓朴获取单元 65。 另外, 本实施例的设备也包括存储器、 接收器、 电源模 块、 输入设备以及输出设备等器件, 为简化图示这些器件未在附图中示出。 FIG. 7 is a schematic structural diagram of a WDM network planning device according to another embodiment of the present invention. This embodiment can be implemented based on the embodiment shown in FIG. 6. As shown in FIG. 7, the device in this embodiment also includes at least: a receiver 61, a route calculation unit 62, a shortest path calculation unit 63, a virtual topology acquisition unit 64, and objects. The topology acquisition unit 65. In addition, the apparatus of this embodiment also includes devices such as a memory, a receiver, a power supply module, an input device, and an output device, which are not shown in the drawings for simplicity of illustration.
其中, 本实施例的最短路计算单元 63包括: 形成子单元 631、 赋值子单 元 632和计算子单元 633。  The shortest path calculation unit 63 of this embodiment includes: a formation subunit 631, an assignment subunit 632, and a calculation subunit 633.
其中, 形成子单元 631 , 与路由计算单元 62连接, 用于根据路由计算单 元 62计算出的每条业务的每条物理路由经过的节点,形成每条业务的每条物 理路由对应的有向连接关系。 每条业务的每条物理路由对应的有向连接关系 包括每条业务的每条物理路由上两两节点之间沿着每条业务的源节点到每条 业务的宿节点方向的有向连接。  The sub-unit 631 is formed, and is connected to the route calculation unit 62, and is configured to form a directional connection corresponding to each physical route of each service according to the node through which each physical route of each service calculated by the route calculation unit 62 passes. relationship. The directed connection relationship corresponding to each physical route of each service includes a directed connection between the two nodes of each service on each physical route of each service along the direction of the source node of each service to the sink node of each service.
赋值子单元 632, 与形成子单元 631连接, 用于为形成子单元 631形成 的每条业务的每条物理路由对应的有向连接关系中的每条有向连接赋权重 值。 其中, 如果有向连接对应的光纤链路上已经存在虚链路, 有向连接的权 重值为有向连接对应的光纤链路的物理成本; 如果有向连接对应的光纤链路 上不存在虚链路, 有向连接的权重值为在有向连接对应的光纤链路上新建虚 链路的成本和有向连接对应的光纤链路的物理成本。  The assignment sub-unit 632 is connected to the formation sub-unit 631, and is used to assign a weight value to each of the directed connections in the corresponding connection relationship corresponding to each physical route of each service formed by the sub-unit 631. If the virtual link exists on the fiber link corresponding to the connection, the weight of the directional connection is the physical cost of the fiber link corresponding to the directional connection; if there is no virtual link on the fiber link corresponding to the directional connection The weight of the link, the directed connection is the cost of creating a virtual link on the fiber link corresponding to the directed connection and the physical cost of the fiber link corresponding to the directed connection.
计算子单元 633 , 与形成子单元 631和赋值子单元 632连接, 用于根据 形成子单元 631形成的每条业务的每条物理路由对应的有向连接关系和赋值 子单元 632赋值的有向连接关系中每条有向连接的权重值, 计算出每条业务 的每条物理路由对应的最短路。  The calculation subunit 633 is connected to the formation subunit 631 and the assignment subunit 632 for the directed connection according to the directed connection relationship and the assignment subunit 632 corresponding to each physical route of each service formed by the subunit 631. The weight value of each directed connection in the relationship, and the shortest path corresponding to each physical route of each service is calculated.
可选的, 计算子单元 633具体用于以每条业务的每条物理路由对应的有 向连接关系和有向连接中的每条有向连接的权重值作为输入, 使用最短路算 法计算出每条业务的每条物理路由对应的最短路。  Optionally, the calculating sub-unit 633 is specifically configured to input, by using a shortest path algorithm, a weighted value of each of the directed connection relationship and the directional connection in each of the directional connections of each physical route of each service. The shortest path corresponding to each physical route of the strip service.
可选的, 赋值子单元 632具体用于根据公式( 1 )计算出每条业务的每条 物理路由对应的有向连接关系中的每条有向连接的权重值, 将计算出的有向 连接的权重值赋给每条业务的每条物理路由对应的有向连接关系中的有向连 接。 其中, 关于公式(1 )可参见上述方法实施例中的描述。  Optionally, the assignment sub-unit 632 is specifically configured to calculate, according to the formula (1), a weight value of each directed connection in each of the directed connection relationships corresponding to each physical route of each service, and the calculated directed connection The weight value is assigned to the directed connection in the directed connection relationship corresponding to each physical route of each service. For the formula (1), refer to the description in the above method embodiment.
进一步, 本实施例的虚拓朴获取单元 64包括: 第一确定子单元 641、 第 二确定子单元 642、 第三确定子单元 643和获取子单元 644。  Further, the virtual topology obtaining unit 64 of this embodiment includes: a first determining subunit 641, a second determining subunit 642, a third determining subunit 643, and an obtaining subunit 644.
其中, 第一确定子单元 641 , 与计算子单元 633连接, 用于从计算子单 元 633计算出的每条业务的所有物理路由对应的最短路中选择链路成本最低 的最短路作为每条业务的目标路由。 可选的, 第一确定子单元 641还与物理 拓朴获取单元 65连接, 用于向物理拓朴获取单元 65提供每条业务的目标路 由。 The first determining sub-unit 641 is connected to the calculating sub-unit 633, and is configured to select the lowest link cost among the shortest paths corresponding to all the physical routes of each service calculated from the calculating sub-unit 633. The shortest path is the target route for each service. Optionally, the first determining subunit 641 is further connected to the physical topology obtaining unit 65, and is configured to provide the physical topology obtaining unit 65 with a target route of each service.
第二确定子单元 642, 与第一确定子单元 641连接, 用于根据第一确定 子单元 641确定出的每条业务的目标路由上的交叉节点, 确定承载每条业务 的虚链路的个数以及承载每条业务的每条虚链路的端节点。 每条业务的目标 路由上的交叉节点为每条业务的目标路由上除每条业务的源节点和每条业务 的宿节点之外的节点。  The second determining sub-unit 642 is connected to the first determining sub-unit 641, and is configured to determine, according to the cross-nodes on the target route of each service determined by the first determining sub-unit 641, the virtual link that carries each service. The number and the end node of each virtual link that carries each service. The target node of each service is the node on the route of each service except the source node of each service and the node of each service.
第三确定子单元 643 , 与接收器 61和第二确定子单元 642连接, 用于根 据接收器 61获取的每条业务的带宽,确定第二确定子单元 642确定出的承载 每条业务的每条虚链路的容量。  The third determining subunit 643 is connected to the receiver 61 and the second determining subunit 642, and is configured to determine, according to the bandwidth of each service acquired by the receiver 61, each bearer determined by the second determining subunit 642 The capacity of a virtual link.
获取子单元 644, 用于根据第二确定子单元 642确定的承载每条业务的 虚链路的个数以及承载每条业务的每条虚链路的端节点和第三确定子单元 643确定的承载每条业务的每条虚链路的容量, 获得第一网络虚拓朴。  The obtaining sub-unit 644 is configured to determine, according to the second determining sub-unit 642, the number of virtual links carrying each service, and the end node of each virtual link carrying each service and the third determining sub-unit 643. The capacity of each virtual link carrying each service is obtained, and the first network virtual topology is obtained.
更进一步,本实施例的波分网络规划设备还包括:影响业务确定单元 66、 虚链路获得单元 67和虚拓朴更新单元 68。  Further, the WDM network planning device of this embodiment further includes: an impact service determining unit 66, a virtual link obtaining unit 67, and a virtual topology updating unit 68.
其中, 影响业务确定单元 66, 与虚拓朴获取单元 64中的获取子单元 644 连接, 用于将获取子单元 644获得的第一网络虚拓朴中的至少一条虚链路删 除, 确定至少一条受影响业务, 获得第二网络虚拓朴。 受影响业务为虚链路 信息中包括被删除虚链路的业务。  The influencing service determining unit 66 is connected to the obtaining sub-unit 644 in the virtual topology obtaining unit 64, and is configured to delete at least one virtual link in the first network virtual topology obtained by the obtaining sub-unit 644, and determine at least one piece. Affected business, obtain the second network virtual topology. The affected service is a virtual link. The information includes the service of the deleted virtual link.
虚链路获得单元 67, 与影响业务确定单元 66连接, 用于获得影响业务 确定单元 66确定出的至少一条受影响业务中每条受影响业务的虚链路信息。  The virtual link obtaining unit 67 is connected to the impact service determining unit 66, and configured to obtain the virtual link information of each of the at least one affected service determined by the impact determining unit 66.
虚拓朴更新单元 68,与影响业务确定单元 66和虚链路获得单元 67连接, 用于根据虚链路获得单元 67 获得的每条受影响业务的虚链路信息中的虚链 路个数, 更新影响业务确定单元 66获得的第二网络虚拓朴中的虚链路个数, 获取第三网络虚拓朴。 通常, 虚拓朴更新单元 68获取的第三网络虚拓朴中的 虚链路个数比第一网络虚拓朴中的虚链路个数少, 但不限于此。  The virtual topology update unit 68 is connected to the impact service determining unit 66 and the virtual link obtaining unit 67, and is configured to use the number of virtual links in the virtual link information of each affected service obtained by the virtual link obtaining unit 67. And updating the number of virtual links in the second network virtual topology obtained by the service determining unit 66, and acquiring the third network virtual topology. Generally, the number of virtual links in the third network virtual topology acquired by the virtual topology update unit 68 is smaller than the number of virtual links in the virtual topology of the first network, but is not limited thereto.
其中, 虚链路获得单元 67包括: 最短路计算子单元 671和虚链路确定子 单元 672。  The virtual link obtaining unit 67 includes: a shortest path calculating subunit 671 and a virtual link determining subunit 672.
其中, 最短路计算子单元 671 , 与影响业务确定单元 66连接, 用于计算 影响业务确定单元 66 确定出的每条受影响业务的每条物理路由对应的最短 路。 The shortest path calculation subunit 671 is connected to the impact service determining unit 66 for calculation. The shortest path corresponding to each physical route of each affected service determined by the service determining unit 66 is determined.
虚链路确定子单元 672, 与最短路计算子单元 671 连接, 用于从最短路 计算子单元 671计算出的每条受影响业务的所有物理路由对应的最短路中选 择链路成本最低的最短路作为每条受影响业务的目标路由, 根据每条受影响 业务的目标路由和每条受影响业务的带宽确定每条受影响业务的虚链路信 更进一步, 本实施例的波分网络规划设备还包括: 第一迭代单元 69。 其中, 第一迭代单元 69, 分别与影响业务确定单元 66和虚拓朴更新单 元 68连接, 用于在虚拓朴更新单元 68得到的第三网络虚拓朴中的虚链路个 数大于或等于影响业务确定单元 66 获得的第二网络虚拓朴中的虚链路个数 时, 将三网络虚拓朴恢复为第二网络虚拓朴, 将第二网络虚拓重新作为第一 网络虚拓朴,触发影响业务确定单元 66重新执行将第一网络虚拓朴中的至少 一条虚链路删除, 确定至少一条受影响业务, 获得第二网络虚拓朴的操作。  The virtual link determining subunit 672 is connected to the shortest path calculating subunit 671 for selecting the shortest link cost of the shortest path corresponding to all physical routes of each affected service calculated from the shortest path calculating subunit 671 As the target route of each affected service, the virtual link information of each affected service is further determined according to the target route of each affected service and the bandwidth of each affected service. The WDM network planning of this embodiment The device also includes: a first iteration unit 69. The first iteration unit 69 is connected to the impact service determining unit 66 and the virtual topology update unit 68, and the number of virtual links in the third network virtual topology obtained by the virtual topology update unit 68 is greater than or When the number of virtual links in the second network virtual topology obtained by the service determining unit 66 is affected, the three network virtual topologies are restored to the second network virtual topology, and the second network virtual topology is re-established as the first network virtual The topology, the triggering impact service determining unit 66 re-executes deleting at least one virtual link in the first network virtual topology, determining at least one affected service, and obtaining the operation of the second network virtual topology.
更进一步, 本实施例的波分网络规划设备还包括: 第二迭代单元 70。 第二迭代单元 70, 分别与影响业务确定单元 66和虚拓朴更新单元 68连 接,用于在虚拓朴更新单元 68得到的第三网络虚拓朴中的虚链路个数小于影 响业务确定单元 66获得的第二网络虚拓朴中的虚链路个数时,将第三网络虚 拓朴重新作为第一网络虚拓朴,触发影响业务确定单元 66重新执行将第一网 络虚拓朴中的至少一条虚链路删除, 确定至少一条受影响业务, 获得第二网 络虚拓朴的操作。  Further, the wavelength division network planning device of this embodiment further includes: a second iteration unit 70. The second iteration unit 70 is connected to the impact service determining unit 66 and the virtual topology update unit 68, and the number of virtual links in the third network virtual topology obtained by the virtual topology update unit 68 is smaller than the impact service determination. When the number of virtual links in the second network virtual topology obtained by the unit 66 is used, the third network virtual topology is re-established as the first network virtual topology, and the trigger impact service determining unit 66 re-executes the first network virtual topology. At least one virtual link is deleted, and at least one affected service is determined, and the operation of the second network virtual topology is obtained.
可选的, 本实施例的路由计算单元 62具体可用于使用 KSP算法为每条 业务计算出至少一条物理路由。  Optionally, the route calculation unit 62 of this embodiment may be specifically configured to calculate at least one physical route for each service by using a KSP algorithm.
可选的, 本实施例的业务需求包括: 每条业务的允许承受的故障次数。 则路由计算单元 62 可具体用于使用链路分离算法为每条业务计算出至少一 条链路分离路由。 链路分离路由即为满足业务允许承受的故障次数的物理路 由。 或者,  Optionally, the service requirements of this embodiment include: the number of failures allowed for each service. Then, the route calculation unit 62 may be specifically configured to calculate at least one link separation route for each service by using a link separation algorithm. A link-separated route is a physical route that satisfies the number of failures that a service is allowed to bear. Or,
路由计算单元 62 可具体用于使用节点分离算法为每条业务计算出至少 一条节点分离路由。 节点分离路由即为满足业务允许承受的故障次数的物理 路由。 或者 路由计算单元 62可具体用于使用 SRLG分离算法为每条业务计算出至少 一条 SRLG分离路由。 SRLG分离路由即为满足业务允许承受的故障次数的 物理路由。 The route calculation unit 62 may be specifically configured to calculate at least one node separate route for each service by using a node separation algorithm. A node-separated route is a physical route that satisfies the number of failures that the service is allowed to bear. Or The route calculation unit 62 may be specifically configured to calculate at least one SRLG separate route for each service using the SRLG separation algorithm. The SRLG separation route is a physical route that meets the number of failures that the service is allowed to bear.
上述各功能单元或子单元可用于执行前述图 1B-图 5D所示方法实施例中 的相应流程, 其具体工作原理不再赘述。  The foregoing functional units or sub-units can be used to perform the corresponding processes in the foregoing method embodiments shown in FIG. 1B to FIG. 5D, and the specific working principles are not described herein.
本实施例的波分网络规划设备, 根据业务的源节点、 宿节点和网络的物 理拓朴为每条业务计算出至少一条物理路由, 然后计算每条业务的每条物理 路由对应的最短路, 从每条业务对应的所有最短路中选择链路成本最低的最 短路作为每条业务的目标路由, 根据每条业务的目标路由和带宽确定每条业 务的虚链路信息, 然后获得网络虚拓朴, 确定出每条业务的目标路由对应的 物理路由, 然后获得与网络虚拓朴形成映射关系的网络物理拓朴, 从而得到 波分网络的规划结果。 由此可见, 本实施例的波分网络规划设备基于链路成 本最低的虚链路连接确定承载业务的虚链路和承载虚链路的物理路由, 最终 得到网络虚拓朴以及与网络虚拓朴形成映射关系的网络物理拓朴, 有效地降 低了多层网络规划的成本; 另外, 本实施例的波分网络规划设备对波分网络 进行规划过程是一种从服务层向客户层的规划过程, 避免了现有技术中从客 户层到服务层的设计思路中遇到的各种问题, 也有利于降低多层网络规划的 成本。  The wavelength division network planning device of the embodiment calculates at least one physical route for each service according to the physical topology of the source node, the sink node, and the network, and then calculates the shortest path corresponding to each physical route of each service. The shortest route with the lowest link cost is selected as the target route of each service from all the shortest paths corresponding to each service, and the virtual link information of each service is determined according to the target route and bandwidth of each service, and then the network virtual extension is obtained. Park, determines the physical route corresponding to the target route of each service, and then obtains the network physical topology that forms a mapping relationship with the network virtual topology, thereby obtaining the planning result of the WDM network. It can be seen that the WDM network planning device of the present embodiment determines the virtual link of the bearer service and the physical route that carries the virtual link based on the virtual link connection with the lowest link cost, and finally obtains the network virtual topology and the network virtual topology. The network physical topology of the mapping relationship is effectively reduced, and the cost of the multi-layer network planning is effectively reduced. In addition, the planning process of the wavelength division network planning device of the present embodiment is a planning process from the service layer to the customer layer. The process avoids various problems encountered in the design of the customer layer to the service layer in the prior art, and also reduces the cost of the multi-layer network planning.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要求 书 Claim
1、 一种波分网络规划方法, 其特征在于, 包括: A method for planning a wavelength division network, characterized in that it comprises:
获取用户的业务需求, 所述业务需求包括: 每条业务的源节点、 所述每 条业务的宿节点和所述每条业务的带宽;  Obtaining a service requirement of the user, where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
为所述每条业务计算出至少一条物理路由, 所述每条业务的每条物理路 由为从所述每条业务的源节点到所述每条业务的宿节点的光纤链路;  Calculating, for each of the services, at least one physical route, where each physical route of each service is a fiber link from a source node of each service to a sink node of each service;
计算所述每条业务的每条物理路由对应的最短路, 所述每条业务的每条 物理路由对应的最短路为在所述每条业务的每条物理路由上通过虚链路承载 所述每条业务时链路成本最低的虚链路连接; 所述每条业务的每条物理路由 对应的最短路的链路成本包括在所述每条业务的每条物理路由上新建承载所 述每条业务的虚链路的成本和所述每条业务的每条物理路由的物理成本; 从所述每条业务的所有物理路由对应的最短路中选择链路成本最低的最 短路作为所述每条业务的目标路由, 根据所述每条业务的目标路由和所述每 条业务的带宽确定所述每条业务的虚链路信息, 获得第一网络虚拓朴; 所述 每条业务的虚链路信息包括承载所述每条业务的虚链路个数和承载所述每条 业务的每条虚链路的容量和端节点;  Calculating a shortest path corresponding to each physical route of each service, where a shortest path corresponding to each physical route of each service is carried by a virtual link on each physical route of each service The virtual link connection with the lowest link cost for each service; the shortest link cost corresponding to each physical route of each service includes newly creating each of the physical routes on each of the services The cost of the virtual link of the service and the physical cost of each physical route of each service; selecting the shortest route with the lowest link cost from the shortest path corresponding to all the physical routes of each service The target route of the service, determining the virtual link information of each service according to the target route of each service and the bandwidth of each service, and obtaining the virtual topology of the first network; The link information includes the number of virtual links carrying the each service and the capacity and end nodes of each virtual link carrying the each service;
确定所述每条业务的目标路由对应的物理路由, 获得与所述第一网络虚 拓朴形成映射关系的第一网络物理拓朴。  Determining a physical route corresponding to the target route of each of the services, and obtaining a first network physical topology that forms a mapping relationship with the first network virtual topology.
2、 根据权利要求 1所述的波分网络规划方法, 其特征在于, 所述计算所 述每条业务的每条物理路由对应的最短路包括:  2. The wavelength division network planning method according to claim 1, wherein the calculating the shortest path corresponding to each physical route of each service includes:
根据所述每条业务的每条物理路由经过的节点, 形成所述每条业务的每 条物理路由对应的有向连接关系, 所述每条业务的每条物理路由对应的有向 连接关系包括所述每条业务的每条物理路由上两两节点之间沿着所述每条业 务的源节点到所述每条业务的宿节点方向的有向连接;  And forming, according to the node that each physical route of each service passes, a directional connection relationship corresponding to each physical route of each service, where the directional connection relationship corresponding to each physical route of each service includes a directed connection between the two nodes of each physical route of each service along the direction of the source node of each service to the destination node of each service;
为所述每条业务的每条物理路由对应的有向连接关系中的每条有向连接 赋权重值; 其中, 如果所述有向连接对应的光纤链路上已经存在虚链路, 所 述有向连接的权重值为所述有向连接对应的光纤链路的物理成本; 如果所述 有向连接对应的光纤链路上不存在虚链路, 所述有向连接的权重值为在所述 有向连接对应的光纤链路上新建虚链路的成本和所述有向连接对应的光纤链 路的物理成本; 根据所述每条业务的每条物理路由对应的有向连接关系和所述有向连接 关系中每条有向连接的权重值, 计算出所述每条业务的每条物理路由对应的 最短路。 And assigning a weight value to each of the directed connections in the directional connection relationship corresponding to each of the physical routes of the service; wherein, if a virtual link exists on the fiber link corresponding to the directional connection, The weight of the directional connection is the physical cost of the fiber link corresponding to the directional connection; if there is no virtual link on the fiber link corresponding to the directional connection, the weight value of the directional connection is in the Describe the cost of creating a virtual link on the fiber link corresponding to the connection and the physical cost of the fiber link corresponding to the directed connection; Calculating a shortest path corresponding to each physical route of each service according to the directional connection relationship corresponding to each physical route of each service and the weight value of each directional connection in the directed connection relationship .
3、 根据权利要求 2所述的波分网络规划方法, 其特征在于, 所述根据所 述每条业务的每条物理路由对应的有向连接关系和所述有向连接关系中每条 有向连接的权重值,计算出所述每条业务的每条物理路由对应的最短路包括: 以所述每条业务的每条物理路由对应的有向连接关系和所述有向连接中 的每条有向连接的权重值作为输入, 使用最短路算法计算出所述每条业务的 每条物理路由对应的最短路。  The wavelength division network planning method according to claim 2, wherein the directed connection relationship corresponding to each physical route of each of the services and each of the directed connection relationships are directed The weighted value of the connection, the shortest path corresponding to each physical route of each of the services is: the directional connection relationship corresponding to each physical route of each service and each of the directional connections The weighted value of the directed connection is used as an input, and the shortest path algorithm is used to calculate the shortest path corresponding to each physical route of each service.
4、 根据权利要求 2或 3所述的波分网络规划方法, 其特征在于, 所述为 所述每条业务的每条物理路由对应的有向连接关系中的每条有向连接赋权重 值包括:  The wavelength division network planning method according to claim 2 or 3, wherein the weighting value of each directed connection in the directed connection relationship corresponding to each physical route of each of the services is performed. Includes:
根据公式计算出所述每条业务的每条物理路由对应的有向连接关系中的 每条有向连接的权重值; 将计算出的所述有向连接的权重值赋给所述每条业 务的每条物理路由对应的有向连接关系中的有向连接;  Calculating, according to the formula, a weight value of each directed connection in the directed connection relationship corresponding to each physical route of each service; assigning the calculated weight value of the directed connection to each of the services a directed connection in a directed connection relationship corresponding to each physical route;
所述公式为: Cos=wl*业务安装成本 +w2*光复用段成本 +w2*路径上的业 务量,  The formula is: Cos=wl* business installation cost +w2* optical multiplex section cost +w2* traffic on the path,
其中, Cos为计算出的所述有向连接的权重值;  Wherein Cos is a calculated weight value of the directed connection;
所述业务安装成本为在所述有向连接对应的光纤链路上新建虚链路的成 本;  The service installation cost is the cost of creating a virtual link on the fiber link corresponding to the directed connection;
所述光复用段成本为所述有向连接对应的光纤链路的物理成本; 所述路径上的业务量为所述有向连接对应的光纤链路上已经存在的虚链 路上的业务量;  The optical multiplex section cost is the physical cost of the fiber link corresponding to the directional connection; the traffic volume on the path is the traffic volume on the virtual link already existing on the fiber link corresponding to the directional connection ;
wl、 w2和 w3为权重系数。  Wl, w2, and w3 are weight coefficients.
5、 根据权利要求 1-4任一项所述的波分网络规划方法, 其特征在于, 所 述根据所述每条业务的目标路由和所述每条业务的带宽确定所述每条业务的 虚链路信息包括:  The wavelength division network planning method according to any one of claims 1 to 4, wherein the determining, according to the target route of each service and the bandwidth of each service, determining each service Virtual link information includes:
根据所述每条业务的目标路由上的交叉节点, 确定承载所述每条业务的 虚链路的个数以及承载所述每条业务的每条虚链路的端节点, 所述每条业务 的目标路由上的交叉节点为所述每条业务的目标路由上除所述每条业务的源 节点和所述每条业务的宿节点之外的节点; Determining, according to the cross-nodes on the target route of each service, the number of virtual links carrying each of the services, and the end nodes of each virtual link carrying the each service, where each service is The cross-node on the target route is the source of each of the services on the target route of each of the services a node and a node other than the sink node of each of the services;
根据所述每条业务的带宽,确定承载所述每条业务的每条虚链路的容量。 Determining, according to the bandwidth of each service, the capacity of each virtual link that carries the each service.
6、 根据权利要求 1-5任一项所述的波分网络规划方法, 其特征在于, 所 述获得所述第一网络虚拓朴之后还包括: The wavelength division network planning method according to any one of claims 1 to 5, further comprising: after obtaining the first network virtual topology:
将所述第一网络虚拓朴中的至少一条虚链路删除, 确定至少一条受影响 业务, 获得第二网络虚拓朴; 所述至少一条受影响业务为虚链路信息中包括 被删除虚链路的业务;  Deleting at least one virtual link in the first network virtual topology, determining at least one affected service, and obtaining a second network virtual topology; wherein the at least one affected service is a virtual link information including deleted virtual Link service;
获得所述至少一条受影响业务中每条受影响业务的虚链路信息; 根据所述每条受影响业务的虚链路信息中的虚链路个数, 更新所述第二 网络虚拓朴中的虚链路个数, 获得第三网络虚拓朴。  And obtaining the virtual link information of each of the at least one affected service; and updating the second network virtual topology according to the number of virtual links in the virtual link information of each affected service The number of virtual links in the network is obtained as the virtual topology of the third network.
7、 根据权利要求 6所述的波分网络规划方法, 其特征在于, 所述获得所 述至少一条受影响业务中每条受影响业务的虚链路信息包括:  The method for planning a WDM network according to claim 6, wherein the obtaining the virtual link information of each of the affected services in the at least one affected service comprises:
计算所述每条受影响业务的每条物理路由对应的最短路;  Calculating a shortest path corresponding to each physical route of each affected service;
从所述每条受影响业务的所有物理路由对应的最短路中选择链路成本最 低的最短路作为所述每条受影响业务的目标路由, 根据所述每条受影响业务 的目标路由和所述每条受影响业务的带宽确定所述每条受影响业务的虚链路 信息。  Selecting the shortest route with the lowest link cost from the shortest path corresponding to all the physical routes of the affected service as the target route of each affected service, according to the target route and the location of each affected service The bandwidth of each affected service determines the virtual link information of each affected service.
8、 根据权利要求 6或 7所述的波分网络规划方法, 其特征在于, 所述获 得第三网络虚拓朴之后还包括:  The wavelength division network planning method according to claim 6 or 7, wherein after the obtaining the third network virtual topology, the method further comprises:
如果所述第三网络虚拓朴中的虚链路个数大于或等于所述第二网络虚拓 朴中的虚链路个数, 将所述第三网络虚拓朴恢复为所述第二网络虚拓朴, 将 所述第二网络虚拓朴重新作为所述第一网络虚拓朴, 返回执行将所述第一网 络虚拓朴中的至少一条虚链路删除, 确定至少一条受影响业务, 获得第二网 络虚拓朴的操作。  If the number of virtual links in the third network virtual topology is greater than or equal to the number of virtual links in the second network virtual topology, restore the third network virtual topology to the second Deleting the second network virtual topology as the first network virtual topology, and returning to perform deletion of at least one virtual link in the first network virtual topology, determining that at least one of the virtual links is affected Business, obtaining the operation of the second network virtual topology.
9、 根据权利要求 6或 7所述的波分网络规划方法, 其特征在于, 所述获 得第三网络虚拓朴之后还包括:  The wavelength division network planning method according to claim 6 or 7, wherein after the obtaining the third network virtual topology, the method further comprises:
如果所述第三网络虚拓朴中的虚链路个数小于所述第二网络虚拓朴中的 虚链路个数, 将所述第三网络虚拓朴重新作为所述第一网络虚拓朴, 返回执 行将所述第一网络虚拓朴中的至少一条虚链路删除, 确定至少一条受影响业 务, 获得第二网络虚拓朴的操作。 If the number of virtual links in the third network virtual topology is smaller than the number of virtual links in the virtual topology of the second network, the third network virtual topology is re-established as the first network virtual The topology returns to perform the operation of deleting at least one virtual link in the first network virtual topology, determining at least one affected service, and obtaining a virtual topology of the second network.
10、 根据权利要求 1-9任一项所述的波分网络规划方法, 其特征在于, 所述为所述每条业务计算出至少一条物理路由包括: The method for planning a wavelength division network according to any one of claims 1 to 9, wherein the calculating at least one physical route for each of the services includes:
使用 K条最短路算法为所述每条业务计算出至少一条物理路由, K为大 于 0的整数。  The K shortest path algorithm is used to calculate at least one physical route for each of the services, and K is an integer greater than zero.
11、 根据权利要求 1-9任一项所述的波分网络规划方法, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The wavelength division network planning method according to any one of claims 1 to 9, wherein the service requirement further includes: a number of failures allowed for each of the services;
所述为所述每条业务计算出至少一条物理路由包括:  The calculating, for the each service, the at least one physical route includes:
使用链路分离算法为所述每条业务计算出至少一条链路分离路由, 所述 链路分离路由为满足所述允许承受的故障次数的物理路由。  A link separation algorithm is used to calculate at least one link separation route for each of the services, and the link separation route is a physical route that satisfies the number of failures allowed.
12、 根据权利要求 1-9任一项所述的波分网络规划方法, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The WDM network planning method according to any one of claims 1 to 9, wherein the service requirement further includes: the number of failures allowed by each of the services;
所述为所述每条业务计算出至少一条物理路由包括:  The calculating, for the each service, the at least one physical route includes:
使用节点分离算法为所述每条业务计算出至少一条节点分离路由, 所述 节点分离路由为满足所述允许承受的故障次数的物理路由。  A node separation algorithm is used to calculate at least one node separation route for each of the services, and the node separation route is a physical route that satisfies the number of failures allowed.
13、 根据权利要求 1-9任一项所述的波分网络规划方法, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The wavelength division network planning method according to any one of claims 1 to 9, wherein the service requirement further includes: a number of failures allowed for each of the services;
所述为所述每条业务计算出至少一条物理路由包括:  The calculating, for the each service, the at least one physical route includes:
使用共享风险链路组分离算法为所述每条业务计算出至少一条共享风险 链路组分离路由 , 所述共享风险链路组分离路由为满足所述允许承受的故障 次数的物理路由。  The shared risk link group separation algorithm is used to calculate at least one shared risk link group separate route for each of the services, and the shared risk link group separate route is a physical route that satisfies the number of failures allowed.
14、 一种计算机程序产品, 其特征在于, 包括计算机程序代码, 当一个 计算机单元执行所述计算机程序代码时, 所述计算机单元执行如任一项权利 要求 1-13所记载的动作。  A computer program product, comprising computer program code, wherein when a computer unit executes the computer program code, the computer unit performs the actions recited in any one of claims 1-13.
15、 一种波分网络规划设备, 其特征在于, 包括:  15. A wavelength division network planning device, comprising:
接收器, 用于获取用户的业务需求, 所述业务需求包括: 每条业务的源 节点、 所述每条业务的宿节点和所述每条业务的带宽;  a receiver, configured to acquire a service requirement of the user, where the service requirement includes: a source node of each service, a sink node of each service, and a bandwidth of each service;
路由计算单元, 用于为所述每条业务计算出至少一条物理路由, 所述每 条业务的每条物理路由为从所述每条业务的源节点到所述每条业务的宿节点 的光纤链路;  a route calculation unit, configured to calculate at least one physical route for each of the services, where each physical route of each service is an optical fiber from a source node of each service to a sink node of each service Link
最短路计算单元,用于计算所述每条业务的每条物理路由对应的最短路, 所述每条业务的每条物理路由对应的最短路为在所述每条业务的每条物理路 由上通过虚链路承载所述每条业务时链路成本最低的虚链路连接; 所述每条 业务的每条物理路由对应的最短路的链路成本包括在所述每条业务的每条物 理路由上新建承载所述每条业务的虚链路的成本和所述每条业务的每条物理 路由的物理成本; a shortest path calculation unit, configured to calculate a shortest path corresponding to each physical route of each service, The shortest path corresponding to each physical route of each service is a virtual link connection with the lowest link cost when each of the services is carried by the virtual link on each physical route of each service; The shortest link cost corresponding to each physical route of each service includes the cost of newly creating a virtual link carrying each of the services on each physical route of each service and each of the services Physical cost of physical routing;
虚拓朴获取单元, 用于从所述每条业务的所有物理路由对应的最短路中 选择链路成本最低的最短路作为所述每条业务的目标路由, 根据所述每条业 务的目标路由和所述每条业务的带宽确定所述每条业务的虚链路信息; 所述 每条业务的虚链路信息包括承载所述每条业务的虚链路个数和承载所述每条 业务的每条虚链路的容量和端节点;  a virtual topology obtaining unit, configured to select a shortest path with the lowest link cost from a shortest path corresponding to all physical routes of each service as a target route of each service, according to the target route of each service The virtual link information of each of the services is determined by the bandwidth of each of the services, and the virtual link information of each of the services includes the number of virtual links that carry the service and each of the services. Capacity and end nodes of each virtual link;
物理拓朴获取单元,用于确定所述每条业务的目标路由对应的物理路由, 获得与所述第一网络虚拓朴形成映射关系的第一网络物理拓朴。  The physical topology obtaining unit is configured to determine a physical route corresponding to the target route of each service, and obtain a first network physical topology that forms a mapping relationship with the first network virtual topology.
16、 根据权利要求 15所述的波分网络规划设备, 其特征在于, 所述最短 路计算单元包括:  The wavelength division network planning device according to claim 15, wherein the shortest path calculation unit comprises:
形成子单元, 用于根据所述每条业务的每条物理路由经过的节点形成所 述每条业务的每条物理路由对应的有向连接关系, 所述每条业务的每条物理 路由对应的有向连接关系包括所述每条业务的每条物理路由上两两节点之间 沿着所述每条业务的源节点到所述每条业务的宿节点方向的有向连接;  Forming a sub-unit, configured to form a directional connection relationship corresponding to each physical route of each service according to a node that is used by each physical route of each service, where each physical route of each service corresponds to The directed connection relationship includes a directed connection between the two nodes on each physical route of each service along the direction of the source node of each service to the sink node of each service;
赋值子单元, 用于为所述每条业务的每条物理路由对应的有向连接关系 中的每条有向连接赋权重值; 其中, 如果所述有向连接对应的光纤链路上已 经存在虚链路, 所述有向连接的权重值为所述有向连接对应的光纤链路的物 理成本; 如果所述有向连接对应的光纤链路上不存在虚链路, 所述有向连接 的权重值为在所述有向连接对应的光纤链路上新建虚链路的成本和所述有向 连接对应的光纤链路的物理成本;  An assignment sub-unit, configured to assign a weight value to each of the directed connections in the directional connection relationship corresponding to each physical route of each of the services; wherein, if the fiber link corresponding to the directional connection already exists a virtual link, the weight of the directional connection is a physical cost of the fiber link corresponding to the directional connection; if there is no virtual link on the fiber link corresponding to the directional connection, the directional connection The weight value is the cost of creating a virtual link on the fiber link corresponding to the directed connection and the physical cost of the fiber link corresponding to the directed connection;
计算子单元, 用于根据所述每条业务的每条物理路由对应的有向连接关 系和所述有向连接关系中每条有向连接的权重值, 计算出所述每条业务的每 条物理路由对应的最短路。  a calculating subunit, configured to calculate each of the each service according to a directed connection relationship corresponding to each physical route of each service and a weight value of each directed connection in the directed connection relationship The shortest path corresponding to the physical route.
17、 根据权利要求 16所述的波分网络规划设备, 其特征在于, 所述计算 子单元具体用于以所述每条业务的每条物理路由对应的有向连接关系和所述 有向连接中的每条有向连接的权重值作为输入, 使用最短路算法计算出所述 每条业务的每条物理路由对应的最短路。 The wavelength division network planning device according to claim 16, wherein the calculation subunit is specifically configured to use a directional connection relationship and the directional connection corresponding to each physical route of each of the services. The weight value of each directed connection in the input is used as an input, and the shortest path algorithm is used to calculate the The shortest path corresponding to each physical route of each service.
18、 根据权利要求 16或 17所述的波分网络规划设备, 其特征在于, 所 述赋值子单元具体用于根据公式计算出所述每条业务的每条物理路由对应的 有向连接关系中的每条有向连接的权重值, 将计算出的所述有向连接的权重 值赋给所述每条业务的每条物理路由对应的有向连接关系中的有向连接; 所述公式为: Cos=wl*业务安装成本 +w2*光复用段成本 +w2*路径上的业 务量,  The wavelength division network planning device according to claim 16 or 17, wherein the assignment subunit is specifically configured to calculate a directed connection relationship corresponding to each physical route of each service according to a formula. a weighted value of each directed connection, the calculated weight value of the directed connection is assigned to a directed connection in a directed connection relationship corresponding to each physical route of each service; : Cos=wl* business installation cost + w2 * optical multiplex section cost + w2 * traffic on the path,
其中, Cos为计算出的所述有向连接的权重值;  Wherein Cos is a calculated weight value of the directed connection;
所述业务安装成本为在所述有向连接对应的光纤链路上新建虚链路的成 本;  The service installation cost is the cost of creating a virtual link on the fiber link corresponding to the directed connection;
所述光复用段成本为所述有向连接对应的光纤链路的物理成本; 所述路径上的业务量为所述有向连接对应的光纤链路上已经存在的虚链 路上的业务量;  The optical multiplex section cost is the physical cost of the fiber link corresponding to the directional connection; the traffic volume on the path is the traffic volume on the virtual link already existing on the fiber link corresponding to the directional connection ;
wl、 w2和 w3为权重系数。  Wl, w2, and w3 are weight coefficients.
19、 根据权利要求 15-18任一项所述的波分网络规划设备, 其特征在于, 所述虚拓朴获取单元包括:  The wavelength division network planning device according to any one of claims 15 to 18, wherein the virtual topology acquisition unit comprises:
第一确定子单元, 用于从所述每条业务的所有物理路由对应的最短路中 选择链路成本最低的最短路作为所述每条业务的目标路由;  a first determining subunit, configured to select a shortest path with the lowest link cost from a shortest path corresponding to all physical routes of each service as a target route of each service;
第二确定子单元, 用于根据所述每条业务的目标路由上的交叉节点, 确 定承载所述每条业务的虚链路的个数以及承载所述每条业务的每条虚链路的 端节点, 所述每条业务的目标路由上的交叉节点为所述每条业务的目标路由 上除所述每条业务的源节点和所述每条业务的宿节点之外的节点;  a second determining subunit, configured to determine, according to the cross node on the target route of each service, the number of virtual links that carry the each service, and each virtual link that carries each of the services The end node, the cross-node on the target route of each service is a node other than the source node of each service and the sink node of each service of the target route of each service;
第三确定子单元, 用于根据所述每条业务的带宽, 确定承载所述每条业 务的每条虚链路的容量;  a third determining subunit, configured to determine, according to the bandwidth of each service, a capacity of each virtual link that carries each of the services;
获取子单元, 用于根据承载所述每条业务的虚链路的个数以及承载所述 每条业务的每条虚链路的端节点和容量, 获得所述第一网络虚拓朴。  And obtaining the sub-unit, configured to obtain the first network virtual topology according to the number of virtual links carrying the service and the end node and capacity of each virtual link that carries the service.
20、 根据权利要求 15-19任一项所述的波分网络规划设备, 其特征在于, 还包括:  The wavelength division network planning device according to any one of claims 15 to 19, further comprising:
影响业务确定单元, 用于将所述第一网络虚拓朴中的至少一条虚链路删 除, 确定至少一条受影响业务, 获得第二网络虚拓朴; 所述至少一条受影响 业务为虚链路信息中包括被删除虚链路的业务; An impact determining unit, configured to delete at least one virtual link in the first network virtual topology, determine at least one affected service, and obtain a second network virtual topology; the at least one affected The service includes the service of the deleted virtual link in the virtual link information.
虚链路获得单元, 用于获得所述至少一条受影响业务中每条受影响业务 的虚链路信息;  a virtual link obtaining unit, configured to obtain virtual link information of each affected service in the at least one affected service;
虚拓朴更新单元, 用于根据所述虚链路获得单元获得的每条受影响业务 的虚链路信息中的虚链路个数, 更新所述第二网络虚拓朴中的虚链路个数, 获取第三网络虚拓朴。  a virtual topology update unit, configured to update a virtual link in the virtual topology of the second network according to the number of virtual links in the virtual link information of each affected service obtained by the virtual link obtaining unit Number, get the third network virtual topology.
21、 根据权利要求 20所述的波分网络规划设备, 其特征在于, 所述虚链 路获得单元包括:  The wavelength division network planning device according to claim 20, wherein the virtual link obtaining unit comprises:
最短路计算子单元, 用于计算所述每条受影响业务的每条物理路由对应 的最短路;  a shortest path calculation subunit, configured to calculate a shortest path corresponding to each physical route of each of the affected services;
虚链路确定子单元, 用于从所述每条受影响业务的所有物理路由对应的 最短路中选择链路成本最低的最短路作为所述每条受影响业务的目标路由, 根据所述每条受影响业务的目标路由和所述每条受影响业务的带宽确定所述 每条受影响业务的虚链路信息。  a virtual link determining sub-unit, configured to select a shortest path with the lowest link cost from the shortest path corresponding to all the physical routes of each of the affected services, as the target route of each of the affected services, according to each The target route of the affected service and the bandwidth of each of the affected services determine the virtual link information of each of the affected services.
22、 根据权利要求 20或 21所述的波分网络规划设备, 其特征在于, 还 包括:  The device of the wavelength division network according to claim 20 or 21, further comprising:
第一迭代单元, 用于在所述第三网络虚拓朴中的虚链路个数大于或等于 所述第二网络虚拓朴中的虚链路个数时, 将所述第三网络虚拓朴恢复为所述 第二网络虚拓朴, 将所述第二网络虚拓重新作为所述第一网络虚拓朴, 触发 所述影响业务确定单元重新执行将所述第一网络虚拓朴中的至少一条虚链路 删除, 确定至少一条受影响业务, 获得第二网络虚拓朴的操作。  a first iteration unit, configured to: when the number of virtual links in the third network virtual topology is greater than or equal to the number of virtual links in the second network virtual topology, Restoring the topology to the second network virtual topology, and re-executing the second network virtual topology as the first network virtual topology, triggering the impact service determining unit to re-execute the first network virtual topology At least one virtual link is deleted, and at least one affected service is determined, and the operation of the second network virtual topology is obtained.
23、 根据权利要求 20或 21所述的波分网络规划设备, 其特征在于, 还 包括:  The device according to claim 20 or claim 21, further comprising:
第二迭代单元, 用于在所述第三网络虚拓朴中的虚链路个数小于所述第 二网络虚拓朴中的虚链路个数, 将所述第三网络虚拓朴重新作为所述第一网 络虚拓朴, 触发所述影响业务确定单元重新执行将所述第一网络虚拓朴中的 至少一条虚链路删除, 确定至少一条受影响业务, 获得第二网络虚拓朴的操 作。  a second iteration unit, where the number of virtual links in the third network virtual topology is smaller than the number of virtual links in the second network virtual topology, and the third network virtual topology is re-created And the at least one virtual link in the first network virtual topology is deleted, the at least one affected service is determined, and the second network virtual topology is obtained. Park's operation.
24、 根据权利要求 15-23任一项所述的波分网络规划设备, 其特征在于, 所述路由计算单元具体用于使用 K条最短路算法为所述每条业务计算出至少 一条物理路由, K为大于 0的整数。 The wavelength division network planning device according to any one of claims 15 to 23, wherein the route calculation unit is specifically configured to calculate at least each of the services by using K shortest path algorithms. A physical route, K is an integer greater than zero.
25、 根据权利要求 15-23任一项所述的波分网络规划设备, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The wavelength division network planning device according to any one of claims 15 to 23, wherein the service requirement further includes: the number of failures allowed by the each service;
所述路由计算单元具体用于使用链路分离算法为所述每条业务计算出至 少一条链路分离路由, 所述链路分离路由为满足所述允许承受的故障次数的 物理路由。  The route calculation unit is specifically configured to calculate, by using a link separation algorithm, at least one link separation route for each of the services, where the link separation route is a physical route that satisfies the number of failures allowed to be received.
26、 根据权利要求 15-23任一项所述的波分网络规划设备, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The wavelength division network planning device according to any one of claims 15 to 23, wherein the service requirement further includes: the number of failures allowed by the each service;
所述路由计算单元具体用于使用节点分离算法为所述每条业务计算出至 少一条节点分离路由, 所述节点分离路由为满足所述允许承受的故障次数的 物理路由。  The route calculation unit is specifically configured to calculate, by using a node separation algorithm, at least one node separate route for each of the services, where the node separate route is a physical route that satisfies the number of failures allowed.
27、 根据权利要求 15-23任一项所述的波分网络规划设备, 其特征在于, 所述业务需求还包括: 所述每条业务的允许承受的故障次数;  The wavelength division network planning device according to any one of claims 15 to 23, wherein the service requirement further includes: a number of failures allowed for each of the services;
所述路由计算单元具体用于使用共享风险链路组分离算法为所述每条业 务计算出至少一条共享风险链路组分离路由, 所述共享风险链路组分离路由 为满足所述允许承受的故障次数的物理路由。  The route calculation unit is configured to calculate, by using a shared risk link group separation algorithm, at least one shared risk link group separate route for each of the services, where the shared risk link group separate route is to meet the allowable The physical route of the number of failures.
PCT/CN2012/074185 2012-04-17 2012-04-17 Method and device for wavelength-division multiplexing network planning WO2012103852A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/074185 WO2012103852A2 (en) 2012-04-17 2012-04-17 Method and device for wavelength-division multiplexing network planning
CN201280000341.8A CN102934491B (en) 2012-04-17 2012-04-17 Wavelength-division network planing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/074185 WO2012103852A2 (en) 2012-04-17 2012-04-17 Method and device for wavelength-division multiplexing network planning

Publications (2)

Publication Number Publication Date
WO2012103852A2 true WO2012103852A2 (en) 2012-08-09
WO2012103852A3 WO2012103852A3 (en) 2013-03-21

Family

ID=46603152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074185 WO2012103852A2 (en) 2012-04-17 2012-04-17 Method and device for wavelength-division multiplexing network planning

Country Status (2)

Country Link
CN (1) CN102934491B (en)
WO (1) WO2012103852A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247845A (en) * 2019-06-26 2019-09-17 深圳市中航比特通讯技术有限公司 Protection method for routing is generated in a kind of communication network
WO2022105499A1 (en) * 2020-11-18 2022-05-27 华为技术有限公司 Path selection method and path selection apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733796B (en) * 2017-02-07 2021-01-26 深圳臻云技术股份有限公司 Method and system for calculating preferred path
CN113099321B (en) * 2019-12-23 2022-09-30 中国电信股份有限公司 Method, device and computer readable storage medium for determining communication path

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047644A (en) * 2007-04-28 2007-10-03 华为技术有限公司 Network system, shortest route establishing and broadcast message transmission method
CN101478705A (en) * 2009-01-21 2009-07-08 电子科技大学 Survivable service flow conducting method based on interlayer message routing
US20120042095A1 (en) * 2010-08-10 2012-02-16 Dell Products, Lp System and Method to Create Virtual Links for End-to-End Virtualization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047644A (en) * 2007-04-28 2007-10-03 华为技术有限公司 Network system, shortest route establishing and broadcast message transmission method
CN101478705A (en) * 2009-01-21 2009-07-08 电子科技大学 Survivable service flow conducting method based on interlayer message routing
US20120042095A1 (en) * 2010-08-10 2012-02-16 Dell Products, Lp System and Method to Create Virtual Links for End-to-End Virtualization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247845A (en) * 2019-06-26 2019-09-17 深圳市中航比特通讯技术有限公司 Protection method for routing is generated in a kind of communication network
CN110247845B (en) * 2019-06-26 2021-10-29 深圳市中航比特通讯技术股份有限公司 Method for generating protection route in communication network
WO2022105499A1 (en) * 2020-11-18 2022-05-27 华为技术有限公司 Path selection method and path selection apparatus

Also Published As

Publication number Publication date
WO2012103852A3 (en) 2013-03-21
CN102934491A (en) 2013-02-13
CN102934491B (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN108270557B (en) Backbone network system based on quantum communication and relay method thereof
JP7088368B2 (en) Multilayer network system
US8913481B2 (en) Method and system for efficient provisioning of multiple services for multiple failure restoration in multi-layer mesh networks
US9247327B2 (en) Suurballe-based cloud service embedding procedure in software-defined flexible-grid optical transport networks
US20140092726A1 (en) Method for mapping a network topology request to a physical network and communication system
GB2508048A (en) Network route finding using path costs based upon percentage of bandwidth free on each link
US9143398B2 (en) System and method for spare capacity allocation for shared backup path protection for dual link failures using successive survivable routing
CN106817306B (en) Method and device for determining target route
WO2015119704A1 (en) Cloud service embedding with shared protection in software-defined flexible-grid optical transport networks
WO2010127527A1 (en) Method and apparatus for implementing k-shortest paths algorithm in the case of existing multiple edges between adjacent nodes
CN105472484A (en) Wave channel balancing route wavelength allocation method of power backbone optical transport network
CN105391651A (en) Virtual optical network multilayer resource convergence method and system
WO2012103852A2 (en) Method and device for wavelength-division multiplexing network planning
CN105978811B (en) A kind of route selecting method and device based on business transmission
JP2016512001A (en) Post-computing network load balancing procedure for cloud service integration in software-defined flexible grid optical transport network
WO2014019167A1 (en) Planning method and device for wavelength division multiplexing network
JP5427964B1 (en) Path recovery control device and path recovery control program
Huang et al. A scalable path protection mechanism for guaranteed network reliability under multiple failures
CN106130895B (en) The heavy route method and device of SDN network failure
CN106716935B (en) cross-layer service configuration method and controller
JP4845858B2 (en) Network topology / link capacity design processing method, system and program
CN109831380B (en) Path protection method for power communication service
CN102523156B (en) Routing method based on hop count constraint
JP5419740B2 (en) Pass accommodation design method
JP2012257128A (en) Method and system for fault recovery path calculation

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000341.8

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12741639

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12741639

Country of ref document: EP

Kind code of ref document: A2