The first embodiment is as follows:
based on the foregoing technical principles, embodiments of the present application provide a route allocation method and a route allocation device, which are applied to a ROADM network shown in fig. 1 or other ROADM networks similar to the network architecture shown in fig. 1, so as to achieve an effect of allocating a physical route that better meets the usage requirement for a target service of a route to be allocated.
In this embodiment, the device or apparatus for performing the route distribution method provided by the present application may have other names.
And when implemented, the route distribution device can also be a device independent of each node of the ROADM network. The route distribution device can communicate with one or more nodes of the ROADM network through the communication interface to send route information to the one or more nodes in the ROADM network, so that the one or more nodes in the ROADM network distribute routes for target traffic of physical routes to be distributed according to the received route information.
In other implementations, the route distribution device may also be built into one or more nodes of the ROADM network. In this case, the route distribution device may include functional modules, such as a storage module, a processing module, and a communication module, which are independent from other hardware units of the node, so that the route distribution device can use these independent functional modules to execute the route distribution method provided in this application, and determine the physical route for transmitting the target traffic. And then, one or more nodes in the ROADM network allocate the route for the target service of the physical route to be allocated according to the determined physical route.
Alternatively, in some implementations, when a route needs to be allocated to a target service, the node in the ROADM network may also directly use the original hardware resource of the node to implement the function of the route allocation apparatus by executing the route allocation method provided in the following description of the present application.
For example, in fig. 1, when a physical route from a node B to a node G needs to be allocated to a target service, a node device of an originating node (i.e., a node B) of the target service may determine the physical route for transmitting the target service according to a method described below in the present application, so that the node device of the node B implements the function of the route allocating apparatus in the present application.
The present application is not limited thereto, and it should be understood that any device or apparatus capable of executing the method provided by the present application should belong to one of the "route distribution apparatuses" referred to in the present application.
When the route distribution method provided by the present application is applied to the route distribution device provided by the present application, the method provided by the present application is described below with reference to an example:
it is assumed that in the ROADM network shown in fig. 1, a physical route from the original node B node to the destination node G node needs to be allocated to the destination traffic for transporting the destination traffic.
For example, in one implementation, the route distribution device may model a ROADM network by computer modeling, and the ROADM network model may simulate parameters of a real ROADM network. For example, the model includes information such as connection relationships between nodes in the ROADM network shown in fig. 1.
When a route needs to be allocated for the target service, the technician inputs various parameters of the target service (which may include information about the service level of the target service, the start node of the target service in the ROADM network, such as the B node in fig. 1, and the destination node, such as the G node in fig. 1) into the route allocation device.
For another example, when a route needs to be allocated for the target service, a route allocation request may also be sent to the route allocation apparatus by a certain node in the ROADM network (e.g., the originating node B, the destination node G, etc. of the target service in fig. 1). The route allocation request may include information about the connection relationship between nodes in the ROADM network, the service level of the target service, the start node and the destination node of the target service in the ROADM network, and the like. So that the route distribution device executes the method provided by the application according to the received route distribution request.
It should be noted that, the above-mentioned technical personnel input various parameters of the target service into the route distribution device, and the way in which the node in the ROADM network sends the route distribution request to the route distribution device is only a description of a scenario in which the technical solution of the present application may be implemented. It is understood that, in some scenarios, the above may not be performed when the technical solutions provided in the present application are implemented. This application may not be so limited.
After a technician inputs various parameters of a target service into a route distribution device, or the route distribution device receives a route distribution request sent by a node in a ROADM network, the following steps are executed as shown in FIG. 2:
s101, the route distribution device determines a target service level corresponding to the target service.
For example, in an implementation manner, continuing the above example, after the technician inputs various parameters of the target service into the route distribution device, the route distribution device may determine the target service level corresponding to the target service from the input parameters. Or, after the route distribution device receives the route distribution request sent by the node in the ROADM network, the route distribution device may parse the target service level corresponding to the target service from the route distribution request.
The service level of the service used in the present application may specifically be a certain manner of dividing the service level, which has been adopted in the prior art. For example, a service level in QoS (Quality of service) information of a service. When implementing the technical solution provided in the present application, a person skilled in the art may redesign the dividing manner of the service level according to needs, and the present application is not limited thereto.
In one implementation, considering the current needs of operators to guarantee different customers, the services can be divided into three service levels, namely "diamond level services", "gold level services" and "bronze level services". The different service levels correspond to different service support modes, which is specifically shown in table 1 below:
TABLE 1
The guarantee mode of the diamond-level service is a mode of '1 +1+ rerouting protection', and specifically refers to that when a physical route is allocated, a main route for transmitting data is allocated to the service, and meanwhile, an alternative standby route is also allocated to the service. When the main route fails, the system switches the service to the standby route for transmission. Further, when both the primary route and the standby route fail, rerouting is triggered to reselect a new route for service recovery.
The guarantee mode of the gold-level service is 1+1 protection. In the same way as the guarantee mode of the diamond-level service, when the physical route is allocated to the gold-level service, a main route for transmitting data is allocated to the service, and an alternative standby route is also allocated to the service. When the main route fails, the system switches the service to the standby route for transmission. But when the main route and the standby route of the gold-level service fail, the operation of rerouting is not triggered.
The "copper-level service" has no guarantee means, that is, when the transmission route of the service fails, the service can be recovered after the transmission route is recovered.
Therefore, in the embodiment of the present application, the above method for classifying may also be used when determining the target service level corresponding to the target service. Further, in this embodiment, the step S101 specifically includes:
s101a, the route distribution device determines a target service level corresponding to the target service from the three preset service levels.
The three preset service levels specifically include: a first level, a second level, and a third level.
The first level of service corresponds to a main route and a standby route, and when the main route fails, the standby route is used for transmitting service data. And when the main route and the standby route both fail, triggering the rerouting operation to select other routes except the main route and the standby route to transmit the service data. The second level service has a main route and a standby route, and when the main route fails, the standby route is used for transmitting service data.
In the implementation mode, the target service level corresponding to the target service is determined through the mode, so that the method provided by the application can be more simply butted with the actual service of the current operator. Further, on the basis of the existing service levels of dividing the service into "diamond-level service", "gold-level service" and "bronze-level service", the transmission reliability of the high-demand service (such as the aforementioned "diamond-level service" and "bronze-level service") can be further ensured.
After determining the target service level corresponding to the target service, the method provided by the application further includes:
s102, the route distribution device inquires m physical routes capable of bearing target services in the reconfigurable optical add-drop multiplexer ROADM network. Wherein m is a positive integer.
Continuing with the above example, the route distribution device may obtain the connection relationship between nodes in the ROADM network from the parameters input by the technician, and further query m physical routes capable of carrying the target service. Or, after the route distribution device receives the route distribution request sent by the node in the ROADM network, the route distribution device may analyze the connection relationship between the nodes in the ROADM network from the route distribution request, and further query m physical routes capable of carrying the target service.
In fig. 1, if the transmission of the target service requires a physical route from the originating node (i.e. node B) of the target service to the destination node (i.e. node G) of the target service, 6 physical routes capable of carrying the target service are queried through screening, including four routes as depicted by thick lines in fig. 3: path 1 (via node B, F, H, G), path 2 (via node BEG), path 3 (via node B, C, D, G), path 4 (via node B, A, D, G), path 5 (via node B, C, E, G), path 6 (via node B, E, H, G).
S103, the route distribution device selects a target physical route meeting the limiting conditions from the m physical routes.
Wherein the limiting conditions include: constraint conditions corresponding to the target service level to the physical route; the destination physical route refers to a physical route for transmitting the destination traffic.
For example, the route distribution device stores in advance constraints on physical routes corresponding to a plurality of service levels. The constraint conditions for the physical route may include constraints on various aspects of optical path reachability, transmission bandwidth, transmission delay, and the like of the physical route.
Wherein, the constraint conditions corresponding to different service levels to the physical route are different. However, in some implementations, in order to reduce the amount of data processed by the route allocating apparatus, two or more service levels of the preset multiple service levels may be associated with the same constraint on the physical route.
For example, 4 service levels are preset in the route distribution device: level 1, level 2, level 3, level 4. Wherein levels 1-3 correspond to constraint A and level 4 corresponds to constraint B, respectively. The present application may not be limited, and it is within the scope of the present application as long as when determining the constraint condition of the physical route, the service level corresponding to the service is considered as one of the criteria for determining the constraint condition of the physical route.
Further, in an implementation manner, the present application considers that, when selecting a route, not only should the conventional determination factors such as whether optical paths of physical routes are connected be considered, but also the problem of optical path reliability needs to be considered. Specifically, in order to ensure normal transmission of service data, when a physical route is selected, reliable transmission of the service data should be ensured on the basis of ensuring that the service data can be transmitted by using the selected physical route (i.e., the physical route can transmit data from a data source node to a data destination node). Therefore, the present application may also adopt a method of selecting a route by using a service quality parameter reflecting the transmission quality of the optical signal of the physical route, so as to select a more reliable transmission route.
The "optical signal transmission quality" referred to in this application may be reflected by various performance indexes of the optical signal in the physical route, which affect the service data transmission. The present application may not be limited thereto. For example, the quality of service parameter may comprise one of an OSNR value or a Q value of the physical route. As another example, the QoS parameter may further include a plurality of performance indicators (e.g., including OSNR values and Q values), such that the target physical route may be determined by comparing the plurality of performance indicators. For another example, the qos parameter may be calculated by using a plurality of performance indicators. For example, the OSNR value and the Q value are weighted and summed, and then a parameter obtained after the weighted summation is used as a service quality parameter reflecting the transmission quality of the optical signal.
In view of the above, the above S103 in the present application may specifically include:
and S1031, the route distribution device compares the service quality parameters of each physical route in the m physical routes with the service quality parameter threshold corresponding to the target service level, and generates an initial selection route set according to the comparison result.
The service quality parameters comprise parameters for reflecting the transmission quality of optical signals of the physical route; the primary routing set comprises: and in the m physical routes, the comparison result meets the required physical route.
S1032, the route distribution device selects the target physical route from the primary route set.
Specifically, the physical route with the smallest hop or the shortest transmission distance may be selected from the initially selected route set as the target physical route.
In one implementation, the quality of service parameter includes a plurality of performance indicators; the performance indexes are performance indexes of the optical signal in the physical route, which influence service data transmission.
When a plurality of performance indexes included in a service quality parameter of a physical route in the application include a Q value margin and an OSNR value margin (where, the Q value margin is used to reflect a difference between a Q value corresponding to a target service and a Q value of the physical route, and the OSNR value margin is used to reflect a difference between an OSNR value corresponding to the target service and an OSNR value margin of the physical route), a service quality parameter threshold corresponding to the target service level includes: a Q value margin threshold and an OSNR value margin threshold.
Further, as shown in fig. 4, the step S1031 may specifically include:
s1031a, the route distribution device selects a physical route having a Q value margin larger than the Q value margin threshold and an OSNR value margin larger than the OSNR value margin threshold from the m physical routes, and generates an initial route set.
And the Q value allowance is used for reflecting the difference value between the Q value corresponding to the target service and the Q value of the physical route.
Specifically, the Q value of the physical route may specifically refer to a BTB (Back to Back) Q value of the physical routing system.
For example, if it is assumed that the Q value corresponding to the transmission target traffic is 50dB and the BTBQ value of a certain physical route is 45dB, the Q value margin of the physical route is 5dB to 50dB-45 dB.
And the OSNR value margin is used for reflecting the difference value of the OSNR value corresponding to the target service and the OSNR value margin of the physical route.
Specifically, the OSNR value of a physical route may specifically refer to the BTB OSNR value of the physical routing system.
For example, in the current wavelength division network of china unicom, 100G wavelength division system in zheng state from china is taken as an example. The transmission route from south of china to zheng state includes 12 network nodes. In a specific application scenario, the network nodes may be one of ROADM sites, OA (Optical amplifier) sites, or electrical relay sites, but the network nodes may also be other types of site devices.
Ideally, the OSNR value of the optical amplifier segment between two adjacent network nodes is attenuated by 25 dB. The BTB OSNR value for this physical route in zheng state in shannon can be approximately calculated to be 300dB by 12 × 25 dB.
At this time, assuming that the OSNR value corresponding to the transmission target service is 350dB, the OSNR value margin may be represented by a difference between the OSNR value corresponding to the transmission target service and the OSNR value corresponding to the route to be determined, that is, the OSNR value margin is 50 dB.
In addition, according to different service levels of the service, different service levels in the application may correspond to different Q value margin thresholds and OSNR value margin thresholds. For example, as shown in tables 2 and 3 below:
service level
|
Q margin threshold (dB)
|
First level
|
3
|
Second grade
|
2.8
|
Third level of classification
|
1.5 |
TABLE 2
Service level
|
OSNR value margin threshold (dB)
|
First level
|
5
|
Second grade
|
4.5
|
Third level of classification
|
4 |
TABLE 3
It can be seen that, among other things, the higher the service level, the larger the corresponding Q value threshold and OSNR value margin threshold.
For example, if the target service is a first-level service, it is determined that the Q value margin threshold and the OSNR value margin threshold included in the service quality parameter threshold corresponding to the target service level are respectively: 3dB and 5 dB. Then, the Q value margin and the OSNR value of each physical route in the m physical routes are compared with the 3dB and the 5dB, and the physical route with the Q value margin larger than 3dB and the OSNR value larger than 5dB is selected as the route in the initial selection route set.
In addition, in another implementation, it is considered that when the number of segments in a physical route is different, the influence of the OSNR value of the physical route on the traffic is also different. For example, if the physical route a includes 3 relay nodes, that is, the physical route a is divided into 4 spans by the 3 relay nodes. Another physical route B includes 13 relay nodes, that is, the physical route B is divided into 14 spans by 13 relay nodes. Then the transmission quality of physical route a, which spans less, is generally better than that of physical route B, which spans more, even though the system btbosr values of physical route a and physical route B are the same.
Furthermore, in the method provided in this embodiment of the present application, in S1031a, the route distribution device selects a physical route from the m physical routes, where the Q-value margin is greater than the Q-value margin threshold, and the OSNR-value margin is greater than the OSNR-value margin threshold, to generate an initially selected route set, which specifically includes:
and S1, determining a target OSNR value allowance threshold according to the number of the spans included in the route to be distinguished.
The target OSNR value margin threshold is an OSNR value margin threshold used for comparing with the OSNR value of the route to be distinguished.
Wherein, the route to be distinguished is included in the m physical routes. The number of the spans in the route to be judged is positively correlated with the size of the target OSNR value allowance threshold.
For example, the OSNR value margin thresholds corresponding to different service levels in the present application may be as shown in table 4 below:
TABLE 4
When the span of the physical route is greater than 12, the OSNR value margin thresholds corresponding to different service levels are 5dB, 4.5dB, and 4dB, respectively. That is, in this case, it is necessary to select a corresponding OSNR value margin threshold from 5dB, 4.5dB, and 4dB as a target OSNR value margin threshold according to a service level of the target traffic, and compare the target OSNR value margin threshold with the OSNR value margin of the physical route.
When the span of the physical route is less than or equal to 12, the OSNR value margin thresholds corresponding to different service levels are 4.5dB, 4dB, and 3.5dB, respectively. That is, in this case, according to the service level of the target traffic, the corresponding OSNR value margin threshold value needs to be selected from 4.5dB, 4dB, and 3.5dB as the target OSNR value margin threshold value to be compared with the OSNR value margin of the physical route.
And S2, if the Q value allowance of the route to be judged is larger than the Q value allowance threshold value, and the OSNR value of the route to be judged is larger than the target OSNR value allowance threshold value, determining that the route to be judged is contained in the primary selection route set.
In addition, in the embodiment of the present application, it is considered that, in a specific application, the OSNR value is an important index capable of reflecting the optical path performance in the physical route, and has a function of reflecting the transmission quality of the optical signal in the physical route. However, since the nonlinear effect in the high-speed transmission system is strong, the accuracy is greatly reduced by simply using the OSNR value to reflect the transmission quality of the optical signal of the physical route. Therefore, in the present application, the primary route set is generated by simultaneously using the OSNR value margin and the Q value margin of the physical route, so that it can be ensured that all the routes in the selected primary route set can ensure the transmission quality of the service data.
The content of step S1031a is described below with reference to an example. Specifically, continuing with the example corresponding to fig. 3, first, it is assumed that the target service to which the route needs to be allocated is the first-level service. In addition, as shown in the above example, of the service quality parameter thresholds corresponding to the first level service, the Q value margin threshold is 3 dB; the OSNR value margin threshold is 4.5dB (when the span of the physical route is less than or equal to 12) or 5dB (when the span of the physical route is greater than 12).
Then, as shown in the above example, from the ROADM network, 6 physical routes capable of carrying the target traffic are queried: route 1, route 2, route 3, route 4, route 5, route 6. Since the spans of 6 physical routes do not exceed 12, the corresponding OSNR margin thresholds are all 4.5 dB.
Further, the statistical results are shown in table 5 below:
TABLE 5
Further, it can be seen that, among the paths 1 to 6, only the path 2, the path 3, and the path 6 satisfy the condition "physical route in which the Q value margin is greater than the Q value margin threshold and the OSNR value margin is greater than the OSNR value margin threshold", that is, the initially selected route set includes the path 2, the path 3, and the path 6.
And then, selecting the path 2 with the minimum hop count or the shortest distance from the path 2, the path 3 and the path 6 in the initial route set as a target physical route for transmitting the service data of the target service. Of course, in a specific implementation, the target physical route may also be selected from the total initially selected route set in another manner, which may not be limited in this application.
In another implementation, it is considered that when selecting a physical route, there is a case: each of the m physical routes does not satisfy the condition that "the Q value margin is greater than the Q value margin threshold and the OSNR value margin is greater than the OSNR value margin threshold" described in S1031 a. Furthermore, in this embodiment of the application, the step S1031 may further include:
and S1031b, if there is no physical route with the Q value margin larger than the Q value margin threshold and the OSNR value margin larger than the OSNR value margin threshold in the m physical routes, selecting the physical route meeting the preset requirement by the route distribution device, and generating an initial selection route set.
The physical route meeting the preset requirement specifically includes: and in order to enable the Q value surplus of the physical route to be larger than the Q value surplus threshold and the OSNR value surplus of the physical route to be larger than the OSNR value surplus threshold, the physical route with the least number of the added relay stations is obtained.
Illustratively, the ROADM network shown in fig. 3 is still taken as an example. After 6 physical routes (paths 1-6) capable of carrying the target service are determined, if the difference between ONSR value margins of the 6 physical routes and an ONSR value margin threshold is less than 4.5dB, and the difference between Q value margins and a Q value margin threshold is less than 3dB, as shown in table 6 below.
TABLE 6
In addition, as shown in table 6, when one relay station is added to path 1, path 4, and path 5, the condition that "the Q value margin of the physical route is greater than the Q value margin threshold and the OSNR value margin of the physical route is greater than the OSNR value margin threshold" is satisfied. Thus, the set of initially selected routes includes Path 1, Path 4 and Path 5.
In another implementation, the service quality parameter is calculated by using a plurality of performance indexes; the performance indexes are performance indexes of the optical signal in the physical route, which influence service data transmission.
Furthermore, for convenience of calculation, in the present application, it is considered that the Q value margin and the OSNR value margin of the physical route may be subjected to weighted summation, so as to obtain a parameter index capable of reflecting both the Q value margin and the OSNR value margin of the physical route. And then, only the parameter index is needed to be utilized for subsequent processing, so that the proper physical route can be determined more conveniently and rapidly.
Based on the foregoing principle, as shown in fig. 5, in this embodiment of the application, the step S1031 may specifically include:
and S1031c, the route distribution device performs weighted summation on the Q value allowance of the route to be distinguished and the OSNR value allowance of the route to be distinguished, and generates a service quality parameter of the route to be distinguished.
Wherein, the route to be distinguished is contained in m physical routes; the Q value allowance is used for reflecting the difference value of the Q value corresponding to the transmission target service and the Q value corresponding to the route to be judged; and the OSNR value margin is used for reflecting the difference value of the OSNR value corresponding to the transmission target service and the OSNR value corresponding to the route to be judged.
Illustratively, the numeric formula of the service quality parameter R of the route to be distinguished is:
R=α*QM+β*OM
wherein Q isMIndicating the margin of Q value, O, of the route to be distinguishedMRepresenting the residual OSNR value of the route to be distinguished, α representing the weight corresponding to the residual Q value of the route to be distinguished, and β representing the weight corresponding to the residual OSNR value of the route to be distinguished.
For example, for convenience of calculation, α + β may be made equal to 1, and of course, the relationship between α and β may be set in other ways according to needs, and the present application may not be limited thereto.
In one implementation, it is considered that in an optical communication system, due to the existence of nonlinear effects of the optical communication system, although a continuous increase in the optical power into the fiber increases the OSNR of the optical wavelength signal, the Q value decreases after reaching the peak. As shown in fig. 6, in different scenarios, the fiber-incoming optical power and the OSNR measured by the receiving end change in an almost direct proportional relationship. As shown in fig. 7, in different scenarios, when the fiber input power reaches a certain value, the change in Q value will have an inflection point, increasing with increasing fiber input power from the beginning, and decreasing with increasing fiber input power.
Therefore, before executing S1031c, the method provided in the embodiment of the present application performs weighted summation on the Q value margin of the route to be determined and the OSNR value margin of the route to be determined by the route allocating device, and generates the service quality parameter of the route to be determined, further includes:
and the route distribution device calculates a weight corresponding to the Q value allowance of the route to be judged and a weight corresponding to the OSNR value allowance according to the fiber-in optical power of the target service.
The fiber-entering optical power of the target service is positively correlated with the weight corresponding to the margin of the Q value of the route to be judged, and the fiber-entering optical power of the target service is negatively correlated with the weight corresponding to the margin of the OSNR value of the route to be judged.
For example, for a g.652 optical fiber, a 400G WDM system may consider α - β -0.5 when the fiber input power is 0dB, and consider that when the fiber input power is 4dB, although the OSNR value is very high, the Q value is reduced, and at this time, the main characterizing parameter affecting the optical wavelength signal quality is the Q value, so it should consider that the Q value is increased and the OSNR weight is reduced, α -0.9 and β -0.1, where α represents the weight corresponding to the Q value margin of the route to be determined, and β represents the weight corresponding to the OSNR value margin of the route to be determined.
According to the method, the service quality parameters of each route in the m physical routes can be calculated in sequence.
And S1031d, if the service quality parameter of the route to be distinguished is greater than the service quality parameter threshold corresponding to the target service level, the route distribution device determines that the route to be distinguished is included in the primary selection route set.
Specifically, the route distribution device stores service quality parameter thresholds corresponding to different service levels in advance, in the same way as in the above example. After the target service level of the target service is determined, the service quality parameter threshold corresponding to the target service level can be determined. And then selecting a service quality parameter larger than a service quality parameter threshold corresponding to the target service level from the m physical routes to generate an initial route set.
After the primary route set is determined in the steps of S1031c-S1031d, the route distribution apparatus selects a target physical route from the primary route set. For a specific implementation, reference may be made to the content of S1032 described above, which is not described herein again.
In the route allocation method and apparatus provided in the embodiment of the present application, in consideration of that reliability requirements of different service levels for physical routes are different, in order to implement a more optimal transmission route allocation manner, when allocating a route for a target service in the present application, the service level of the target service is used as one of criteria for route selection. Furthermore, in the present application, after m physical routes capable of carrying the target service are queried from the ROADM network, a target physical route meeting the constraint condition corresponding to the target service level is selected from the m physical routes as a physical route for transmitting the target service, so that the effects of improving the transmission efficiency of the physical routes and optimizing the quality of the transmission service are achieved on the premise of ensuring that the optical path of the target service is reachable.
It should be noted that, in this embodiment, only by way of example, a device that executes the route distribution method provided in this application is referred to as a "route distribution device," and in this embodiment, a device or an apparatus that executes the route distribution method provided in this application may have other names. The present application is not limited thereto, and it should be understood that any device or apparatus capable of executing the method provided by the present application should belong to one of the "route distribution apparatuses" referred to in the present application.
Example two:
the embodiment of the present application provides a route distribution device, which is used for executing the route distribution method provided in the first embodiment. Fig. 8 is a schematic diagram of a possible structure of a route distribution device according to an embodiment of the present application. Specifically, the route distribution device 20 includes: a determining unit 201, an inquiring unit 202 and a route generating unit 203. Wherein:
a determining unit 201, configured to determine a target service level corresponding to a target service;
a query unit 202, configured to query m physical routes capable of carrying a target service in a reconfigurable optical add-drop multiplexer ROADM network; wherein m is a positive integer;
a route generating unit 203, configured to select a target physical route meeting a restriction condition from m physical routes after the querying unit 202 queries m physical routes capable of carrying the target service and the determining unit 201 determines the target service level corresponding to the target service; the limiting conditions include: constraint conditions corresponding to the target service level to the physical route; the destination physical route refers to a physical route for transmitting the destination traffic.
Optionally, the route generating unit 203 specifically includes: a primary selection subunit 2031 and a selection subunit 2032.
A primary selection subunit 2031, configured to compare the service quality parameter of each physical route in the m physical routes with a service quality parameter threshold corresponding to the target service level, and generate a primary selection route set according to the comparison result;
the service quality parameters comprise parameters for reflecting the transmission quality of optical signals of the physical route; the primary routing set comprises: in the m physical routes, the comparison result meets the required physical route;
a selecting subunit 2032, configured to, after the primary selection subunit generates the primary selection route set, select a target physical route from the primary selection route set.
Optionally, the service quality parameter threshold corresponding to the target service level includes: a Q value margin threshold and an OSNR value margin threshold;
the primary selection subunit 2031 is specifically configured to select, from the m physical routes, a physical route whose Q value margin is greater than the Q value margin threshold and whose OSNR value margin is greater than the OSNR value margin threshold, and generate a primary selection route set; the Q value allowance is used for reflecting the difference value between the Q value corresponding to the target service and the Q value of the physical route; and the OSNR value margin is used for reflecting the difference value of the OSNR value corresponding to the target service and the OSNR value margin of the physical route.
Optionally, the primary selecting subunit 2031 is specifically configured to perform weighted summation on the Q value margin of the route to be determined and the OSNR value margin of the route to be determined, so as to generate a service quality parameter of the route to be determined; wherein, the route to be distinguished is contained in m physical routes; the Q value allowance is used for reflecting the difference value of the Q value corresponding to the transmission target service and the Q value corresponding to the route to be judged; the OSNR value margin is used for reflecting the difference value of the OSNR value corresponding to the transmission target service and the OSNR value corresponding to the route to be judged;
the primary selecting subunit 2031 is further specifically configured to determine that the route to be determined is included in the primary selected route set if the service quality parameter of the route to be determined is greater than the service quality parameter threshold corresponding to the target service level.
Optionally, the selecting subunit 2032 is specifically configured to select, as the target physical route, a physical route with the smallest hop or the shortest transmission distance from the initially selected route set.
The functions and effects of the modules in the route distribution device provided in the embodiment of the present application may refer to the corresponding descriptions in the route distribution method in the foregoing embodiment, and are not described herein again.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Fig. 9 shows another possible structural diagram of the route distribution device in the above embodiment, in the case of an integrated unit. The route distribution device 30 includes: a processing module 301 and a storage module 303. The processing module 301 is used for controlling and managing the actions of the route distribution apparatus 30, for example, the processing module 301 is used for supporting the route distribution apparatus 30 to execute the above processes S101-S103. The communication module 302 is used to support communication between the routing distribution apparatus 30 and other entities. The storage module 303 is used to store program codes and data of the route distribution apparatus for the processing module 301 to call.
In one implementation, as shown in fig. 9, the route distribution device 30 may further include: a communication module 302. The communication module 302 is used to support the communication between the route distribution device 30 and other entities. For example, the communication module 302 is specifically configured to enable the route distribution device 30 to communicate with each node in the ROADM network so as to distribute the determined physical route to the target traffic.
The processing module 301 may be a processor or a controller, such as a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 302 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 303 may be a memory.
When the processing module 301 is a processor as shown in fig. 10, the communication module 302 is a transceiver as shown in fig. 10, and the storage module 303 is a memory as shown in fig. 10, the route distribution device according to the embodiment of the present application may be the following route distribution device 40.
Referring to fig. 10, the route distribution apparatus 40 includes: a processor 401, a memory 403, and a bus 404.
Optionally, when the routing distribution device 40 needs to communicate with other entities, for example, when the routing distribution device 40 needs to communicate with each node in the ROADM network, as shown in fig. 10, the routing distribution device 40 may further include a transceiver 402.
The processor 401, the transceiver 402 and the memory 403 are connected to each other through a bus 404; the bus 404 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
Processor 401 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 403 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic Disc storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 403 is used for storing application program codes for executing the scheme of the application, and the processor 401 controls the execution. The transceiver 402 is configured to receive content input from an external device, and the processor 401 is configured to execute application program codes stored in the memory 403, so as to implement the route distribution method provided in the embodiment of the present application.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.