# US 2024/0204954 A1 · Communication method and related device

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

- Number: US 2024/0204954 A1
- Document ID: US20240204954A1
- Status: Published application
- Kind: A1
- Application number: 18/392,312
- Filed: 2023-12-21
- Published: 2024-06-20
- Earliest claimed: 2021-06-25
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Youjun Jiang; Hewen Zheng; Jianzhao Li; Lei Han; Xiaofei Xu
- Web page: https://patentgrep.com/patent/US20240204954A1

## CPC

- H04L 5/0053: {Allocation of signalling, i.e. of overhead other than pilot signals}
- H04L 1/0007: {by modifying the frame length}
- H04L 69/22: Parsing or analysis of headers
- H04L 69/24: Negotiation of communication capabilities
- H04W 28/0215: {based on user or device properties, e.g. MTC-capable devices (services for machine-to-machine communication [M2M] or machine type communication [MTC] H04W4/70; wireless resource selection or allocation plan definition based on terminal or device properties H04W72/51)}
- H04W 28/18: Negotiating wireless communication parameters
- H04L 1/0061: {Error detection codes}
- Y02D 30/00: Reducing energy consumption in communication networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Embodiments of this application disclose a communication method, and may be applied to a scenario such as switch networking (for example, high-performance computing HPC), the industrial Ethernet, or the like. The method includes: receiving first information sent by a second device, where the first information indicates a second MAC frame length supported by the second device; determining a third MAC frame length based on a first media access control MAC frame length and the second MAC frame length, where the first MAC frame length is a MAC frame length supported by the first device, and the first MAC frame length is the same as or different from the second MAC frame length; and communicating with the second device based on the third MAC frame length.

## Claims

### Claim at position 1

1-28. (cancelled)

### Claim 29

A method, comprising
receiving first information sent by a second device,
wherein the first information indicates a second media access control (MAC) frame length supported by the second device;
determining a third MAC frame length based on a first MAC frame length and the second MAC frame length,
wherein the first MAC frame length is supported by a first device; and
communicating with the second device based on the third MAC frame length.

### Claim 30 (depends on 29)

The method according to claim 29, wherein the first MAC frame length, the second MAC frame length, and the third MAC frame length each are a minimum MAC frame length, and wherein the minimum MAC frame length comprises a minimum length for transmitting a MAC frame; or
wherein the first MAC frame length, the second MAC frame length, and the third MAC frame length each are a maximum MAC frame length, and wherein the maximum MAC frame length comprises a maximum length for transmitting a MAC frame.

### Claim 31 (depends on 29)

The method according to claim 29, wherein determining the third MAC frame length based on the first MAC frame length and the second MAC frame length comprises:
determining that the first MAC length is the third MAC frame length, and the first MAC frame length is greater than or equal to the second MAC frame length.

### Claim 32 (depends on 29)

The method according to claim 29, wherein determining the third MAC frame length based on the first MAC frame length and the second MAC frame length comprises:
determining that the third MAC frame length is greater than or equal to the first MAC frame length;
determining that the second MAC frame length; and
determining that the third MAC frame length is less than 64 bytes.

### Claim 33 (depends on 29)

The method according to claim 29, the method further comprising:
sending second information to the second device,
wherein the second information indicates the first MAC frame length supported by the first device, and wherein the second information is used by the second device to determine the third MAC frame length.

### Claim 34 (depends on 29)

The method according to claim 29, the method further comprising:
obtaining first data, and
wherein communicating with the second device based on the third MAC frame length comprises:
in response to the first data satisfying a first condition:
performing non-padding encapsulation on the first data to obtain a first data frame; and
sending the first data frame to the second device,
wherein a length of the first data frame is greater than or equal to the third MAC frame length, wherein the third MAC frame length is less than 64 bytes, and wherein the first condition comprises:
the length of the first data is greater than or equal to a value obtained by subtracting an encapsulation length of the first data frame from the third MAC frame length.

### Claim 35 (depends on 34)

The method according to claim 34, wherein the communicating with the second device based on the third MAC frame length comprises:
in response to the first data satisfying a second condition:
performing padding encapsulation on the first data to obtain a second data frame; and
sending the second data frame to the second device,
wherein a length of the second data frame is greater than or equal to the third MAC frame length, wherein the third MAC frame length is less than 64 bytes, and wherein the second condition comprises:
the length of the first data is less than a value obtained by subtracting an encapsulation length of the second data frame from the third MAC frame length.

### Claim 36 (depends on 29)

The method according to claim 29, the method further comprising:
receiving a third data frame; and
in response to a length of the third data frame being less than the third MAC frame length, discarding the third data frame,
wherein the third MAC frame length is less than 64 bytes.

### Claim 37 (depends on 36)

The method according to claim 36, the method further comprising:
in response to the length of the third data frame is greater than 64 bytes, or in response to the length of the third data frame being less than 64 bytes and greater than or equal to the third MAC frame length:
receiving the third data frame.

### Claim 38 (depends on 29)

The method according to claim 29, wherein the first information comprises link layer discovery protocol (LLDP) information or physical coding sublayer (PCS) information.

### Claim 39 (depends on 38)

The method according to claim 38, wherein the first information is carried in a type-length-value (TLV) field in the LLDP information, a preamble, or a code block in the PCS information.

### Claim 40 (depends on 29)

The method according to claim 29, the method further comprising:
sending third information to a third device based on the third MAC frame length,
wherein the third information is used by the third device to determine a MAC frame length used in communication with the first device.

### Claim 41

A method, comprising:
obtaining, by a first device, first data; and
in response to the first data satisfying a first condition:
performing, by the first device, non-padding encapsulation on the first data to obtain a first data frame; and
sending the first data frame to a second device,
wherein the first condition comprises:
a length of the first data is greater than or equal to a value obtained by subtracting an encapsulation length of the first data frame from a minimum MAC frame length, and the minimum MAC frame length is less than 64 bytes.

### Claim 42 (depends on 41)

The method according to claim 41, the method further comprising:
in response to the first data satisfying a second condition:
performing, by the first device, padding encapsulation on the first data to obtain a second data frame; and
sending the second data frame to the second device,
wherein the second condition comprises:
the length of the first data is less than a value obtained by subtracting an encapsulation length of the second data frame from the minimum MAC frame length.

### Claim 43

A device, comprising:
at least one processor; and
at least one non-transitory computer-readable memory connected to the at least one processor and including instructions, wherein the at least one non-transitory computer-readable memory and the instructions are configured, with the at least one processor, to cause the device to:
receive first information sent by a second device,
wherein the first information indicates a second MAC frame length supported by the second device;
determine a third MAC frame length based on a first media access control MAC frame length and the second MAC frame length,
wherein the first MAC frame length is supported by the device; and
communicate with the second device based on the third MAC frame length.

### Claim 44 (depends on 43)

The device according to claim 43, wherein the first MAC frame length, the second MAC frame length, and the third MAC frame length each are a minimum MAC frame length, and wherein the minimum MAC frame length comprises a minimum length for transmitting a MAC frame; or
wherein the first MAC frame length, the second MAC frame length, and the third MAC frame length each are a maximum MAC frame length, and the maximum MAC frame length comprises a maximum length for transmitting a MAC frame.

### Claim 45 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
determine that the first MAC length is the third MAC frame length; and
determine that the first MAC frame length is greater than or equal to the second MAC frame length.

### Claim 46 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
determine that the third MAC frame length is greater than or equal to the first MAC frame length;
determine that the second MAC frame length; and
determine that the third MAC frame length is less than 64 bytes.

### Claim 47 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
send second information to the second device,
wherein the second information indicates that the first MAC frame length supported by the device, and
wherein the second information is used by the second device to determine the third MAC frame length.

### Claim 48 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
obtain first data; and
in response to the first data satisfying a first condition:
perform non-padding encapsulation on the first data to obtain a first data frame; and
send the first data frame to the second device,
wherein a length of the first data frame is greater than or equal to the third MAC frame length, wherein the third MAC frame length is less than 64 bytes, and wherein the first condition comprises:
a length of the first data is greater than or equal to a value obtained by subtracting an encapsulation length of the first data frame from the third MAC frame length.

### Claim 49 (depends on 48)

The device according to claim 48, wherein the instructions further cause the device to:
in response to the first data satisfying a second condition:
perform padding encapsulation on the first data to obtain a second data frame; and
send the second data frame to the second device,
wherein a length of the second data frame is greater than or equal to the third MAC frame length, wherein the third MAC frame length is less than 64 bytes, and wherein the second condition comprises: the length of the first data is less than a value obtained by subtracting an encapsulation length of the second data frame from the third MAC frame length.

### Claim 50 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
receive a third data frame; and
in response to a length of the third data frame being less than the third MAC frame length, discard the third data frame,
wherein the third MAC frame length is less than 64 bytes.

### Claim 51 (depends on 50)

The device according to claim 50, wherein the instructions further cause the device to:
in response to the length of the third data frame being greater than 64 bytes, or in response to the length of the third data frame being less than 64 bytes and greater than or equal to the third MAC frame length:
receive the third data frame.

### Claim 52 (depends on 43)

The device according to claim 43, wherein the first information comprises link layer discovery protocol (LLDP) information or physical coding sublayer (PCS) information.

### Claim 53 (depends on 52)

The device according to claim 52, wherein the first information is carried in a type-length-value TLV field in the LLDP information, a preamble, or a code block in the PCS information.

### Claim 54 (depends on 43)

The device according to claim 43, wherein the instructions further cause the device to:
send third information to a third device based on the third MAC frame length,
wherein the third information is used by the third device to determine a MAC frame length used for communication with the device.

### Claim 55

A device, comprising:
at least one processor; and
at least one non-transitory computer-readable memory connected to the at least one processor and including instructions, wherein the at least one non-transitory computer-readable memory and the instructions are configured, with the at least one processor, to cause the device to:
obtain first data; and
in response to the first data satisfying a first condition:
perform non-padding encapsulation on the first data to obtain a first data frame; and
send the first data frame to a second device,
wherein the first condition comprises:
a length of the first data is greater than or equal to a value obtained by subtracting an encapsulation length of the first data frame from a minimum MAC frame length, and the minimum MAC frame length is less than 64 bytes.

### Claim 56 (depends on 55)

The device according to claim 55, wherein the instructions further cause the device to:
in response to the first data satisfying a second condition:
perform, by the device, padding encapsulation on the first data to obtain a second data frame: and
send the second data frame to the second device,
wherein the second condition comprises:
the length of the first data is less than a value obtained by subtracting an encapsulation length of the second data frame from the minimum MAC frame length.
