SPTN network dedicated service protection method and device
By setting static, preset paths and dynamic path modes in the SPTN network, data loss problems caused by simultaneous interruption of service paths and protection paths in the network are solved, and the flexibility and reliability of the network are improved, ensuring business continuity and service quality.
Patent Information
- Application Number
- CN202510031754.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2045-01-09
AI Technical Summary
In SPTN network, when customers have high requirements for network services and sufficient network resources, the working path and protection path are interrupted at the same time, resulting in lost service data traffic, reducing the reliability of service traffic forwarding and affecting user experience.
Provides a SPTN network dedicated service protection method, by setting and converting the path protection working mode of the target service, including static mode, preset path mode and dynamic path mode. The static mode directly switches to the preset protection path when the working path fails; the preset path mode switches to the shortest and most effective preset path when the working path or the preset protection path fails; the dynamic path mode recalculates the service path when the preset path is invalid.
Through the configuration and management of different working modes, the flexibility and reliability of the SPTN network can be improved, the risk of data loss caused by network failure is reduced, and business continuity is ensured and service quality is improved.
Smart Images

Figure CN119449702B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a SPTN network dedicated service protection method and device. Background Art
[0002] SPTN network is a new generation of packet transmission network, which is the evolution and upgrade of PTN network. Through SPTN network, the intelligent control capability of packet network resources can be enhanced, the speed of intelligent service provisioning and opening efficiency can be improved, and the stability of PTN network services can be enhanced by increasing protection.
[0003] In the PTN network standard, PTN networks generally use LSP 1:1 or 1+1 protection. When the working path fails, the service automatically switches to the protection path and converts the protection path to the working path. At this time, the controller recalculates a path as the protection path.
[0004] However, in actual network use, when customers have high requirements and high sensitivity for network services and sufficient network resources, if the configured working path and protection path are interrupted at the same time, the SPTN controller will recalculate the path and then send it down, which will cause service data traffic loss, reduce the reliability of service traffic forwarding, and affect user experience. Summary of the invention
[0005] The present invention provides a SPTN network dedicated service protection method and device, which are used to solve the defects in the prior art.
[0006] In a first aspect, the present invention provides a method for protecting a dedicated service in an SPTN network, comprising: setting and / or converting a working mode for path protection of a target service; the working modes comprising: a static mode, a preset path mode and a dynamic path mode; the static mode is configured to directly switch to a preset protection path without recalculating after determining that a current working path fails; the preset path mode is configured to switch the path to the shortest and valid preset path when determining that a current working path or a preset protection path fails; the preset path is obtained from a pre-constructed preset path set; the dynamic path mode is configured to recalculate the service path when determining that all preset paths in the preset path set are invalid, until a valid service path is calculated as the final dynamic path.
[0007] According to the SPTN network dedicated service protection method provided by the present invention, the method for constructing the preset path set corresponding to the target service includes:
[0008] Step 1: receiving a service establishment request message; the service establishment request message includes a source node, a sink node, a routing strategy, and the number K of preset paths in the preset path set established for the target service;
[0009] Step 2: Update the current network topology according to the routing strategy;
[0010] Step 3: Based on the source node and sink node of the target service, use the shortest path finding algorithm to find the shortest service path in the updated network topology;
[0011] Step 4: Update the network link information of the currently found shortest service path into the network topology;
[0012] Step 5: Iterate step 2 to step 4 until the search for K service paths of the target service is completed, and the K service paths are used as K preset paths to construct a preset path set.
[0013] According to the SPTN network dedicated service protection method provided by the present invention, in the preset path mode, the method specifically includes: when it is determined that a fault has occurred in the current working path of the target service, judging whether there is a valid preset path in the preset path set corresponding to the target service; when it is determined that there is a valid preset path in the preset path set, switching the current working path to the shortest and valid preset path to perform service protection.
[0014] According to the SPTN network dedicated service protection method provided by the present invention, in the dynamic path mode, the method specifically includes: when it is determined that a fault has occurred in the current working path of the target service, judging whether there is a valid preset path in the preset path set corresponding to the target service; when it is determined that there is no valid preset path in the preset path set, or the preset path set does not exist for the target service, continuously recalculating the service path until a valid service path is calculated as the final dynamic path; switching the current working path to the dynamic path to perform service protection.
[0015] According to the SPTN network dedicated service protection method provided by the present invention, the routing strategy includes one or more of the following strategies: setting a separation strategy, setting a necessary node, setting a necessary link, setting an exclusive node, and setting an exclusive link.
[0016] According to the SPTN network dedicated service protection method provided by the present invention, the shortest path finding algorithm is a restricted loop-free algorithm.
[0017] According to the SPTN network dedicated service protection method provided by the present invention, the network link information includes: bandwidth information and whether the node is reachable.
[0018] In the second aspect, the present invention also provides an SPTN network-specific service protection device for implementing any of the above-mentioned SPTN network-specific service protection methods, including: a controller and an autonomous controllable platform; the controller is used for network logic control, resource management and service management, interacts with external systems through a northbound interface, and communicates with the autonomous controllable platform through a gRPC interface; the autonomous controllable platform is used for hardware abstraction, data forwarding and monitoring feedback to ensure that the hardware correctly performs data processing tasks according to the instructions of the controller.
[0019] In a second aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the above-mentioned SPTN network dedicated service protection methods are implemented.
[0020] In a third aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described SPTN network dedicated service protection methods.
[0021] The protection method based on different working modes of the present invention can greatly improve the flexibility and reliability of the SPTN network, especially in the face of complex and changeable network environments. Through reasonable configuration and management, the network can better adapt to various business needs while reducing the risk of data loss due to network failures.
[0022] By setting the preset path mode, the SPTN network can quickly switch to a pre-prepared valid path when a current working path or a preset protection path fails, thereby ensuring business continuity and improving service quality. This method is particularly suitable for application scenarios with high requirements for business continuity.
[0023] The present invention combines the preset path with the dynamic path to ensure that even when the preset path is unavailable, other valid paths can be switched to in time, thereby ensuring the continuity and reliability of the service. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a flow chart of the SPTN network dedicated service protection method provided by the present invention;
[0026] Figure 2 It is a flowchart of a method for selecting K preset paths provided by the present invention;
[0027] Figure 3 It is a schematic diagram of the conversion of the working mode of the path protection provided by the present invention;
[0028] Figure 4 It is a structural schematic diagram of the SPTN network dedicated service protection device provided by the present invention;
[0029] Figure 5 It is a data transmission flow chart in the gRPC microservice process provided by the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] It should be noted that, in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0032] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0033] Combine the following Figure 1-Figure 5 The SPTN network dedicated service protection method and device provided by the embodiment of the present invention are described.
[0034] The SPTN network dedicated service protection method provided by the present invention includes: setting and / or converting the working mode of the path protection of the target service; the working mode includes: static mode, preset path mode and dynamic path mode.
[0035] The static mode is configured to switch directly to the preset protection path without recalculating the current working path after determining that the current working path fails. This mode is suitable for scenarios with high requirements for business continuity but relatively sufficient network resources. Since there is no need to recalculate the path, the business can be restored quickly and data packet loss can be avoided.
[0036] The preset path mode is configured to switch the path to the shortest and effective preset path when the current working path or the preset protection path is determined to be faulty. The preset path set here is a series of possible path options that have been calculated and stored in the early stage of network deployment. This method can ensure the speed of service recovery to a certain extent, while also considering the optimal choice of the path to minimize the time of service recovery.
[0037] The dynamic path mode is configured to recalculate the service path when it is determined that all preset paths in the preset path set are invalid, until a valid service path is calculated as the final dynamic path. Although this method may cause the service recovery time to be slightly longer, it is the optimal solution based on the current network conditions, so it can ensure that the service can be restored to a stable state.
[0038] These three modes can be flexibly selected and switched according to the specific situation of the network: when network resources are sufficient and there are extremely high requirements for business continuity, you can choose the static mode; when you want to consider the efficiency of path selection while ensuring business continuity, you can choose the preset path mode; and when all preset paths are unavailable, you can choose the dynamic path mode to ensure business recovery.
[0039] The protection method based on different working modes of the present invention can greatly improve the flexibility and reliability of the SPTN network, especially in the face of complex and changeable network environments. Through reasonable configuration and management, the network can better adapt to various business needs while reducing the risk of data loss due to network failures.
[0040] Based on the content of the above embodiment, as an optional embodiment, the SPTN network dedicated service protection method provided by the present invention, in the preset path mode, the method specifically includes the following steps:
[0041] (1) Detection fault:
[0042] Monitor the status of the current working path or the preset protection path. Once any of the paths is found to be faulty, the protection mechanism is triggered.
[0043] (2) Determine the validity of the preset path:
[0044] After determining that a current working path or a preset protection path fails, it is checked whether there is a valid preset path in the preset path set corresponding to the target service.
[0045] A “valid” pre-set path may refer to a path that has no failure and has sufficient bandwidth (for example, the bandwidth is greater than a preset bandwidth threshold) to carry service traffic.
[0046] Specifically, the present invention can also determine the "validity" of the preset path by detecting that there is no corresponding alarm on the corresponding link and the link status can be detected as a normal status.
[0047] (3) Select the shortest valid preset path:
[0048] If there are one or more valid preset paths in the preset path set, a shortest valid preset path is selected from them. The purpose of selecting the shortest path is to reduce the service recovery time as much as possible, thereby improving service continuity and user experience.
[0049] (4) Switch to the preset path:
[0050] The current working path is switched to the shortest and most effective preset path to protect the service. The service traffic is then redirected to this preset path to ensure service continuity.
[0051] Through this preset path mode, the SPTN network can quickly switch to a pre-prepared valid path when the current working path or the preset protection path fails, thereby ensuring business continuity and improving service quality. This method is particularly suitable for application scenarios with high requirements for business continuity.
[0052] Based on the content of the above embodiment, as an optional embodiment, the SPTN network dedicated service protection method provided by the present invention, in the dynamic path mode, the method specifically includes the following steps:
[0053] (1) Determine the validity of the preset path set:
[0054] Check whether there is a valid preset path in the preset path set corresponding to the target service.
[0055] The term "valid" here usually means that the path has no faults and has sufficient bandwidth to carry service traffic.
[0056] (2) Recalculate the path:
[0057] If there is no valid preset path in the preset path set, or the target service has no preset path set at all, the dynamic path calculation process is started.
[0058] It should be noted that the calculation of the service path is a conventional technical means in this field. A possible calculation method is briefly described below:
[0059] The SPTN controller will recalculate the service path using a preset routing algorithm based on the current network status (including but not limited to link status, bandwidth utilization, and other information) until a valid service path is calculated as the final dynamic path.
[0060] Specifically, the SPTN controller first needs to collect all link status information in the entire network, including but not limited to the health status, delay, packet loss rate, etc. of the link; understand the bandwidth utilization information on each link to determine whether there is enough remaining bandwidth to support new business needs. Evaluate the processing capacity and working status of each node (such as routers and switches) to ensure that they are capable of performing the newly added tasks, and then use the preset routing algorithm to calculate the business path. The preset routing algorithm can be the shortest path search algorithm, a custom specific algorithm, etc.
[0061] (3) Switch to dynamic path:
[0062] Once a valid dynamic path is calculated, it is set as the current working path, and the service traffic is then switched to this dynamic path to protect the service.
[0063] Through such a dynamic path mode, the SPTN network can more effectively respond to sudden failures in complex network environments and ensure business continuity and service quality.
[0064] In order to further illustrate the above technical solution, Figure 1 For further explanation, Figure 1 It is a flow chart of the SPTN network dedicated service protection method provided by the present invention.
[0065] (1) Start: The flowchart starts from the "Start" node.
[0066] (2) Target business failure: When the target business fails or fails, the business protection process is triggered.
[0067] (3) Whether the preset path exists: First check whether there is a preset path. If there is a preset path, the process continues to the next step.
[0068] (4) Whether the preset path is valid: If there are preset paths, the system will further check whether these paths are valid; if valid, it will directly switch to the preset path and end the process; if invalid, the process will go to the next step.
[0069] (5) Whether the dynamic path exists: If the preset path is invalid, the system will check whether the dynamic path exists; if the dynamic path exists, the process continues to the next step.
[0070] (6) Is the dynamic path valid? If a dynamic path exists, the system will check its validity. If it is valid, it will switch directly to the dynamic path and end the process. If it is invalid, the process will proceed to the next step.
[0071] (7) Path recalculation: If the dynamic path is also invalid, the system will recalculate a new dynamic path. After the new dynamic path is generated, the process returns to step (5).
[0072] (8) Business path switching: Regardless of whether it is a preset path or a dynamic path, as long as the path is valid, the system will switch to that path to protect the business.
[0073] (9) End: After the switch is completed, the process ends.
[0074] The present invention combines the preset path with the dynamic path to ensure that even when the preset path is unavailable, other valid paths can be switched to in time, thereby ensuring the continuity and reliability of the service.
[0075] Based on the content of the above embodiment, as an optional embodiment, the SPTN network dedicated service protection method provided by the present invention, the method for constructing the preset path set corresponding to the target service includes:
[0076] Step 1: receiving a service establishment request message; the service establishment request message includes a source node, a sink node, a routing strategy, and the number K of preset paths in the preset path set established for the target service;
[0077] Step 2: Update the current network topology according to the routing strategy;
[0078] The routing strategy includes one or more of the following strategies: setting a separation strategy, setting a necessary node, setting a necessary link, setting an exclusive node, and setting an exclusive link.
[0079] Step 3: Based on the source node and sink node of the target service, use the shortest path finding algorithm to find the shortest service path in the updated network topology.
[0080] The most commonly used shortest path algorithms include the Dijkstra algorithm and the Bellman-Ford algorithm. The shortest path finding algorithm in the present invention may be a restricted acyclic algorithm.
[0081] Step 4: Update the network link information of the currently found shortest service path into the network topology.
[0082] Network link information is data that describes the characteristics of each link in the network and is crucial for network management and optimization. Network link information usually includes but is not limited to the following aspects: link status: whether the link is active, whether there is a fault, congestion, etc.; bandwidth information: the maximum bandwidth of the link, the current available bandwidth, and may also include historical bandwidth usage for analysis and prediction; whether the node is reachable, packet loss rate and error rate, and link capacity limit, etc.
[0083] Step 5: Iterate step 2 to step 4 until the search for K service paths of the target service is completed, and the K service paths are used as K preset paths to construct a preset path set.
[0084] In order to further illustrate the technical solution provided by the present invention, Figure 2 Another embodiment is described below. Figure 2 It is a flow chart of the method for selecting K preset paths provided by the present invention.
[0085] Step S01: The controller process receives a service establishment request message sent from the northbound RestApi;
[0086] Step S02: by parsing the service establishment request message, the required information of the path to be established is obtained: the source node, the sink node, the routing strategy and the number K of preset paths in the preset path set to be established;
[0087] Step S03: copy the current network topology in the controller as the topology for network target service routing calculation;
[0088] Step S04: Determine the number of service path groups currently created. If the number k of currently preset paths is less than the required number K, a new service path needs to be calculated, and then proceed to step S05; otherwise, proceed to step S14;
[0089] Step S05: After the path is established, the topology information such as path bandwidth, network nodes, links, etc. is updated in the network topology;
[0090] Step S06: Deliver routing policies based on the target service to determine whether there are policies such as path separation and path sharing. If yes, execute step S07; otherwise, execute step S08:
[0091] Step S07: updating the routing policy in the current path calculation policy;
[0092] Step S08: When the target business whether there is a necessary node, the necessary link, if there is, execute step S9, otherwise execute step S10;
[0093] Step S9: In the current path calculation, the necessary nodes and links of the network topology are added to the path calculation;
[0094] Step S10: During the current path calculation, determine whether the new path has any excluded nodes or links. If so, execute step S11; otherwise, execute step S12.
[0095] Step S11: In the current path calculation, the excluded nodes and links of the network topology are deleted from the current network topology, and step S12 is executed;
[0096] Step S12: Update the network routing of the autonomous controllable platform to the network topology, and execute step 13;
[0097] Step S13: In the updated network routing topology, by limiting the loop-free algorithm, find the latest service path with the shortest path as the current path. If found, go to step S04, otherwise go to step S14:
[0098] Step S14: The found K preset paths that meet the target service, the service source node, the sink node, and the K preset path information are returned to the controller process.
[0099] The present invention can create a set of preset paths for each service through this method to cope with possible failure situations, thereby improving network reliability and service continuity.
[0100] Figure 3 This is a schematic diagram of the conversion of the working mode of the path protection provided by the present invention. For static paths and preset paths, under certain conditions, they can be automatically converted through user configuration. When deploying services in the early stage, the working mode of the path protection of the target service can be set to a static path to ensure that the target service is deployed according to the expected path. After normal operation, the working mode can be converted to the preset path mode.
[0101] On the other hand, the present invention also provides an SPTN network-specific service protection device for implementing any of the SPTN network-specific service protection methods, the device comprising: a controller and an autonomous controllable platform; the controller is used for network logic control, resource management and service management, interacts with an external system through a northbound interface, and communicates with the autonomous controllable platform through a gRPC interface; the autonomous controllable platform is used for hardware abstraction, data forwarding and monitoring feedback to ensure that the hardware correctly performs data processing tasks according to the instructions of the controller.
[0102] Figure 4 FIG. 1 is a schematic diagram of the structure of the SPTN network dedicated service protection device provided by the present invention. Figure 4 As shown, the controller includes: RestApi module, business management module, routing calculation module, resource management module, device management module, business support module, synchronization configuration module and gRPC interface management module. The autonomous and controllable platform includes gRPC interface management module, hardware abstraction allocation layer and hardware layer.
[0103] The RestApi module is used to provide interaction between the lower-level controller and the application system, and is used for adaptation of northbound management data and interface data.
[0104] The service management module is used to establish the target service and can adopt strategies to complete the target service path selection.
[0105] The routing calculation module is used to complete the generation of the internal switching path and the border service routing of the network according to the source node, the sink node and the routing strategy of the target service.
[0106] The resource management module is used to collect SPTN network resource information, including network link connection information, label allocation information, port information and other information.
[0107] The device management module is used to discover and track the autonomous controllable platform, detect the interface of the autonomous controllable platform, process events related to the autonomous controllable platform, and provide an interface for the shortest path service.
[0108] The business support module is used to process the support functions such as alarms and performance of the autonomous and controllable platform, and to monitor the status of the target business of the SPTN network.
[0109] The synchronization configuration module is used to synchronize the configuration of the unidirectional service path calculated by the target service, ensure the synchronization of the controller process configuration and the autonomous controllable platform configuration, and make the configurations of the two tend to be consistent.
[0110] The gRPC interface management module includes two modules: a management channel and a data channel. The management channel is a channel established between the controller and the autonomous switching device, and is used to send management messages from the controller to the autonomous controllable platform; the data channel is a monitoring message channel, and is used to send the monitoring status of the autonomous controllable platform to the controller.
[0111] The hardware abstraction allocation layer is used to abstract all underlying hardware on an autonomous and controllable platform so that the controller does not need to care about the transfer table process of the underlying hardware.
[0112] The hardware layer is used to complete the application of the forwarding process to a specific chip forwarding table entry on an autonomous and controllable platform for forwarding of specific services.
[0113] In terms of the overall architecture, the present invention provides a gRPC interaction method between the controller and the controllable platform network, so as to realize the communication between the SPTN network controller and the autonomous controllable platform.
[0114] Based on the above implementation, this embodiment provides a data transmission method for the gRPC microservice communication process. Figure 5 This is a data transmission flow chart in the gRPC microservice process provided by the present invention, such as Figure 5 As shown, the client mentioned below refers to the microservice gRPC client, the party making the call, and the server refers to the microservice gRPC server, the party providing services to the gRPC client. The controller and the autonomous controllable platform complete two-way information interaction through the microservice gRPC client and the gRPC server. The method includes:
[0115] Step S01: Establish a preset channel between the microservices between the client and the server;
[0116] Step S02: between the server and the client, through microservices, converting their messages into gRPC messages;
[0117] Step S03: Use the preset channel to complete the transmission of the gRPC message.
[0118] Step S04: Convert the transmitted gRPC message into a message that can be processed by the client and the server for calling between the client and the server.
[0119] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the SPTN network dedicated service protection method provided in the above-mentioned embodiments.
[0120] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the SPTN network dedicated service protection method provided in the above-mentioned embodiments.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0122] 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 spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for protecting a dedicated service in an SPTN network, characterized in that: include: Setting and / or converting the working mode of the path protection of the target service; The working modes include: static mode, preset path mode and dynamic path mode; The static mode is configured to directly switch to the preset protection path without recalculating after determining that the current working path fails; The preset path mode is configured to switch the path to the shortest and valid preset path when it is determined that the current working path or the preset protection path fails; the preset path is obtained from a pre-built preset path set; The dynamic path mode is configured to recalculate the service path when it is determined that all preset paths in the preset path set are invalid, until a valid service path is calculated as the final dynamic path; The method for constructing the preset path set corresponding to the target service includes: Step 1: receiving a service establishment request message; the service establishment request message includes a source node, a sink node, a routing strategy, and the number K of preset paths in the preset path set established for the target service; Step 2: Update the current network topology according to the routing strategy; Step 3: Based on the source node and sink node of the target service, use the shortest path finding algorithm to find the shortest service path in the updated network topology; Step 4: Update the network link information of the currently found shortest service path into the network topology; Step 5: Iterate step 2 to step 4 until the search for K service paths of the target service is completed, and the K service paths are used as K preset paths to construct a preset path set.
2. The SPTN network dedicated service protection method according to claim 1, characterized in that: In the preset path mode, the method specifically includes: In the case of determining that a current working path of the target service or the preset protection path fails, determining whether there is a valid preset path in the preset path set corresponding to the target service; When it is determined that there is a valid preset path in the preset path set, the current working path is switched to the shortest and valid preset path to perform service protection.
3. The SPTN network dedicated service protection method according to claim 1, characterized in that: In the dynamic path mode, the method specifically includes: Determine whether there is a valid preset path in the preset path set corresponding to the target service; When it is determined that there is no valid preset path in the preset path set, or the preset path set does not exist for the target service, the service path is recalculated until a valid service path is calculated as the final dynamic path; Switch the current working path to the dynamic path to protect services.
4. The SPTN network dedicated service protection method according to claim 1, characterized in that: The routing strategy includes one or more of the following strategies: setting a separation strategy, setting a necessary node, setting a necessary link, setting an exclusive node, and setting an exclusive link.
5. The SPTN network dedicated service protection method according to claim 1, characterized in that: The shortest path finding algorithm is a restricted acyclic algorithm.
6. The SPTN network dedicated service protection method according to claim 1, characterized in that: The network link information includes: bandwidth information and whether the node is reachable.
7. A SPTN network dedicated service protection device, used to implement the SPTN network dedicated service protection method described in any one of claims 1 to 6, characterized in that: include: Controllers and autonomous controllable platforms; The controller is used for logical control, resource management, and business management of the network. It interacts with external systems through northbound interfaces and communicates with the autonomous controllable platform through gRPC interfaces. The autonomous controllable platform is used for hardware abstraction, data forwarding and monitoring feedback to ensure that the hardware correctly performs data processing tasks according to the instructions of the controller.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the SPTN network dedicated service protection method as described in any one of claims 1 to 6 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the SPTN network dedicated service protection method as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Processing method and processing system of SPTN network
CN110365549A
SPTN network tunnel rerouting method
CN114124791A