IP Library Granted Patent US 12,147,372
Granted Patent B2
US 12,147,372 · App. 17/870,535 · Granted Nov 19, 2024

PCIE-based data transmission method and apparatus

Inventors: Lei Wan (Beijing, CN); Pengxin Bao (Chengdu, CN)
Assignee: Huawei Technologies Co., Ltd.
G06F13/4221H04L45/74G06F2213/0026
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 12,147,372
App. No.
17/870,535
Granted
Nov 19, 2024
Kind
B2
Abstract

This application discloses a peripheral component interconnect express (PCIe)-based data transmission method and apparatus. The method includes: A first node encapsulates data into a transaction layer packet (TLP) and then sends the TLP to a second node. The TLP includes a packet header and an extension header. The packet header includes a first field and a second field. The first field, the second field, and the extension header are used to indicate first encapsulation information. The first encapsulation information includes a data type of the data and at least one encapsulation parameter corresponding to the data type. In some embodiments, the first field, the second field, and the extension header are used to indicate the information required for transmitting the data.

Claims (35)

1. A peripheral component interconnect express (PCIe)-based data transmission method, comprising:

encapsulating, by a first node, data into a transaction layer packet (TLP), wherein the TLP comprises a packet header and an extension header, the packet header comprises a first field and a second field, wherein the first field comprises a type field and the second field comprises a T9 field, the type field and the T9 field are jointly encoded to indicate a data type of the data, and the extension header is used to indicate at least one encapsulation parameter corresponding to the data type, the data type comprises at least one of an image, audio, control information, stream write (SWRITE), or security, and the at least one encapsulation parameter represents at least one attribute of the data type; and

sending, by the first node, the TLP to a second node.

2. The method according to claim 1 , wherein a value of a bit set indicates the data type, and the bit set comprises a bit in the first field and a bit in the second field; and

the extension header carries the at least one encapsulation parameter.

3. The method according to claim 1 , wherein the second field is a reserved bit.

4. The method according to claim 1 , wherein the packet header further comprises a third field, the third field carries another encapsulation parameter, other than the at least one encapsulation parameter.

5. The method according to claim 4 , wherein the third field is byte 4 to byte 15 or byte 4 to byte 11 of the packet header.

6. The method according to claim 1 , wherein the data type is an image, and the at least one encapsulation parameter comprises at least one of an image data type, pixel quantization depth, resolution, or segment indication information.

7. The method according to claim 1 , wherein the first field is a reserved value.

8. A peripheral component interconnect express (PCIe)-based data transmission apparatus, comprising:

a communications interface;

at least one processor; and

one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:

encapsulate data into a transaction layer packet (TLP), wherein the TLP comprises a packet header and an extension header, the packet header comprises a first field and a second field, wherein the first field comprises a type field, the second field comprises a T9 field, the type field and the T9 field are jointly encoded to indicate a data type of the data, and the extension header is used to indicate at least one encapsulation parameter corresponding to the data type, the data type comprises at least one of an image, audio, control information, stream write (SWRITE), or security, and the at least one encapsulation parameter represents at least one attribute of the data type; and

cause the communications interface to send the TLP to a second node.

9. The apparatus according to claim 8 , wherein a value of a bit set indicates the data type, and the bit set comprises a bit in the first field and a bit in the second field; and

the extension header carries the at least one encapsulation parameter.

10. The apparatus according to claim 8 , wherein the second field is a reserved bit.

11. The apparatus according to claim 8 , wherein the packet header further comprises a third field, the third field carries another encapsulation parameter, other than the at least one encapsulation parameter.

12. A peripheral component interconnect express (PCIe)-based data transmission apparatus, comprising:

a first communications interface, configured to transmit data with a first node;

a second communications interface, configured to transmit data with a third node;

at least one processor; and

one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to receive, by using the first communications interface, a first transaction layer packet (TLP) sent by the first node, and send a second TLP to the third node by using the second communications interface, wherein:

a TLP comprises a packet header and an extension header, wherein the packet header comprises a first field and a second field, the first field comprises a type field, the second field comprises a T9 field, the type field and the T9 field are jointly encoded to indicate a data type of the data, and the extension header is used to indicate at least one encapsulation parameter corresponding to the data type, the data type comprises at least one of an image, audio, control information, stream write (SWRITE), or security, the at least one encapsulation parameter represents at least one attribute of the data type, and the TLP comprises at least one of the first TLP or the second TLP.

13. The apparatus according to claim 12 , wherein a value of a bit set indicates the data type, and the bit set comprises a bit in the first field and a bit in the second field; and

the extension header carries the at least one encapsulation parameter.

14. The apparatus according to claim 12 , wherein the first field is a type field, and the second field is a reserved bit.

15. The apparatus according to claim 12 , wherein the packet header further comprises a third field, the third field carries another encapsulation parameter, other than the at least one encapsulation parameter.

16. The apparatus according to claim 12 , wherein the first TLP carries identity information of the third node;

the programming instructions are further for execution by the at least one processor to:

before sending the second TLP to the third node by using the second communications interface, select a routing path based on the identity information of the third node; and

when sending the second TLP to the third node by using the second communications interface, send the second TLP to the third node according to the routing path.

17. The method according to claim 1 , wherein the data type is audio, and the at least one encapsulation parameter comprises at least one of a sampling quantization format, sampling frequency, quantization depth, or quantity of audio channels/channels.

Assignments (3)
CHANGE OF NAME Recorded Apr 28, 2026
From: SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
To: YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
Reel/Frame 075492/0796 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 12, 2024
From: HUAWEI TECHNOLOGIES CO., LTD.
To: SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
Reel/Frame 069336/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 24, 2024
From: WAN, LEI; BAO, PENGXIN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 068683/0748 →