IP Library › Granted Patent US 12,744,730
Granted Patent B2
US 12,744,730 · App. 18/549,115 · Granted Sep 22, 2026

Packet forwarding method and system, storage medium, and electronic device

Inventors: Ran Chen (Guangdong, CN); Detao Zhao (Guangdong, CN)
Assignee: ZTE CORPORATION
H04L45/34H04L45/50
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,744,730
App. No.
18/549,115
Granted
Sep 22, 2026
Kind
B2
Abstract

Provided are a packet forwarding method and system. a source node in a first SR-MPLS domain sends, based on an SR-Policy, a packet to a destination node in a second SR-MPLS domain, wherein an SR-Policy segment list of the packet includes a BSID, so that the packet passes through an SRv6 domain between the first SR-MPLS domain and the second SR-MPLS domain; After receiving the packet, the first border node replaces the BSID with the SRv6-Policy which destination address is the second border node, the second border node forwards the packet based on the SRv6-Policy, and after receiving the packet, the second border node decapsulates the IPv6 header and its extension header according to the behavior indication information in the SR-Policy, perform an MPLS label forwarding table lookup, so as to forward the packet within the second SR-MPLS domain, until the packet is forwarded to the destination node.

Claims (32)

1 . A packet forwarding method, comprising:

sending, by a source node in a first Segment Routing Multi-Protocol Label Switching (SR-MPLS) domain, a packet to a destination node in a second SR-MPLS domain based on a segment routing policy (SR-Policy), wherein an SR-Policy segment list of the packet comprises a Binding Segment Identifier (BSID) in an MPLS label form, for the packet passes through an SRv6 domain between the first SR-MPLS domain and the second SR-MPLS domain;

after receiving the packet, replacing, by a first border node, a BSID in an MPLS label form with an SRv6-Policy which destination address is a second border node, and forwarding the packet based on the SRv6-Policy, wherein the first border node is a border node between the first SR-MPLS domain and the SRv6 domain, and the second border node is a border node between the SRv6 domain and the second SR-MPLS domain;

after receiving the packet, decapsulating, the second border node, the IPv6 header and the extension header of the packet according to the behavior indication information carried in the SR-Policy, performing lookup in the MPLS label forwarding table according to the MPLS label, so as to forward the packet within the second SR-MPLS domain until the packet is forwarded to the destination node;

wherein before the source node sends the packet to the destination node based on the SR Policy, the method further comprises:

sending, by a controller, an SR-Policy which destination address is the destination node of the second SR-MPLS domain to the source node, wherein the SR-Policy comprises a SR-Policy segment list for reaching the destination node;

wherein before the source node sends the packet to the destination node based on the SR Policy information, the method further comprises:

sending, by the controller, the SRv6-Policy which destination address is the second border node to the first border node, the SRv6-Policy comprises the SRv6-Policy segment list for reaching the second border node and the behavior indication information Endpoint with Decapsulation and MPLS Table Lookup Segment Identifier (End. DM SID) of the second border node, the behavior indication information End. DM SID of the second border node refer to decapsulate the IPv6 header and the extension header of the IPv6 header, and perform MPLS label forwarding table lookup according to the MPLS label to forward the packet;

wherein the behavior indication information is a Sub-TLV defined in an SR-Policy tunnel attribute: End. DM SID Sub-TLV, and the End. DM SID Sub-TLV is used for identifying the forwarding behavior of the node, when a specific node sends a BGP SRv6 Policy to the node, End. DM SID sub-TLV is extended, and this field carries the End. DM SID sub-TL V of the SRv6 Policy destination node; when the SRv6 Policy carries the BSID in the MPLS label form, the End. DM SID Sub-TLV is also carried.

2 . The method according to claim 1 , wherein, the first border node replacing the BSID in the MPLS label form with an SRv6 Policy which destination address is the second border node comprises:

when the packet hits the MPLS BSID table entry, encapsulating, by the first border node, the packet with the IPv6 header and the Segment Routing Header (SRH), and carrying the End. DM SID in the last hop of the SRH.

3 . The method according to claim 1 , wherein decapsulating, by the second border node, the IPv6 header and the extension header of the packet after receiving the packet comprises:

after receiving the packet, and when the second border node found that the destination address of the packet is itself and needs to execute the behavior indicated by the behavior indication information, decapsulating, by the second border node, the IPv6 header and the extension header of the IPv6 header according to the behavior indicated by the behavior indication information End. DM SID, and performing an MPLS label forwarding table lookup according to the MPLS label to forward the packet.

4 . The method according to claim 1 , wherein when the controller sends the SRv6-Policy which destination address is the second border node to the first border node, the End. DM SID Sub-TLV identifying the forwarding behavior of the second border node is carried.

5 . The method according to claim 4 , wherein the method further comprises:

when the controller sends the SRv6-Policy which destination address is the second border node to the first border node, and the SRv6 Policy carries the BSID in the MPLS label form, the Extended. DM SID Sub-TL V is also carried.

6 . The method according to claim 4 , wherein the method further comprises:

after the first border node receives the sent SRv6 Policy, and when the BSID in the MPLS label form and the End. DM SID Sub-TLV exist, storing the End. DM SID Sub-TLV in the entry item of the MPLS BSID.

7 . A non-transitory computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is configured to, when executed by a processor, cause the processor to implement the steps of the method as claimed in claim 1 .

8 . An electronic device, comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor is configured to execute the computer program to implement the steps of the method as claimed in claim 1 .

9 . An electronic device, comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor is configured to execute the computer program to implement the steps of the method as claimed in claim 2 .

10 . An electronic device, comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor is configured to execute the computer program to implement the steps of the method as claimed in claim 3 .

11 . A packet forwarding system, comprising: a source node in a first Segment Routing Multi-Protocol Label Switching (SR-MPLS) domain, a destination node in a second SR-MPLS domain, a first border node between the first SR-MPLS domain and an SRv6 domain, and a second border node between the SRv6 domain and a second SR-MPLS domain, wherein,

the source node is configured to send a packet to the destination node based on a segment routing policy (SR-Policy), wherein an SR-Policy segment list of the packet comprises a Binding Segment Identifier (BSID) in an MPLS label form, so that the packet passes through an SRv6 domain between the first SR-MPLS domain and the second SR-MPLS domain;

the first border node is configured to, after receiving the packet, replace the BSID in the MPLS label form with an SRv6-Policy which destination address is the border node between the SRv6 domain and the second SR-MPLS domain, and forward the packet based on the SRv6-Policy;

the second border node is configured to, after receiving the packet, decapsulate an IPv6 header of the packet to obtain an MPLS label according to the behavior indication information carried in the SR-Policy, and forward the packet to the destination node according to the MPLS label;

wherein the system further comprises:

a controller, configured to issue to the source node an SR-Policy which destination address is a destination node of a second SR-MPLS domain, wherein the SR-Policy comprises a SR-Policy segment list for reaching the destination node;

wherein, the controller is further configured to issue the SRv6-Policy which destination address is the second border node to the first border node, the SRv6-Policy includes the SRv6-Policy segment list for reaching the second border node and the behavior indication information Endpoint with Decapsulation and MPLS Table Lookup Segment Identifier (End. DM SID) of the second border node, the behavior indication information End. DM SID of the second border node refer to decapsulate the IPv6 header and an extension header of the IPv6 header, and perform an MPLS label forwarding table lookup according to the MPLS label to forward the packet;

wherein the behavior indication information is a Sub-TLV defined in an SR-Policy tunnel attribute: End. DM SID Sub-TLV, and the End. DM SID Sub-TLV is used for identifying the forwarding behavior of the node, when a specific node sends a BGP SRv6 Policy to the node, End. DM SID sub-TLV is extended, and this field carries the End. DM SID sub-TL V of the SRv6 Policy destination node; when the SRv6 Policy carries the BSID in the MPLS label form, the End. DM SID Sub-TLV is also carried.

12 . The system according to claim 11 , wherein, the first border node is further configured to, when the packet hits the MPLS BSID table entry, encapsulate the packet with an IPv6 header and an Segment Routing Header (SRH), and place the End. DM SID in the last hop of the SRH.

13 . The system according to claim 11 , wherein, the second border node is further configured to, after receiving the packet, when the destination address of the packet is found to be itself and the behavior indicated by the behavior indication information needs to be executed, decapsulate the IPv6 header and the extension header according to the behavior indicated by the behavior indication information End. DM SID, and perform the MPLS label forwarding table lookup according to the MPLS label to forward the packet.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2023
From: CHEN, RAN; ZHAO, DETAO
To: ZTE CORPORATION
Reel/Frame 064799/0649 →
Priority Claims (1)
CN 202110247317.5 · Mar 5, 2021 · national
Continuity (1)
Related Publication 20240154902A1 · May 9, 2024
References Cited (16)
US 20180198705A1 · Wang · 2018 [cited by examiner]
US 20200127913A1 · Filsfils · 2020 [cited by examiner]
US 20200128469A1 · Akhavain Mohammadi · 2020 [cited by examiner]
US 20210021513A1 · Filsfils · 2021 [cited by examiner]
US 20230137778A1 · Wen · 2023 [cited by examiner]
CN 110266592A · 2019 [cited by applicant]
CN 110830352A · 2020 [cited by applicant]
CN 110912795A · 2020 [cited by applicant]
CN 110958181A · 2020 [cited by applicant]
CN 111669330A · 2020 [cited by applicant]
CN 111713079A · 2020 [cited by applicant]
Translation of International Search Report for International Application No. PCT/CN2022/079343, dated May 7, 2022, 2 pages. [cited by applicant]
Translation of Written Opinion for International Application No. PCT/CN2022/079343, dated May 7, 2022, 4 pages. [cited by applicant]
Agrawal, S. E. et al, “SRv6 and MPLS interworking” IETF: draft-agrawal-spring-srv6-mpls-interworking-05, Feb. 22, 2021, sections 2-6, 42 pages. [cited by applicant]
Chinese Search Report for Application No. 2021102473175, dated Mar. 26, 2026, 3 pages with translation. [cited by applicant]
Chinese Search Report for Application No. 2021102473175, dated Jun. 26, 2026, 4 pages with translation. [cited by applicant]