The present invention discloses a
data compression method suitable for low-level embedded systems, including the following steps: S1,
processing target data to obtain the required
data format, and confirming the minimum effective data length; S2, presetting the
fault tolerance range according to the effective data length; S3, collecting a
reference frame as a reference data
reference table, and subsequent
data compression and decompression are based on this reference data
reference table, and update synchronization is performed on the basis of this reference data
reference table; S41, compressing the data vertically line by line through the
reference frame, comparing whether the changes before and after each section of effective data are within the preset
fault tolerance range, and judging whether the effective
data needs to be transmitted. The present invention can provide a higher
data compression rate to a certain extent, is more suitable for low-level embedded systems, saves costs, replaces the existing complex compression transmission method with a simple and easy-to-implement
compression method, makes the project development faster, and the entire
compression method is easier to maintain and transplant.