Sharing risk link group separation solution method, electronic equipment and computer storage medium
Through the depth-first search algorithm and loss pruning technology, fast and efficient shared risk link group separation is achieved, which solves the problem of network topology adjustment and low SRLG separation efficiency in the existing technology, dynamically adapts to large-scale network changes, and improves Improve network flexibility and reliability.
Patent Information
- Application Number
- CN202310184975.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-08-23
AI Technical Summary
It is difficult for the existing technology to perceive and adjust the network topology in real time, resulting in inconsistent business traffic and manual planning, uneven load, and affecting customer business experience. Moreover, the algorithm for solving the problem of shared risk link group separation is inefficient and cannot meet the dynamics of large-scale networks. Change requirements.
The depth-first search algorithm is used to obtain the source-to-destination link information of the communication network topology, estimate the upper bound of the loss of the working path, prune the search space, determine the working path and protection path that satisfy the constraints, and ensure the shared risk path group separation characteristics to achieve fast and efficient SRLG separation routing.
It solves the SRLG separation routing problem in complex large-scale networking within milliseconds, dynamically adapts to network changes, improves network flexibility and reliability, meets customers' differentiated business needs, and shortens path solution time.
Smart Images

Figure CN118540261A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular, to a separation method for solving a shared risk link group (SRLG) group, an electronic device, and a computer storage medium. Background Art
[0002] With the development of network technologies such as 5G and slicing and cloud services, the requirements for networks by large-bandwidth and latency-sensitive service applications are becoming increasingly stringent. Currently, most of the network topologies are statically planned manually and implemented device by device. New changes may occur during the implementation of services in the network, resulting in inconsistent service traffic with the manual planning and uneven loads. Operation and maintenance personnel cannot perceive the instantaneous changes in the network conditions in real time and cannot maintain and adjust the network structure in a timely manner, directly affecting the business experience of customers and causing a large number of customer complaints. Summary of the Invention
[0003] Embodiments of the present application provide a method for separating and solving a shared risk link group, an electronic device, and a computer storage medium, which can achieve SRLG separation and various other constraints.
[0004] In a first aspect, an embodiment of the present application provides a method for separating and solving a shared risk path group. The method includes: obtaining link information from a source point to a target point of a communication network topology, where the link information includes constraint information and loss values of each path between the source point and the target point; where the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors; estimating the value of the upper bound of the loss of the working path; determining K paths in the search space whose loss values are lower than the upper bound of the loss; the search space includes N paths from the source point to the target point; where K < N; searching among the K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers; searching among the M paths to determine a working path and a protection path that meet the requirements, and the protection path and the working path satisfy the separation characteristics of the shared risk path group. In this way, the loss value of the WP is pre-estimated according to the loss and delay of the edges in the graph, and then the search space is efficiently pruned using the pre-estimated value; it is possible to predict the traffic direction according to different constraints within the millisecond level and solve the SRLG separation routing problem corresponding to complex large-scale network formations.
[0005] In one possible implementation, a depth-first traversal search space is used; depth-first is to search all nodes and edges of one of N paths in the order of parent and child nodes, and then search other paths. In this way, when a certain node is traversed using the depth-first search mode, if the loss or delay of the path no longer meets the set conditions, the entire subtree is removed from the search space, and its child nodes do not need to be explored. Compared with other graph traversal methods, such as breadth-first search and hierarchical search, depth-first search requires less storage space.
[0006] In a possible implementation, determining K paths in the search space whose loss values are lower than the loss upper bound includes: traversing N paths from the source point to the target point; during the traversal process, accumulating the loss values of each edge in the current path one by one, and removing the current path from the search space when the accumulated value is greater than the loss upper bound; obtaining K paths whose loss values are lower than or equal to the loss upper bound. In this way, pruning can be performed according to the loss requirements. If the loss of the path no longer meets the set conditions, the entire subtree is removed from the search space, narrowing the scope of the search traversal.
[0007] In a possible implementation, searching among K paths to determine a working path that satisfies one or more constraints includes: increasing the value of the upper loss bound under the condition that searching among the K paths for a working path that satisfies one or more constraints fails; determining L paths in the search space whose loss values are less than or equal to the increased upper loss bound; the L paths do not include the K paths; searching among the L paths to determine a working path that satisfies one or more constraints. In this way, the estimated upper loss bound does not need to be accurate. If a path that satisfies the constraint information is not found in a round of search, the value of the pre-estimated upper loss bound can be increased to start a new round of search.
[0008] In one possible implementation, the estimated loss upper bound Cost max The value of includes: The upper limit of loss Cost is calculated according to the following formula max Values: Among them, α is the adjustable coefficient, d min is the lower bound of the delay constraint, minC is the path with the minimum loss from the source to the destination, and minD is the path with the minimum delay from the source to the destination. In this way, the value of the upper bound of the loss can be reasonably estimated based on the delay and loss information of the communication network.
[0009] In a possible implementation, the value of the upper limit of loss is increased by increasing the value of the adjustable coefficient α. In this way, the value of the upper limit of loss can be increased.
[0010] In a possible implementation, one or more constraints include a delay time range constraint of the path, so that pruning can be performed according to the delay time range to narrow the scope of the search traversal.
[0011] In a possible implementation, the working path is the path with the least loss among multiple paths that satisfy one or more constraints. In this way, the working path with the lowest cost can be found to meet the needs of customers.
[0012] In a possible implementation, searching among M paths to determine a working path and a protection path that meet the requirements includes: removing paths corresponding to all edges involved in the SRLG group corresponding to the WP among the M paths, and searching for a protection path that meets the constraints in the remaining search space. In this way, all edges involved in the SRLG group corresponding to the WP can be pruned, further narrowing the scope of the search protection path traversal.
[0013] In a possible implementation, searching among M paths to determine the working path and protection path that meet the requirements includes: when a working path is found but the corresponding protection path cannot be found, one or more continuous loss intervals are determined according to the loss of the working path; based on the search space corresponding to one or more continuous loss intervals, the working path and protection path that meet the requirements are determined. In this way, based on the certain functional relationship between the loss and delay time of the edge in the topological graph structure, the continuous interval search can be used to quickly determine the protection path, which can support various constraints and solve the trap problem in the SRLG separation problem.
[0014] In a possible implementation, searching among M paths to determine the working path and protection path that meet the requirements includes: when a working path is found but the corresponding protection path cannot be found, determining one or more interval loss intervals based on the loss of the working path; searching the search space corresponding to the one or more interval loss intervals to determine the working path and protection path that meet the requirements. In this way, based on the irrelevance of the edge loss and delay time in the topological graph structure, the protection path can be quickly determined by using the jumping interval search, which can support various constraints and solve the trap problem in the SRLG separation problem.
[0015] In a possible implementation, the protection path and the working path meet the constraint of separation of delay time difference, so that the protection path with the delay time that best matches the working path can be found to meet customer needs.
[0016] Second aspect, an embodiment of the present application provides an electronic device, including at least one memory for storing a program; and at least one processor for executing the program stored in the memory. When the program stored in the memory is executed, the processor is configured to execute the method according to any one of the first aspect. The beneficial effects are as described in the first aspect and will not be elaborated here.
[0017] Third aspect, an embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions run on a computer, the computer is caused to execute the method according to any one of the first aspect.
[0018] Fourth aspect, an embodiment of the present application provides a device for separating and solving a shared risk path group, including: an information acquisition module for acquiring source-to-target link information of a communication network topology, where the link information includes constraint information and loss values of each path between the source point and the target point; where the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors; a loss pre-estimation module for estimating the value of the upper bound of the loss of the working path; a loss pruning module for determining K paths in the search space whose loss values are lower than the value of the upper bound of the loss; the search space includes N paths from the source point to the target point; where K < N; a constraint pruning module searches among the K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers; a separated path determination module searches among the M paths to determine a working path and a protection path that meet the requirements, and the protection path and the working path satisfy the separation characteristic of the shared risk path group. Thus, the present application pre-estimates the loss value of the working path based on the loss and delay of the edges in the graph, and then uses the pre-estimated value to efficiently prune the search space; it can, within the millisecond level, predict the traffic direction according to different constraints and solve the SRLG separation routing problem corresponding to complex large-scale network formations. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the multiple embodiments disclosed in this specification, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only the multiple embodiments disclosed in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0020] The following briefly introduces the drawings required for the description of the embodiments or the prior art.
[0021] Figure 1 is a schematic diagram of the optical path topology of a network;
[0022] Figure 2 is Figure 1The underlying physical structure diagram corresponding to the optical path topology diagram shown;
[0023] Figure 3 A flowchart of using the KSP algorithm to solve SRLG separation provided for the first technical solution;
[0024] Figure 4 Flow chart of the TA algorithm provided for the second technical solution;
[0025] Figure 5 A schematic diagram of an application scenario of the method for separating and solving shared risk path groups provided in an embodiment of the present application;
[0026] Figure 6 A flow chart of a method for separating and solving shared risk path groups provided in an embodiment of the present application;
[0027] Figure 7 A schematic diagram of a depth-first search traversal provided in an embodiment of the present application;
[0028] Figure 8 is a schematic diagram of the distribution of all path losses in the search space provided in an embodiment of the present application;
[0029] Fig. 9 A flowchart for determining a working path and a protection path provided in an embodiment of the present application;
[0030] Fig.10 A flowchart of using interval search to determine a protection path provided in an embodiment of the present application;
[0031] Fig.11 A conceptual diagram for interval search;
[0032] Fig.12 A schematic diagram of interval search provided in Example 2 of the present application;
[0033] Fig.13 A schematic diagram of a device for separating and solving a shared risk path group provided in an embodiment of the present application;
[0034] Fig.14 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0036] In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way.
[0037] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refers to two or more systems, and multiple terminals refers to two or more terminals.
[0038] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0039] In the description of the embodiments of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0040] In the description of the embodiments of the present application, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0041] In the description of the embodiments of the present application, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps will be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0043] In a communication network, the topology of the network is usually described by a graph structure. Users and communication relays are described as nodes in the graph, and the communication links between users and communication relays are described as edges in the graph. The communication links corresponding to different edges in the topology may share some of the same physical resources. For example, the links corresponding to two different edges pass through the same optical cable. In this case, if the optical cable is damaged, then the two different edges will be disconnected at the same time in the topology. Therefore, a group of links that share the same physical resources is called a shared risk link group (SRLG).
[0044] Assume that there are multiple paths whose edges do not pass through any of the same SRLGs. Then, these links are called paths that satisfy SRLG separation.
[0045] The purpose of routing technology is to find a communication path from the source to the destination. The communication between the source and the destination needs to ensure reliability and flexibility. Reliability means that when the communication path between the source and the destination is interrupted due to some reasons, other communicative paths can be switched to communicate. Flexibility means that the communication path from the source to the destination needs to meet a series of constraints specified by the customer.
[0046] In order to ensure reliability, in actual application scenarios, in addition to finding a working path (WP) from the source point to the target point, it is also necessary to find a protecting path (PP) that meets the SRLG separation characteristics between the WP. When the WP cannot communicate for some reason, it switches to the PP for communication.
[0047] In order to ensure flexibility, a series of constraints need to be met between WP and PP or between WP and PP themselves. For example, the delay time of WP needs to be within a certain allowed range; the delay time difference between WP and PP cannot exceed a certain threshold, etc.
[0048] Since in specific application scenarios, the communication from the source point to the target point mainly occurs on the WP, in solving the SRLG separation problem, the cost / loss / cost corresponding to the WP should be as small as possible. The cost corresponding to the WP includes the sum of the fiber loss, physical consumption (such as power consumption) of the path, and the cost of each fiber usage.
[0049] Therefore, in the communication network, how to find a WP from the source point to the target point, and at the same time find a PP from the source point to the target point, WP and PP need to satisfy SRLG separation and various other constraints, and the cost of WP should be as small as possible, which is an urgent problem to be solved.
[0050] Figure 1 It is a schematic diagram of the optical path topology of a network. Figure 1 As shown in the figure, there are four optical fiber paths in the optical path topology of the network, path 1→2→4→7, path 1→2→5→7, path 1→3→5→7 and path 1→3→6→7. It can be seen that the two paths 1→2→5→7 and 1→3→6→7 do not pass through the same points or edges except for the source and destination points, and are separated. Similarly, the two paths 1→2→4→7 and 1→3→6→7 are separated; the two paths 1→2→4→7 and 1→3→5→7 are separated.
[0051] Figure 2 yes Figure 1 The underlying physical structure diagram corresponding to the optical path topology diagram shown in FIG. Figure 2 As shown in the figure, T1, T2, and T3 are three optical fiber pipelines. If one of the pipelines is damaged, the optical fiber in the pipeline will fail at the same time, resulting in the invalidity of the related edges in the optical path topology graph. In the path 1→2→5→7 and the path 1→3→6→7, the two edges 5→7 and 6→7 pass through the T3 pipeline. In the case of a failure in the T3 pipeline, these two paths will fail at the same time. Therefore, the path 1→2→5→7 and the path 1→3→6→7 are not SRLG separated.
[0052] At present, there are two technical solutions for solving the SRLG separation problem: the first is the algorithm for finding the optimal solution, including: integer linear programming (ILP) algorithm and K-shortest path (KSP) algorithm. The second is the heuristic algorithm, including: trap avoidance (TA) algorithm, conflict set elimination (COLE) algorithm and conflict shared risk path group elimination (COSE) algorithm.
[0053] Figure 3 The flowchart of using KSP algorithm to solve SRLG separation is provided for the first technical solution. Figure 3 As shown, the KSP algorithm is used to solve the SRLG separation link, which includes the following steps:
[0054] S301, load a light path topology diagram from a source point to a target point, set a parameter k=1, and a threshold K, where K is a positive integer greater than 1.
[0055] S302, determine a path with the kth smallest cost value based on multiple paths from the source point to the target point. Here, the cost value is the sum of the cost values of all edges under a path. The number of paths with the kth smallest cost value is one or more, and one of them can be selected.
[0056] S303, determine whether the path with the kth smallest cost value satisfies the WP constraint. If it does not satisfy the WP constraint, execute S304. If it satisfies the WP constraint, execute S305. Here, the WP constraint means that the sum of the delays of all edges under a path is less than a certain set threshold.
[0057] S304, query each path in the optical path topology diagram of the network, and find a path with the k+1th smallest cost value, until a WP that meets the constraints is found; or k reaches the threshold K, at which time the algorithm stops.
[0058] Specifically, each edge in the WP with the kth smallest cost is removed from the graph in turn, and then the WP with the smallest cost in the new graph structure after the edge is removed is found to be the WP with the k+1th smallest cost.
[0059] S305, searching for a PP that satisfies the SRLG constraint. If a PP that satisfies the constraint is found, the optimal WP and the corresponding PP are found, and the algorithm stops.
[0060] The step of finding a PP that satisfies the SRLG constraint includes removing all edges involved in the SRLG grouping corresponding to the WP in the optical path topology graph, obtaining a new graph, and searching for a PP that satisfies the constraint. There may be more than one PP that satisfies the constraint, and it is sufficient to find one.
[0061] Otherwise, if no PP satisfying the constraint is found, the process returns to execute S304 - S305 .
[0062] When the KSP algorithm cannot find the corresponding PP for the WP with the kth smallest cost value, it needs to determine the WP with the k+1th smallest cost value based on the current WP. This step is to obtain multiple new graphs by removing each edge in the WP with the kth smallest cost value from the optical path topology graph in turn. The number of new graphs is equal to the number of edges contained in the WP, and then find the WP with the smallest cost value in each new graph structure after the edges are removed in turn. Since the new graph needs to be solved, the KSP algorithm takes too long to solve the SRLG separation problem, and the solution is very time-consuming.
[0063] Since the SRLG separation problem is an NP-hard problem, when the scale of the communication network is large, the KSP algorithm requires a long running time, which is often unacceptable in practical applications.
[0064] Figure 4The flowchart of the TA algorithm provided for the second technical solution. Figure 4 As shown in Figure 1, the TA algorithm is a heuristic algorithm. The TA algorithm is used to solve the SRLG separation path, which includes the following steps:
[0065] S401, load the optical path topology from the source point to the target point, and initialize various parameters, including: setting the dangerous edge set to an empty set, and the initial penalty weights of all edges to 0. Dangerous edges are edges that are likely to cause PP to not be found.
[0066] The dangerous edge set can be set to an empty set by setting the initial value of the number of dangerous edges to 0. The significance of setting the penalty weight is that when selecting edges, edges with small penalty weights are given priority.
[0067] S402, searching for a WP that satisfies the constraints.
[0068] The constraints of WP include but are not limited to: the delay time of WP needs to be within a certain allowable range; and the cost / loss / cost of WP is as small as possible.
[0069] S403, find a WP that meets the constraints, determine the dangerous edges in the WP, and update the dangerous edge set.
[0070] If in an intuitive scenario the edges in the WP that satisfy the constraints are all dangerous edges, all the edges in the WP that satisfy the constraints are added to the dangerous edge set.
[0071] S404: Update the penalty weights of all edges in the light path topology graph from the source point to the target point according to the dangerous edge set.
[0072] S405, after updating the dangerous edge set and penalty weight, searching for PP on the updated graph, where PP does not include any edge in WP.
[0073] The delay time difference between the WP and the PP cannot exceed a certain threshold. If the found PP does not satisfy the constraint, the penalty weight is continuously updated and S403-S405 are executed until a PP satisfying the constraint is found.
[0074] S406, check whether WP and PP are SRLG separated. If so, the problem solving ends; otherwise, it is necessary to determine the maximum risk edge set based on WP and PP, return to step S403, and enter the next round of solving.
[0075] In the TA algorithm, the core idea is to determine the maximum risk edge. The maximum risk edge is the cause of separation failure. When WP and PP do not meet the SRLG separation requirements, the maximum risk edge is the edge with the highest probability of causing separation failure. If the maximum risk edge can be accurately found, then it is guaranteed to find the optimal solution to the SRLG separation problem.
[0076] However, TA algorithms cannot efficiently determine the maximum risk edge set. Therefore, although the execution time is shorter than that of precise algorithms such as the KSP algorithm, it still cannot meet the requirements of complex large-scale group business in actual application scenarios; it cannot handle complex and changing constraints. Under complex constraints, TA-related algorithms will not be able to find the corresponding PP, and thus cannot determine the maximum risk edge based on WP and PP, and the algorithm cannot continue to execute.
[0077] Different from the above two technical solutions, the method for separating and solving the shared risk path groups provided in the embodiment of the present application belongs to a routing algorithm and has important applications in the path scheduling of optical fiber tunnels.
[0078] Figure 5 Schematic diagram of the application scenario of the method for separating and solving the shared risk path group provided in the embodiment of the present application. Figure 5 As shown, in the fiber optic tunnel planning scenario of the automatic network management and control system (iMaster NCE), the flow direction is predicted according to different constraints, the network topology architecture 51 is reconstructed, and network parameters such as network delay and available flow are dynamically collected; in combination with customer needs 52 and network parameters, the SRLG separation path is planned to obtain a planned path 53, wherein the planned path 53 includes WP and PP. The WP and PP obtained in this way can meet the differentiated business needs of customers and support multi-factor combination constraints. Since the entire network parameters are collected dynamically, the SRLG separated WP and PP that are compatible with the dynamic changes of the entire network topology architecture 51 are found according to the real-time network traffic conditions. Therefore, the solution time of the SRLG separated path provided by the method of the embodiment of the present application can meet the requirements of the millisecond level.
[0079] The method for separating and solving shared risk path groups provided in the embodiment of the present application is used for path navigation, which can provide fast and high-quality SRLG separation path solutions, bringing operators the value of rapid cross-domain activation, maximized network utilization, flexible business scheduling, etc.
[0080] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0081] The method for separating and solving a shared risk path group provided by an embodiment of the present application includes obtaining link information from a source point to a target point of a communication network topology structure, where the link information includes constraint information and loss values of each path between the source point and the target point; the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors; estimating the value of the upper bound of the loss of the working path; determining K paths in the search space whose loss values are lower than the value of the upper bound of the loss; the search space includes N paths from the source point to the target point; where K < N; searching among the K paths to determine M paths that meet the constraint information, where M < K, and K, N, and M are positive integers; searching among the M paths to determine a qualified working path and a protection path, and the protection path and the working path satisfy the separation characteristic of the shared risk path group.
[0082] Figure 6 It is a flowchart of the method for separating and solving a shared risk path group provided by an embodiment of the present application. As Figure 6 shown, the process of the method for separating and solving a shared risk path group is as follows.
[0083] S61. Obtain the link information from the source point to the target point of the communication network topology structure, where the link information includes constraint information and loss values of each path between the source point and the target point; the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors.
[0084] In the topology structure of the communication network, different edges correspond to links that share certain physical resources, such as different optical fibers or cables. The consumption caused by using these physical resources, such as the loss of optical fibers / cables and power consumption, are physical losses. The fees paid for using these physical resources are economic costs, such as the rent for leasing a certain communication network, or the funds spent on building a network integration, etc.
[0085] The constraint information refers to one or more conditions specified by the customer that the communication path from the source point to the target point needs to meet, including the delay of the WP, the loss, the delay difference between the WP and the PP, etc. Among them, the delay refers to the delay of information or signal transmission from the source point to the target point.
[0086] The routing management system loads the topology graph from the source point to the target point and its network parameters, and obtains the link information of each communication path between the source point and the target point according to its network parameters. The link information includes the constraint information and loss values of each communication path. Among them, the topology graph can be an optical path topology graph, the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors.
[0087] S62. Estimate the value of the upper bound of the loss of the working path.
[0088] In the SRLG separation problem with delay constraints, according to the loss from the source point to the target point and the pre-estimated upper bound of the delay loss Cost max The value of is:
[0089]
[0090] where α is an adjustable coefficient, d min is the lower bound of the delay constraint, minC is the minimum loss of the path from the source point to the target point, and minD is the minimum delay time of the path from the source point to the target point.
[0091] Setting the value of the upper bound of the loss of the working path can effectively reduce the search range.
[0092] S63. Determine K paths in the search space whose loss values are lower than the upper bound of the loss value; the search space includes N paths from the source point to the target point; where K < N.
[0093] In the search space including N paths from the source point to the target point, if the loss value of a certain path is greater than or equal to the upper bound of the loss value, then remove this path from the search space, and finally determine K paths in the search space whose loss values are lower than the upper bound of the loss value.
[0094] S64. Search among the K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers.
[0095] Search among the K paths whose loss values are lower than the upper bound of the loss value. If a certain path does not satisfy one or more constraint factors in the constraint information, then remove this path from the search space, and finally determine M paths that satisfy the constraint information.
[0096] The constraint information includes one or more constraint factors specified by the customer. According to one or more constraint factors, perform one or more rounds of search on the paths in the search space, remove the paths that do not meet any of the conditions from the search space, and finally determine M paths that satisfy the constraint information.
[0097] S65. Search among the M paths to determine the working path and the protection path that meet the requirements. The protection path and the working path satisfy the separation characteristics of the shared risk path group.
[0098] If in this round of search, a working path that satisfies the constraints is successfully found, continue to search for a protection path that satisfies the separation characteristics of the shared risk path group with the working path until the working path and the protection path that meet the requirements are determined.
[0099] If a working path or protection path that meets the constraint information is not found in this round of search, the value of the estimated upper limit of the loss of the working path is increased, and the process returns to execute S63-S65 until a working path and protection path that meet the requirements are determined.
[0100] It should be pointed out that the estimated upper limit of the path loss may be inaccurate, and its main function is to prune the search space. If a WP that satisfies the constraints is successfully found in this round of search, the algorithm will enter the stage of searching for PP; otherwise, the algorithm can increase the estimated value of the upper limit of the loss by adjusting α, and then start a new round of search. Since the upper limit of the loss is set, the search space is pruned efficiently, and the search at this stage will be very fast.
[0101] In some feasible implementations, step S63 may be implemented by following steps S631-S632.
[0102] S631, traverse the search space in depth-first order, wherein the depth-first order is to search all nodes and edges of one of the N paths in the order of parent and child nodes, and then search other paths.
[0103] Figure 7 A schematic diagram of a depth-first search traversal provided in an embodiment of the present application. Depth-first search traversal is a graph node traversal method. Figure 7 Given the topological structure of the network, the order of depth-first search traversal is: 1→2→5→3→4→6. The specific process of implementing depth-first search traversal is as follows: S6311-S6314.
[0104] S6311, traverse from the source point to the next level of nodes to obtain one or more child nodes of this source point.
[0105] Exemplarily, the source point 1 is searched first, and then the nodes at the next level are traversed from the source point 1 to obtain the three child nodes 2, 3, and 4 of the source point 1.
[0106] S6312, select one from one or more child nodes to continue traversing to the next level until there is no next-level child node, determine a path, and retreat to its parent node.
[0107] For example, one of the child nodes 2, 3, and 4 is selected to continue traversing to the next level. For example, child node 2 is selected to traverse to the next level, and a child node 5 is obtained below child node 2. Traversing from child node 5 to the next level, there is no next-level child node, so the first path 1→2→5 is determined, and the node is retreated to the parent node 2 of node 5; if node 2 has no untraversed child nodes, the node is retreated to the parent node 1 of node 2.
[0108] S6313, traverse the other untraversed child nodes of its parent node in turn to complete the depth-first search traversal.
[0109] For example, if the source point 1 has two child nodes 3 and 4 that have not been traversed, the child node 3 of node 1 is traversed. After the traversal of child node 3 is completed, the second path 1→3 is determined, and the parent node 1 of child node 3 is retreated; the next level child node 4 of node 1 is traversed to obtain child node 6, thereby determining the third path 1→4→6. At this point, all paths have been traversed, that is, the depth-first search is completed.
[0110] S632: During the depth-first search traversal, synchronized with the depth of the traversal, the loss value of each edge traversed in the current path is accumulated one by one, and when the accumulated value of the loss is greater than the upper limit of the loss Cost, max When the value of is, the current path is removed from the search space; and K paths whose loss values are lower than or equal to the value of the loss upper bound are obtained. Specifically, the following steps S6321-S6323 are included.
[0111] S6321, the loss cost of each edge traversed under the current i-th path i-1 , cost i-2 ...cost i-j The values of are accumulated one by one:
[0112] Cost i-j =cost i-1 +cost i-2 +…+cost i-j
[0113] For example, Figure 1 Taking the first path 1→2→4→7 as an example, there are three edges: 1→2, 2→4 and 4→7. During the depth-first search traversal, when traversing to the second edge of the first path, the loss values of edges 1→2 and 2→4 are accumulated one by one.
[0114] S6322, when the accumulated value of loss is greater than the upper limit of loss Cost max If the value is , the current path is removed from the search space.
[0115] For example, the loss from 1 to 2 is cost 1-1 , the loss value of 2→4 is cost 1-2 When traversing to the second edge, the loss is accumulated Cost 1-2 =eost 1-1 +cost 1-2 , if the accumulated value Cost 1-2 Greater than the upper limit of loss Cost maxThe value of , then the path 1→2→4→7 is removed from the search space.
[0116] S6323, continue depth-first traversal of one of the remaining N-1 paths from the source point to the target point, execute S6321-S6322, and finally, obtain K paths whose loss values are lower than the loss upper bound.
[0117] Using the depth-first search mode to traverse the graph nodes can facilitate pruning. Pruning refers to removing some paths. In an embodiment of the present application, when a certain node is traversed using the depth-first search mode, if the loss or delay of the path no longer meets the set conditions, the entire subtree is removed from the search space, and there is no need to explore other child nodes. Compared to other graph traversal methods, such as breadth-first search and hierarchical search, depth-first search requires less storage space.
[0118] Figure 8 Schematic diagram of the distribution of all path losses in the search space provided by the embodiment of the present application. Figure 8 As shown in the figure, there are many paths in the entire search space. The value of each light gray column corresponding to the horizontal axis represents a different loss cost, and the height of each light gray column corresponding to the vertical axis represents the number of paths from the source point to the target point corresponding to the loss. The range of loss cost is 0-130.
[0119] For example, the number of paths with a cost value of 71 is about 550,000. Taking 71 as the upper limit of the loss, after searching in depth-first search mode, the paths to be traversed are all paths with a loss value lower than 71. This greatly narrows the search range.
[0120] In some feasible implementations, the constraint information in step S64 includes the delay time range of the path, and a search may be performed among K paths to determine M paths that satisfy the delay time range constraint information, where M<K, and K, N, and M are positive integers.
[0121] Figure 8 The height of the vertical axis corresponding to the black part in each light gray column represents the number of paths that meet the delay time range constraint. It can be seen that under each loss cost, the paths that meet the delay time range constraint only account for a small part of the number of paths.
[0122] For example, among the paths with a cost value of 71, only one third of them meet the delay time range constraint. In the subsequent depth-first search process, only the paths included in the black column part with a cost value less than or equal to 71 and meeting the delay time range need to be searched and traversed, further narrowing the scope of the search and traversal.
[0123] In the depth-first search traversal process, the delay time of each edge traversed in the current path can be accumulated one by one in synchronization with the traversal depth, and when the accumulated value of the delay time exceeds the set delay time range, the current path is removed from the current search space to obtain M paths that meet the delay time range constraint. Specifically, the following steps S641-S643 are included.
[0124] S641, the delay time t of each edge traversed under the current i-th path i-1 , t i-2 , ..., t i-j The values of are accumulated one by one:
[0125] T i-j =t i-1 +t i-2 +…+t i-j
[0126] For example, Figure 1 Take the first path 1→2→4→7 as an example. There are three edges: 1→2, 2→4 and 4→7. The delay time of 1→2 is t 1-1 , the delay time from 2 to 4 is t 1-2 , the delay time from 4 to 7 is t 1-3 , in the depth-first search traversal process, traversing to the second edge of the first path, the delay time t of edges 1→2 and 2→4 is set 1-1 ,t 1-2 Add them together one by one.
[0127] S642, accumulate the value T during the delay time i-j If the value exceeds the set delay time range, the current path is removed from the search space.
[0128] For example, the delay time range is set to 3-5 milliseconds, t 1-1 The value is 2 milliseconds, t 1-2 The value is 4 milliseconds. When traversing to the second side, the delay time accumulates T 1-2 =t 1-1 +t 1-2 =2+4=6, accumulated value T 1-2 is 6 milliseconds, which is greater than the upper limit of the delay time range of 5 milliseconds, the current path 1→2→4→7 is removed from the search space.
[0129] As another example, the delay time range is set to be 3-5 milliseconds, t 1-1 The value is 1 millisecond, t 1-2 The value is 1.5 milliseconds, t 1-3 The value of is 0.3 milliseconds. When the three edges are traversed, the accumulated delay time, T 1-3 =t1-1 +t 1-2 +t 1-3 =1+1.5+0.3=2.8, the accumulated value is 2.8 milliseconds, which is less than the lower limit of the delay time range of 3 milliseconds, so the current path 1→2→4→7 is removed from the search space.
[0130] In the iMaster NCE tunnel path orchestration scenario, it is necessary to predict the flow direction based on different constraints. In order to meet differentiated business requirements, it is necessary to support multi-factor combination constraint paths. For multi-factor combination constraints, one or more rounds of depth-first search traversal can be performed for each constraint factor. The specific steps can be adaptively adjusted according to the corresponding constraint factors in reference to the steps of S641-S642. I will not go into details here. Each round of depth-first search traversal will prune the search space to gradually narrow the search range.
[0131] Since the above steps have effectively pruned the search space, the search range has been reduced from the initial N paths to M paths that satisfy one or more constraints. Therefore, the subsequent search phases for working paths and protection paths will be very fast.
[0132] If the value of M is 0, that is, no path that satisfies the constraint information is found in this round of search, the value of the estimated upper bound of the loss can be increased to start a new round of search.
[0133] In some feasible implementations, under the condition that the search fails among K paths, the value of the upper loss bound can be increased; L paths in the search space whose loss values are lower than the increased value of the upper loss bound are determined; the K paths are not included in the L paths; and M paths that satisfy the constraint information are searched among the L paths.
[0134] For example, Figure 8 The loss cost = 71 is used as the upper limit of the loss. The depth-first search mode is used for searching. No path that meets the delay time constraint is found. After the search fails, the value of the upper limit of the loss can be increased to 73, which adds L = 66,000 paths. Return to execute steps S63-S64, search among the 66,000 paths, and determine M paths that meet the constraint information.
[0135] In some feasible implementations, the upper limit of the loss Cost can be increased by adjusting α max value, returns to execute steps S62-S64.
[0136] In some practicable implementations, the working path is a path with the smallest loss among M paths that satisfy one or more constraints.
[0137] Fig. 9A flowchart for determining a working path and a protection path provided in an embodiment of the present application. Fig. 9 As shown, step S65 can determine the working path and the protection path through the following steps S651-S654.
[0138] S651, obtain the loss cost of each path in the M paths i , i=1,2,…,M.
[0139] For example, M=4, and the loss cost of each of the four paths is obtained. i , i = 1, 2, ..., 4. Among them, cost1 = 66, cost2 = 68, cost3 = 67, cost4 = 65.
[0140] S652, sort the losses and determine the cost of the losses i The smallest path is WP.
[0141] Exemplarily, the loss values of the above four paths are sorted as follows: cost4<cost1<cost3<cost2, and the path corresponding to cost4 with the smallest loss value is determined to be WP.
[0142] S653, searching for PP according to WP, where PP and WP satisfy the separation characteristic of the shared risk path group, wherein the constraint information is that the delay time difference between PP and WP cannot exceed a certain threshold.
[0143] Specifically, according to the optical path topology, the paths corresponding to all the edges involved in the SRLG group corresponding to the WP in the M paths can be cut off, and the PP that satisfies the constraint that the delay time difference with the WP does not exceed a certain threshold can be searched in the remaining search space.
[0144] S654: When a PP corresponding to the WP that satisfies the delay time difference constraint is found, the algorithm ends.
[0145] There may be multiple PPs that satisfy the delay time difference constraint. In order to reduce the search time and improve efficiency, the algorithm can be terminated when a PP that satisfies the delay time difference constraint is found by depth-first traversal.
[0146] In order to ensure the stability and reliability of the communication network, as an alternative, a depth-first traversal can be used to search for two PPs that meet the delay time difference constraint.
[0147] When a WP is found but the corresponding PP cannot be found, one or more loss intervals can be delineated according to the loss of the WP at this time, and the graph structure can be traversed within the loss interval to find possible WPs and PPs; when no WP and PP that meet the requirements can be found in a certain loss interval, the next loss interval is entered for search. The key parameter of interval search is the step size (Δ) selection.
[0148] Fig.10 The flowchart of using interval search to determine the protection path provided in the embodiment of the present application. Fig.10 As shown, the interval search for WP and PP includes the following steps S6531-S6535:
[0149] S6531, when a WP is found but the corresponding PP cannot be found, the loss interval [wp_cost, wp_cost+Δ] is determined according to the loss wp_cost of the WP, such as Fig.11 As shown, Δ is the loss step size, and the value of wp_cost+Δ is less than the value of the loss upper bound.
[0150] Exemplarily, the loss cost=71 is used as the upper limit of the loss. When a working path WP that meets the delay time constraint is found but the corresponding PP cannot be found, the loss wp_cost of the working path WP is 40, Δ can be 10, and the loss interval [30,,40] is determined.
[0151] S6532, update the potential WP set within the search range corresponding to the loss interval.
[0152] For example, Figure 8 There are about 50 paths that have not been searched in the loss interval [30,,40], so the potential WP set is updated to 50 paths in the loss interval [30,,40].
[0153] S6533, Searching for PP based on potential WP set.
[0154] Exemplarily, based on 50 paths within the loss interval [30,,40], refer to steps S63-S64 to traverse these 50 paths using depth-first search to determine the WP that meets the constraint information, and refer to S651-S654 to determine the PP that meets the delay time difference constraint.
[0155] S6534, determine whether a PP that meets the requirements is found. If a PP that meets the requirements is found, the algorithm ends; if no PP that meets the constraints is found, execute S659.
[0156] S6535, when all potential WPs have been traversed, return to execute S656; when all potential WPs have not been traversed, return to S657.
[0157] Because of the constraints of the loss interval, the search in this stage will also be very fast. When the path in a certain loss interval cannot find a path that meets the requirements of WP and PP, the algorithm will enter the next interval for search.
[0158] A method for solving the shared risk path group separation provided in an embodiment of the present application can find WP and PP that meet the SRLG separation requirements within milliseconds for complex large-scale networks, such as a typical 200-node, 2000-path network, with the WP having the smallest loss, the WP satisfying the delay range constraint, and the WP and PP satisfying the delay difference constraint.
[0159] Example 1
[0160] Embodiment 1 of the present application provides a method for separating and solving a shared risk path group, which is applied to an automatic network management and control system (iMaster NCE). The automatic network management and control system (iMaster NCE) loads a topology map from a source point to a target point and its network parameters, and obtains link information of each communication path between the source point and the target point based on its network parameters. The loss and delay time of the edge in the topology map structure satisfy a certain functional relationship. The solution method includes the following steps:
[0161] S71, obtaining link information from the source point to the target point of the communication network topology structure, wherein the link information includes constraint information and loss value of each path between the source point and the target point; the loss information includes physical loss and economic cost; the constraint information includes the delay time range set by the user, and the loss and delay time of the edge in the communication network topology structure satisfy a certain functional relationship.
[0162] S72, estimate the upper bound of WP loss based on the functional relationship between edge loss and delay.
[0163] Exemplarily, the edge loss C and the delay time D have a functional relationship: X = f (D) = KD,
[0164] The delay time range set by the user is 3-5 milliseconds, and the upper bound of the WP loss can be obtained based on the function relationship:
[0165] S73, referring to the implementation method of executing S63-S64, search for K paths in the topology structure whose loss values from the source point to the target point are less than the upper limit of the loss, and determine M paths that meet the delay time range constraint information.
[0166] Exemplarily, referring to the implementation of S63-S64, paths with a loss value from the source point to the target point less than 3Kα in the topology structure are searched to obtain 10 paths, and 5 paths are obtained by searching for paths that meet the delay time range of 3-5 milliseconds among the 10 paths.
[0167] S74, referring to the implementation method of S65, find WP and PP that satisfy the constraints.
[0168] It should be noted that since the edge loss and delay time in the communication network topology satisfy a certain functional relationship, in the interval search scheme, only a small number of intervals need to be examined to find the WP and PP that satisfy the SRLG separation constraint.
[0169] In some feasible implementations, when a WP is found but the corresponding PP cannot be found, based on the loss wp_cost of the WP, by searching for continuous loss intervals, within the search range corresponding to the continuous loss intervals, refer to step S655-59 to update the potential WP set and find the WP and PP that satisfy the SRLG separation constraint.
[0170] In Example 1, since the edge loss and delay time in the communication network topology structure satisfy a certain functional relationship, the upper bound of the WP loss can be estimated very accurately. In the interval search scheme, only a small number of continuous intervals need to be examined to find the WP and PP that satisfy the SRLG constraint. The embodiment of the present application can solve the SRLG separation routing problem corresponding to a typical 200-node, 2000-path scale network within milliseconds.
[0171] Example 2
[0172] Example 2 of the present application provides a method for separating and solving shared risk path groups, which is applied to a general communication network topology graph structure. Compared with Example 1, the loss and delay of the edges in this communication network topology graph do not have a functional relationship, and the interval search scheme needs to examine many adjacent loss intervals to obtain a feasible solution.
[0173] Since the loss and delay of the edges in the network topology structure do not have an obvious functional relationship, the value of the WP pre-estimated loss found will be inaccurate. However, the inaccuracy of the WP pre-estimated value will not have a great impact on this application, because the purpose of the WP pre-estimated value is to efficiently prune the search space, and even an inaccurate WP pre-estimated value can effectively and efficiently prune the search space. The value of the upper limit of the loss of the working path can be estimated with reference to the implementation method of executing steps S61-S62, and the value of the upper limit of the loss of the working path can be estimated with reference to the implementation method of executing S63-S65, and the WP and PP whose source-to-target loss value in the topology structure is less than the upper limit of the loss and satisfies the delay time range constraint information.
[0174] When a WP is found but the corresponding PP cannot be found, for the communication network topology graph structure of Example 2, it may be necessary to determine the search mode of the loss interval search according to the specific graph structure and find a suitable search sequence. For example, if the graph structure is regular, the loss intervals are searched sequentially. If the graph structure is irregular, a jumping loss interval search mode can be used to efficiently solve such communication network topology structures.
[0175] In some feasible implementations, when a WP is found but the corresponding PP cannot be found, the potential WP set can be updated based on the WP loss wp_cost by searching the jump loss interval within the search range corresponding to the jump loss interval, referring to step S655-59 to find the WP and PP that satisfy the SRLG separation constraint.
[0176] When a WP is found but the corresponding PP cannot be found, the first loss interval can be set according to the loss wp_cost of the WP and searched in the first loss interval. If the WP and PP that satisfy the SRLG separation constraint cannot be found, the second loss interval is set again at a certain interval to search, and so on, until the WP and PP that satisfy the SRLG separation constraint are found. Where kΔ is the interval between the first loss interval and the second loss interval.
[0177] For example, Fig.12 As shown, the first loss interval is [wp_cost, wp_cost+Δ]. If WP and PP that satisfy the SRLG separation constraint still cannot be found, the second loss interval [wp_cost+kΔ, wp_cost+(k+1)Δ] is set.
[0178] It is understandable that the interval between the first loss interval and the second loss interval can be adjusted, and can be several times of the loss step length Δ, or can be any value. If the interval is too large to find WP and PP that satisfy the SRLG separation constraint, the interval between the second loss interval and the third loss interval can be reduced before the next round of search.
[0179] In some feasible implementations, the interval between the first loss interval and the second loss interval may be any value.
[0180] In Example 2, the embodiment of the present application first needs to determine the search mode of the interval search according to the specific graph structure and find a suitable search sequence. This part can be completed in the preprocessing stage and does not affect the real-time solution time of the problem. After completing the appropriate preprocessing steps, the embodiment of the present application can solve the SRLG separation routing problem corresponding to a typical 200-node, 2000-path scale network within milliseconds.
[0181] Fig.13 This is a schematic diagram of an apparatus for solving the separation of a shared risk path group provided by an embodiment of the present application. As Fig.13 shown, the apparatus 130 includes: an information acquisition module 131, configured to acquire the source-to-target link information of the communication network topology, where the link information includes the constraint information and the loss value of each path between the source point and the target point; wherein, the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors; a loss pre-estimation module 132, configured to estimate the value of the upper bound of the loss of the working path; a loss pruning module 133, configured to determine K paths in the search space whose loss values are lower than the value of the upper bound of the loss; the search space includes N paths from the source point to the target point; wherein, K < N; a constraint pruning module 134, configured to search among the K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers; a separated path determination module 135, configured to search among the M paths to determine a working path and a protection path that meet the requirements, and the protection path and the working path satisfy the separation characteristic of the shared risk path group.
[0182] As an example of a software functional unit, the apparatus for solving the separation of a shared risk path group may include code running on a computing instance. Wherein, the computing instance may be at least one of computing devices such as a physical host (computing device), a virtual machine, a container, etc.
[0183] As an example of a hardware functional unit, the apparatus for solving the separation of a shared risk path group may include at least one computing device, such as a server, etc. Alternatively, the apparatus for solving the separation of a shared risk path group may also be a device implemented by an ASIC, or a device implemented by a PLD, etc. Wherein, the above PLD may be implemented by a CPLD, an FPGA, a GAL, or any combination thereof.
[0184] Fig.14 This is a schematic diagram of an electronic device provided by an embodiment of the present application. As Fig.14 shown, the electronic device 140 includes: a bus 141, a processor 142, a memory 143, and a communication interface 144. The processor 143, the memory 142, and the communication interface 144 communicate with each other through the bus 141. The electronic device 140 may be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the electronic device 140.
[0185] The bus 141 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Fig.14 The bus 141 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 141 may include a path for transmitting information between various components of the electronic device 140 (for example, the memory 141, the processor 142, and the communication interface 143).
[0186] The processor 142 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0187] The memory 143 may include a volatile memory, such as a random access memory (RAM). The memory 143 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0188] The memory 143 stores executable program codes, and the memory 143 executes the executable program codes to implement the method for separating and solving the shared risk path groups. That is, the memory 143 stores instructions for executing the method for separating and solving the shared risk path groups.
[0189] The communication interface 144 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the electronic device 140 and other devices or a communication network.
[0190] An embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes a method as described in any one of the above embodiments.
[0191] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for separating and solving shared risk path groups, characterized in that: The method includes: Obtain the link information from the source point to the target point of the communication network topology, where the link information includes the constraint information and the loss value of each path between the source point and the target point; wherein, the loss information includes physical loss and economic cost; the constraint information includes one or more set constraint factors; Estimate the value of the upper bound of the loss of the working path; Determine K paths in the search space whose loss values are lower than the upper bound of the loss; the search space includes N paths from the source point to the target point; where K < N; Search among the K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers; Search among the M paths to determine a compliant working path and a protection path, where the protection path and the working path satisfy the separation characteristic of the shared risk path group.
2. The method according to claim 1, characterized in that Traverse the search space using depth - first search; the depth - first search is to preferentially search all the nodes and edges of one path among the N paths in the order of parent and child nodes, and then search other paths.
3. The method according to claim 1 or 2, characterized in that: The determining of K paths in the search space whose loss values are lower than the upper bound of the loss includes: Traverse the N paths from the source point to the target point; During the traversal, accumulate the loss values of each edge in the current path one by one. When the accumulated value is greater than the upper bound of the loss, remove the current path from the search space; obtain K paths whose loss values are lower than or equal to the upper bound of the loss.
4. The method according to any one of claims 1 to 3, characterized in that: The searching among the K paths to determine a working path that satisfies one or more constraints includes: Under the condition that the search for a working path that satisfies one or more constraints among the K paths fails, increase the value of the upper bound of the loss; Determine L paths in the search space whose loss values are lower than or equal to the increased upper bound of the loss; the L paths do not include the K paths; Search among the L paths to determine a working path that satisfies one or more constraints.
5. The method according to any one of claims 1 to 4, characterized in that: The estimated loss upper bound Cost max The values include: The upper limit of loss Cost is calculated according to the following formula max Values: Among them, α is the adjustable coefficient, d min is the lower bound of the delay constraint, minC is the path with the minimum loss from the source point to the destination point, and minD is the path with the minimum delay time from the source point to the destination point.
6. The method according to claim 5, characterized in that Increase the value of the upper bound of the loss by increasing the value of the adjustable coefficient α.
7. The method according to any one of claims 1 to 6, characterized in that: The one or more constraints include the constraint on the delay time range of the path.
8. The method according to any one of claims 1 to 7, characterized in that: The working path is the path with the minimum loss among the multiple paths that satisfy one or more constraints.
9. The method according to any one of claims 1 to 8, characterized in that: The searching among the M paths to determine a compliant working path and a protection path includes: Remove the paths corresponding to all the edges involved in the SRLG grouping corresponding to WP among the M paths, and search for a protection path that satisfies the constraints in the remaining search space.
10. The method according to any one of claims 1 to 8, characterized in that: The searching among the M paths to determine a compliant working path and a protection path includes: When a working path is found but the corresponding protection path cannot be found, determine one or more continuous loss intervals according to the loss of the working path; Based on the search of the search space corresponding to the one or more continuous loss intervals, determine a compliant working path and a protection path.
11. The method according to claim 10, characterized in that The searching among the M paths to determine a compliant working path and a protection path includes: When a working path is found but the corresponding protection path cannot be found, determine one or more spaced - out loss intervals according to the loss of the working path; Based on the search of the search space corresponding to the loss interval of the one or more intervals, a working path and a protection path that meet the requirements are determined.
12. The method according to any one of claims 1 to 11, characterized in that: The protection path and the working path satisfy a constraint of separation of delay time differences.
13. An electronic device, characterized in that: At least one memory for storing a program; at least one processor for executing the program stored in the memory, when the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1-12.
14. A computer storage medium, wherein instructions are stored in the computer storage medium, and when the instructions are executed on a computer, the computer executes the method according to any one of claims 1 to 12.
Citation Information
Cited By
Shared risk link group-disjoint solving method, electronic device and computer storage medium
EP4648379A1
Shared risk link group-disjoint solving method, electronic device and computer storage medium
WO2024174869A1
