Data processing method and device
A data processing and data technology, applied in the computer field, can solve the problems of difficult labeling, inapplicability, and large data volume.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] Such as figure 1 As shown, this embodiment provides a data processing method, which is applied to the data sender, and the method includes:
[0081] Step S101, comparing the data packet to be transmitted this time with the data packet transmitted last time, and obtaining the changed data in the data packet to be transmitted this time;
[0082] Step S102, generating a first compressed data packet according to the changed data and first information for reading the changed data;
[0083] Step S103 , transmit the first compressed data packet to the data receiver, so that the data receiver can obtain the data packet to be transmitted this time according to the first compressed data packet and the data packet obtained last time.
[0084] In this embodiment, the last data packet transmitted by the data sender is the uncompressed original data packet last transmitted to the data receiver. The data packet to be transmitted this time refers to the uncompressed original data pac...
Embodiment 2
[0119] Such as image 3 As shown, this embodiment also provides a data processing method, which is applied to the data receiver, and the method includes:
[0120] Step S201, receiving the first compressed data packet sent by the data sender;
[0121] Step S202, according to the first compressed data packet and the data packet obtained last time, obtain the data packet to be transmitted this time;
[0122] Wherein, the first compressed data packet is a data packet generated according to the changed data in the data packet to be transmitted this time and the first information for reading the changed data.
[0123] Through the above technical solution, the amount of data for lossless transmission can be reduced, and the efficiency of transmission and decompression can be improved.
[0124] It should be noted that if the data packet sent by the data sender carries information identifying the first data transmission, the data receiver directly takes the received data packet as th...
Embodiment 3
[0141] The data processing method of the present application is further described below.
[0142] In this embodiment, the data sender may be a controller or HMI, and the data receiver may also be a controller or HMI. Any data sender can communicate with multiple data receiving methods. In this embodiment, data transmission between data sender A and data receiver B is taken as an example for illustration.
[0143] In this embodiment, the data processing method (that is, the data compression method) applied to the data sender mainly includes the following parts: data slicing, determining valid data, generating a map table (equivalent to the aforementioned index table), generating compressed data Bag.
[0144] 1. Data slicing
[0145] In this embodiment, the data can be segmented to identify the data first, and the data can be identified on the principle of 4-byte alignment for the analog data storage area, and the data can be identified on the principle of 1-byte alignment for...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


