# US 2012/0254483 A1 · Data transmission method, device and system

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

- Number: US 2012/0254483 A1
- Document ID: US20120254483A1
- Status: Published application
- Kind: A1
- Application number: 13/469,956
- Filed: 2012-05-11
- Published: 2012-10-04
- Earliest claimed: 2010-11-12
- Assignees: Huawei Technologies Co., Ltd.
- Inventors: Wumao Chen
- Web page: https://patentgrep.com/patent/US20120254483A1

## CPC

- H04L 49/506: Backpressure
- H04L 47/24: Traffic characterised by specific attributes, e.g. priority or QoS
- H04L 47/266: {Stopping or restarting the source, e.g. X-on or X-off}
- H04L 47/29: {using a combination of thresholds}
- H04L 47/30: in combination with information about buffer occupancy at either end or at transit nodes
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A data transmission method is provided, which includes: obtaining a current queue length of a queue corresponding to an output port; when the current queue length meets a back-pressure requirement, determining a back-pressure priority corresponding to the current queue length according to the current queue length and a mapping relationship between a preset queue length and the back-pressure priority, and generating back-pressure information, where the back-pressure information inhibits a line card from sending data with a data priority less than or equal to the back-pressure priority to the output port; and sending the back-pressure information to a line card.

## Claims

### Claim 1

A data transmission method, comprising:
obtaining a current queue length of a queue corresponding to an output port;
when the current queue length meets a back-pressure requirement, determining a back-pressure priority corresponding to the current queue length according to the current queue length and a mapping relationship between a preset queue length and the back-pressure priority, and generating back-pressure information, wherein the back-pressure information inhibits a line card to send data with a data priority less than or equal to the back-pressure priority to the output port; and
sending the back-pressure information to a line card, so that the line card stops sending the data with the data priority less than or equal to the back-pressure priority to the output port after receiving the back-pressure information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the mapping relationship between the preset queue length and the back-pressure priority is a mapping relationship between a queue length value and the back-pressure priority or a mapping relationship between a queue length interval and the back-pressure priority.

### Claim 3 (depends on 2)

The method according to claim 2, wherein if the mapping relationship between the preset queue length and the back-pressure priority is the mapping relationship between the queue length value and the back-pressure priority, the determining the back-pressure priority corresponding to the current queue length specifically comprises: querying the mapping relationship, and obtaining a back-pressure priority corresponding to a value of the current queue length; and
if the mapping relationship between the preset queue length and the back-pressure priority is the mapping relationship between the queue length interval and the back-pressure priority, the determining the back-pressure priority corresponding to the current queue length specifically comprises: querying the mapping relationship, and obtaining a back-pressure priority corresponding to a queue length interval where the current queue length resides.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, in the mapping relationship between the preset queue length and the back-pressure priority, the amount of the back-pressure priorities is less than or equal to the amount of the data priorities.

### Claim 5 (depends on 1)

The method according to claim 1, wherein before obtaining the current queue length of the queue corresponding to the output port, the method comprises: receiving data sent by a line card, wherein the data comprises an output port where the data will reach; and
storing the data into a queue corresponding to the output port.

### Claim 6

A data transmission device, comprising:
a current queue length obtaining module, configured to obtain a current queue length of a queue corresponding to an output port;
a back-pressure information generation module, configured to, when the current queue length meets a back-pressure requirement, determine a back-pressure priority corresponding to the current queue length according to the current queue length and a mapping relationship between a preset queue length and the back-pressure priority, and generate back-pressure information, wherein the back-pressure information inhibits a line card from sending data with a data priority less than or equal to the back-pressure priority to the output port; and
a back-pressure information sending module, configured to send the back-pressure information to a line card, so that the line card stops sending the data with the data priority less than or equal to the back-pressure priority to the output port after receiving the back-pressure information.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the mapping relationship between the preset queue length and the back-pressure priority is a mapping relationship between a queue length value and the back-pressure priority or a mapping relationship between a queue length interval and the back-pressure priority.

### Claim 8 (depends on 7)

The device according to claim 7, wherein if the mapping relationship between the preset queue length and the back-pressure priority is the mapping relationship between the queue length value and the back-pressure priority, the back-pressure information generation module further comprises: a back-pressure priority corresponding to a queue length value obtaining unit, configured to query the mapping relationship, and obtain a back-pressure priority corresponding to a value of the current queue length; and
if the mapping relationship between the preset queue length and the back-pressure priority is the mapping relationship between the queue length interval and the back-pressure priority, the back-pressure information generation module further comprises:
a back-pressure priority corresponding to a queue length interval obtaining unit, configured to query the mapping relationship, and obtain a back-pressure priority corresponding to a queue length interval where the current queue length resides.

### Claim 9 (depends on 6)

The device according to claim 6, wherein the line card uses queues with different priorities to store data with a corresponding data priority, and uses a priority scheduling mechanism to selectively send the data in the queues with different priorities.

### Claim 10 (depends on 6)

The device according to claim 6, further comprising:
a data receiving module, configured to receive data sent by a line card, wherein the data comprises an output port where the data will reach; and
a data storing module, configured to store the data into a queue corresponding to the output port.

### Claim 11

A data transmission system, comprising: a line card and a data transmission device, wherein
the line card is configured to send data to the data transmission device, and transmit data according to back-pressure information sent by the data transmission device; and
the data transmission device is configured to obtain a current queue length of a queue corresponding to an output port; when the current queue length meets a back-pressure requirement, determine a back-pressure priority corresponding to the current queue length according to the current queue length and a mapping relationship between a preset queue length and the back-pressure priority, and generate back-pressure information, wherein the back-pressure information inhibits a line card from sending data with a data priority less than or equal to the back-pressure priority to the output port; and send the back-pressure information to a line card, so that the line card stops sending the data with the data priority less than or equal to the back-pressure priority to the output port after receiving the back-pressure information.
