SRv6 intermediate node recovery method, system and device and storage medium

By pausing the intermediate node protection status when the SRv6 intermediate node fails, copying service messages for detection to ensure that the recovery path is available, solving the problem of service interruption and improving recovery efficiency and product competitiveness.

CN119211113AActive Publication Date: 2024-12-27FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411318222.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-27
Estimated Expiration
2044-09-20

AI Technical Summary

Technical Problem

When the SRv6 intermediate node fails, the existing technology cannot quickly restore services, resulting in too long service interruption and cannot meet telecom level requirements.

Method used

When the intermediate node fails to recover, the upstream node is controlled to pause and enter the intermediate node protection state, set the intermediate node path to an unreachable state, copy the service message for detection, and after successful detection, the restore path allows the service to cut back to the original path.

Benefits of technology

Through detection, ensure that the recovery node and related nodes work normally, and then restore services after forming a complete path, avoiding business interruptions and packet loss, which improves the efficiency and competitiveness of SRv6 intermediate node protection technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211113A_ABST
    Figure CN119211113A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the field of data communication, and discloses an SRv6 intermediate node recovery method, system and device and a storage medium, and the method comprises the steps: controlling an upstream node to suspend entering an intermediate node protection state recovery process when an intermediate node fault is recovered in an SRv6TE tunnel scene, and setting a path where the intermediate node is located to be in an unreachable state; copying a service message carried by the SRv6TE tunnel scene at an upstream node; detecting the recovered intermediate node and the path where the intermediate node is located through the copied service message; and inserting an upstream node label in front of the segment identifier of the detected path and behind the upstream node for detecting the on-off condition of the complete path behind the upstream node, and returning a detection result to the upstream node. According to the embodiment of the invention, the defects of the application of the SRv6 intermediate node protection technology are overcome, the competitiveness of data communication products is improved, and the recovery test has no packet loss especially in the collection process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data communication technology, and in particular to a method, system, device, and storage medium for SRv6 intermediate node protection and recovery without service interruption. Background Art

[0002] Segment Routing is a source routing protocol that supports inserting forwarding operation instructions into the message at the starting point of the path to guide the forwarding of the message in the network, thereby supporting network programmability. In the SRv6 TE (SegmentRouting over IPv6 Traffic Engineering) scenario, it is often necessary to constrain the forwarding path of the data message in the network and specify the nodes or links that the message passes along the way. After receiving the corresponding message, the node needs to perform the forwarding behavior of reducing the value of SL (Segments Left) by 1, copying the next layer SID (Segment ID) to the destination address field of the outer IPv6 (Internet Protocol Version 6) message header, and then forwarding the message. In the TE (Traffic Engineering) scenario, when the node where the specified node or link is located fails, the above action cannot be completed, that is, the SID belonging to itself is processed, resulting in forwarding failure. This relies on the starting point of the SRv6 TE tunnel to quickly detect and perceive the failure of the intermediate node, recalculate and constrain the path, and finally restore forwarding and services. Generally speaking, detection, perception, and recalculation cannot meet the requirements of the telecommunications level. This gave birth to the SRv6 intermediate node fault protection technology, fault recovery and switchback technology, and related applications. In order to shorten the forwarding and service interruption time as much as possible when the intermediate node fails, the upstream node is used as a proxy node. When the proxy node perceives the failure of the downstream node, the proxy node reduces the SL value by 1, copies the next layer SID to the destination address field of the outer IPv6 message header, and then forwards the message. In this way, the service can be restored before the starting node recalculates the path.

[0003] In a network with SRv6 intermediate node protection enabled, when a node recovers from power failure, the upstream node may first perceive the recovery of the downstream node and recover from the intermediate node protection state. It no longer replaces the downstream node to perform the action of "subtracting 1 from the SL value, copying the next layer SID to the destination address field of the outer IPv6 message header, and then forwarding the message." Instead, it completes the SID processing corresponding to this node and directly forwards the message to the downstream node. The downstream node has just recovered from power failure, and the connection between it and its downstream node may not be fully established, so it cannot forward the message to its downstream node. In this way, when the node recovers from power failure, the service will be interrupted for a period of time until the connection between the power-off recovery node and its downstream node is fully established, and the service can be restored. Therefore, there is an urgent need for a technology to eliminate or reduce such service interruptions. Summary of the invention

[0004] The embodiments of the present disclosure provide an SRv6 intermediate node recovery method, system, device and storage medium to solve or alleviate one or more of the above technical problems in the prior art.

[0005] According to one aspect of the present disclosure, a SRv6 intermediate node recovery method is provided, including:

[0006] When an intermediate node fails and recovers in an SRv6 TE tunnel scenario, the upstream node is controlled to stop entering the intermediate node protection state recovery process and the path to the intermediate node is set to the unreachable state.

[0007] The service packets carried by the SRv6 TE tunnel scenario are replicated on the upstream node.

[0008] Detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message;

[0009] When the detection is successful, the path where the intermediate node is located is set to a reachable state, so that the service message is switched back to the original path.

[0010] In a possible implementation manner, detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message includes:

[0011] An upstream node label is inserted after the upstream node before the segment identifier of the detected path to detect the continuity of the complete path after the upstream node and return the detection result to the upstream node.

[0012] In a possible implementation, when an intermediate node failure is recovered in an SRv6 TE tunnel scenario, the upstream node is controlled to suspend the process of entering the intermediate node protection state recovery process and set the path where the intermediate node is located to an unreachable state:

[0013] The service message is transmitted through a path that does not contain any intermediate nodes.

[0014] In a possible implementation manner, detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message includes:

[0015] Continue to receive the returned status of the sent detection messages;

[0016] When the previous probe message returns, the next probe message for a longer path is assembled and sent.

[0017] In a possible implementation manner, after detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message, the method includes:

[0018] When the detection fails, the intermediate node and the path where the intermediate node is located are not completely restored, and the detection message is discarded at the intermediate node.

[0019] According to one aspect of the present disclosure, there is provided an SRv6 intermediate node recovery system, including:

[0020] A control unit, used to control the upstream node to stop entering the intermediate node protection state recovery process and set the path where the intermediate node is located to an unreachable state when the intermediate node fails and recovers in the SRv6 TE tunnel scenario;

[0021] A replication unit, used to replicate service packets carried by the SRv6 TE tunnel scenario at an upstream node;

[0022] A detection unit, used to detect the restored intermediate node and the path where the intermediate node is located through the copied service message;

[0023] The setting unit is used to set the path where the intermediate node is located to a reachable state when the detection is successful, so that the service message is switched back to the original path.

[0024] In a possible implementation, the detection unit includes:

[0025] The insertion module is used to insert an upstream node label before the segment identifier of the detected path and after the upstream node, to detect the continuity of the complete path after the upstream node, and return the detection result to the upstream node.

[0026] In a possible implementation, the detection unit includes:

[0027] A receiving module is used to continuously receive the returned status of the transmitted detection message;

[0028] The transmitting module is used to assemble and transmit the next longer path detection message when the previous detection message returns.

[0029] According to one aspect of the present disclosure, there is provided a device, comprising:

[0030] Processor and memory;

[0031] The memory is used to store a computer program, and the processor calls the computer program stored in the memory to execute any one of the SRv6 intermediate node recovery methods described above.

[0032] According to one aspect of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the processor is enabled to execute any one of the above-mentioned SRv6 intermediate node recovery methods.

[0033] The exemplary embodiments of the present disclosure have the following beneficial effects: In the exemplary embodiments of the present disclosure, when the SRv6 intermediate node protection is restored, the original path is not restored immediately, but the original path is first detected to ensure that the restored node and the related nodes after the restored node are working normally and the formed complete path is available, and then the business is restored to this path to ensure that the business is lossless during the restoration. This embodiment solves the defects of the application of SRv6 intermediate node protection technology. It improves the competitiveness of data communication products, especially in the centralized procurement process, and there is no packet loss in the recovery test.

[0034] The details of one or more embodiments of the present application are presented in the following drawings and descriptions. Other features and advantages of the present application will become apparent from the accompanying drawings. It should be understood that the above general description and the detailed descriptions below are only exemplary and explanatory and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0036] Figure 1 is a flowchart of an SRv6 intermediate node recovery method of the present exemplary embodiment;

[0037] Figure 2 It is a schematic diagram of the encapsulation and forwarding process of service messages, as well as the SRH and SL change process;

[0038] Figure 3 This is a schematic diagram of the encapsulation and forwarding process of service messages and the change process of SRH and SL when the intermediate node R3 loses power;

[0039] Figure 4 This is a schematic diagram of the recovery process when the intermediate node R3 recovers from power failure, and the node R2 directly enters the intermediate node protection state;

[0040] Figure 5 This is a schematic diagram of the recovery process when the intermediate node R3 recovers from power failure, and the node R2 does not enter the intermediate node protection state;

[0041] Figure 6 The second diagram of the recovery process when the intermediate node R3 recovers from power failure, the node R2 does not enter the intermediate node protection state;

[0042] Figure 7 is a block diagram of an SRv6 intermediate node recovery system of the present exemplary embodiment;

[0043] Figure 8 It is a schematic structural diagram of a device of this exemplary embodiment. DETAILED DESCRIPTION

[0044] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0045] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware units or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0046] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0047] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example.

[0048] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or sub-modules is not necessarily limited to those steps or sub-modules explicitly listed, but may include other steps or sub-modules not explicitly listed or inherent to these processes, methods, products, or apparatuses.

[0049] Figure 1 is a flowchart of an SRv6 intermediate node recovery method of this exemplary embodiment. Figure 1 As shown, an exemplary embodiment of the present disclosure provides an SRv6 intermediate node recovery method, including:

[0050] In the SRv6 TE tunnel scenario, the intermediate nodes (such as Figure 2 When the R3 shown in the figure recovers from a fault, the upstream node (such as Figure 2 R2 shown in the figure) pauses and enters the intermediate node protection state recovery process, and the path where the intermediate node is located (for example Figure 2 The path R2-R3-R4) shown is set to an unreachable state;

[0051] The service packets carried by the SRv6 TE tunnel scenario are replicated on the upstream node.

[0052] The service message is copied to the restored intermediate node (eg Figure 2 R3 shown) and intermediate nodes (such as Figure 2 The path where R3) is located is detected;

[0053] Before the segment identifier of the detected path, the upstream node (e.g. Figure 2 The upstream node label is inserted after R2) to detect the upstream node (e.g. Figure 2 The complete path after R2 is shown, and the upstream node (such as Figure 2 R2) shown returns the detection result;

[0054] When the detection is successful, the intermediate node (such as Figure 2 The path where R3 is located (for example Figure 2 The path R2-R3-R4 shown in the figure is set to a reachable state, so that the service message is switched back to the original path (for example Figure 2 The path R1-R2-R3-R4 is shown).

[0055] Figure 2 The figure shows the encapsulation and forwarding process of service packets in the SRv6 TE tunnel scenario, as well as the change process of SRH (Segment Routing Header) and SL. Figure 3 The figure shows the encapsulation and forwarding process of service packets, and the change process of SRH and SL in the SRv6 TE tunnel scenario, when the intermediate node R3 loses power, the upstream node R2 enters the intermediate node protection state, and the service packet encapsulation and forwarding process, as well as the change process of SRH and SL. Figure 2 and Figure 3 In the process shown, in the SRv6 TE tunnel scenario, the intermediate node R3 loses power, and the upstream node R2 enters the intermediate node protection state. After processing its own SID label, as a proxy node, when the proxy R2 node perceives the failure of the downstream node R3, the proxy fault node R3 reduces the SL value by 1 and copies the next layer SID to the destination address field of the outer IPv6 message header. At this time, the activated SID becomes the label of the R4 node, and the message is forwarded, skipping the faulty node. In this way, the service can be restored before the starting node recalculates the path.

[0056] Figure 4 The figure shows the recovery of the intermediate node R3 from power failure in the SRv6 TE tunnel scenario, the recovery of the upstream node R2 directly entering the intermediate node protection state, the encapsulation and forwarding process of the service message, and the change process of SRH and SL (the service may be interrupted for a period of time because the intermediate node R3 and the downstream are not completely recovered).

[0057] Different from Figure 4 The process shown in this embodiment is as follows Figure 5 and Figure 6 As shown, when the SRv6 intermediate node protection is restored, it does not immediately restore to the original path, because the original path has not been completely restored due to timing or other reasons. If it is restored to the original path at this time, the service will be interrupted or packet loss will occur. This embodiment detects the original path to ensure that the recovery node and the related nodes after the recovery node are working properly, and the complete path they form is available, and then restores the service to this path to ensure that the service is lossless during recovery. The defects in the application of SRv6 intermediate node protection technology have been solved. The competitiveness of data communication products has been improved, especially in the centralized procurement process, and there is no packet loss in the recovery test.

[0058] Specifically, when an intermediate node failure is recovered in an SRv6 TE tunnel scenario, the upstream node is controlled to suspend the process of entering the intermediate node protection state recovery process and set the path where the intermediate node is located to the unreachable state:

[0059] The service message passes through a path that does not contain intermediate nodes (such as Figure 3 The R1-R2-R4 path shown in FIG.

[0060] Specifically, detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message includes:

[0061] Continue to receive the returned status of the sent detection messages;

[0062] When the previous probe message returns, the next probe message for a longer path is assembled and sent.

[0063] Specifically, after detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message, the method includes:

[0064] When the detection fails, the intermediate nodes (such as Figure 3 R3 shown) and the path where the intermediate nodes are located (e.g. Figure 3 The R2-R3-R4 path shown in FIG. 1 is not completely restored, and the detection message is discarded at the intermediate node.

[0065] Figure 5 The figure shows that in the SRv6 TE tunnel scenario, the intermediate node R3 recovers from power failure, and the upstream node R2 does not enter the intermediate node protection state to recover, and the service message continues to follow the previous path. At the same time, the service message is copied, and the R2 node label is inserted before the SRH VPNSID label. The newly copied message detects the newly restored node and path, and the detection fails (the encapsulation and forwarding process of the service message, and the change process of SRH and SL. The encapsulation and forwarding process of the copied message, as well as the change process of SRH and SL, the detection fails because the intermediate node R3 and the downstream are not completely recovered). Figure 5As shown, the intermediate node R3 recovers from power failure, and the upstream node R2 does not enter the intermediate node protection state to recover. The corresponding SRH (SL = 2) (VPN SID, R4, R3, R2) is recorded as unreachable, and the service message continues to follow the previous path (R1->R2->R4). At the same time, the service message is copied, and the R2 node label is inserted in front of the VPN SID label of SRH (SL = 2) (VPN SID, R4, R3, R2) and behind the R2 node to obtain a series of new SRHs, such as SRH (SL = 3) (VPN SID, R4, R2, R3, R2), SRH (SL = 3) (VPNSID, R2, R4, R3, R2) (the label is inserted after the SRH R2 node label and before the SRH VPN SID to detect the connectivity of the complete path behind the R2 node in sequence; the purpose of inserting the R2 node label is to allow the message to continue to return to the R2 node after the sequential detection, so that the R2 node knows the detection result). Due to the limited space and examples, the longer the path of the original SRH, the more types of new SRHs are obtained by inserting the R2 node label in sequence. The newly copied message detects the newly restored nodes and paths from near to far. Only after the previous detection message is successfully returned, the next detection message of the farther path will be assembled and transmitted. If R3 and the downstream are not fully recovered, the detection message will be discarded at the R3 node and the detection will fail.

[0066] Figure 6 The figure shows that in the SRv6 TE tunnel scenario, the intermediate node R3 recovers from power failure, and the upstream node R2 does not enter the intermediate node protection state to recover, and the service message continues to follow the previous path. At the same time, the service message is copied, and the R2 node label is inserted before the SRH VPNSID label. The newly copied message detects the newly restored node and path, and the detection is successful (the encapsulation and forwarding process of the service message, and the change process of SRH and SL. The encapsulation and forwarding process of the copied message, and the change process of SRH and SL. The detection is successful because the intermediate node R3 and the downstream have been completely restored, and the service is about to switch to the new path, and no detection is required). Figure 6 As shown, if the intermediate node R3 and the downstream are completely restored, then the detection message can be forwarded to the R4 node at the intermediate node R3, and further forwarded to the upstream node R2. The upstream node R2 receives the corresponding detection message, knows that the detection is successful, and sets the corresponding SRH (SL = 2) (VPN SID, R4, R3, R2) to the reachable state. In this way, the service message is switched back to the path (R1->R2->R3->R4). In this way, this embodiment completely switches back to the original path from the intermediate node failure recovery, and the switchback is ensured by the unique detection means and method without packet loss and interruption.

[0067] Figure 7is a block diagram of an SRv6 intermediate node recovery system of the present exemplary embodiment, such as Figure 7 As shown, an exemplary embodiment of the present disclosure provides an SRv6 intermediate node recovery system, including:

[0068] The control unit 10 is used to control the upstream node to suspend the process of entering the intermediate node protection state recovery when the intermediate node failure is recovered in the SRv6 TE tunnel scenario, and set the path where the intermediate node is located to an unreachable state;

[0069] A replication unit 20, configured to replicate a service message carried by the SRv6 TE tunnel scenario at an upstream node;

[0070] A detection unit 30, configured to detect the restored intermediate node and the path where the intermediate node is located by using the copied service message;

[0071] The setting unit 40 is used to set the path where the intermediate node is located to a reachable state when the detection is successful, so that the service message is switched back to the original path.

[0072] In a possible implementation, the detection unit 30 includes:

[0073] The insertion module is used to insert an upstream node label before the segment identifier of the detected path and after the upstream node, to detect the continuity of the complete path after the upstream node, and return the detection result to the upstream node.

[0074] In a possible implementation, when an intermediate node failure is recovered in an SRv6 TE tunnel scenario, the upstream node is controlled to suspend the process of entering the intermediate node protection state recovery process and set the path where the intermediate node is located to an unreachable state:

[0075] The service message is transmitted through a path that does not contain any intermediate nodes.

[0076] In a possible implementation, the detection unit 30 includes:

[0077] A receiving module is used to continuously receive the returned status of the transmitted detection message;

[0078] The transmitting module is used to assemble and transmit the next longer path detection message when the previous detection message returns.

[0079] In a possible implementation, the SRv6 intermediate node recovery system further includes:

[0080] The discarding unit is used to discard the detection message at the intermediate node when the detection fails and the intermediate node and the path where the intermediate node is located are not completely restored.

[0081] Figure 8Schematic diagram of the structure of a device of this exemplary embodiment. Figure 8 As shown, corresponding to the SRv6 intermediate node recovery method provided above, the present disclosure also provides a device. Since the embodiment of the device is similar to the above method embodiment, the description is relatively simple. For relevant parts, please refer to the description of the above method embodiment. The device described below is only schematic. The device may include: a processor (processor) 1, a memory (memory) 2 and a communication bus (i.e., the above device bus) and a search engine, wherein the processor 1 and the memory 2 communicate with each other through the communication bus and communicate with the outside through the communication interface. The processor 1 can call the logic instructions in the memory 2 to execute the SRv6 intermediate node recovery method.

[0082] In addition, the logic instructions in the above-mentioned memory 2 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: a storage chip, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.

[0083] On the other hand, an embodiment of the present disclosure further provides a processor-readable storage medium, on which a computer program 3 is stored. When the computer program 3 is executed by the processor 1, it is implemented to execute the SRv6 intermediate node recovery method provided in the above embodiments.

[0084] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor 1, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0085] The above are only preferred implementations of the present disclosure, and the protection scope of the present disclosure is not limited to the above embodiments. All technical solutions under the concept of the present disclosure belong to the protection scope of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present disclosure should be regarded as the protection scope of the present disclosure.

Claims

1. A SRv6 intermediate node recovery method, characterized in that: include: When an intermediate node fails and recovers in an SRv6 TE tunnel scenario, the upstream node is controlled to stop entering the intermediate node protection state recovery process and set the path where the intermediate node is located to the unreachable state. The service packets carried by the SRv6 TE tunnel scenario are replicated on the upstream node. Detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message; When the detection is successful, the path where the intermediate node is located is set to a reachable state, so that the service message is switched back to the original path.

2. The SRv6 intermediate node recovery method according to claim 1, characterized in that: Detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message includes: An upstream node label is inserted after the upstream node before the segment identifier of the detected path to detect the continuity of the complete path after the upstream node and return the detection result to the upstream node.

3. The SRv6 intermediate node recovery method according to claim 1, characterized in that: When an intermediate node fails and recovers in an SRv6TE tunnel scenario, the upstream node is controlled to suspend the process of entering the intermediate node protection state recovery and set the path to the intermediate node to the unreachable state: The service message is transmitted through a path that does not contain any intermediate nodes.

4. The SRv6 intermediate node recovery method according to claim 1, characterized in that: Detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message includes: Continue to receive the returned status of the sent detection messages; When the previous probe message returns, the next probe message for a longer path is assembled and sent.

5. The SRv6 intermediate node recovery method according to claim 1, characterized in that: After detecting the restored intermediate node and the path where the intermediate node is located by using the copied service message, the method includes: When the detection fails, the intermediate node and the path where the intermediate node is located are not completely restored, and the detection message is discarded at the intermediate node.

6. An SRv6 intermediate node recovery system, characterized in that: include: A control unit, used to control the upstream node to stop entering the intermediate node protection state recovery process and set the path where the intermediate node is located to an unreachable state when the intermediate node fails and recovers in the SRv6 TE tunnel scenario; A replication unit, used to replicate service packets carried by the SRv6 TE tunnel scenario at an upstream node; A detection unit, used to detect the restored intermediate node and the path where the intermediate node is located through the copied service message; The setting unit is used to set the path where the intermediate node is located to a reachable state when the detection is successful, so that the service message is switched back to the original path.

7. The SRv6 intermediate node recovery system according to claim 6, characterized in that: The detection unit includes: The insertion module is used to insert an upstream node label before the segment identifier of the detected path and after the upstream node, to detect the continuity of the complete path after the upstream node, and return the detection result to the upstream node.

8. The SRv6 intermediate node recovery system according to claim 6, characterized in that: The detection unit includes: A receiving module is used to continuously receive the returned status of the transmitted detection message; The transmitting module is used to assemble and transmit the next longer path detection message when the previous detection message returns.

9. A device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor calls the computer program stored in the memory to execute the SRv6 intermediate node recovery method according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to execute the SRv6 intermediate node recovery method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for switching flow of network link

    CN101777997A

  • A message forwarding method and device

    CN109787839A

  • Traffic back-switching delay method and device based on segment routing strategy, and storage medium

    CN113114563A

  • SRv6 Endpoint fault protection method

    CN113364677A

  • Distributed traffic scheduling method and device

    CN116319549A