# US 2024/0004826 A1 · Communication apparatus and data transmission method

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

- Number: US 2024/0004826 A1
- Document ID: US20240004826A1
- Status: Published application
- Kind: A1
- Application number: 18/361,674
- Filed: 2023-07-28
- Published: 2024-01-04
- Earliest claimed: 2021-01-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Deng LU; Ke ZHENG; Zhenxing ZHANG
- Web page: https://patentgrep.com/patent/US20240004826A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- H04L 65/1069: Session establishment or de-establishment
- G06F 13/4072: {Drivers or receivers (G06F13/4086 takes precedence; for multistate logic circuits H03K19/0002)}
- G06F 13/4295: {using an embedded synchronisation}
- H04L 69/08: Protocols for interworking; Protocol conversion
- H04L 69/321: Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers
- H04L 69/323: in the physical layer [OSI layer 1]
- G06F 2213/0042: Universal serial bus [USB]
- H04L 25/0272: {Arrangements for coupling to multiple lines, e.g. for differential transmission}
- H04L 65/80: Responding to QoS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure relates to a communication apparatus and a data transmission method. In an example, the communication apparatus includes a universal serial bus (USB) protocol layer, a USB adapter layer, a transport layer, and a physical layer. The USB protocol layer is configured to send first data to the USB adapter layer. The USB adapter layer is configured to perform physical link adaptation on the first data to obtain second data and send the second data to the transport layer. The first data is adapted to a first physical link, the second data is adapted to a second physical link, and a bandwidth of the first physical link is lower than a bandwidth of the second physical link. The transport layer and the physical layer are configured to process the second data and send processed second data to a receive end through the second physical link.

## Claims

### Claim 1

A communication apparatus, comprising: a universal serial bus (USB) protocol layer, a USB adapter layer, a transport layer, and a physical layer, wherein
the USB protocol layer is configured to send first data to the USB adapter layer;
the USB adapter layer is configured to perform physical link adaptation on the first data to obtain second data, and send the second data to the transport layer, wherein the first data is adapted to a first physical link, the second data is adapted to a second physical link, and a bandwidth of the first physical link is lower than a bandwidth of the second physical link; and
the transport layer and the physical layer are configured to process the second data and send processed second data to a receive end through the second physical link.

### Claim 2 (depends on 1)

The communication apparatus according to claim 1, wherein in response to that the first data comprises at least one of a token packet, a handshake packet, or a special packet, the USB adapter layer is specifically configured to:
encapsulate the first data to obtain a first transmission packet, wherein
the second data comprises the first transmission packet.

### Claim 3 (depends on 1)

The communication apparatus according to claim 1, wherein in response to that the first data comprises a data packet, the USB adapter layer is specifically configured to:
split the data packet into a plurality of first data payloads and separately encapsulate the plurality of first data payloads to obtain a plurality of second transmission packets, wherein
the second data comprises the plurality of second transmission packets.

### Claim 4 (depends on 1)

The communication apparatus according to claim 1, wherein in response to that the first data further comprises a bus event, the USB adapter layer is specifically configured to:
in response to determining that the bus event arrives, encapsulate a start part of the bus event to obtain a third transmission packet;
the transport layer and the physical layer are specifically configured to process the third transmission packet and send a processed third transmission packet to the receive end through the second physical link;
the USB adapter layer is further specifically configured to:
in response to determining that the bus event ends, encapsulate an end part of the bus event to obtain a fourth transmission packet; and
the transport layer and the physical layer are specifically configured to process the fourth transmission packet and send a processed fourth transmission packet to the receive end through the second physical link.

### Claim 5 (depends on 1)

The communication apparatus according to claim 1, wherein
the USB protocol layer is further configured to send control information to the USB adapter;
the USB adapter layer is further configured to:
obtain first virtual resistor information from the control information through parsing; and
encapsulate the first virtual resistor information to obtain a fifth transmission packet; and
the transport layer and the physical layer are specifically configured to process the fifth transmission packet and send a processed fifth transmission packet to the receive end through the second physical link, wherein
the first virtual resistor information represents a status of a virtual bus by describing an on state or off state of a virtual resistor in the communication apparatus, the virtual bus is a bus that matches the USB protocol layer, the virtual resistor in the communication apparatus corresponds to a physical resistor, and the physical resistor comprises at least one of a high-speed termination resistor, a pull-up resistor, or a pull-down resistor.

### Claim 6 (depends on 2)

The communication apparatus according to claim 2, wherein the first transmission packet comprises a header and a data payload, and the header comprises corresponding transmission packet type information, data payload length information, and reliability protection information.

### Claim 7 (depends on 1)

The communication apparatus according to claim 1, wherein
the physical layer and the transport layer are further configured to process third data received through the second physical link and send processed third data to the USB adapter layer; and
the USB adapter layer is further configured to perform physical link adaptation on the processed third data to obtain fourth data and send the fourth data to the USB protocol layer, wherein the third data is adapted to the second physical link and the fourth data is adapted to the first physical link.

### Claim 8 (depends on 7)

The communication apparatus according to claim 7, wherein when the processed third data comprises one or more transmission packets, the USB adapter layer is specifically configured to:
separately parse a header or headers of the one or more transmission packets to obtain type information of the one or more transmission packets; and
in response to determining that the one or more transmission packets are data packets, aggregate one or more data payloads corresponding to the one or more transmission packets to obtain the fourth data; or
in response to determining that the one or more transmission packets are not data packets, use each of the one or more data payloads corresponding to the one or more transmission packets as the fourth data.

### Claim 9 (depends on 7)

The communication apparatus according to claim 7, wherein
the physical layer and the transport layer are further configured to process a sixth transmission packet received through the second physical link and send a processed sixth transmission packet to the USB adapter layer; and
the USB adapter layer is further configured to receive the processed sixth transmission packet and parse the processed sixth transmission packet to obtain second virtual resistor information, wherein the second virtual resistor information comprises an on state or off state of a virtual resistor at the receive end, the second virtual resistor information represents a status of a virtual bus, the virtual resistor at the receive end corresponds to a physical resistor, and the physical resistor comprises at least one of a high-speed termination resistor, a pull-up resistor, or a pull-down resistor.

### Claim 10 (depends on 9)

The communication apparatus according to claim 9, wherein the USB adapter layer is further configured to:
in response to determining that the USB adapter layer receives the first data, determine a status of a virtual bus based on content of the first data;
in response to determining that the USB adapter layer sends the fourth data, determine the status of the virtual bus based on content of the fourth data; or
in response to determining that the USB adapter layer neither receives the first data and nor sends the fourth data, determine the status of the virtual bus based on first virtual resistor information and the second virtual resistor information; and
send a current status of the virtual bus to the USB protocol layer.

### Claim 11 (depends on 10)

The communication apparatus according to claim 10, wherein the USB protocol layer is further configured to:
determine a working status of the communication apparatus at a next moment based on the status of the virtual bus, wherein the working status comprises at least one of the following: whether the USB protocol layer sends the first data or whether the USB protocol layer receives sixth data, the content comprised in the first data when the USB protocol layer sends the first data, or the first virtual resistor information obtained, by the USB adapter layer by parsing control information, when the USB protocol layer sends the control information.

### Claim 12

A data transmission method, comprising:
sending, by a universal serial bus (USB) protocol layer, first data to a USB adapter layer;
performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data, and sending the second data to a transport layer, wherein the first data is adapted to a first physical link, the second data is adapted to a second physical link, and a bandwidth of the first physical link is lower than a bandwidth of the second physical link; and
processing, by the transport layer and a physical layer, the second data and sending processed second data to a receive end through the second physical link.

### Claim 13 (depends on 12)

The data transmission method according to claim 12, wherein in response to that the first data comprises at least one of a token packet, a handshake packet, or a special packet, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data comprises: encapsulating, by the USB adapter layer, the first data to obtain a first transmission packet, wherein the second data comprises the first transmission packet.

### Claim 14 (depends on 12)

The data transmission method according to claim 12, wherein in response to that the first data comprises a data packet, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data comprises: splitting, by the USB adapter layer, the data packet into a plurality of first data payloads and separately encapsulating the plurality of first data payloads to obtain a plurality of second transmission packets, wherein the second data comprises the plurality of second transmission packets.

### Claim 15 (depends on 12)

The data transmission method according to claim 12, wherein
in response to that the first data further comprises a bus event, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data comprises:
in response to determining that the bus event arrives, encapsulating, by the USB adapter layer, a start part of the bus event to obtain a third transmission packet;
the processing, by the transport layer and a physical layer, the second data, and sending processed second data to a receive end through the second physical link comprises:
processing, by the transport layer and the physical layer, the third transmission packet and sending a processed third transmission packet to the receive end through the second physical link;
in response to determining that the first data further comprises the bus event, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data further comprises:
in response to determining that the bus event ends, encapsulating, by the USB adapter layer, an end part of the bus event to obtain a fourth transmission packet; and
the processing, by the transport layer and a physical layer, the second data and sending processed second data to a receive end through the second physical link further comprises:
processing, by the transport layer and the physical layer, the fourth transmission packet and sending a processed fourth transmission packet to the receive end through the second physical link.

### Claim 16 (depends on 13)

The data transmission method according to claim 13, wherein the first transmission packet comprises a header and a data payload, and the header comprises corresponding transmission packet type information, data payload length information, and reliability protection information.

### Claim 17 (depends on 12)

The data transmission method according to claim 12, further comprising:
processing third data received through the second physical link and sending processed third data to the USB adapter layer; and
performing physical link adaptation on the processed third data to obtain fourth data and sending the fourth data to the USB protocol layer, wherein the third data is adapted to the second physical link, and the fourth data is adapted to the first physical link.

### Claim 18

A non-transitory computer storage medium, coupled to at least one processor of a communication apparatus and storing programming instructions for execution by the at least one processor to cause the communication apparatus to perform operations comprising:
sending, by a universal serial bus (USB) protocol layer of the communication apparatus, first data to a USB adapter layer of the communication apparatus;
performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data, and sending the second data to a transport layer of the communication apparatus, wherein the first data is adapted to a first physical link, the second data is adapted to a second physical link, and a bandwidth of the first physical link is lower than a bandwidth of the second physical link; and
processing, by the transport layer and a physical layer of the communication apparatus, the second data and sending processed second data to a receive end through the second physical link.

### Claim 19 (depends on 18)

The non-transitory computer storage medium according to claim 18, wherein in response to that the first data comprises at least one of a token packet, a handshake packet, or a special packet, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data comprises:
encapsulating, by the USB adapter layer, the first data to obtain a first transmission packet, wherein the second data comprises the first transmission packet.

### Claim 20 (depends on 18)

The non-transitory computer storage medium according to claim 18, wherein in response to that the first data comprises a data packet, the performing, by the USB adapter layer, physical link adaptation on the first data to obtain second data comprises:
splitting, by the USB adapter layer, the data packet into a plurality of first data payloads and separately encapsulating the plurality of first data payloads to obtain a plurality of second transmission packets, wherein the second data comprises the plurality of second transmission packets.
