# US 12,764,203 B2 · Information processing method and apparatus for ensuring transmission reliability of ethernet data packets

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

- Number: US 12,764,203 B2
- Document ID: US12764203B2
- Status: Granted
- Kind: B2
- Application number: 18/829,680
- Filed: 2024-09-10
- Published: 2025-01-02
- Granted: 2026-10-13
- Earliest claimed: 2022-03-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiaowei Tang; Qiang Fan; Chong Lou
- Web page: https://patentgrep.com/patent/US12764203B2

## CPC

- H04L 69/04: Protocols for data compression, e.g. ROHC
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides an information processing method and apparatus. In the information processing method provided in this application, a transmitter uses, as a reference data packet, an Ethernet data packet generated based on data collected by a sensor at a historical moment, establishes corresponding data tables at a receiver and the transmitter, then differentiates a first Ethernet data packet generated based on data subsequently collected by the sensor from the reference data packet to obtain deviation information, compresses the deviation information by using a preset coding algorithm to obtain compressed information for transmission, and finally transmits, to the receiver, packet identification information corresponding to the reference data packet, second identification information of a first sensor, and the compressed information, to compress the first Ethernet data packet.

## Claims

### Claim 1

A method, comprising:
generating a first Ethernet data packet, wherein the first Ethernet data packet carries first identification information of a first sensor or first data collected by the first sensor;
determining second identification information of the first sensor that has a preset mapping relationship with the first identification information of the first sensor;
in response to a first target Ethernet data packet corresponding to the second identification information of the first sensor existing in a first data table, determining target deviation information between the first Ethernet data packet and the first target Ethernet data packet, wherein the first target Ethernet data packet carries the first identification information of the first sensor and second data collected by the first sensor;
compressing the target deviation information based on a preset coding algorithm to obtain target coding deviation information;
obtaining packet identification information of the first target Ethernet data packet from the first data table;
sending first information, wherein the first information comprises first indication information or the target coding deviation information, and the first indication information indicates: the target coding deviation information being compressed information, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet;
generating the first target Ethernet data packet;
sending second information, wherein the second information comprises second indication information and the first target Ethernet data packet;
in response to J target Ethernet data packets corresponding to the second identification information of the first sensor existing in the first data table, obtaining J pieces of deviation information of the first target Ethernet data packet that correspond to the J target Ethernet data packets, M is a preset upper limit value of a quantity of target Ethernet data packets corresponding to the second identification information of the first sensor, wherein J is less than M; and
sending the second information when a ratio of a quantity of bit values that are a target value and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information and a first preset threshold meet a preset condition, wherein the target value comprises 0 or 1, and the preset condition comprises: when the target value is 0, a ratio of a quantity of bit values that are 0 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is less than the first preset threshold; or when the target value is 1, a ratio of a quantity of bit values that are 1 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is greater than the first preset threshold.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first target Ethernet data packet is one of K target Ethernet data packets, the K target Ethernet data packets are in one-to-one correspondence with K pieces of packet identification information, the K target Ethernet data packets all correspond to the second identification information of the first sensor, and K is less than or equal to M.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
determining K pieces of deviation information of the first Ethernet data packet that respectively correspond to the K target Ethernet data packets; and
determining, as the first target Ethernet data packet, a target Ethernet data packet corresponding to smallest deviation information in the K pieces of deviation information; and
wherein determining the target deviation information between the first Ethernet data packet and the first target Ethernet data packet comprises:
determining, as the target deviation information between the first Ethernet data packet and the first target Ethernet data packet, deviation information between the first Ethernet data packet and the target Ethernet data packet corresponding to the smallest deviation information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein:
the second indication information indicates: uncompressed first target Ethernet data packet, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet; and
the method further comprises establishing, in the first data table after first feedback information is received, a correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the first feedback information indicates that a receiver successfully receives the second information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein sending second information comprises:
sending the second information when no target Ethernet data packet corresponding to the second identification information of the first sensor exists in the first data table.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the method further comprises:
sending third information when the first feedback information is not received, wherein the third information comprises third indication information and a second Ethernet data packet, the third indication information indicates: uncompressed second Ethernet data packet, the second identification information of the first sensor, and packet identification information of the second Ethernet data packet, or the second Ethernet data packet carries the first identification information of the first sensor and third data collected by the first sensor; and
establishing, in the first data table after second feedback information is received, the correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the second feedback information indicates that the receiver successfully receives the third information, the first target Ethernet data packet is the second Ethernet data packet, and identification information of the first target Ethernet data packet is the packet identification information of the second Ethernet data packet.

### Claim 7 (depends on 4)

The method according to claim 4, wherein in response to the first target Ethernet data packet corresponding to the second identification information of the first sensor not existing in the first data table, the method further comprises:
sending fifth information, wherein the fifth information comprises fifth indication information and the first Ethernet data packet, and the fifth indication information indicates: uncompressed first Ethernet data packet, the second identification information of the first sensor, or packet identification information of the first Ethernet data packet; and
establishing, in the first data table after third feedback information is received, a correspondence among the second identification information of the first sensor, the first Ethernet data packet, and the packet identification information of the first Ethernet data packet, wherein the third feedback information indicates that the receiver successfully receives the fifth information.

### Claim 8 (depends on 1)

The method according to claim 1, wherein sending the second information comprises:
in response to M target Ethernet data packets corresponding to the second identification information of the first sensor existing in the first data table, obtaining M pieces of deviation information of the first target Ethernet data packet that respectively correspond to the M target Ethernet data packets;
sending the second information when a ratio of a quantity of bit values that are target values and that are comprised in a first piece of deviation information of the M pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information and a second preset threshold meet the preset condition; and
establishing, in the first data table after first feedback information is received, a correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet comprises:
after the first feedback information is received, when a correspondence among the second identification information of the first sensor, an ith Ethernet data packet, and packet identification information of the ith Ethernet data packet is deleted from the first data table, establishing, in the first data table, the correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the ith Ethernet data packet is a target Ethernet data packet that is in the M target Ethernet data packets and that corresponds to a maximum ratio in the deviation information between the target Ethernet data packet and the first target Ethernet data packet.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the method further comprises:
sending fourth information, wherein the fourth information indicates to delete the correspondence among the second identification information of the first sensor, an ith Ethernet data packet, and packet identification information of the ith Ethernet data packet.

### Claim 10

A non-transitory computer-readable storage medium, wherein the computer-readable medium stores instructions to be executed by a computer; and when the instructions are executed, a method comprising:
generating a first Ethernet data packet, wherein the first Ethernet data packet carries first identification information of a first sensor or first data collected by the first sensor;
determining second identification information of the first sensor that has a preset mapping relationship with the first identification information of the first sensor;
in response to a first target Ethernet data packet corresponding to the second identification information of the first sensor existing in a first data table, determining target deviation information between the first Ethernet data packet and the first target Ethernet data packet, wherein the first target Ethernet data packet carries the first identification information of the first sensor and second data collected by the first sensor;
compressing the target deviation information based on a preset coding algorithm to obtain target coding deviation information;
obtaining packet identification information of the first target Ethernet data packet from the first data table;
sending first information, wherein the first information comprises first indication information or the target coding deviation information, and the first indication information indicates: the target coding deviation information being compressed information, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet;
generating the first target Ethernet data packet;
sending second information, wherein the second information comprises second indication information and the first target Ethernet data packet;
in response to J target Ethernet data packets corresponding to the second identification information of the first sensor existing in the first data table, obtaining J pieces of deviation information of the first target Ethernet data packet that correspond to the J target Ethernet data packets, M is a preset upper limit value of a quantity of target Ethernet data packets corresponding to the second identification information of the first sensor, wherein J is less than M; and
sending the second information when a ratio of a quantity of bit values that are a target value and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information and a first preset threshold meet a preset condition, wherein the target value comprises 0 or 1, and the preset condition comprises: when the target value is 0, a ratio of a quantity of bit values that are 0 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is less than the first preset threshold; or when the target value is 1, a ratio of a quantity of bit values that are 1 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is greater than the first preset threshold.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium according to claim 10, wherein the first target Ethernet data packet is one of K target Ethernet data packets, the K target Ethernet data packets are in one-to-one correspondence with K pieces of packet identification information, the K target Ethernet data packets all correspond to the second identification information of the first sensor, and K is less than or equal to M.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the method further comprises:
determining K pieces of deviation information of the first Ethernet data packet that respectively correspond to the K target Ethernet data packets; and
determining, as the first target Ethernet data packet, a target Ethernet data packet corresponding to smallest deviation information in the K pieces of deviation information; and
wherein determining the target deviation information between the first Ethernet data packet and the first target Ethernet data packet comprises:
determining, as the target deviation information between the first Ethernet data packet and the first target Ethernet data packet, deviation information between the first Ethernet data packet and the target Ethernet data packet corresponding to the smallest deviation information.

### Claim 13 (depends on 10)

The non-transitory computer-readable storage medium according to claim 10, wherein:
the second indication information indicates: uncompressed first target Ethernet data packet, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet; and
the method further comprises establishing, in the first data table after first feedback information is received, a correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the first feedback information indicates that a receiver successfully receives the second information.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein sending second information comprises:
sending the second information when no target Ethernet data packet corresponding to the second identification information of the first sensor exists in the first data table.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the method further comprises:
sending third information when the first feedback information is not received, wherein the third information comprises third indication information and a second Ethernet data packet, the third indication information indicates: uncompressed second Ethernet data packet, the second identification information of the first sensor, and packet identification information of the second Ethernet data packet, or the second Ethernet data packet carries the first identification information of the first sensor and third data collected by the first sensor; and
establishing, in the first data table after second feedback information is received, the correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the second feedback information indicates that the receiver successfully receives the third information, the first target Ethernet data packet is the second Ethernet data packet, and identification information of the first target Ethernet data packet is the packet identification information of the second Ethernet data packet.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein in response to the first target Ethernet data packet corresponding to the second identification information of the first sensor does not existing in the first data table, the method further comprises:
sending fifth information, wherein the fifth information comprises fifth indication information and the first Ethernet data packet, and the fifth indication information indicates: uncompressed first Ethernet data packet, the second identification information of the first sensor, or packet identification information of the first Ethernet data packet; and
establishing, in the first data table after third feedback information is received, a correspondence among the second identification information of the first sensor, the first Ethernet data packet, and the packet identification information of the first Ethernet data packet, wherein the third feedback information indicates that the receiver successfully receives the fifth information.

### Claim 17

An apparatus, comprising:
at least one processor; and
at least one memory coupled to the at least one processor and configured to store programming instructions that, when executed by the at least one processor, cause the apparatus to:
generate a first Ethernet data packet, wherein the first Ethernet data packet carries first identification information of a first sensor or first data collected by the first sensor;
determine second identification information of the first sensor that has a preset mapping relationship with the first identification information of the first sensor;
in response to a first target Ethernet data packet corresponding to the second identification information of the first sensor existing in a first data table, determine target deviation information between the first Ethernet data packet and the first target Ethernet data packet, wherein the first target Ethernet data packet carries the first identification information of the first sensor and second data collected by the first sensor;
compress the target deviation information based on a preset coding algorithm to obtain target coding deviation information;
obtain packet identification information of the first target Ethernet data packet from the first data table;
send first information, wherein the first information comprises first indication information or the target coding deviation information, and the first indication information indicates: the target coding deviation information being compressed information, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet;
generate the first target Ethernet data packet;
send second information, wherein the second information comprises second indication information and the first target Ethernet data packet;
in response to J target Ethernet data packets corresponding to the second identification information of the first sensor existing in the first data table, obtain J pieces of deviation information of the first target Ethernet data packet that correspond to the J target Ethernet data packets, M is a preset upper limit value of a quantity of target Ethernet data packets corresponding to the second identification information of the first sensor, wherein J is less than M; and
send the second information when a ratio of a quantity of bit values that are a target value and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information and a first preset threshold meet a preset condition, wherein the target value comprises 0 or 1, and the preset condition comprises: when the target value is 0, a ratio of a quantity of bit values that are 0 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is less than the first preset threshold; or when the target value is 1, a ratio of a quantity of bit values that are 1 and that are comprised in a first piece of deviation information of the J pieces of deviation information to a total quantity of bits corresponding to the first piece of deviation information is greater than the first preset threshold.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the first target Ethernet data packet is one of K target Ethernet data packets, the K target Ethernet data packets are in one-to-one correspondence with K pieces of packet identification information, the K target Ethernet data packets all correspond to the second identification information of the first sensor, and K is less than or equal to M.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the programming instructions that, when executed by the at least one processor, further cause the apparatus to:
determine K pieces of deviation information of the first Ethernet data packet that respectively correspond to the K target Ethernet data packets; and
determine, as the first target Ethernet data packet, a target Ethernet data packet corresponding to smallest deviation information in the K pieces of deviation information; and
wherein determining the target deviation information between the first Ethernet data packet and the first target Ethernet data packet comprises:
determining, as the target deviation information between the first Ethernet data packet and the first target Ethernet data packet, deviation information between the first Ethernet data packet and the target Ethernet data packet corresponding to the smallest deviation information.

### Claim 20 (depends on 17)

The apparatus according to claim 17, wherein:
the second indication information indicates: uncompressed first target Ethernet data packet, the second identification information of the first sensor, or the packet identification information of the first target Ethernet data packet; and
the programming instructions that, when executed by the at least one processor, further cause the apparatus to:
establish, in the first data table after first feedback information is received, a correspondence among the second identification information of the first sensor, the first target Ethernet data packet, and the packet identification information of the first target Ethernet data packet, wherein the first feedback information indicates that a receiver successfully receives the second information.
