IP Library › Granted Patent US 12,598,130
Granted Patent B2
US 12,598,130 · App. 18/276,230 · Granted Apr 7, 2026

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

Inventors: Yao Liu (Shenzhen, CN); Yubao Wang (Shenzhen, CN); Shaofu Peng (Shenzhen, CN)
Assignee: ZTE CORPORATION
H04L45/28H04L12/4675
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,598,130
App. No.
18/276,230
Granted
Apr 7, 2026
Kind
B2
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 (40)

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 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2023
From: LIU, YAO; WANG, YUBAO; PENG, SHAOFU
To: ZTE CORPORATION
Reel/Frame 064519/0633 →
Priority Claims (1)
CN 202110163438.1 · Feb 5, 2021 · national
Continuity (1)
Related Publication 20240121178A1 · Apr 11, 2024
References Cited (9)
US 9036641B2 · Allan · 2015 [cited by examiner]
CN 111224870A · 2020 [cited by applicant]
CN 111682996A · 2020 [cited by applicant]
EP 3641240A1 · 2020 [cited by applicant]
EP 3907942A1 · 2021 [cited by examiner]
EP 4236209A1 · 2023 [cited by examiner]
EP 3641240B1 · 2023 [cited by examiner]
WO WO2019105066A1 · 2019 [cited by examiner]
International Search Report for corresponding application PCT/CN2022/071398 filed Jan. 11, 2022; Mail date Apr. 1, 2022. [cited by applicant]