Shared risk link group-disjoint solving method, electronic device and computer storage medium

Through the depth-first search algorithm and loss pruning technology, we can quickly find the working path and protection path that meet the constraints, solve the load imbalance problem caused by dynamic changes in the 5G network topology, realize efficient SRLG separation routing, and improve the flexibility of the network. performance and reliability, adapting to the needs of large-scale networking.

WO2024174869A1PCT designated stage expired Publication Date: 2024-08-29HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/076050
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2024-02-05
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively solve the load imbalance and service experience problems caused by dynamic changes in network topology caused by large-bandwidth and delay-sensitive services such as 5G and slicing networks. Operation and maintenance personnel are unable to perceive and adjust the network structure in real time, leading to an increase in customer complaints.

Method used

Use a depth-first search algorithm to obtain the source-to-destination link information of the communication network topology, estimate the upper bound of the loss of the working path, reduce the search space through pruning technology, quickly find the working path and protection path that satisfy the constraints, and realize shared risks Separation of link groups to meet business needs.

Benefits of technology

It solves the complex SRLG separation routing problem in large-scale networking within milliseconds, improves network flexibility and reliability, supports multi-factor combination constraints, dynamically adapts to network changes, and improves operators' network utilization and flexible business scheduling capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024076050_29082024_PF_FP_ABST
    Figure CN2024076050_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a shared risk path group-disjoint solving method, comprising: acquiring the link information from a source point to a target point of a communication network topology structure, the link information comprising constraint information and a loss value of each path between the source point and the target point, the loss information comprising physical loss and economic cost, and the constraint information comprising one or more set constraint factors; estimating the value of a loss upper bound of working paths; determining K paths having loss values lower than the value of the loss upper bound in a search space, the search space comprising N paths from the source point to the target point, and K<N; searching in the K paths to determine M paths meeting the constraint information, M<K; and searching in the M paths to determine a working path and a protection path meeting requirements. Using the method of the present application to perform path navigation can provide rapid and high-quality SRLG-disjoint path solving, and the method has the value of rapid cross-domain service provision, the maximum network utilization rate, flexible service scheduling, etc.
Need to check novelty before this filing date? Find Prior Art

Description

A method for separating and solving shared risk link groups, an electronic device, and a computer storage medium

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 21, 2023, with application number 202310184975.3 and application name “A separation method, electronic device and computer storage medium for solving a shared risk link group”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communications, and in particular to a method for separating a shared risk link group (SRLG) solution, an electronic device, and a computer storage medium. Background Art

[0003] With the development of network technologies and cloud services such as 5G and network slicing, bandwidth-intensive and latency-sensitive applications are placing increasingly stringent demands on networks. Currently, most network topologies are manually and statically planned and implemented device by device. Network topologies can change during service implementation, leading to inconsistent service traffic and uneven load. Operations and maintenance personnel are unable to perceive instantaneous changes in network conditions in real time, hindering timely maintenance and adjustments to the network structure. This directly impacts customer experience and results in numerous customer complaints.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a method, electronic device, and computer storage medium for solving the separation of shared risk link groups, which can achieve SRLG separation and various other constraints.

[0006] In a first aspect, an embodiment of the present application provides a method for solving the separation of a shared risk path group, the method comprising: obtaining link information from a source point to a target point of a communication network topology, the link information including constraint information and loss values 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; 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; wherein, K < N; searching among the K paths to determine M paths that satisfy the constraint information, wherein, 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 characteristic of the shared risk path group. Thus, based on the loss and delay of the edges in the graph, a pre-estimation of the loss value of the WP is made, and then the search space is efficiently pruned using the pre-estimated value; it can be within the millisecond level, and it is necessary to predict the traffic direction according to different constraints to solve the SRLG separation routing problem corresponding to complex large-scale network formations.

[0007] In a possible implementation manner, the search space is traversed using depth-first search; depth-first means preferentially searching all nodes and edges of one path among the N paths in the order of parent and child nodes, and then searching other paths. Thus, when a certain node is traversed in the depth-first search mode, if the loss or delay of this 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 anymore. Compared with other graph traversal methods, such as breadth-first search and hierarchical search, depth-first search has a smaller requirement for storage space.

[0008] In a possible implementation manner, determining K paths in the search space whose loss values are lower than the upper bound of the loss includes: traversing the N paths from the source point to the target point; during the traversal, the loss values of each edge in the current path are accumulated one by one, and when the accumulated value is greater than the upper bound of the loss, the current path is removed from the search space; obtaining K paths whose loss values are lower than or equal to the upper bound of the loss. Thus, pruning can be performed according to the loss requirements. If the loss of this path no longer meets the set conditions, the entire subtree is removed from the search space, narrowing the scope of the search traversal.

[0009] In one possible implementation, searching K paths to determine a working path that satisfies one or more constraints includes: if the search for a working path that satisfies one or more constraints among the K paths fails, increasing the upper loss bound; determining L paths in the search space whose loss is less than or equal to the increased upper loss bound; excluding the K paths from the L paths; and searching the L paths to determine a working path that satisfies the one or more constraints. In this manner, the estimated upper loss bound does not need to be precise. If a path that satisfies the constraints is not found in a round of search, the pre-estimated upper loss bound can be increased, and a new round of search can be initiated.

[0010] In one possible implementation, the estimated loss upper bound Cost max The value of includes: Calculate the upper limit of loss Cost according to the following formula max Value: 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 upper bound of the loss can be reasonably estimated based on the delay and loss information of the communication network.

[0011] In a possible implementation, the value of the upper loss limit is increased by increasing the value of the adjustable coefficient α. In this way, the value of the upper loss limit can be increased.

[0012] In one possible implementation, one or more constraints include a delay time range constraint of the path, so that pruning can be performed based on the delay time range to narrow the scope of the search traversal.

[0013] In one possible implementation, the working path is the path with the lowest loss among multiple paths that satisfy one or more constraints. In this way, the lowest cost working path can be found to meet customer needs.

[0014] In one possible implementation, searching M paths to determine a working path and protection path that meet the requirements includes removing all paths corresponding to edges involved in the SRLG group corresponding to the WP from the M paths and searching the remaining search space for a protection path that meets the constraints. This allows all edges involved in the SRLG group corresponding to the WP to be pruned, further narrowing the scope of the protection path search.

[0015] In one possible implementation, a search among M paths is performed to determine a working path and protection path that meet the requirements. This includes: when a working path is found but a corresponding protection path cannot be found, one or more continuous loss intervals are determined based on the loss of the working path; and a search space corresponding to the one or more continuous loss intervals is then searched to determine a working path and protection path that meet the requirements. This allows for rapid protection path determination using a continuous interval search based on a specific functional relationship between edge loss and delay in the topology graph. This approach supports a variety of constraints and resolves the trapping problem in the SRLG separation problem.

[0016] In one possible implementation, a search among M paths is performed to determine a working path and protection path that meet the requirements. This includes: when a working path is found but a corresponding protection path cannot be found, one or more loss intervals are determined based on the loss of the working path; and a search space corresponding to the one or more loss intervals is searched to determine a working path and protection path that meet the requirements. This allows for a jump-based interval search to quickly determine the protection path based on the lack of correlation between edge loss and delay in the topology graph. This supports a variety of constraints and resolves the trapping problem in the SRLG separation problem.

[0017] In one possible implementation, the protection path and the working path meet the constraint of a separation of delay time differences. In this way, a protection path with a delay time that best matches the working path can be found to meet customer needs.

[0018] In a second aspect, embodiments of the present application provide an electronic device comprising at least one memory for storing programs; and at least one processor for executing the programs stored in the memory. When the programs stored in the memory are executed, the processor is configured to perform any of the methods described in the first aspect. The beneficial effects thereof are as described in the first aspect and are not further elaborated here.

[0019] In a third aspect, 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 any one of the methods in the first aspect.

[0020] Fourthly, an embodiment of the present application provides a device for solving the separation of shared risk path groups, including: an information acquisition module, configured to acquire 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; 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, configured to estimate the value of the upper bound of the loss of the working path; a loss pruning module, 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 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 characteristics of the shared risk path group. In this way, 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 trend according to different constraints and solve the SRLG separation routing problem corresponding to complex large-scale network deployments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] 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, other drawings can be obtained based on these drawings without creative efforts.

[0022] The following briefly introduces the drawings required for the description of the embodiments or the prior art.

[0023] FIG. 1 is a schematic diagram of the optical path topology of a network;

[0024] FIG. 2 is the underlying physical structure diagram corresponding to the optical path topology shown in FIG. 1;

[0025] FIG. 3 is a flowchart of solving SRLG separation using the KSP algorithm provided by the first technical solution;

[0026] FIG. 4 is a flowchart of the TA algorithm provided by the second technical solution;

[0027] FIG. 5 is a schematic diagram of the application scenario of the method for solving the separation of shared risk path groups provided by the embodiment of the present application;

[0028] FIG. 6 is a flowchart of the method for solving the separation of shared risk path groups provided by the embodiment of the present application;

[0029] FIG7 is a schematic diagram of a depth-first search traversal provided in an embodiment of the present application;

[0030] FIG8 is a schematic diagram of the distribution of all path losses in the search space provided by an embodiment of the present application;

[0031] FIG9 is a flowchart of determining a working path and a protection path according to an embodiment of the present application;

[0032] FIG10 is a flowchart of determining a protection path by using interval search according to an embodiment of the present application;

[0033] Figure 11 is a conceptual diagram of interval search;

[0034] FIG12 is a schematic diagram of interval search provided in Example 2 of the present application;

[0035] FIG13 is a schematic diagram of a device for separating and solving shared risk path groups provided in an embodiment of the present application;

[0036] FIG14 is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] 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 with reference to the accompanying drawings.

[0038] 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 construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.

[0039] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "plurality" means two or more. For example, "multiple systems" refers to two or more systems, and "multiple terminals" refers to two or more terminals.

[0040] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly identifying the technical features being referred to. Thus, features specified as "first" or "second" may explicitly or implicitly include one or more of such features. The terms "include," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.

[0041] 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.

[0042] 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.

[0043] 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 must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0045] In communication networks, the network topology is often described using 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, if the links corresponding to two different edges pass through the same optical cable, in this case, if the optical cable is damaged, the two different edges will be simultaneously disconnected in the topology. Therefore, a group of links sharing the same physical resources is called a shared risk link group (SRLG).

[0046] 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.

[0047] The goal of routing technology is to find a communication path from a source to a destination. Communication between the source and destination must be both reliable and flexible. Reliability means that if the communication path between the source and destination is interrupted for some reason, communication can be switched to another viable path. Flexibility means ensuring that the communication path between the source and destination meets a set of constraints specified by the customer.

[0048] To ensure reliability, in practical applications, in addition to finding a working path (WP) from the source to the destination, a protection path (PP) that satisfies the SRLG separation requirement with the WP is also required. If the WP fails to communicate for some reason, communication is switched to the PP.

[0049] To ensure flexibility, a series of constraints must be met between the WP and the PP, or between the WP and the PP themselves. For example, the WP's delay must fall within a certain tolerance range; the delay difference between the WP and the PP cannot exceed a certain threshold, etc.

[0050] In specific application scenarios, communication from the source to the destination primarily occurs over the WP. Therefore, solving the SRLG separation problem requires the WP to have as low a cost as possible. The WP cost includes the sum of the fiber loss, physical consumption (such as power consumption), and the cost of each fiber.

[0051] Therefore, in a communication network, how to find a WP from the source to the destination and a PP from the source to the destination at the same time, where the WP and PP need to satisfy SRLG separation and various other constraints, and the cost of the WP should be as small as possible, is an urgent problem to be solved.

[0052] Figure 1 is a schematic diagram of a network's optical path topology. As shown in Figure 1, the network's optical path topology consists of four fiber paths: 1→2→4→7, 1→2→5→7, 1→3→5→7, and 1→3→6→7. Paths 1→2→5→7 and 1→3→6→7 do not pass through the same points or edges except for their source and destination points, and are therefore separate. Similarly, paths 1→2→4→7 and 1→3→6→7 are separate; and paths 1→2→4→7 and 1→3→5→7 are also separate.

[0053] Figure 2 shows the underlying physical structure corresponding to the optical path topology shown in Figure 1. As shown in Figure 2, T1, T2, and T3 are three optical fiber conduits. If one of these conduits fails, the optical fibers in that conduit will fail simultaneously, invalidating the associated edges in the optical path topology. In the paths 1→2→5→7 and 1→3→6→7, both edges 5→7 and 6→7 pass through T3. If T3 fails, both paths will fail simultaneously. Therefore, paths 1→2→5→7 and 1→3→6→7 are not SRLG-separated.

[0054] Currently, there are two types of technical solutions for solving the SRLG separation problem. The first type involves algorithms that seek optimal solutions, including integer linear programming (ILP) and K-shortest paths (KSP). The second type involves heuristic algorithms, including trap avoidance (TA), conflict set elimination (COLE), and conflict-sharing risk path group elimination (COSE).

[0055] FIG3 is a flowchart of the first technical solution provided by using the KSP algorithm to solve the SRLG separation. As shown in FIG3, using the KSP algorithm to solve the SRLG separation link includes the following steps:

[0056] S301, load the optical path topology from the source point to the target point, set the parameter k=1, and a threshold K, where K is a positive integer greater than 1.

[0057] S302: Determine the kth path with the lowest cost from the multiple paths from the source to the destination. Here, the cost is the sum of the costs of all edges on a path. There may be one or more paths with the kth lowest cost, and one of them is selected.

[0058] S303: Determine whether the path with the kth smallest cost satisfies the WP constraint. If not, proceed to S304. If so, proceed to S305. Here, the WP constraint means that the sum of the delays of all edges on a path must be less than a set threshold.

[0059] S304, query each path in the light path topology of the network and search for 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 point the algorithm stops.

[0060] 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.

[0061] S305: Find 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.

[0062] The process of finding a PP that satisfies the SRLG constraint involves removing all edges involved in the SRLG grouping corresponding to the WP from the lightpath 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; finding just one is sufficient.

[0063] Otherwise, if no PP that meets the constraints is found, the process returns to execute S304 - S305 .

[0064] When the KSP algorithm cannot find a corresponding PP for the WP with the kth smallest cost, it needs to determine the WP with the k+1th smallest cost based on the current WP. This step is accomplished by removing each edge in the WP with the kth smallest cost from the optical path topology graph, obtaining multiple new graphs equal to the number of edges contained in the WP. The algorithm then searches for the WP with the smallest cost in each of these new graphs. Because this new graph requires solving a new graph, the KSP algorithm takes a very long time to solve the SRLG separation problem, making it extremely time-consuming.

[0065] Since the SRLG separation problem is an NP-hard problem, when the scale of the communication network is large, the KSP algorithm requires a very long running time, which is often unacceptable in practical applications.

[0066] Figure 4 is a flow chart of the TA algorithm provided by the second technical solution. As shown in Figure 4, the TA algorithm is a heuristic algorithm. The TA algorithm is used to solve the SRLG separation path, including the following steps:

[0067] S401, load the light 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 the PP to not be found.

[0068] The set of dangerous edges 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.

[0069] S402, searching for a WP that meets the constraints.

[0070] WP constraints include, but are not limited to: the WP delay time must fall within a certain allowable range; and the WP expense / loss / cost should be as low as possible.

[0071] S403: Find a WP that meets the constraints, determine the dangerous edges in the WP, and update the dangerous edge set.

[0072] If the edges in the WP that satisfy the constraints are all dangerous edges in an intuitive scenario, all the edges in the WP that satisfy the constraints are added to the dangerous edge set.

[0073] 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.

[0074] 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.

[0075] The delay time difference between the WP and the PP cannot exceed a certain threshold. If the found PP does not meet the constraint, the penalty weight is continuously updated and steps S403 to S405 are executed until a PP meeting the constraint is found.

[0076] 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, and return to step S403 to enter the next round of solving.

[0077] The core idea of ​​the TA algorithm is to identify the edge with the highest risk. This edge is the cause of separation failure. When the WP and PP do not meet the SRLG separation requirements, the edge with the highest probability of causing separation failure is the edge. Accurately identifying the edge with the highest risk guarantees the optimal solution to the SRLG separation problem.

[0078] However, TA-type 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, in actual application scenarios, they still cannot meet the requirements of complex large-scale group business. They are also unable to 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.

[0079] Different from the above two technical solutions, the method for separating and solving shared risk path groups provided in the embodiment of the present application belongs to a routing algorithm and has important applications in path scheduling of optical fiber tunnels.

[0080] FIG. 5 is a schematic diagram of an application scenario of the method for solving shared risk path group separation provided by an embodiment of the present application. As shown in FIG. 5, in the fiber optic tunnel planning scenario of an automatic network management and control system (iMaster NCE), according to different constraint prediction traffic directions, reconstruct the network topology 51, and dynamically collect network parameters such as network latency and available traffic; combine customer requirements 52 and network parameters to plan SRLG separation paths, and obtain planned paths 53, where the planned paths 53 include WPs and PPs. The WPs and PPs obtained in this way can meet the differentiated service requirements of customers and support multi-factor combination constraints. Since the entire network parameters are dynamically collected, according to the real-time network conditions, find the WPs and PPs of SRLG separation that adapt to the dynamic changes of the entire network topology 51. Therefore, the solution time of the SRLG separation path of the method provided by the embodiment of the present application can meet the requirements of the millisecond level.

[0081] Using the method for solving shared risk path group separation provided by the embodiment of the present application for path navigation can provide fast and high-quality SRLG separation path solutions, bringing value such as cross-domain rapid opening, maximizing network utilization rate, and flexible service scheduling to operators.

[0082] The technical solution of the present application will be described in detail below with specific embodiments. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0083] The method for solving shared risk path group separation provided by the embodiment of the present application includes obtaining link information from the source point to the target point of the communication network topology, 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 upper bound value of the loss of the working path; determining K paths in the search space whose loss values are lower than the upper bound value 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 the conforming working path and protection path, and the protection path and the working path satisfy the separation characteristics of the shared risk path group.

[0084] FIG. 6 is a flowchart of the method for solving shared risk path group separation provided by the embodiment of the present application. As shown in FIG. 6, the flow of the method for solving shared risk path group separation is as follows.

[0085] S61, obtaining link information from a source point to a destination point in a communication network topology structure, wherein the link information includes constraint information and loss values ​​of each path between the source point and the destination point; the loss information includes physical loss and economic cost; and the constraint information includes one or more set constraint factors.

[0086] In the topology of a communications network, different links share certain physical resources, such as different optical fibers or cables. The consumption of these physical resources, such as fiber / cable wear and tear and power consumption, is considered physical loss. The cost of using these physical resources is considered an economic cost, such as the rental fee for a communications network or the cost of building a network integration.

[0087] Constraint information refers to one or more customer-specified conditions that the communication path from the source to the destination must meet, including WP latency, loss, and the delay difference between the WP and PP. Latency refers to the delay in transmitting information or signals from the source to the destination.

[0088] The routing management system loads the topology map from the source to the destination and its network parameters. Based on these network parameters, it obtains link information for each communication path between the source and the destination. This link information includes the constraints and loss values ​​for each communication path. The topology map can be a lightpath topology map, the loss information includes physical loss and economic cost, and the constraint information includes one or more defined constraint factors.

[0089] S62, estimate the upper bound of the loss of the working path.

[0090] In the SRLG separation problem with delay constraints, the upper bound of the loss Cost is estimated based on the loss and delay from the source to the target point. max The values ​​are:

[0091] Among them, α is the 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 destination point, and minD is the minimum delay time of the path from the source point to the destination point.

[0092] Setting the upper bound of the loss of the working path can effectively reduce the search range.

[0093] S63, determining K paths in the search space whose loss value is lower than the loss upper bound; the search space includes N paths from the source point to the target point; wherein K <N。

[0094] In a search space including N paths from a source point to a target point, if the loss value of a certain path is greater than or equal to the value of the loss upper bound, then the path is removed from the search space, and finally K paths in the search space whose loss values ​​are lower than the value of the loss upper bound are determined.

[0095] S64. Search among K paths to determine M paths that satisfy the constraint information, where M < K, and K, N, and M are positive integers.

[0096] Search among the K paths where the loss value is lower than the upper bound of the loss. If a certain path does not satisfy one or more constraint factors in the constraint information, then remove this path from the search space. Finally, determine M paths that satisfy the constraint information.

[0097] The constraint information includes one or more constraint factors specified by the customer. According to the 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.

[0098] S65. Search among the M paths to determine the working path and the protection path that meet the requirements, and the protection path and the working path satisfy the separation characteristic of the shared risk path group.

[0099] If, in this round of search, a working path that satisfies the constraint is successfully found, continue to search for a protection path that satisfies the separation characteristic of the shared risk path group with the working path until the working path and the protection path that meet the requirements are determined.

[0100] If, in this round of search, no working path or protection path that satisfies the constraint information is found, then increase the value of the upper bound of the pre-estimated loss of the working path, and return to execute S63 - S65 until the working path and the protection path that meet the requirements are determined. [[ID=​​​​​​​​​​Figure 7 is 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. For the network topology shown in Figure 7, the order of depth-first search traversal is: 1 → 2 → 5 → 3 → 4 → 6. The specific process for implementing depth-first search traversal is as follows: Steps S6311-S6314.

[0105] S6311, traverse from the source point to the next level of nodes to obtain one or more child nodes of this source point.

[0106] For example, 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.

[0107] S6312, select one from one or more child nodes and continue to traverse to the next level until there is no next-level child node, determine a path, and return to its parent node.

[0108] For example, one of the child nodes 2, 3, and 4 is selected to continue traversing to the next level. For example, if child node 2 is selected and traversed to the next level, it is found that there is a child node 5 below child node 2. Traversing from child node 5 to the next level, no child node exists in the next level, thus determining the first path 1→2→5, and returning to node 5's parent node 2. If node 2 has no untraversed child nodes, the path continues to return to node 2's parent node 1.

[0109] S6313, traverse the other untraversed child nodes of its parent node in sequence to complete the depth-first search traversal.

[0110] For example, if source node 1 still has two child nodes 3 and 4 that have not been traversed, then traverse node 1's child 3. After traversing child 3, determine the second path 1→3 and return to child 3's parent node 1. Continue traversing node 1's next-level child node 4 to obtain child 6, thus determining the third path 1→4→6. At this point, all paths have been traversed, completing the depth-first search.

[0111] S632, in the depth-first search traversal process, synchronize with the traversal depth, accumulate the loss value of each edge traversed in the current path one by one, and when the accumulated loss value is greater than the loss upper bound Cost max When the value of is less than or equal to the upper limit of loss, the current path is removed from the search space; and K paths whose loss values ​​are less than or equal to the upper limit of loss are obtained. Specifically, the following steps S6321-S6323 are included.

[0112] S6321, the loss cost of each edge traversed under the current i-th path i-1 , cost i-2 …cost i-jThe values ​​of Cost are accumulated one by one: i-j =cost i-1 +cost i-2 +…+cost i-j

[0113] For example, taking the first path 1→2→4→7 in Figure 1 as an example, there are three edges: 1→2, 2→4 and 4→7. During the depth-first search traversal process, 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 loss is greater than the upper limit of loss Cost max If the value is , the current path will be 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 =cost 1-1 +cost 1-2 , if the accumulated value Cost 1-2 Greater than the upper limit of loss Cost max If the value of is set, 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 a depth-first search mode to traverse graph nodes can facilitate pruning. Pruning refers to removing some paths. In an embodiment of the present application, when a node is traversed using a 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 is a schematic diagram of the distribution of all path losses in the search space provided by the embodiment of the present application. As shown in Figure 8, 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] Exemplarily, the number of paths with a cost value of 71 is about 550,000. Taking 71 as the upper bound value of the loss, after searching in the depth-first search mode, the paths to be searched and traversed are the paths with all loss values lower than 71. This greatly reduces the search scope.

[0120] In some implementable embodiments, the constraint information in step S64 includes the delay time range of the path. It is possible to search among K paths to determine M paths that satisfy the constraint information of the delay time range, where M < K, and K, N, and M are positive integers.

[0121] In FIG. 8, the height of the black part corresponding to each light gray column on the vertical axis represents the number of paths that satisfy the delay time range constraint. It can be seen that for each loss cost, the paths that satisfy the delay time range constraint only account for a very small part of the total number of paths.

[0122] Exemplarily, among the paths with a cost value of 71, the number of paths that satisfy the delay time range constraint only accounts for one-third of them. In the subsequent depth-first search process, it is only necessary to search and traverse the paths included in the black column part where the loss value is less than or equal to 71 and that satisfy the delay time range. This further reduces the search and traversal scope.

[0123] During the depth-first search traversal process, it is possible to synchronize with the depth of the traversal and accumulate the delay time of each edge traversed in the current path one by one. In the case where the accumulated value of the delay time exceeds the set delay time range, the current path is removed from the current search space; M paths that satisfy the delay time range constraint are obtained. Specifically, it includes the following steps S641 - S643.

[0124] S641, accumulate the delay time t of each edge traversed under the current i-th path i-1 , t i-2 , …, t i-j one by one: T i-j = t i-1 + t i-2 + … + t i-j

[0125] Exemplarily, taking the first path 1 → 2 → 4 → 7 in FIG. 1 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 of 2 → 4 is t 1-2 , the delay time of 4 → 7 is t 1-3 . During the depth-first search traversal process, when traversing to the second edge of the first path, the delay times t 1-1 , t 1-2 of the edges 1 → 2 and 2 → 4 are accumulated together.

[0126] S642, accumulate the value T during the delay time i-j If the value exceeds the set delay time range, the current path will be removed from the search space.

[0127] 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 If the delay time 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.

[0128] For example, the delay time range is set to 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 is 0.3 milliseconds. When the three edges are traversed, the accumulated delay time is T 1-3 =t 1-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. Therefore, the current path 1→2→4→7 is removed from the search space.

[0129] In iMaster NCE tunnel path orchestration scenarios, traffic flow needs to be predicted based on various constraints. To meet differentiated service requirements, multi-factor constraint paths must be supported. For multi-factor constraints, one or more depth-first search rounds can be performed for each constraint factor. The specific steps can be adapted based on the corresponding constraint factors, as described in S641-S642. This will not be further detailed here. Each round of depth-first search traversal prunes the search space to gradually narrow the search scope.

[0130] 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 meet one or more constraints. Therefore, the subsequent search phases for working paths and protection paths will be very fast.

[0131] If the value of M is 0, that is, no path that meets the constraint information is found in this round of search, the value of the estimated loss upper bound can be increased to start a new round of search.

[0132] In some implementable embodiments, under the condition of a search failure in K paths, the value of the upper bound of the loss can be increased; determine L paths in the search space where the value of the loss is lower than the increased upper bound of the loss; the L paths do not include the K paths; search in the L paths to determine M paths that satisfy the constraint information.

[0133] Exemplarily, taking the loss cost = 71 in FIG. 8 as the upper bound of the loss and using the depth-first search mode for searching, no path that satisfies the delay time constraint is found. After the search fails, the value of the upper bound of the loss can be increased to 73, then another L = 66000 paths are added, and return to execute steps S63 - S64. Search in the 66000 paths to determine M paths that satisfy the constraint information.

[0134] In some implementable embodiments, the upper bound of the loss Cost can be increased by adjusting α max and return to execute steps S62 - S64.

[0135] In some implementable embodiments, the working path is the path with the minimum loss among the M paths that satisfy one or more constraints.

[0136] FIG. 9 is a flowchart for determining the working path and the protection path provided by an embodiment of the present application. As shown in FIG. 9, step S65 can determine the working path and the protection path through the following steps S651 - S654.

[0137] S651, obtain the loss cost of each of the M paths, i i = 1, 2,..., M.

[0138] Exemplarily, M = 4, obtain the loss cost of each of the 4 paths, i i = 1, 2,..., 4. Where cost1 = 66, cost2 = 68, cost3 = 67, cost4 = 65.

[0139] S652, perform a loss sorting to determine the path with the minimum value of the loss cost i as WP.

[0140] Exemplarily, sort the values of the losses of the above 4 paths as: cost4 < cost1 < cost3 < cost2, and determine the path corresponding to the minimum value of the loss cost, which is cost4, as WP.

[0141] S653, find PP according to WP, and PP and WP satisfy the separation characteristic of the shared risk path group. Among them, the constraint information is that the delay time difference between PP and WP cannot exceed a certain threshold.

[0142] Specifically, according to the optical path topology, all paths corresponding to the edges involved in the SRLG group corresponding to the WP in the M paths can be pruned, and a 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.

[0143] S654: When a PP corresponding to the WP that satisfies the delay time difference constraint is found, the algorithm ends.

[0144] There may be multiple PPs that meet the delay time difference constraint. In order to reduce the search time and improve efficiency, the algorithm can be terminated when a PP that meets the delay time difference constraint is found by depth-first traversal.

[0145] 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.

[0146] When a WP is found but a corresponding PP is not, one or more loss intervals are defined based on the WP's loss at that point. Within these loss intervals, the graph structure is traversed to search for possible WPs and PPs. If no WPs or PPs that meet the requirements are found within a certain loss interval, the search proceeds to the next loss interval. The key parameter in interval search is the step size (Δ).

[0147] FIG10 is a flowchart of determining a protection path by using interval search according to an embodiment of the present application. As shown in FIG10 , using interval search for WP and PP includes the following steps S6531-S6535:

[0148] S6531, when a WP is found but the corresponding PP cannot be found, the loss interval [wp_cost, wp_cost+Δ] is determined based on the loss wp_cost of the WP, as shown in Figure 11, where Δ is the loss step size, and the value of wp_cost+Δ is less than the value of the loss upper bound.

[0149] For example, the loss cost=71 is used as the loss upper bound. 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.

[0150] S6532: Update the potential WP set within the search range corresponding to the loss interval.

[0151] For example, as shown in FIG8 , there are approximately 50 paths that have not been searched within the loss interval [30,,40], so the potential WP set is updated to be the 50 paths within the loss interval [30,,40].

[0152] S6533, Searching for PP based on a potential WP set.

[0153] For example, based on the 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.

[0154] 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.

[0155] S6535: If all potential WPs have been traversed, the process returns to S656; if not all potential WPs have been traversed, the process returns to S657.

[0156] Because of the constraints of the loss interval, the search in this stage will also be very fast. When searching a path in a certain loss interval and failing to find a path that meets the requirements of WP and PP, the algorithm will move on to the next interval for search.

[0157] The method for solving the shared risk path group separation provided in the embodiments of the present application can find WPs and PPs that meet the SRLG separation requirements within milliseconds for complex large-scale networks, such as a typical network with 200 nodes and 2000 paths, with minimal WP loss, WP meeting the delay range constraint, and WP and PP meeting the delay difference constraint.

[0158] Example 1

[0159] Example 1 of the present application provides a method for separating and solving shared risk path groups, 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 for each communication path between the source point and the target point based on its network parameters. The loss and delay time of the edges in the topology structure satisfy a certain functional relationship. The solution method includes the following steps:

[0160] S71, obtaining link information from the source point to the destination point of the communication network topology structure, wherein the link information includes the constraint information and loss value of each path between the source point and the destination 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.

[0161] S72, estimate the upper bound of WP loss based on the functional relationship between edge loss and delay.

[0162] For example, the edge loss C and the delay time D have a functional relationship: C = f(D) = KD,

[0163] The user-set delay time range is 3-5 milliseconds, and the upper bound of the WP loss can be obtained based on the function relationship:

[0164] S73, referring to the implementation method of executing S63-S64, search for K paths in the topology structure whose loss value from the source point to the target point is less than the loss upper bound, and determine M paths that meet the delay time range constraint information.

[0165] 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.

[0166] S74 , referring to the implementation method of S65 , find WP and PP that meet the constraints.

[0167] 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.

[0168] In some feasible implementations, when a WP is found but a corresponding PP cannot be found, based on the WP loss wp_cost, 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 meet the SRLG separation constraint.

[0169] In Example 1, since the edge loss and delay time in the communication network topology 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 consecutive intervals need to be examined to find the WP and PP that meet the SRLG constraints. This embodiment of the application can solve the SRLG split routing problem corresponding to a typical 200-node, 2000-path network within milliseconds.

[0170] Example 2

[0171] 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.

[0172] 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. You can refer to the implementation method of executing steps S61-S62 to estimate the value of the upper limit of the loss of the working path, and refer to the implementation method of executing S63-S65 to search for WP and PP in the topology structure whose loss value from the source point to the target point is less than the upper limit of the loss and meets the delay time range constraint information.

[0173] 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 a loss interval search pattern based on the specific graph structure and find an appropriate search sequence. For example, if the graph structure is regular, the loss intervals can be searched sequentially. If the graph structure is irregular, a jumping loss interval search pattern can be used to efficiently solve this type of communication network topology.

[0174] In some feasible implementations, when a WP is found but a 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 meet the SRLG separation constraint.

[0175] When a WP is found but a corresponding PP cannot be found, a first loss interval can be set based on the WP's loss wp_cost and searched within the first loss interval. If a WP and PP that satisfy the SRLG separation constraint still cannot be found, a second loss interval is set at a certain interval, and so on, until a WP and PP that satisfy the SRLG separation constraint are found. kΔ is the interval between the first and second loss intervals.

[0176] For example, as shown in FIG12 , the first loss interval is [wp_cost, wp_cost+Δ]. If WP and PP that satisfy the SRLG separation constraint still cannot be found, a second loss interval [wp_cost+kΔ, wp_cost+(k+1)Δ] is set.

[0177] It is understood that the interval between the first and second loss intervals can be adjusted and can be multiples of the loss step size Δ or any arbitrary value. If the interval is too large and it is impossible to find a WP and PP that satisfy the SRLG separation constraint, the interval between the second and third loss intervals can be reduced before the next search round.

[0178] In some implementable embodiments, the interval between the first loss interval and the second loss interval can be any value.

[0179] In Embodiment 2, the embodiment of the present application first needs to determine the search mode of interval search according to the specific graph structure to find a suitable search sequence, which 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 network with 200 nodes and 2000 paths within the millisecond level.

[0180] FIG. 13 is a schematic diagram of a device for solving shared risk link group separation provided by an embodiment of the present application. As shown in FIG. 13, the device 130 includes: an information acquisition module 131, configured to acquire 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 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 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 134, configured to search among the K paths to determine M paths that meet the constraint information, where M < K, and K, N, and M are positive integers; a separation path determination module 135, configured to search among the M paths to determine a compliant working path and a protection path, and the protection path and the working path satisfy the separation characteristic of the shared risk link group.

[0181] As an example of a software functional unit, the device for solving shared risk link group separation can include code running on a computing instance. Among them, the computing instance can be at least one of computing devices such as a physical host (computing device), a virtual machine, and a container.

[0182] As an example of a hardware functional unit, the device for solving shared risk link group separation can include at least one computing device, such as a server. Alternatively, the device for solving shared risk link group separation can also be a device implemented using an ASIC or a PLD. Among them, the above PLD can be implemented by a CPLD, an FPGA, a GAL, or any combination thereof. [[ID=(13]]

[0183] Figure 14 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in Figure 14 , electronic device 140 includes a bus 141, a processor 142, a memory 143, and a communication interface 144. Processor 143, memory 142, and communication interface 144 communicate with each other via bus 141. Electronic device 140 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in electronic device 140.

[0184] Bus 141 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, for example. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG14 shows only one line, but this does not imply that there is only one bus or only one type of bus. Bus 141 may include a path for transmitting information between various components of electronic device 140 (e.g., memory 141, processor 142, and communication interface 143).

[0185] The processor 142 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0186] 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).

[0187] 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.

[0188] 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.

[0189] 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 the method described in any one of the above embodiments.

[0190] 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 deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for separating and solving shared risk path groups, characterized in that: 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; wherein, 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 satisfy the constraint information, where M < K, and K, N, and M are positive integers; Searching 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 a shared risk path group.

2. The method according to claim 1, characterized in that Performing a depth-first traversal of the search space; the depth-first traversal preferentially searches all nodes and edges of one path among the N paths in the order of parent and child nodes, and then searches 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 value of the upper bound of the loss includes: Traversing the N paths from the source point to the target point; During the traversal, cumulatively adding the loss values of each edge in the current path one by one. When the cumulative value is greater than the value of the upper bound of the loss, removing the current path from the search space; obtaining K paths whose loss values are lower than or equal to the value of 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, increasing the value of the upper bound of the loss; Determining L paths in the search space whose loss values are lower than or equal to the increased value of the upper bound of the loss; 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.

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 Increasing 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 a 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 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: Removing the paths corresponding to all edges involved in the SRLG grouping corresponding to WP among the M paths, and searching 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 a corresponding protection path cannot be found, determining 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, determining 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 a corresponding protection path cannot be found, determining one or more spaced loss intervals; 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 difference.

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

Patent Citations

  • Sharing risk link group separation solution method, electronic equipment and computer storage medium

    CN118540261A

  • Path protection method for optimizing node sleep under delay and shared risk link group restraint

    CN102325088A

  • SDN (Software Defined Network)-based path calculation method and device under multi-dimensional constraints

    CN109995650A

  • System, method and apparatus for dynamic path protection in networks

    US20050237950A1