Run time compression method for a vehicle communication bus
First Claim
1. A method for run time zero byte compression of data for transmission over a communication bus for a vehicle, the method being executed on an electronic control unit connected to the communication bus, the method comprising the steps of:
- obtaining a data frame;
determining a number of zero bytes provided in a set of data bytes of the data frame;
determining if there are enough zero bytes in the set of data bytes for data compression;
when there are enough zero bytes for data compression, generating an encoding byte indicating locations in the data frame of zero bytes;
providing a data length code dependent on a number of non-zero data bytes in the data frame and the encoding byte, the data length code provided in a device header, the device header including a data message identifier; and
forming and transmitting a compressed data frame including the encoding byte and the non-zero data bytes,wherein the compressed data frame has less bytes of data than an uncompressed data frame.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for run time zero byte compression of data on a communication bus of a vehicle includes determining a number of zero byt.es provided in a data frame. When there are enough zero bytes, an encoding byte is generated that maps the locations of the zero bytes in the data frame. A data length code related to the number of non-zero data bytes and the encoding byte is provided in a device header. The data length code has a value less than an uncompressed data frame. The compressed data frame is transmitted with the encoding byte and the uncompressed non-zero data bytes. To decompress the compressed data frame, the encoding byte maps the locations of the zero bytes for a data frame. The non-zero data bytes are then provided at the proper locations to recreate the data frame.
-
Citations
18 Claims
-
1. A method for run time zero byte compression of data for transmission over a communication bus for a vehicle, the method being executed on an electronic control unit connected to the communication bus, the method comprising the steps of:
-
obtaining a data frame; determining a number of zero bytes provided in a set of data bytes of the data frame; determining if there are enough zero bytes in the set of data bytes for data compression; when there are enough zero bytes for data compression, generating an encoding byte indicating locations in the data frame of zero bytes; providing a data length code dependent on a number of non-zero data bytes in the data frame and the encoding byte, the data length code provided in a device header, the device header including a data message identifier; and forming and transmitting a compressed data frame including the encoding byte and the non-zero data bytes, wherein the compressed data frame has less bytes of data than an uncompressed data frame. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic control unit connected to a vehicle communication bus for transmitting a data frame through the vehicle communication bus to other electronic control units connected thereto, the electronic control unit including:
-
a processor and a memory, the memory storing instructions that when executed by the processor, cause the electronic control unit to obtain a data frame; determine a number of zero bytes provided in a set of data bytes of the data frame; determine if there are enough zero bytes in the set of data bytes for data compression; when there are enough zero bytes for data compression, generate an encoding byte indicating locations in the data frame of zero bytes; provide a data length code dependent on a number of non-zero data bytes in the data frame and the encoding byte, the data length code provided in a device header, the device header including a data message identifier; and form and transmit a compressed data frame including the encoding byte and the non-zero data bytes. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
11. An electronic control unit connected to a vehicle communication bus for transmitting a data frame through the vehicle communication bus to other electronic control units connected thereto, the electronic control unit including:
-
a processor and a memory, the memory storing instructions that when executed by the processor, cause the electronic control unit to obtain a data frame; determine a number of zero bytes provided in a set of data bytes of the data frame; determine if there are enough zero bytes in the set of data bytes for data compression; when there are enough zero bytes for data compression, generate an encoding byte indicating locations in the data frame of zero bytes; provide a data length code dependent on a number of non-zero data bytes in the data frame and the encoding byte, the data length code provided in a device header, the device header including a data message identifier; form and transmit a compressed data frame including the encoding byte and the non-zero data bytes; receive the data frame from the vehicle communication bus; determine whether the data length code has a value that corresponds to a stored data length code for the data message identifier, and when the data length code is less than the stored data length code, decompress the compressed data frame. - View Dependent Claims (17, 18)
-
Specification