US12598130B2ActiveUtilityA1

Failure protection method and apparatus, storage medium, and electronic device

49
Assignee: ZTE CORPPriority: Feb 5, 2021Filed: Jan 11, 2022Granted: Apr 7, 2026
Est. expiryFeb 5, 2041(~14.6 yrs left)· nominal 20-yr term from priority
H04L 12/4675H04L 45/50H04L 45/34H04L 45/22H04L 41/0803H04L 45/28
49
PatentIndex Score
0
Cited by
9
References
19
Claims

Abstract

Provided are a failure protection method and apparatus, a storage medium, and an electronic device. The method includes: configuring a protection relationship on a standby node, wherein the protection relationship is configured to indicate an object to be protected by the standby node; receiving SID information advertised by a primary node, wherein the SID information at least includes: an SID network programming function type and an SID value; matching the SID network programming function type with an SID network programming function type of the standby node, matching the SID value with the protection relationship, and in a case where the SID network programming function type is successfully matched with an SID network programming function type of the standby node and the SID value is successfully matched with the protection relationship, generating a protection entry.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A failure protection method, comprising:
 configuring a protection relationship on a standby node, wherein the protection relationship is configured to indicate an object to be protected by the standby node;   receiving, by the standby node, Segment Identifier (SID) information advertised by a primary node, wherein the SID information at least comprises: an SID network programming function type and an SID value;   matching, by the standby node, the SID network programming function type with an SID network programming function type of the standby node, matching the SID value with the protection relationship, and in a case where the SID network programming function type is successfully matched with an SID network programming function type of the standby node and the SID value is successfully matched with the protection relationship, generating a protection entry; and   in a case where the primary node or a link connected to the primary node fails, forwarding, by the standby node, a received message according to the protection entry, wherein in a case where the primary node and the link connected to the primary node do not fail, other nodes send the message to the primary node, and in a case where the primary node or the link connected to the primary node fail, the other nodes directly send the message to the standby node, the other nodes being other nodes except the primary node and the standby node.   
     
     
         2 . The method according to  claim 1 , wherein the configuring a protection relationship on a standby node comprises at least one of the following:
 configuring a prefix of the primary node to be protected on the standby node;   configuring the primary node to be protected on the standby node;   configuring the SID value of the primary node to be protected on the standby node; and   configuring the SID network programming function type of the primary node to be protected on the standby node.   
     
     
         3 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 2 . 
     
     
         4 . A non-transitory computer readable storage medium, in which a computer program is stored, wherein when running, the computer program is configured to perform the method according to  claim 2 . 
     
     
         5 . The method according to  claim 1 , wherein after the SID network programming function type is successfully matched with the SID network programming function type of the standby node and the SID value is successfully matched with the protection relationship, the method further comprises:
 instructing the standby node to externally flood the prefix of the primary node with a low priority, wherein the low priority is lower than the priority of the primary node during flooding.   
     
     
         6 . The method according to  claim 5 , wherein after instructing the standby node to externally flood the prefix of the primary node with the low priority, the method further comprises:
 in a case where the standby node no longer has ability to protect the prefix of the primary node, the primary node, the SID value of the primary node, or the SID network programming function type of the primary node, revoking, by the standby node, the externally flooded prefix of the primary node.   
     
     
         7 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 6 . 
     
     
         8 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 5 . 
     
     
         9 . A non-transitory computer readable storage medium, in which a computer program is stored, wherein when running, the computer program is configured to perform the method according to  claim 5 . 
     
     
         10 . The method according to  claim 1 , wherein in a case where service function information is also carried in the SID information advertised by the primary node, the method further comprises:
 in a case where the SID network programming function type is a Segment Routing (SR) proxy function, matching the SID network programming function type of the standby node with the SR proxy function;   in a case where the SID network programming function type of the standby node is matched with the SR proxy function, matching service function information of an SR proxy of the standby node with the service function information corresponding to the SR proxy function of the primary node; and   in a case where the service function information of the SR proxy of the standby node is successfully matched with the service function information corresponding to the SR proxy function of the primary node, generating the protection entry.   
     
     
         11 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 10 . 
     
     
         12 . The method according to  claim 1 , wherein in a case where Virtual Private Network (VPN) service information is also carried in the SID information advertised by the primary node, the method further comprises:
 after the standby node receives a VPN route encapsulated by the primary node, matching the SID network programming function type in the VPN route with the SID network programming function type of the standby node;   in a case where the SID network programming function type in the VPN route is matched with the SID network programming function type of the standby node, matching VPN service information of the SID network programming function type of the standby node with the VPN service information corresponding to the SID network programming function type in the VPN route of the primary node; and   in a case where the VPN service information with the SID network programming function of the standby node is matched with the VPN service information corresponding to the SID network programming function type in the VPN route of the primary node, generating the protection entry.   
     
     
         13 . The method according to  claim 12 , wherein in a case where the primary node does not fail, but the link of a VPN network connected to the primary node fails, the method further comprises:
 receiving, by the standby node, a target message sent by the primary node and encapsulated in a preset manner, wherein the target message comprises a VPN SID assigned to the VPN network by the primary node; and   in a case where the VPN SID is matched with the protection entry, forwarding, by the standby node, the received message according to the protection entry, wherein in a case where the primary node and the link connected to the primary node do not fail, other nodes send the message to the primary node, and in a case where the primary node or the link connected to the primary node fail, the other nodes directly send the message to the standby node, the other nodes being other nodes except the primary node and the standby node.   
     
     
         14 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 13 . 
     
     
         15 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 12 . 
     
     
         16 . The method according to  claim 1 , wherein in a case where link information is also carried in the SID information advertised by the primary node, the method further comprises:
 matching, by the standby node, the SID network programming function type with the SID network programming function type of the standby node;   in a case where the SID network programming function type is successfully matched with the SID network programming function type of the standby node, matching, by the standby node, the link information with link information of the standby node; and   in a case where the link information is successfully matched with the link information of the standby node, generating the protection entry.   
     
     
         17 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 16 . 
     
     
         18 . A non-transitory computer readable storage medium, in which a computer program is stored, wherein when running, the computer program is configured to perform the method according to  claim 1 . 
     
     
         19 . An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program, so as to perform the method according to  claim 1 .

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.