Message compression method and device, vehicle-mounted control device and storage medium
The invention discloses a message compression method and device, a vehicle-mounted control device and a storage medium. The method comprises the following steps: acquiring an original message; splitting each byte in the original message into a high-order half byte and a low-order half byte; based on...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
26.04.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a message compression method and device, a vehicle-mounted control device and a storage medium. The method comprises the following steps: acquiring an original message; splitting each byte in the original message into a high-order half byte and a low-order half byte; based on high-order half bytes and low-order half bytes obtained by splitting each byte, a polarity list and an absolute value list are generated, the polarity list indicates the polarity corresponding to each high-order half byte and the polarity corresponding to each low-order half byte, and the absolute value list indicates the absolute value corresponding to each high-order half byte and the absolute value corresponding to each low-order half byte; determining a compression identification bit based on the similarity between the absolute values in the absolute value list; and when the compression identification bit indicates to perform message compression, determining a compressed message based on the polarity list, the |
---|---|
Bibliography: | Application Number: CN202410181270 |