# US 2023/0156102 A1 · Packet processing method, network device, and related device

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

- Number: US 2023/0156102 A1
- Document ID: US20230156102A1
- Status: Published application
- Kind: A1
- Application number: 18/153,618
- Filed: 2023-01-12
- Published: 2023-05-18
- Earliest claimed: 2020-07-23
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhijian Liao; Jincheng Bao
- Web page: https://patentgrep.com/patent/US20230156102A1

## CPC

- H04L 47/70: Admission control; Resource allocation
- H04L 49/3009: {Header conversion, routing tables or routing tags}
- H04L 49/90: Buffering arrangements
- H04L 49/9042: {Separate storage for different parts of the packet, e.g. header and payload}
- H04L 69/161: {Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields}
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In a packet processing method, a network device receives a packet of an application running in a server connected to the network device. The network device separates data of the application from the packet, and writes the data of the application into a memory allocated in the server to the application.

## Claims

### Claim 1

A method for packet processing performed by a network device, the method comprising:
receiving a packet of an application running in a server connected to the network device;
separating data of the application from the packet; and
writing the data of the application into a memory allocated in the server to the application.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
separating a packet header and metadata of the data of the application from the packet; and
storing the packet header and the metadata of the data of the application into a memory allocated by the server to a driver of the network device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the step of separating separates the data of the application from the packet based on a delimitation template, wherein the delimitation template defines a rule of separation between the data of the application and other data in the packet.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the application is a TCP application.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the rule of separation defined in the delimitation template is: the metadata of the TCP application uniformly ends with a particular delimiter.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the rule of separation defined in the delimitation template is: a length of the metadata of the TCP application is uniform L1, and a length of the packet header of the packet is fixed.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the step of receiving the packet of the application comprises:
aggregating a plurality of sub-packets belonging to a same data stream into the packet, wherein source internet protocol (IP) addresses and destination IP addresses of the plurality of sub-packets belonging to the same data stream are the same.

### Claim 8 (depends on 1)

The method according to claim 1, wherein before the step of separating the data of the application from the packet, the method further comprises:
determining that the packet comprises complete data in one data stream.

### Claim 9

A network device comprising:
a memory storing executable instructions; and
a processor coupled to the memory and configured to execute the executable instructions to:
receive, from a server connected to the network device, a packet of an application running in the server;
separate data of the application from the packet; and
write the data of the application into a memory allocated in the server to the application.

### Claim 10 (depends on 9)

The network device according to claim 9, wherein the processor is further configured to:
separate a packet header and metadata of the data of the application from the packet; and
store the packet header and the metadata of the data of the application into a memory allocated by the server to a driver of the network device.

### Claim 11 (depends on 9)

The network device according to claim 9, wherein the processor is configured to separate the data of the application from the packet based on a delimitation template, wherein the delimitation template defines a rule of separation between the data of the application and other data in the packet.

### Claim 12 (depends on 11)

The network device according to claim 11, wherein the application is a Transmission Control Protocol (TCP) application.

### Claim 13 (depends on 12)

The network device according to claim 12, wherein the rule of separation defined in the delimitation template is: the metadata of the TCP application uniformly ends with a particular delimiter.

### Claim 14 (depends on 12)

The network device according to claim 12, wherein the rule of separation defined in the delimitation template is: a length of the metadata of the TCP application is uniform L1, and a length of the packet header of the packet is fixed.

### Claim 15 (depends on 9)

The network device according to claim 9, wherein the processor is configured to receive the packet of the application running in the server by aggregating a plurality of sub-packets belonging to a same data stream into the packet, wherein source internet protocol (IP) addresses and destination IP addresses of the plurality of sub-packets belonging to the same data stream are the same.

### Claim 16 (depends on 9)

The network device according to claim 9, wherein before separating the data of the application from the packet, the processor is configured to:
determine that the packet comprises complete data in one data stream.
