Service chain fault protection method, apparatus, device and system, and storage medium
Abstract
This application provides a service chain fault protection method, an apparatus, a device, a service chain fault protection system, and a storage medium, and relates to the field of communications technologies. In this application, in an SRV6 static service chain scenario, when a link between an SF network element and an SFF accessed by the SF network element is faulty, a secondary SID is introduced to update a destination address field of a packet header of a packet to the secondary SID, so that the packet is bypassed, based on the secondary SID, to another SFF accessed by the SF network element, thereby implementing fault protection in the link between the SFF and the SF network element.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A system comprising: a first network device, applied to a first service function forwarder (SFF) in a service chain, the first network device comprising: at least one first processor, and one or more first memories coupled to the at least one first processor and storing first programming instructions, wherein the at least one first processor is configured to execute the first programming instructions, and executing the first programming instructions causes the first network device to: receive a first packet, wherein a destination address field of a packet header of the first packet comprises a proxy segment identifier (SID) corresponding to a first service function (SF) network element in the service chain, and the first SFF is accessed by the first SF network element, when a link between the first SFF and the first SF network element is faulty, update the destination address field of the first packet to obtain a second packet, wherein a destination address field of the second packet c
- Claim 2Depends on #1
The system according to claim 1, wherein a type of the first secondary SID is an End type.
- Claim 3Depends on #1
The system according to claim 1, wherein executing the first programming instructions causes the first network device to: replace the proxy SID in the first packet with a backup SID, wherein the backup SID indicates to the second SFF not to update the destination address field of the second packet to a second secondary SID, and the second secondary SID is a local SID of the first SFF.
- Claim 4Depends on #1
The system according to claim 1, wherein the protection group is an anycast group, and proxy SIDs issued by different SFFs in the anycast group are anycast SIDs.
- Claim 5Depends on #1
The system according to claim 1, wherein executing the second programming instructions further causes the second network device to: obtain a fifth packet based on the third packet at the second SFF, wherein the fifth packet comprises a payload of the third packet and does not comprise a segment list; and send the fifth packet to the first SF network element in the service chain.
- Claim 6Independent Claim
A network device, applied to a second service function forwarder (SFF) in a service chain, wherein the network device comprises: at least one processor; and one or more memories coupled to the at least one processor and storing programming instructions, wherein the at least one processor is configured to execute the programming instructions, and executing the programming instructions causes the network device to: receive a first packet, wherein a destination address field of a packet header of the first packet comprises a first secondary segment identifier (SID), and the first secondary SID is a local SID of the second SFF; perform local forwarding processing on the first packet based on the first secondary SID to obtain a second packet, wherein a destination address field of a packet header of the second packet comprises a backup SID; obtain a third packet based on the second packet, wherein the third packet comprises a payload of the second packet and does not comprise a segment list
- Claim 7Depends on #6
The network device according to claim 6, wherein a type of the first secondary SID is an End type.
- Claim 8Depends on #6
The network device according to claim 6, wherein the destination address field of the packet header of the second packet comprises a proxy SID corresponding to the first SF network element, and wherein executing the programming instructions causes the network device to: send the third packet to the first SF network element through an outbound interface corresponding to the proxy SID.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2020/116612, filed on Sep. 21, 2020, which claims priority to Chinese Patent Application No. 202010004825.6, filed on Jan. 3, 2020. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of communications technologies, and in particular, to a service chain fault protection method, apparatus, device and system, and a storage medium. BACKGROUND A service function chain (SFC for short, also referred to as a service function chain) is a technology that provides ordered services for an application layer. The SFC carries service chain path information in a packet, and indicates, by using the service chain path information, a path through which the packet is to pass, so that the packet passes through devices in sequence based on the specified path. In this way, services provided by the devices may be connected at a logical level, to form an ordered service combination. An architecture of the SFC includes nodes such as a service classifier (CF), a service function (SF), an SFC proxy, and a service function forwarder (SFF). The SFF is configured to forward, based on the service chain path information carried in the packet, the packet received from a network to several SFs associated with the SFF. The SF is configured to: receive the packet from the SFF, perform service function processing on the packet, and return a processed packet to the same SFF. Logically, the SFC proxy is located between the SFF and the several associated SFs thereof that are unaware of the service chain path information. The SFC proxy may receive the packet from the SFF on behalf of the SF, delete the service chain path information, and forward the packet to the SF. Physically, the SFF and the SFC proxy are usually integrated on a same device. Nowadays, with continuous evolution of se
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,224,939 B2 | Service packet forwarding method, apparatus, and computer storage medium | 2025 | 1 |
Non-Patent Literature (10)
- Clad, F. et al.,
- “
- Segment Routing for Service Chaining
- ”
- , draft-xuclad-spring-sr-service-chaining-01, Mar. 5, 2018, 36 pages.
- Mayer, A. et al.,
- “
- An Efficient Linux Kernel Implementation of Service Function Chaining for legacy VNFs based on IPv6 Segment Routing
- ”
- , 2019 IEEE Conference on Network Softwarization (NetSoft), Jun. 24, 2019, 9 pages.