IP Library Granted Patent US 11,243,900
Granted Patent B2
US 11,243,900 · App. 16/670,193 · Granted Feb 8, 2022

Data transmission method and device

Inventors: Wenkai Ling (Hangzhou, CN); Jianrong Xu (Hangzhou, CN); Yong Liu (Xi'an, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F13/36H04L49/90H04L69/22G06F2213/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,243,900
App. No.
16/670,193
Granted
Feb 8, 2022
Kind
B2
Abstract

A data transmission method, including obtaining by a transmit end, at least two to-be-transmitted packets, determining a first interface used to transmit each of the packets in at least two interfaces of the transmit end, and determining an identifier of each of the packets that is related to the first interface, where the identifier represents an order of the first interface used to transmit each of the packets in the at least two interfaces used to send the at least two packets adding the identifier to a packet header of each of the packets and sending a packet added with the identifier to the receive end device through the first interface, so that the receive end device adjusts, based on the identifier, an order of the packet added with the identifier.

Claims (51)

1. A data transmission method, wherein the method comprises:

obtaining, by a transmit end, at least two to-be-transmitted packets, wherein the transmit end is coupled to a receive end, with data transmission between the transmit end and the receive end being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determining, by the transmit end, a first interface, among interfaces between the transmit end and the receive end, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

adding, by the transmit end, the identifier to a packet header of the first packet;

sending, by the transmit end, a packet added with the identifier to the receive end through the first interface;

receiving, by the receive end, the packet added with the identifier; and

sending, by the receive end, the packet to a processing queue of an interface having the identifier at the receive end.

2. The method according to claim 1 , wherein a first port of the first NC has at least two interfaces, and an interface connected to the at least two interfaces on the first port is located on a second port of the second NC.

3. The method according to claim 2 , wherein the method further comprises:

sending, by the transmit end when a second interface on the first port fails, the packet added with the identifier related to the second interface to the receive end through a third interface on the first NC.

4. A data transmission method, comprising:

obtaining, by a transmit end, at least two to-be-transmitted packets, wherein the transmit end is coupled to a receive end, with data transmission between the transmit end and the receive end being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determining, by the transmit end, a first interface, among interfaces between the transmit end and the receive end, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

adding, by the transmit end, the identifier to a packet header of the first packet; and

sending, by the transmit end, a packet added with the identifier to the receive end through the first interface,

wherein when data is transmitted between the CPU and the first NC in a full bandwidth transmission manner, a quantity of the interfaces of the transmit end is equal to a quantity of the at least two packets, and the identifier of each of the packets that is related to the first interface is an identifier used for the first interface.

5. A data transmission method, comprising:

obtaining, by a transmit end, at least two to-be-transmitted packets, wherein the transmit end is coupled to a receive end, with data transmission between the transmit end and the receive end being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determining, by the transmit end, a first interface, among interfaces between the transmit end and the receive end, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

adding, by the transmit end, the identifier to a packet header of the first packet; and

sending, by the transmit end, a packet added with the identifier to the receive end through the first interface,

wherein when data is transmitted between the CPU and the first NC in a half bandwidth transmission manner, if a quantity of the packets is n and an order of a first interface used to transmit an i th packet in the n packets in n interfaces used to transmit the n packets is i, an identifier that is of the i th packet and that is related to the first interface is an identifier of an i th interface at the transmit end, wherein a quantity of the interfaces of the transmit end is greater than or equal to a quantity of the at least two packets, n is a positive integer, and i is a positive integer less than or equal to n.

6. A transmit device comprising a processor and a memory, the memory is configured to store a computer execution instruction, and when the device runs, the processor executes the computer execution instruction stored in the memory to:

obtain at least two to-be-transmitted packets, wherein the transmit device is coupled to a receive device, with data transmission between the transmit device and the receive device being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determine a first interface, among interfaces between the transmit device and the receive device, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

add the identifier to a packet header of the first packet;

send a packet added with the identifier to the receive device through the first interface;

receive, by the receive end, the packet added with the identifier; and

send, by the receive end, the packet to a processing queue of an interface having the identifier at the receive end.

7. The transmit device according to claim 6 , wherein a first port of the first NC has at least two interfaces, and an interface connected to the at least two interfaces on the first port is located on a second port of the second NC.

8. The transmit device according to claim 7 , wherein the processor executes the computer execution instruction stored in the memory further to:

when a second interface on the first port fails send the packet added with the identifier related to the second interface to the receive end through a third interface on the first NC.

9. A transmit device comprising a processor and a memory, the memory is configured to store a computer execution instruction, and when the device runs, the processor executes the computer execution instruction stored in the memory to:

obtain at least two to-be-transmitted packets, wherein the transmit device is coupled to a receive device, with data transmission between the transmit device and the receive device being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determine a first interface, among interfaces between the transmit device and the receive device, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

add the identifier to a packet header of the first packet; and

send a packet added with the identifier to the receive device through the first interface,

wherein when data is transmitted between the CPU and the first NC in a full bandwidth transmission manner, a quantity of the interfaces of the transmit device is equal to a quantity of the at least two packets, and the identifier of each of the packets and related to the first interface is an identifier used for the first interface.

10. A transmit device comprising a processor and a memory, the memory is configured to store a computer execution instruction, and when the device runs, the processor executes the computer execution instruction stored in the memory to:

obtain at least two to-be-transmitted packets, wherein the transmit device is coupled to a receive device, with data transmission between the transmit device and the receive device being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determine a first interface, among interfaces between the transmit device and the receive device, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

add the identifier to a packet header of the first packet; and

send a packet added with the identifier to the receive device through the first interface,

wherein when data is transmitted between the CPU and the first NC in a half bandwidth transmission manner, if a quantity of the packets is n and an order of a first interface used to transmit an i th packet in the n packets in n interfaces used to transmit the n packets is i, an identifier that is of the i th packet and that is related to the first interface is an identifier of an i th interface at the transmit device, wherein a quantity of the interfaces of the transmit device is greater than or equal to a quantity of the at least two packets, n is a positive integer, and i is a positive integer less than or equal to n.

11. A non-transitory computer-readable storage medium comprising instructions which, when executed by a computer, causes the computer to perform a process comprising:

obtaining, by a transmit end, at least two to-be-transmitted packets, wherein the transmit end is coupled to a receive end, with data transmission between the transmit end and the receive end being between a first node controller (NC) and a central processing unit (CPU) or between the first NC and a second NC connected to the first NC;

determining a first interface, among interfaces between the transmit end and the receive end, and an identifier, wherein the first interface is used to transmit a first packet and the first packet is one of the at least two to-be-transmitted packets, wherein the identifier indicates an order of the first interface among all the interfaces that send the at least two to-be-transmitted packets;

adding the identifier to a packet header of the first packet;

sending a packet added with the identifier to the receive end through the first interface;

receiving, by the receive end, the packet added with the identifier; and

sending, by the receive end, the packet to a processing queue of an interface having the identifier at the receive end.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 10, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: XFUSION DIGITAL TECHNOLOGIES CO., LTD.
Reel/Frame 058682/0312 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2020
From: LING, WENKAI; XU, JIANRONG; LIU, YONG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 052538/0078 →
Priority Claims (1)
CN 201710624681.2 · Jul 27, 2017 · national
Continuity (2)
Continuation PCTCN2018088922 · May 30, 2018
Related Publication 20200065279A1 · Feb 27, 2020