# US 2021/0083970 A1 · Packet Processing Method and Apparatus

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

- Number: US 2021/0083970 A1
- Document ID: US20210083970A1
- Status: Published application
- Kind: A1
- Application number: 17/104,700
- Filed: 2020-11-25
- Published: 2021-03-18
- Earliest claimed: 2018-05-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bingyang Liu; Sipei Lv; Rui Meng; Fei Yang; Chuang Wang; Li Qiang
- Web page: https://patentgrep.com/patent/US20210083970A1

## CPC

- H04L 69/22: Parsing or analysis of headers
- H04L 45/02: Topology update or discovery
- H04L 45/34: {Source routing}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 47/22: Traffic shaping
- H04L 47/283: in response to processing delays, e.g. caused by jitter or round trip time [RTT]
- H04L 51/234: for tracking messages
- H04L 69/167: Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6 (translation of Internet protocol [IP] addresses H04L61/2503)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present invention provide a packet processing method, which is applied to a first node. The method includes: obtaining N first packets, where N is an integer greater than or equal to 1, and each of the first packets includes a first label; and sending the N first packets in a sending period corresponding to the first label.

## Claims

### Claim 1

A packet processing method, applied to a first node, wherein the method comprises:
obtaining N first packets, wherein N is an integer greater than or equal to 1, and each of the first packets comprises a first label; and
sending the N first packets in a sending period corresponding to the first label.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining N first packets comprises:
obtaining M second packets, wherein M is an integer greater than or equal to 1 but less than or equal to N, and each of the second packets comprises a second label; and
obtaining the first label according to the second label, and replacing the second label in the second packets with the first label to obtain M first packets.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the obtaining M second packets comprises:
obtaining the M second packets from a second node, wherein the second label is used to indicate a sending period in which the second node sends the second packets.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the obtaining the first label according to the second label comprises:
obtaining the first label according to the second label and an adjustment value corresponding to the second node.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the obtaining N first packets further comprises:
obtaining L third packets from a third node, wherein L is an integer greater than or equal to 1 but less than or equal to N, each of the third packets comprises a third label, and the third label is used to indicate a sending period in which the third node sends the third packets; and
obtaining the first label according to the third label and an adjustment value corresponding to the third node, and replacing the third label in the third packets with the first label to obtain L first packets.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the obtaining N first packets comprises:
determining a sending period of a fourth packet, and if the sending period of the fourth packet is the sending period corresponding to the first label, adding the first label to the fourth packet to obtain the first packets.

### Claim 7 (depends on 1)

The method according to claim 1, wherein different first labels are corresponding to different sending periods.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first packets are layer 2 data frames, and the first label is located in a frame header of each of the layer 2 data frames.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first packets are layer 3 data packets, and the first label is located in at least one of a basic header and an extension header of each of the layer 3 data packets.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first label comprises 2 bits, and a value of the 2 bits is one of 00, 01, 10, and 11.

### Claim 11 (depends on 1)

The method according to claim 1, wherein one sending period is corresponding to one sending queue, and the first node comprises three sending queues that are periodically used.

### Claim 12 (depends on 2)

The method according to claim 2, wherein the sending period corresponding to the first label is a next sending period after all the second packets are received.

### Claim 13

A packet processing apparatus, comprising:
a processor, configured to obtain N first packets, wherein N is an integer greater than or equal to 1, and each of the first packets comprises a first label; and
a sender, configured to send the N first packets in a sending period corresponding to the first label.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the processor is configured to: obtain M second packets, wherein M is an integer greater than or equal to 1 but less than or equal to N, and each of the second packets comprises a second label; obtain the first label according to the second label; and replace the second label in the second packets with the first label to obtain M first packets.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to obtain the M second packets from a second node, wherein the second label is used to indicate a sending period in which the second node sends the second packets.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the processor is configured to obtain the first label according to the second label and an adjustment value corresponding to the second node.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the processor is further configured to: obtain L third packets from a third node, wherein L is an integer greater than or equal to 1 but less than or equal to N, each of the third packets comprises a third label, and the third label is used to indicate a sending period in which the third node sends the third packets; obtain the first label according to the third label and an adjustment value corresponding to the third node; and replace the third label in the third packets with the first label to obtain L first packets.

### Claim 18 (depends on 13)

The apparatus according to claim 13, wherein the processor is configured to: determine a sending period of a fourth packet, and if the sending period of the fourth packet is the sending period corresponding to the first label, add the first label to the fourth packet to obtain the first packets.

### Claim 19 (depends on 13)

The apparatus according to claim 13, wherein different first labels are corresponding to different sending periods.

### Claim 20 (depends on 13)

The apparatus according to claim 13, wherein the first packets are layer 2 data frames, and the first label is located in a frame header part of each of the layer 2 data frames.
