# US 2025/0211525 A1 · Message encapsulation method and apparatus, message transmission method and apparatus, and network node and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211525 A1
- Document ID: US20250211525A1
- Status: Published application
- Kind: A1
- Application number: 18/849,065
- Filed: 2023-03-21
- Published: 2025-06-26
- Earliest claimed: 2022-03-24
- Applicants: China Mobile Communication Co., Ltd Research Institute; China Mobile Communications Group Co., Ltd.
- Inventors: Wenying JIANG; Weiqiang CHENG; Yisong LIU
- Web page: https://patentgrep.com/patent/US20250211525A1

## CPC

- H04L 45/74: Address processing for routing
- H04L 45/22: {Alternate routing}
- H04L 45/28: using route fault recovery
- H04L 45/34: {Source routing}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 69/06: Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
- H04L 69/22: Parsing or analysis of headers
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided in the present disclosure are a message encapsulation method and apparatus, a message transmission method and apparatus, and a network node and a storage medium. The method comprises: a first node setting a first bit in a first message, and encapsulating a first SID in a message header of the first message, wherein the first node is an ingress node, the first bit is a reserved bit of the first message, and the first SID is an SID which is allocated by a first egress node to a user.

## Claims

### Claim 1

A message encapsulation method, applied to a first node, the first node being an ingress node, the method comprising:
setting a first bit in a first message, and encapsulating a first Segment Identifier (SID) in a header of the first message, wherein
the first bit is a reserved bit in the first message, and the first SID is an SID allocated by a first egress node to a user.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first SID is encapsulated in an n-th position of a segment list of a segment routing header (SRH) of the first message, and the n-th position represents a last position of the segment list or a stack bottom position of the SRH.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
setting a value of a segments left (SL) field in the SRH to n−1.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first SID is encapsulated in a first Type Length Value (TLV) of a segment routing header (SRH) of the first message.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first egress node is a protection node for a second egress node.

### Claim 6 (depends on 5)

The method of claim 5, wherein before setting the first bit in the first message, and encapsulating the first SID in the header of the first message, the method further comprises:
determining that a second SID is configured with a backup first SID, wherein
the second SID is an SID allocated by the second egress node to the user.

### Claim 7 (depends on 1)

The method of claim 1, wherein before setting the first bit in the first message, and encapsulating the first SID in the header of the first message, the method further comprises:
determining that a third SID is an SID of a Penultimate Segment Popping (PSP) type, wherein
the third SID is a penultimate hop SID in a segment list of a Segment Routing Header (SRH).

### Claim 8

A message transmission method, applied to a second node, the second node being a penultimate hop node, the method comprising:
when it is discovered that a second Segment Identifier (SID) is unreachable and a first bit of a first message is a specific value, changing a destination address of the first message to a first SID, wherein
the first SID is carried in a header of the first message, the second SID is an SID allocated by a second egress node to a user, the first SID is an SID allocated by a first egress node to the user, and the first bit is a reserved bit in the first message.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first egress node is a protection node for the second egress node.

### Claim 10 (depends on 8)

The method of claim 8, wherein the first SID being carried in a header of the first message comprises:
the first SID being carried in an n-th position of a segment list of a Segment Routing Header (SRH) of the first message, and the n-th position being a last position of the segment list or a stack bottom position of the SRH.

### Claim 11 (depends on 8)

The method of claim 8, wherein the first SID being carried in the header of the first message comprises:
the first SID being carried in a Type Length Value (TLV) of a Segment Routing Header (SRH) of the first message.

### Claim at position 12

-15. (canceled)

### Claim 16

A first node, comprising: a processor and a memory for storing a computer program executable by the processor,
wherein the processor is configured to: when running the computer program, perform operations of:
setting a first bit in a first message, and encapsulating a first Segment Identifier (SID) in a header of the first message, wherein
the first bit is a reserved bit in the first message, and the first SID is an SID allocated by a first egress node to a user.

### Claim 17 (depends on 8)

A second node, comprising: a processor and a memory for storing a computer program executable by the processor,
wherein the processor is configured to: when running the computer program, perform the steps of the method claim 8.

### Claim 18

(canceled)

### Claim 19 (depends on 16)

The first node of claim 16, wherein the first SID is encapsulated in an n-th position of a segment list of a segment routing header (SRH) of the first message, and the n-th position represents a last position of the segment list or a stack bottom position of the SRH.

### Claim 20 (depends on 19)

The first node of claim 19, wherein the processor is further configured to: when running the computer program, perform:
setting a value of a segments left (SL) field in the SRH to n−1.

### Claim 21 (depends on 16)

The first node of claim 16, wherein the first SID is encapsulated in a first Type Length Value (TLV) of a segment routing header (SRH) of the first message.

### Claim 22 (depends on 16)

The first node of claim 16, wherein the first egress node is a protection node for a second egress node.

### Claim 23 (depends on 22)

The first node of claim 22, wherein the processor is further configured to: when running the computer program, perform:
before setting the first bit in the first message, and encapsulating the first SID in the header of the first message, determining that a second SID is configured with a backup first SID, wherein
the second SID is an SID allocated by the second egress node to the user.

### Claim 24 (depends on 16)

The first node of claim 16, wherein the processor is further configured to: when running the computer program, perform:
before setting the first bit in the first message, and encapsulating the first SID in the header of the first message, determining that a third SID is an SID of a Penultimate Segment Popping (PSP) type, wherein
the third SID is a penultimate hop SID in a segment list of a Segment Routing Header (SRH).
