# US 2025/0097324 A1 · Packet receiving method, sending method, and forwarding method, apparatus, and system

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

- Number: US 2025/0097324 A1
- Document ID: US20250097324A1
- Status: Published application
- Kind: A1
- Application number: 18/962,005
- Filed: 2024-11-27
- Published: 2025-03-20
- Earliest claimed: 2022-05-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhenbin LI; Cheng LI; Jianwei MAO
- Web page: https://patentgrep.com/patent/US20250097324A1

## CPC

- H04L 45/74: Address processing for routing
- H04L 69/22: Parsing or analysis of headers
- H04L 45/00: Routing or path finding of packets in data switching networks (routing or path finding in wireless networks H04W40/00)
- H04L 45/306: {Route determination based on the nature of the carried application}
- H04L 45/34: {Source routing}
- H04L 45/38: {Flow based routing}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a packet receiving method, sending method, and forwarding method, an apparatus, and a system, and relates to the field of communication technologies. In solutions provided in this application, a destination address field of a packet received by a first node includes a segment identifier, and the first node can determine, from the destination address field, an arguments field corresponding to the segment identifier, and can execute a processing behavior indicated by the arguments field.

## Claims

### Claim 1

A network device applied to a first node, comprising:
one or more memories configured to store instructions; and
one or more processors coupled to the one or more memories and configured to execute the instructions, wherein execution of the instructions causes the network device to:
receive a first packet, wherein a first destination address field of the first packet comprises a first segment identifier;
determine a first arguments field from the first destination address field, wherein the first arguments field corresponds to the first segment identifier; and
execute at least one first processing behavior indicated by the first arguments field.

### Claim 2 (depends on 1)

The network device according to claim 1, wherein executing the instructions further causes the network device to:
identify at least one behavior instruction carried in the first arguments field; and
execute the at least one first processing behavior indicated by the at least one behavior instruction.

### Claim 3 (depends on 2)

The network device according to claim 2, wherein executing the instructions further causes the network device to:
identify, based on an arguments field template, the at least one behavior instruction carried in the first arguments field, wherein
the arguments field template is used to define a type, a location, and/or a length of the at least one behavior instruction carried in the first arguments field.

### Claim 4 (depends on 3)

The network device according to claim 3, wherein the first arguments field further comprises a template identifier, and wherein executing the instructions further causes the network device to:
determine the arguments field template based on a correspondence between the template identifier and the arguments field template.

### Claim 5 (depends on 3)

The network device according to claim 3, wherein executing the instructions further causes the network device to:
determine the arguments field template based on a correspondence between a behavior or a flavor indicated by the first segment identifier and the arguments field template.

### Claim 6 (depends on 2)

The network device according to claim 2, wherein executing the instructions further causes the network device to:
identify at least one flag bit carried in the first arguments field, wherein each flag bit corresponds to one behavior instruction; and
identify, based on the at least one flag bit, the at least one behavior instruction carried in the first arguments field.

### Claim 7 (depends on 6)

The network device according to claim 6, wherein each flag bit indicates whether the first arguments field carries a corresponding behavior instruction, or indicates whether a corresponding behavior instruction in the first arguments field can be identified.

### Claim 8 (depends on 1)

The network device according to claim 1, wherein executing the instructions further causes the network device to:
on a basis that a structured parameter function of the first node is in an enabled state, execute the at least one first processing behavior indicated by the first arguments field; or
determine, based on a behavior or a flavor indicated by a function field in the first segment identifier, that the first arguments field is a structured arguments field, and executing the at least one first processing behavior indicated by the first arguments field.

### Claim 9 (depends on 1)

The network device according to claim 1, wherein the first segment identifier is a compressed segment identifier, and a length of the compressed segment identifier is less than 128 bits.

### Claim 10 (depends on 1)

The network device according to claim 1, wherein a length of the first segment identifier is 128 bits.

### Claim 11

A network device, comprising:
one or more memories configured to store instructions; and
one or more processors coupled to the one or more memories and configured to execute the instructions, wherein execution of the instructions causes the network device to:
encapsulate a first segment identifier into a first packet; and
send the first packet, so that a node receiving the first packet determines a first arguments field from a first destination address field of the first packet, and executes at least one first processing behavior indicated by the first arguments field, wherein
the first arguments field corresponds to the first segment identifier.

### Claim 12 (depends on 11)

The network device according to claim 11, wherein executing the instructions further causes the network device to:
encapsulate the first segment identifier into the first destination address field; or
encapsulate a segment routing header SRH into the first packet, wherein the SRH comprises the first segment identifier.

### Claim 13 (depends on 11)

The network device according to claim 11, wherein the first packet belongs to a target service flow, and wherein executing the instructions further causes the network device to:
encapsulate a second segment identifier into a second packet of the target service flow; and
send the second packet, so that a node receiving the second packet determines a second arguments field from a second destination address field of the second packet, and executes at least one second processing behavior indicated by the second arguments field, wherein
the second arguments field corresponds to the second segment identifier, and the at least one second processing behavior is different from the at least one first processing behavior.

### Claim 14 (depends on 13)

The network device according to claim 13, wherein a node indicated by the first segment identifier is the same as a node indicated by the second segment identifier.

### Claim 15 (depends on 11)

The network device according to claim 11, wherein the first segment identifier is a compressed segment identifier, and a length of the compressed segment identifier is less than 128 bits; or
a length of the first segment identifier is 128 bits.

### Claim 16 (depends on 11)

The network device according to claim 11, wherein the first arguments field is comprised in the first segment identifier, or the first arguments field is located behind the first segment identifier.

### Claim 17

A packet forwarding method, applied to a packet forwarding system, wherein the packet forwarding system comprises a first node and a second node, and the method comprises:
receiving, by the first node, a first packet, wherein a first destination address field of the first packet comprises a first segment identifier;
determining, by the first node, a first arguments field from the first destination address field, wherein the first arguments field corresponds to the first segment identifier; and
executing, by the first node, at least one first processing behavior indicated by the first arguments field; and
receiving, by the second node, a second packet sent by the first node, wherein the second packet is obtained based on the first packet, and a second destination address field of the second packet comprises a second segment identifier;
determining, by the second node, a second arguments field from the second destination address field, wherein the second arguments field corresponds to the second segment identifier; and
executing, by the second node, at least one second processing behavior indicated by the second arguments field.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the first arguments field and the second arguments field are a same field.

### Claim 19 (depends on 17)

The method according to claim 17, wherein the at least one first processing behavior is the same as the at least one second processing behavior.

### Claim 20 (depends on 17)

The method according to claim 17, wherein both the first segment identifier and the second segment identifier are compressed segment identifiers, and a length of the compressed segment identifier is less than 128 bits; or
both a length of the first segment identifier and a length of the second segment identifier are 128 bits.
