System and method for nearly lossless universal data compression using correlated data sequences
By using sensor detection data sequence encoding and decoding in autonomous vehicles, combined with the context tree weighted compression algorithm, the problem of low data sequence compression efficiency in autonomous vehicles is solved, and efficient lossless compression and storage of data is achieved.
Patent Information
- Application Number
- CN202110229055.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-02
- Filing Date
- 2021-03-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-03-02
AI Technical Summary
Existing technology is difficult to achieve efficient and lossless compression of data sequences generated by multiple sensors in autonomous vehicles, resulting in a waste of data storage, processing and transmission resources.
The first and second sensors detect the surrounding environment of the target to generate data sequences, and the processor encodes and decodes these data sequences. The electronic controller is used to determine the statistical correlation between the data sequences, and a mapping function is constructed to realize the processing of the data sequences. Nearly lossless compression, specifically using the context tree weighting (CTW) compression algorithm.
It effectively reduces the size of data sequences, improves data storage and transmission efficiency, avoids information loss, and achieves efficient management of data in autonomous vehicles.
Smart Images

Figure CN113346912B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to systems and methods for nearly lossless universal data compression using correlated data sequences generated by multiple data sources.The subject systems and methods may be employed in the guidance of autonomous vehicles. Background Art
[0002] Vehicle automation involves the use of mechatronics, artificial intelligence, and multi-agent systems to sense the vehicle's surroundings and provide guidance to assist the vehicle operator. Such features and vehicles that employ them may be labeled intelligent or smart. Vehicles that use automation to perform complex tasks, especially navigation, may be called semi-autonomous. Thus, vehicles that rely entirely on automation may be called robotic or autonomous. Manufacturers and researchers are currently adding a variety of automated features to cars and other vehicles.
[0003] Autonomy in vehicles is often classified into discrete levels, such as Level 1 - Driver Assistance - at this level, the vehicle can autonomously control steering or speed to assist the driver in certain situations; Level 2 - Partial Automation - at this level, the vehicle can autonomously control both steering and speed to assist the driver in certain situations; Level 3 - Conditional Automation - at this level, the vehicle can autonomously control both steering and speed under normal environmental conditions, but requires driver supervision; Level 4 - High Automation - at this level, the vehicle can autonomously complete a specified journey under normal environmental conditions without driver supervision; and Level 5 - Full Autonomy - at this level, the vehicle can autonomously complete a specified journey under any environmental conditions.
[0004] Vehicle autonomy requires increasingly complex perception systems, including various optical devices and a large number of sensors to detect objects and other obstacles around the host vehicle, as well as on-board processors and software for interpreting the captured data. In order to achieve vehicle automation, data processing resources need to be managed to efficiently store, process and transmit the large amounts of data captured by the subject sensors. Additionally, vehicle autonomy often includes artificial intelligence (AI) algorithms configured to evaluate incoming data from the subject sensors. Such AI algorithms can be used to analyze and interpret data from independent (i.e., unlinked) sensors to construct wide-angle and / or high-resolution images for autonomous driving.
[0005] In signal processing, the process of reducing the size of a data file (i.e., a reduction in bit rate) is often referred to as data compression. Compression is useful because it reduces the resources required to store, process, and transmit data. In the context of data transmission, data compression is identified as source coding - encoding done at the data source before storing or transmitting the data. Data compression involves encoding information using fewer bits than the original representation. Compression can be lossy or lossless.
[0006] Lossless compression typically reduces bits by identifying and eliminating statistical redundancy. In lossless compression, no information is lost. In contrast, lossy compression reduces bits by removing unnecessary or less important information, but typically results in information loss. Additionally, compression performed on data from a source without prior knowledge of the source's data distribution is often referred to as "universal compression." Compression of data from multiple unlinked sources that may be individually compressed and decompressed at a single decoder is often referred to as "distributed compression." Summary of the invention
[0007] A method for nearly lossless universal data compression using correlated data sequences generated by multiple sensors or data sources includes: detecting a first target surrounding environment via a first sensor. The method also includes: encoding, by a first processor, a first data sequence indicating the detected first target surrounding environment. The method additionally includes: transmitting, by the first processor, the encoded first data sequence to an electronic controller. The method also includes: detecting the first target surrounding environment via a second sensor; and encoding, by the second processor, a second data sequence indicating the first target surrounding environment detected by the second sensor. The method additionally includes: transmitting, by the second processor, the encoded second data sequence to the electronic controller. The method also includes: decoding, by the electronic controller, the encoded first data sequence and the encoded second data sequence. The method additionally includes: determining, by the electronic controller, a statistical correlation between the decoded first data sequence and the decoded second data sequence; and formulating, by the electronic controller, a mapping function having a reduced cardinality and indicating the determined statistical correlation. In addition, the method includes: feeding back the mapping function to the first processor via the electronic controller.
[0008] The method may further include: detecting a second target surrounding environment via the first sensor; and transforming a third data sequence indicating the detected second target surrounding environment using a mapping function via the first processor. Additionally, the method may include: encoding the transformed third data sequence via the first processor.
[0009] The transformed third data sequence may be at a lower data cardinality than the third data sequence, and thus, the size of the encoded transformed third data sequence may be smaller than the size of the encoded third data sequence.
[0010] The method may also include: detecting a second target surrounding environment via a second sensor; and encoding, via a second processor, a fourth data sequence indicating the second target surrounding environment detected by the second sensor. The method may additionally include: transmitting the encoded fourth data sequence to an electronic controller via the second processor; and transmitting the encoded transformed third data sequence to the electronic controller via the first processor. The method may further include: decoding the encoded transformed third data sequence and the encoded fourth data sequence via the electronic controller; and determining the third data sequence using the transformed third data sequence and the decoded fourth data sequence via the electronic controller.
[0011] According to the method, encoding via the first processor may include constructing a primary context tree data structure for encoding using a context tree weighting (CTW) compression algorithm, and decoding via the electronic controller may include constructing a primary context tree data structure for decoding using the CTW compression algorithm. Additionally, determining a statistical correlation between the decoded first data sequence and the decoded second data sequence may include: constructing a secondary context tree data structure for decoding from each leaf of the primary context tree data structure for decoding via the electronic controller.
[0012] According to the method, encoding each of the first data sequence and the third data sequence may include: constructing a corresponding first encoding main context tree data structure and a third encoding main context tree data structure, and encoding the first data sequence may be configured to generate a conditional likelihood ratio for each data symbol in the first data sequence. Transforming the third data sequence may use a corresponding mapping function at each leaf of the third encoding main context tree data structure, which transforms the symbols of the third data sequence. Additionally, encoding the transformed third data sequence may be configured to generate a conditional likelihood ratio for each data symbol in the transformed third data sequence using the third encoding main context tree data structure.
[0013] According to the method, decoding the encoded transformed third data sequence may include: using the CTW compression algorithm to construct a decoding primary context tree data structure. Additionally, the third data sequence may include: using the constructed decoding primary context tree data structure and the constructed decoding secondary context tree data structure for each leaf of the decoding primary context tree data structure.
[0014] According to the method, formulating the mapping function may include enumerating, in a decoding secondary context tree data structure, a number of occurrences of a current data symbol in the first data sequence for a context of the first data sequence and a context of the second data sequence. Additionally, formulating the mapping function may include using the decoding secondary context tree data structure to achieve a target error probability. Obtaining the target error probability, in turn, is intended to facilitate mapping a plurality of input symbols into a common interval when using each of the primary context tree data structure and the secondary context tree data structure, the plurality of input symbols differing from one another within an average error probability within the entire first data sequence that is less than or equal to the target error probability.
[0015] According to the method, decoding the encoded transformed third data sequence may include constructing a primary context tree data structure for decoding, and determining the third data sequence may additionally include using the decoded fourth data sequence and a secondary context tree data structure for decoding.
[0016] According to the method, determining the third data sequence may additionally include: descending through the decoding primary context tree data structure to reach a leaf having a mapping function, the mapping function being used to map each data symbol in the third data sequence to a corresponding interval value in the transformed third data sequence. In this case, the method may also include: descending through the secondary context tree data structure based on the current context of the decoded fourth data sequence to establish the value of the current data symbol in the third data sequence.
[0017] Also disclosed is a system for performing nearly lossless universal data compression using related data sequences generated by multiple data sources and adopting the above method.
[0018] The present invention at least includes the following technical solutions:
[0019] Technical Solution 1. A method for nearly lossless universal data compression using correlated data sequences generated by multiple sensors, the method comprising:
[0020] Detecting the surrounding environment of the first target via a first sensor;
[0021] encoding, via a first processor, a first data sequence indicative of the first target surroundings detected by the first sensor;
[0022] transmitting the encoded first data sequence to an electronic controller via the first processor;
[0023] detecting the first target surrounding environment via a second sensor;
[0024] encoding, via a second processor, a second data sequence indicative of the first target surroundings detected by the second sensor;
[0025] transmitting the encoded second data sequence to the electronic controller via the second processor;
[0026] decoding the encoded first data sequence and the encoded second data sequence via the electronic controller;
[0027] determining, via the electronic controller, a statistical correlation between the decoded first data sequence and the decoded second data sequence; and formulating, via the electronic controller, a mapping function having a reduced cardinality and indicating the determined statistical correlation; and
[0028] The mapping function is fed back to the first processor via the electronic controller.
[0029] Technical Solution 2. The method according to Technical Solution 1 further comprises:
[0030] detecting a surrounding environment of a second target via the first sensor;
[0031] transforming, via the first processor, a third data sequence indicative of a detected second target surrounding environment using the mapping function; and
[0032] The transformed third data sequence is encoded via the first processor.
[0033] Technical Solution 3. A method according to Technical Solution 2, wherein the transformed third data sequence is at a lower data cardinality than the third data sequence, and thus, the size of the encoded transformed third data sequence is smaller than the size of the encoded third data sequence.
[0034] Technical Solution 4. The method according to Technical Solution 2 further comprises:
[0035] transmitting the encoded transformed third data sequence to the electronic controller via the first processor;
[0036] detecting the surrounding environment of the second target via the second sensor;
[0037] encoding, via the second processor, a fourth data sequence indicative of the second target surroundings detected by the second sensor;
[0038] transmitting the encoded fourth data sequence to the electronic controller via the second processor;
[0039] decoding, via the electronic controller, the encoded transformed third data sequence and the encoded fourth data sequence; and
[0040] The third data sequence is determined via the electronic controller using the transformed third data sequence and the decoded fourth data sequence.
[0041] Technical Solution 5. The method according to Technical Solution 4, wherein:
[0042] The encoding performed via the first processor includes constructing a primary context tree data structure for encoding using a context tree weighted (CTW) compression algorithm;
[0043] Decoding via the electronic controller includes constructing a decoding primary context tree data structure using the CTW compression algorithm; and
[0044] Determining a statistical correlation between the decoded first data sequence and the decoded second data sequence includes constructing, via the electronic controller, a decoding secondary context tree data structure from each leaf of the decoding primary context tree data structure.
[0045] Technical Solution 6. The method according to Technical Solution 5, wherein:
[0046] Encoding each of the first data sequence and the third data sequence includes: constructing a corresponding first encoding primary context tree data structure and a third encoding primary context tree data structure;
[0047] encoding the first data sequence is configured to generate a conditional likelihood ratio for each data symbol in the first data sequence;
[0048] transforming the third data sequence using a corresponding mapping function at each leaf of the third encoding primary context tree data structure, the mapping function transforming the signs of the third data sequence; and
[0049] Encoding the transformed third data sequence is configured to generate a conditional likelihood ratio for each data symbol in the transformed third data sequence using the third encoding primary context tree data structure.
[0050] Technical Solution 7. The method according to Technical Solution 5, wherein:
[0051] Decoding the encoded transformed third data sequence includes: constructing a main context tree data structure for decoding using the CTW compression algorithm; and
[0052] Determining the third data sequence includes: using the constructed primary context tree data structure for decoding and the constructed secondary context tree data structure for decoding for each leaf of the primary context tree data structure for decoding.
[0053] Technical Solution 8. The method according to Technical Solution 7, wherein:
[0054] Formulating the mapping function comprises: enumerating, in a decoding secondary context tree data structure, a number of occurrences of a current data symbol in the first data sequence for a context of the first data sequence and a context of the second data sequence; and
[0055] Formulating the mapping function includes using the decoding secondary context tree data structure to achieve a target error probability, thereby facilitating mapping a plurality of input symbols into a common interval when using each of the primary context tree data structure and the secondary context tree data structure, the plurality of input symbols differing from one another within an average error probability within the entire first data sequence, the average error probability being less than or equal to the target error probability.
[0056] Technical Solution 9. The method according to Technical Solution 7, wherein:
[0057] Decoding the encoded transformed third data sequence includes constructing the decoding primary context tree data structure; and
[0058] Determining the third data sequence additionally includes using the decoded fourth data sequence and the decoding secondary context tree data structure.
[0059] Technical Solution 10. A method according to Technical Solution 9, wherein determining the third data sequence additionally includes: descending through the decoding main context tree data structure to reach a leaf having the mapping function, wherein the mapping function is used to map each data symbol in the third data sequence to a corresponding interval value in the transformed third data sequence, and the method further includes: descending through the secondary context tree data structure based on the current context of the decoded fourth data sequence to establish the value of the current data symbol in the third data sequence.
[0060] Technical Solution 11. A system for nearly lossless universal data compression using correlated data sequences generated by multiple sensors, the system comprising:
[0061] A first sensor configured to detect a first target surrounding environment;
[0062] a first processor configured to encode a first data sequence indicative of the first target surroundings detected by the first sensor and transmit the encoded first data sequence to an electronic controller;
[0063] a second sensor configured to detect the first target surrounding environment; and
[0064] a second processor configured to encode a second data sequence indicative of the first target surroundings detected by the second sensor and transmit the encoded second data sequence to the electronic controller;
[0065] Wherein, the electronic controller is configured as follows:
[0066] Decoding the encoded first data sequence and the encoded second data sequence;
[0067] determining a statistical correlation between the decoded first data sequence and the decoded second data sequence;
[0068] formulating a mapping function having a reduced cardinality and indicative of the determined statistical relevance; and
[0069] The mapping function is fed back to the first processor.
[0070] Technical Solution 12. The system according to Technical Solution 11, wherein:
[0071] The first sensor is further configured to detect a second target surrounding environment; and
[0072] The first processor is further configured to:
[0073] transforming a third data sequence indicative of the detected surroundings of the second target using the mapping function; and
[0074] The transformed third data sequence is encoded.
[0075] Technical Solution 13. A system according to Technical Solution 12, wherein the transformed third data sequence is at a lower data cardinality than the third data sequence, and thus, the size of the encoded transformed third data sequence is smaller than the size of the encoded third data sequence.
[0076] Technical Solution 14. The system according to Technical Solution 12, wherein:
[0077] The first processor is further configured to transmit the encoded transformed third data sequence to the electronic controller;
[0078] The second sensor is further configured to detect the surrounding environment of the second target;
[0079] The second processor is further configured to encode a fourth data sequence indicative of the second target surroundings detected by the second sensor and transmit the encoded fourth data sequence to the electronic controller; and
[0080] The electronic controller is further configured to:
[0081] decoding the encoded transformed third data sequence and the encoded fourth data sequence; and
[0082] The third data sequence is determined using the transformed third data sequence and the decoded fourth data sequence.
[0083] Technical Solution 15. The system according to Technical Solution 14, wherein:
[0084] The first processor is configured to construct a primary context tree data structure for encoding via encoding using a context tree weighted (CTW) compression algorithm;
[0085] The electronic controller is further configured to:
[0086] Decoding using the CTW compression algorithm to construct a main context tree data structure for decoding; and
[0087] The statistical correlation between the decoded first data sequence and the decoded second data sequence is determined by constructing a decoding secondary context tree data structure from each leaf of the decoding primary context tree data structure.
[0088] Technical Solution 16. The system according to Technical Solution 15, wherein the first processor is further configured to:
[0089] encoding each of the first data sequence and the third data sequence by constructing a corresponding first encoding primary context tree data structure and a third encoding primary context tree data structure;
[0090] encoding the first data sequence to generate a conditional likelihood ratio for each data symbol in the first data sequence;
[0091] transforming the third data sequence by using the corresponding mapping function at each leaf of the third encoding primary context tree data structure, thereby transforming the symbols of the third data sequence; and
[0092] The transformed third data sequence is encoded using the third encoding with a primary context tree data structure to generate a conditional likelihood ratio for each data symbol in the transformed third data sequence.
[0093] Technical Solution 17. The system according to Technical Solution 15, wherein the electronic controller is further configured to:
[0094] Decoding the encoded transformed third data sequence using the CTW compression algorithm to construct the decoding primary context tree data structure; and
[0095] The third data sequence is determined using the constructed primary context tree data structure for decoding and the constructed secondary context tree data structure for decoding for each leaf of the primary context tree data structure for decoding.
[0096] Technical Solution 18. The system according to Technical Solution 17, wherein, in order to express the mapping function with a formula, the electronic controller is further configured to:
[0097] In a secondary context tree data structure for decoding, enumerate the number of occurrences of a current data symbol in the first data sequence with respect to the context of the first data sequence and the context of the second data sequence; and
[0098] The decoding secondary context tree data structure is used to achieve a target error probability, and thereby facilitates mapping multiple input symbols into a common interval when each of the primary context tree data structure and the secondary context tree data structure is used, the multiple input symbols differing from each other within an average error probability within the entire first data sequence, the average error probability being less than or equal to the target error probability.
[0099] Technical Solution 19. The system according to Technical Solution 17, wherein the electronic controller is further configured to:
[0100] Decoding the encoded transformed third data sequence by constructing the decoding primary context tree data structure; and
[0101] The third data sequence is determined additionally via use of the decoded fourth data sequence and the decoding secondary context tree data structure.
[0102] Technical Solution 20. The system according to Technical Solution 19, wherein:
[0103] To determine the third data sequence, the electronic controller is configured to: descend through the decoding primary context tree data structure to reach a leaf having the mapping function for mapping each data symbol in the third data sequence to a corresponding interval value in the transformed third data sequence; and
[0104] The electronic controller further includes descending through the secondary context tree data structure based on a current context of the decoded fourth data sequence to establish a value of a current data symbol in the third data sequence.
[0105] The above features and advantages and other features and advantages of the present disclosure will be readily apparent from the following detailed description of embodiment(s) and mode(s) for implementing the described disclosure when taken in conjunction with the accompanying drawings and the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0106] Figure 1 is a plan view of an autonomous motor vehicle traversing a first terrain and subsequently traversing a second terrain in accordance with the present disclosure; the vehicle employing a data collection and data sequence processing system using first and second data sources and corresponding first and second processors (source encoders) and an electronic controller (decoder).
[0107] Figure 2A is a schematic depiction of an embodiment of a data collection and data sequence processing system that uses more than Figure 1 The data sources of the first and second data sources shown in FIG. 1 (along with corresponding processors), wherein the electronic controller provides cascade or limited feedback to the additional data sources.
[0108] Figure 2B is a schematic depiction of an electronic controller having a corresponding Figure 2A The data processor for the data source shown in .
[0109] Figure 3 is a schematic depiction of data symbols extracted from collected data according to the present disclosure, the data being obtained by Figure 1 The data collection and data sequence processing system shown in is mapped to discrete intervals.
[0110] Figure 4 is a general depiction of a data sequence processing system configured to nearly losslessly encode (compress) and decode (decompress) raw data consisting of a first data sequence collected via a first data source and a second data series collected by a second data source As an example (where "M" is the length of the entire sequence, and iterations are represented by "t").
[0111] Figure 5 is a depiction of the evaluation of the context tree weighted (CTW) data structure, specifically illustrating the symbol x n Occurrence at each node of the main context tree weight (CTW) data structure for use in the compression algorithm of the first processor (encoder). A similar CTW data structure is constructed for decoding in the electronic controller (decoder).
[0112] Figure 6 is the symbol x n (where "n" is the last encoded / decoded symbol) The minor sequence at each node of the minor CTW data structure In the context of the evaluation depicted in FIG. 1 , the secondary CTW data structure is constructed from the leaves of the primary CTW data structure in the electronic controller for use in the compression algorithm of the decoder.
[0113] Figure 7 According to the present disclosure Figure 5 Schematic depiction of a first encoder shown in , which constructs the main CTW data structure for encoding and generates a likelihood vector.
[0114] Figure 8 According to the present disclosure Figure 6 Schematic depiction of a decoder shown in , which uses a CTW compression algorithm to construct a primary CTW data structure and a secondary CTW data structure for decoding and generates likelihood vectors and determines cardinality and mapping, respectively.
[0115] Fig. 9 is used according to the present disclosure by Figure 1-8 A flowchart of a method for performing nearly lossless universal data compression on related data sequences generated by multiple data sources shown in FIG. DETAILED DESCRIPTION
[0116] Referring to the drawings, wherein like reference numerals refer to like parts, Figure 1 A schematic diagram of a motor vehicle 10 is shown, which is depicted as an autonomous vehicle arranged in an XYZ plane. The term "autonomous" as used herein generally refers to the use of mechatronics, artificial intelligence, and multi-agent systems to provide varying degrees of assistance to a vehicle operator in controlling the subject vehicle. Such automation may include the entire range of assistance from vehicle systems autonomously controlling steering or speed in certain situations to assist the operator up to and including full automation that avoids operator involvement.
[0117] As shown, autonomous motor vehicle 10 has a body 12. Body 12 may have a front side or front end 12-1, a left side body 12-2, a right side body 12-3, a rear side or rear end 12-4, a top side or section (such as a roof) 12-5, and a bottom side or chassis 12-6. Vehicle 10 may be used, for example, to traverse a road surface within a specified first geographic area (defined herein as a first target surrounding environment 14) at time t, which first geographic area includes a particular landscape or terrain and associated physical objects (such as a first object 14A). Vehicle 10 may further traverse another road surface within a second geographic area (defined herein as a second target surrounding environment 15), for example, at time t+1, which second geographic area includes a different landscape or terrain and associated physical objects (such as a second object 15A). Vehicle 10 may include a plurality of road wheels 16. Although in Figure 1 Four wheels 16 are shown, but vehicles having a fewer or greater number of wheels or having other means of traversing a road surface or other portion of the first target surroundings 14, such as tracks (not shown), are also contemplated.
[0118] For example, and if Figure 1 As shown in , the vehicle 10 may use a data collection and processing system 18, which may be a perception and guidance system that employs mechatronics, artificial intelligence, and multi-agent systems to assist the vehicle operator. The data collection and processing system 18 may be used to detect various objects or obstacles in the path of the vehicle 10. The system 18 may employ such features and various data sources to perform complex tasks (particularly navigation), to operate the vehicle 10 semi-autonomously, or to rely entirely on automation to operate the vehicle in a robotic or fully autonomous capacity.
[0119] like Figure 1 As shown in FIG. 1 , as part of the data collection and processing system 18, a first vehicle sensor 20 and a second vehicle sensor 22 are arranged on the vehicle body 12 and used as data sources to facilitate autonomous operation of the vehicle 10. Thus, the first autonomous vehicle 10 can be identified as a host vehicle for the first vehicle sensor 20 and the second vehicle sensor 22. Such vehicle sensors 20 and 22 may include, for example, acoustic or optical devices mounted to the vehicle body 12, such as Figure 1. Specifically, such optical devices may be light emitters or light collectors / receivers mounted to one of the vehicle body sides 12-1, 12-2, 12-3, 12-4, 12-5, and 12-6. The first vehicle sensor 20 and the second vehicle sensor 22 are depicted as part of the system 18, and may be part of other system(s) employed by the vehicle 10, such as for displaying a 360-degree view of the first target surrounding environment 14. It is noted that while the first sensor 20 and the second sensor 22 are specifically disclosed herein, nothing precludes a greater number of individual sensors employed by the data collection and processing system 18.
[0120] Specifically, the optical device may be a laser beam source for a light detection and ranging (LIDAR) system, or a laser sensor for an adaptive cruise control system or a camera capable of generating a video file. Generally, each of the first vehicle sensor 20 and the second vehicle sensor 22 is configured to detect a first target surrounding environment 14 and a second target surrounding environment 15, which include, for example, a respective first object 14A and a second object 15A located outside the vehicle 10. Therefore, the first vehicle sensor 20 and the second vehicle sensor 22 are configured to capture an original first data set 24A collected from the first target surrounding environment 14 and the second target surrounding environment 15.
[0121] Each of the first object 14A and the second object 15A may be an inanimate object (such as a tree, a building, a road or traffic sign), an animal, or a person. The first target surrounding environment 14 and the second target surrounding environment 15 near the vehicle 10 may include a plurality of objects (in Figure 1 ), such as corresponding objects 14A and 15A, information about what can be used to assist in the navigation of the subject vehicle 10. Therefore, each of the sensors 20, 22 can be used to capture raw image and video data, from which specific information about various objects (e.g., objects 14A and 15A) can be extracted via specific algorithms. The first sensor 20 and the second sensor 22 are also configured to transmit the captured data to a corresponding data processor disposed on the vehicle 10, as will be described in detail below.
[0122] According to the present disclosure, after the vehicle 10 has left the geographic area of the first target surroundings 14, the autonomous vehicle 10 typically enters the second target surroundings 15. The first sensor 20 operates as a primary data source and is configured to detect the first target surroundings 14 at time t, including capturing a raw first data set or first data sequence 24-1 representing it. The second sensor 22 operates as a secondary data source and is also configured to detect the first target surroundings 14, including capturing a raw second data set or second data sequence 24-2 representing it. Then, when the vehicle 10 enters the second target surroundings 15 at time t+1, the first sensor 20 and the second sensor 22 repeat the same operation. Therefore, the first sensor 20 captures a raw third data set or third data sequence 24-3, and the second sensor 22 captures a raw fourth data set or fourth data sequence 24-4, each of which represents the second target surroundings 15. The original first data sequence 24-1, the second data sequence 24-2, the third data sequence 24-3, and the fourth data sequence 24-4 may be video images collected from the respective target surroundings 14 and 15. The particular data sequences are intended to be nearly lossless compressed and transmitted within the vehicle 10 in a limited amount of time and with the most efficient use of data storage, as will be described in detail below. Additionally, the subject data sequences may be used to display a 360-degree view of the first target surroundings 14 and the second target surroundings 15, as well as be inserted into a perception algorithm for semi-autonomous purposes.
[0123] The first sensor 20 and the second sensor 22 are further configured to transmit corresponding data sequences 24-1, 24-2, 24-3, 24-4 collected from the first target surroundings 14 and the second target surroundings 15 to the corresponding first data processor 26 and the second data processor 28. Figure 1As shown in , the first data processor 26 and the second data processor 28 are arranged on the vehicle 10 proximate to the corresponding first sensor 20 and the second sensor 22. The first processor 26 and the second processor 28 operate as source encoders configured to compress the collected raw data, and therefore, each processor is operatively connected to and can be physically mounted to the corresponding first sensor 20 and the second sensor 22 (i.e., the respective sources of the captured raw data). Each of the processors 26 and 28 includes a tangible and non-transitory memory. The corresponding memory of the processors 26 and 28 can be a recordable medium that participates in providing computer-readable data or process instructions. Such media can take many forms, including volatile or non-volatile media. The processors 26 and 28 can be small, deliberately designed units for performing compression of the collected raw data. Each of the processors 26 and 28 also adopts an algorithm that can be implemented as an electronic circuit (such as a field programmable gate array (FPGA)) or saved to a non-volatile memory. The compressed data generated by each of the processors 26, 28 may be used by an electronic controller to be discussed in detail below for real-time decoding and learning, or sent to a storage device. Thus, the stored collected raw data may not be decoded immediately, but rather decoded at some later time (e.g., for offline learning).
[0124] The data collection and processing system 18 as described herein is specifically configured to generate nearly lossless universal compression of raw data by evaluating the correlation between various data sets observed by various sensors. In general, data compression is useful because it reduces the resources required to store, process and transmit data. Computing resources are consumed in the compression process and usually in the reverse process (decompression) of the process. Data compression is subject to time and space complexity tradeoffs. For example, a compression scheme for video may require expensive hardware to decompress the video quickly enough to watch the video while it is decompressed, because the option of fully decompressing the video before watching the video may be inconvenient or require additional storage. Abstractly, the compression algorithm can be viewed as a function of a sequence (usually an octet or byte). If the resulting sequence is shorter than the original sequence (and the instructions for decompression mapping), the compression is successful. As specifically contemplated by the present disclosure, "universal compression" is source decoding, which allows data to be compressed without prior knowledge of the distribution of the data source. In information technology, data compression can be lossy or lossless.
[0125] Lossless compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data (i.e., without degrading the data), thereby allowing the compression to be reversed. In contrast, the amount of data reduction that can be achieved using lossy compression is generally significantly higher than that achieved with lossless techniques, but such compression is irreversible. Lossy compression often uses techniques that discard part of the data and allows only an approximation of the original data to be reconstructed to represent the content, which often results in information loss. The specific design of a data compression scheme involves a compromise among various factors, including the degree of compression, the amount of distortion introduced (when using lossy data compression), and the computational resources required to compress and decompress the data.
[0126] The data collection and processing system 18 additionally includes a programmable electronic controller 30. Figure 1 As shown in FIG. 1 , the controller 30 is disposed on the autonomous vehicle 10 and may be integral to a central processing unit (CPU) 32. As depicted, the controller 30 operates as a decoder for captured raw data received from the respective first and second processors 26, 28. The controller 30 may also be configured to use the captured raw data for various purposes, such as establishing a 360-degree view of the first target surrounding environment 14, executing perception algorithms, etc. Typically, after the first and second processors 26, 28 individually and independently compress the corresponding raw data, the electronic controller 30 then decompresses the individually compressed data.
[0127] The controller 30 is specifically configured to provide limited feedback (i.e., independent of the size of the raw or encoded data) to the first vehicle sensor 20 based on the determined spatial correlation between the raw data captured by the first vehicle sensor 20 and the second vehicle sensor 22 to facilitate near-lossless universal compression of the third data sequence 24-3. The subject feedback is specifically configured to assist the first vehicle sensor 20 in improving data compression without increasing latency. In the case where the number of vehicle sensors exceeds the first sensor 20 and the second sensor 22, for example, including the sensor 23 i-1 ,twenty three i (In Figures 2 and Figure 2A ) (together with a corresponding processor, such as processor 29 i-1 , 29 i ), the proposed solutions can be cascaded. For example, using Figure 2A For example, the electronic controller 30 may be based on the raw data of the subject sensor and other sensors (first sensor 20 to sensor 23 i-1 ) to the processor 29 i Provide limited feedback.
[0128] The controller 30 includes tangible and non-transitory memory. The memory may be a recordable medium that participates in providing computer-readable data or process instructions. Such media may take many forms, including but not limited to non-volatile media and volatile media. The non-volatile media used by the controller 30 may include, for example, optical or magnetic disks and other persistent memory. The controller 30 includes an algorithm that may be implemented as an electronic circuit (e.g., an FPGA), or implemented as an algorithm saved to non-volatile memory. The volatile media of the controller 30 memory may include, for example, dynamic random access memory (DRAM), which may constitute main memory.
[0129] The controller 30 can communicate with the corresponding processor 26, 28 via a transmission medium, which includes coaxial cable, copper wire and optical fiber, including lines in the system bus that connect a specific controller to a separate processor. The memory of the controller 30 may also include floppy disks, hard disks, tapes, other magnetic media, CD-ROMs, DVDs, other optical media, etc. The controller 30 may be equipped with a high-speed master clock, necessary analog-to-digital (A / D) and / or digital-to-analog (D / A) circuits, input / output circuits and devices (I / O), and appropriate signal conditioning and / or buffering circuits. Algorithms required by or accessible to the controller 30 can be stored in the controller memory and automatically executed to provide the required functions.
[0130] The controller 30 may be configured (i.e., structured and programmed) to receive and process captured raw data signals collected by the respective first and second sensors 20, 22. The controller 30 may also perform decoding (i.e., decompression) and then transfer the raw captured data to additional algorithms, such as algorithms configured to generate a 360-degree view or perception of the objects 14A, 15A and other items within the first and second target surroundings 14, 15. For exemplary purposes, the CPU 32 is specifically programmed with perception software 32A, which may include artificial intelligence (AI) algorithms configured to evaluate incoming data from the respective first and second sensors 20, 22. The CPU 32 may be configured to perform additional processing of the data, such as integrating several images into a 360-degree view or generating perception algorithms for autonomous driving. The perception software 32A will generally be configured to analyze and interpret the physical parameter data from the respective sensors 20, 22. For example, the perception software 32A may be configured to define the positioning of the objects 14A and 15A in an XYZ coordinate system (in Figure 1 ) and uses a pre-trained AI algorithm to identify the corresponding object.
[0131] According to the present disclosure, the first processor 26 is specifically configured to process the first target surrounding environment 14 detected by the first sensor 20, including the first data symbol xn y (where "n" is the last encoded / decoded symbol) and thereby generates an encoded first data sequence 34-1. The first processor 26 is further configured to transmit the encoded first data sequence 34-1 to the electronic controller 30. Similarly, the second processor 28 is configured to process the first target surrounding environment 14 detected by the second sensor 22, including the second data symbol y n The second processor 28 is further configured to transmit the encoded second data sequence 34 - 2 to the electronic controller 30 .
[0132] The electronic controller 30 is configured to: decode the received encoded first data sequence 34-1 and the encoded second data sequence 34-2; and then determine a statistical correlation 36 between the decoded first data sequence and the second data sequence. The electronic controller 30 is additionally configured to formulate and define a mapping or binning function 38 having a reduced cardinality and indicating the determined statistical correlation 36 (in Figure 3 ). The electronic controller 30 is further configured to feed back the mapping function 38 to the first processor 26. After the first sensor 20 has detected the second target surroundings 15 and generated a third data sequence 24-3 (also denoted as , where "M" is the length of the entire sequence and an iteration is represented by "t"), the first sensor transforms the third data sequence using a mapping function 38, i.e., generates a transformed third data sequence 24-3T (also represented as ).
[0133] Based on the determined statistical correlation 36 between the decoded first and second data sequences, the binning function 38 is intended to determine a bin 39 or a required maximum number of data inputs at the first processor 26. Thus, the first processor 26 may apply the mapping function 38 to the third data sequence 24-3, thereby transforming the third data sequence 24-3 and generating a transformed third data sequence 24-3T, which comprises as a sequence A data sequence of transformed or binned values . The transformed third data sequence 24-3T is intended to be at a lower data base than the third data sequence 24-3. The first processor 26 is then configured to encode the transformed third data sequence 24-3T and thereby generate an encoded or universally compressed transformed third data sequence 34-3T. As a result, if the third data sequence would have been encoded by the first processor 26 instead, the size of the encoded transformed third data sequence 34-3T may be smaller than the size of the encoded third data sequence 34-3. Therefore, the encoded transformed third data sequence 34-3T represents a compressed embodiment of the third data sequence 24-3. The first processor 26 may then be configured to transmit the encoded transformed third data sequence 34-3T to the electronic controller 30.
[0134] The second sensor 22 may also be configured to detect the second target surroundings 15 and generate a raw fourth data sequence 24-4 indicating the detected second target surroundings and including a data sequence The second processor 28 may encode the fourth data sequence 24-4 and then transmit the thus encoded fourth data sequence 34-4 to the electronic controller 30. The electronic controller 30 may then decode the encoded transformed third data sequence 34-3T and the encoded fourth data sequence 34-4 and then transmit the decoded transformed third data sequence 34-4 to the electronic controller 30. And the decoded fourth data sequence are used together to determine the third data sequence 24-3. represents the fourth data sequence after decoding, but when the fourth data sequence 24-4 is decoded, lossless reconstruction can be achieved, so that .
[0135] like Figure 4 As shown in FIG. 1 , each of the first processor 26, the second processor 28, and the electronic controller 30 may include a context tree weighted (CTW) compression algorithm 42. The basic CTW compression algorithm 42 was developed by Willems, Shtrakov, and Tjalkens in 1995 and uses the Krichevsky-Trofimov estimator, which is generally referenced as "KT 1981". In information theory, given an unknown fixed source with an alphabet A And from The KT 1981 estimator produces a probability estimate P for the probability of each symbol e ∈ A. e or P e (w) Estimator. P e(w) is an estimator for a subsequence w of independent symbols. It is therefore a function of the enumeration, i.e., the number of times each symbol appears in w. e The (w) estimator can be calculated in order and has a lower bound that allows the upper bound of "parameter redundancy" to be uniformly reached for each θ in the following expression. The context tree data structure 134 facilitates the above advantages of the KT estimator. For a binary alphabet and a string w with m 0s and n 1s, the KT estimator P e (w) is defined as:
[0136]
[0137] And the sequence is calculated as follows (where, ):
[0138]
[0139] To encode the first data sequence 24-1, the first processor 26 may be configured to use the CTW compression algorithm 42 (in Figure 4 Specifically, a first encoding main context tree data structure 40-1 (shown in Figure 5 ), and a third encoding main context tree data structure 40-3 can be constructed for the third data sequence 24-3. As shown in the figure, the first encoding main context tree data structure 40-1 includes a context node 40-1A and a corresponding leaf structure 48-1, and the third encoding main context tree data structure 40-3 includes a context node 40-3A and a corresponding leaf structure 48-3 (in Figure 5 ).
[0140] When observing the nth input symbol x n or x n+1 After that, the first encoding main context tree data structure 40-1 and the third encoding main context tree data structure 40-3 may be updated. ,or and And specifically, according to the last encoded data symbol x n , or x n+1 and z n+1 To implement updating of the first encoding main context tree data structure 40-1 and the third encoding main context tree data structure 40-3.
[0141] To decode the encoded first data sequence 34-1, the encoded second data sequence 34-2, the encoded transformed third data sequence 34-3T, and the encoded fourth data sequence 34-4, the electronic controller 30 may use the CTW compression algorithm 42 to construct a decoding primary context tree data structure 44 and a decoding secondary context tree data structure 46 (in Figure 6 ). The electronic controller 30 may then retain each of the decoding primary context tree data structure 44 and the decoding secondary context tree data structure 46 in its memory for use in respectively decoding the received data sequence and determining the mapping function 38 for subsequent encoding iterations. Typically, the constructed decoding primary context tree data structure 44 includes a context node 44A and a corresponding leaf structure 50 ( Figure 5 ), and the constructed decoding secondary context tree data structure 46 includes a context node 46A and a corresponding leaf structure 52 ( Figure 6 Specifically, the electronic controller 30 may be configured to determine the decoded first data sequence by constructing a decoding secondary context tree data structure 46 from each leaf 50 of the decoding primary context tree data structure 44. (Since the standard CTW algorithm is used to perform lossless encoding and decoding, it is assumed that ) and the decoded second data sequence (in, ) between the statistical correlation 36. Then, the decoding secondary tree data structure 46 is used to determine the mapping function 38 (ie, the statistical correlation 36) and decode the corresponding data sequence.
[0142] Check the decoded first data sequence and the second data sequence The transformed third data 24-3T is determined using the decoding primary context tree data structure 44, but the decoded fourth data sequence 24-3T is determined using the decoding secondary context tree data structure 46. To determine the decoded third data . The electronic controller 30 may use the decoding secondary tree data structure 46 to simultaneously perform two operations: determining the mapping function 38 and decoding the data sequence by maintaining two sets of enumeration values at each context tree node. A set of enumeration values may be maintained for the current enumeration for updating the mapping function in a subsequent (i.e., next) iteration. A second set of enumeration values (used to determine the value of the current mapping function 38) may be maintained for the previous enumeration for the current decoding as the best estimate of the third data sequence 24-3 obtained from its transformed version 24-3T. Alternatively, if the corresponding sequences are jointly traversed (having the same behavior averaged over time, such as the sequence being averaged over the space of the states of its various stages) and are fixed, the electronic controller 30 may employ a single enumeration at each context tree node. In such embodiments, the corresponding decoding may be based on the current value of the subject enumeration. As described above, in order to encode each of the first data sequence 24-1 and the third data sequence 24-3, the first processor 26 may construct a corresponding first encoding main context tree data structure 40-1 and a third encoding main context tree data structure 40-3. Additionally, in the process of encoding the first data sequence 24-1, the first processor 26 may generate a conditional likelihood ratio R for each possible subsequent data symbol in the first data sequence. The first processor 26 may transform the third data sequence 24-3 by using a corresponding mapping function 38 at each leaf 48-3 of the third encoding main context tree data structure 40-3, thereby transforming each symbol of the third data sequence. Then, the first processor 26 may encode the transformed third data sequence 24-3T using the third encoding main context tree data structure 40-3 to generate a conditional likelihood ratio R for each data symbol z in the transformed third data sequence 24-3T. n Generate conditional likelihood ratio R T Thus, the first processor 26 can generate data symbol z n In the data series The likelihood vector of the conditional probability ratio in the context of ",like Figure 7 as shown in .
[0143] The decoding secondary context tree data structure 46 is specifically used to determine the mapping function 38 and the data cardinality and to indicate the determined statistical correlation 36. As will be described in detail below, a target error probability (the likelihood of a decoding error) may be used to address the tradeoff between the compressibility of the data and the error probability. The decoding secondary context tree data structure 46 formulates the dependency between the first data sequence 24-1 and the second data sequence 24-2 (by observing their decoded forms). and , these decoded versions are approximately equal to their respective originals). In the given context of the first data sequence 24-1, with data symbol x n The sequence of typically appears in some contexts of the second data sequence 24-2, but not in other contexts. Therefore, given a constrained average probability of decoding error, the generated binning function 38 indicating the statistical correlation 36 can be used to minimize the number of bins 39 to maximize the compression ratio.
[0144] The electronic controller 30 may be programmed to use the CTW compression algorithm 42 in a standard manner to determine the z in the transformed third data sequence 24-3T. n However, when using the mapping function 38 to determine a particular data symbol x in the third data sequence 24-3 n When z in the transformed third data sequence 24-3T is n The value of a data symbol may correspond to a number of data symbols x n In order to determine the data symbol x n For a particular value of , the controller 30 may evaluate the decoding secondary context tree data structure 46 to determine the subject data symbol x according to the secondary context. n Which value of is more likely. n After the value is obtained, the electronic controller 30 can also use the decoded third data sequence According to the next input x n 、z n To update the decoding main context tree data structure 44 (in Figure 8 ) and the secondary context tree data structure 46 (shown in Figure 8 ).
[0145] Consistent with the above, the electronic controller 30 may be further configured to decode the encoded transformed third data sequence 34-3T using the CTW compression algorithm 42 to construct a decoding primary context tree data structure 44. The electronic controller 30 may then determine the third data sequence 24-3 using the constructed decoding primary context tree data structure 44 and the constructed decoding secondary context tree data structure 46 for each leaf 50 of the decoding primary context tree data structure 44. More specifically, to decode the encoded transformed third data sequence 34-3T, the electronic controller 30 may construct the decoding primary context tree data structure 44 and then additionally use the decoded fourth data sequence 24-3. and decoding using the secondary context tree data structure 46 to determine the decoded third data sequence .
[0146] To formulate the mapping function 38, the electronic controller 30 may additionally be configured to enumerate the current data symbol x in the decoding secondary context tree data structure 46 for the context of the first data sequence 24-1 and the context of the second data sequence 24-2: n Such enumeration can be performed by observing the decoded forms of the first data sequence 24-1 and the second data sequence 24-2 (ie, and ) (these decoded versions are approximately equal to their respective originals). Therefore, the controller 30 can search for a specific data symbol x in the first data sequence 24-1 for a given context pair in the first data sequence 24-1 and the second data sequence 24-2. n (by observing their decoded and approximately equivalent forms and ). To formulate the mapping function 38, the electronic controller 30 may be further configured to use the decoding secondary context tree data structure 46 (i.e., the determined statistical correlation 36) to meet or fit a target error probability 54 (i.e., a target probability of a decoding error). The target error probability 54 is selected to provide a feasible trade-off between data compression and decoding accuracy.
[0147] For illustrative purposes, consider the following exemplary mapping In the above case, decoding will then also be based on the decoded fourth sequence In other words, when a symbol corresponding to interval number 4 is received, In different contexts (equal to y1, y2 or y3), decoding will be affected as follows:
[0148]
[0149] However, in such cases, when the decoded fourth sequence A decoding error may occur when the symbol in the third data sequence 24-3 is y1, but the symbol in the third data sequence 24-3 is actually x2. In such a case, the probability of error may be determined based on the enumeration performed. Specifically, for a given mapping, the probability of error may be calculated empirically, where the enumeration of the occurrence of a particular data symbol indicates the subject probability.
[0150] In each data sequence, the plurality of input symbols may differ from one another in an average error probability 56 within the entire first data sequence 24-1. If the resulting average error probability 56 is found to exceed the target error probability 54, then this indicates that the formulated binning function 38 is insufficient to compress the data with an appropriate level of accuracy. In other words, using such an insufficient binning function 38 will allow too many values to be mapped to a common interval (e.g., Figure 3 39A). To address the above problem, some of the data values mapped into the common interval would need to be split between separate intervals, which would reduce the effective probability of error. However, using mapping function 38 may allow multiple input data symbols to be mapped into a common interval (e.g., Figure 3 39A in , which maps several values to interval b1). Therefore, the average error probability 56 is intended to be less than or equal to the target error probability 54. The average error probability 56 can be calculated empirically (for a given mapping and currently observed data sequence) based on the enumeration performed for a given mapping.
[0151] like Figure 5 As shown in FIG. 1 , to determine the third data sequence 24-3, the electronic controller 30 may be configured to pass down through the decoding main context tree data structure 44. The passing down through the decoding main context tree data structure 44 is performed to reach a specific leaf 50 having a mapping function 38 for converting the third data sequence 24-3 (data sequence ) is mapped to a transformed third data sequence 24-3T (data sequence ). The downward pass through the decoding primary context tree data structure 44 is generally required to decode the encoded transformed sequence 34-3T and is to reach one of the leaves 50 in the decoding primary context tree data structure 44 (which contains the currently used transform) to facilitate extracting the third data sequence 24-3 from the transformed version 24-3T of the third data sequence. The electronic controller 30 may be further configured to decode the decoded fourth data sequence according to the decoded fourth data sequence. The current context of the current data symbol x is then passed down through the secondary context tree data structure 46 to establish (ie, determine) the current data symbol x n The value in the third data sequence 24-3. Therefore, the current data symbol x n In sequence The determined value in represents the highest probability value of the current symbol in the third data sequence 24-3.
[0152] After determining the current data symbol x n In sequence After the value in the decoded third data sequence, the electronic controller 30 may continue to update the specific leaf 50 in the main context tree data structure 44 corresponding to the decoding (according to the decoded third data sequence The context in the decoding secondary context tree data structure 46 is obtained by incrementing or corresponding to x. n In the leaves from the secondary trees ( Figure 6 The secondary context tree data structure 46 is updated along the decoding with the value in each node 46A in the secondary context tree data structure 46 upward, and the leaf corresponds to the decoded fourth data sequence. Each node in the first encoding primary context tree data structure 40-1 and the third encoding primary context tree data structure 40-3, the decoding primary context tree data structure 44, and the decoding secondary context tree data structure 46 may include a counter 60 to facilitate determining the data symbol x n The number of occurrences in the corresponding context tree data structure. In the primary context tree data structure 40-3, the counter 60 enumerates the interval value rather than the original symbol, but otherwise the primary structure follows the CTW algorithm 42. In the secondary context tree data structure 46, the corresponding counter 60 enumerates but does not calculate the conditional likelihood ratios R, R T .
[0153] The correlation between the first sensor 20 and the second sensor 22 learned by the electronic controller 30 (current data symbol x n The highest probability value in the third data sequence 24-3) will be fed back to the first processor 26, thus setting the framework for future encoding-decoding via the data collection and processing system 18. Therefore, after the correlation between the first sensor 20 and the second sensor 22 is determined by the electronic controller 30, the first sensor 22 may transmit less information because complementary information will be received from other sensors (such as the second sensor 22).
[0154] Fig. 9 Describes the use of Figure 1-8A method 100 for nearly lossless universal data compression of a sequence of related data generated by a plurality of data sources, such as a first sensor 20 and a second sensor 22 used by a vehicle data collection and processing system 18, is described. The method 100 may be performed via the system 18 using an electronic controller 30 programmed with a corresponding data compression algorithm. The method 100 begins in frame 102, where the vehicle 10 is positioned relative to or physically traversing a first target surrounding environment 14 and a second target surrounding environment 15. After frame 102, the method proceeds to frame 104, where the method includes detecting, via the first sensor 20, a first target surrounding environment 14 proximate to the vehicle 10.
[0155] After frame 104, the method proceeds to frame 106. In frame 106, the method includes encoding, via the first processor 26, a first data sequence 24-1 indicative of the first target surrounding environment 14 detected by the first sensor 20. Figure 1-8 As depicted, encoding via the first processor 26 may include constructing the encoding primary context tree data structure 40-1 using the CTW compression algorithm 42. Also, decoding via the electronic controller 30 includes constructing the decoding primary context tree data structure 44 using the CTW compression algorithm 42. After block 106, the method proceeds to block 108.
[0156] In box 108, the method includes transmitting the encoded first data sequence 34-1 to the electronic controller 30 via the first processor 26. After box 108, the method moves to box 110. In box 110, as described above with respect to Figure 1-8 As described, the method includes detecting the first target surrounding environment 14 via the second sensor 22. After frame 110, the method proceeds to frame 112. In frame 112, the method includes encoding the second data sequence 24-2 via the second processor 28 to generate an encoded second data sequence 34-2 indicating the first target surrounding environment 14 detected by the second sensor 22. After frame 112, the method proceeds to frame 114. In frame 114, the method includes transmitting the encoded second data sequence 34-2 to the electronic controller 30 via the second processor 28. After frame 114, the method proceeds to frame 116.
[0157] In block 116, the method includes decoding the encoded first data sequence 34-1 and the encoded second data sequence 34-2 via the electronic controller 30. After block 116, the method proceeds to block 118. In block 118, the method includes determining, via the electronic controller 30, the decoded first data sequence and the decoded second data sequence and formulating, via the controller, a mapping function 38 having a reduced cardinality and indicating the determined statistical correlation. Specifically, determining the statistical correlation 36 may include constructing a decoding secondary context tree data structure 46 from each leaf 50 of the decoding primary context tree data structure 44. After frame 118, the method proceeds to frame 120. In frame 120, the method includes: feeding back the mapping function 38 to the first processor 26 via the electronic controller 30. After frame 120, the method may proceed to frame 122.
[0158] In box 122, the method includes detecting a second target surrounding environment 15 via a first sensor 20. In box 122, the method also includes: using a mapping function 38 to transform a third data sequence 24-3 indicating the second target surrounding environment 15 via a first processor 26, thereby generating an encoded transformed third data sequence 34-3T. Specifically, encoding each of the first data sequence 24-1 and the third data sequence 24-3 may include constructing a corresponding first encoding main context tree data structure 40-1 and a third encoding main context tree data structure 40-3. Encoding the first data sequence 24-1 may be configured to generate a conditional likelihood ratio R for each data symbol in the first data sequence. Transforming the third data sequence via the first processor 26 may use a corresponding mapping function 38 at each leaf 48-3 of the third encoding main context tree data structure 40-3, which transforms the symbols of the third data sequence 24-3. Additionally, as described above with respect to Figure 1-8 As described, in block 122, the method includes: encoding the transformed third data sequence 24-3T via the first processor 26 to generate an encoded transformed third data sequence 34-3T. Specifically, encoding the transformed third data sequence 24-3T may be configured to generate a conditional likelihood ratio R for each data symbol in the transformed third data sequence 34-3T using the third encoding primary context tree data structure 40-3. T After frame 122 , the method may proceed to frame 124 .
[0159] In box 124, the method includes detecting the second target surroundings 15 via the second sensor 22. In box 124, the method also includes: encoding a fourth data sequence 24-4 via the second processor 28, the fourth data sequence indicating the second target surroundings 15 detected by the second sensor 22. In box 124, the method additionally includes: transmitting the encoded transformed third data sequence 34-3T to the electronic controller 30 via the first processor 26; and transmitting the encoded fourth data sequence 34-4 to the electronic controller 30 via the second processor 28. In box 124, the method further includes: decoding the encoded transformed third data sequence 34-3T and the encoded fourth data sequence 34-4 via the electronic controller 30; and then, using the decoded transformed third data sequence And the decoded fourth data sequence To determine the third data sequence 24-3.
[0160] As mentioned above about Figure 1-8 As described, decoding the encoded transformed third data sequence 34-3T may include using the CTW compression algorithm 42 to construct a decoding primary context tree data structure 44. Additionally, determining the third data sequence 24-3 may include: using the constructed decoding primary context tree data structure 44 and the constructed decoding secondary context tree data structure 46 for each leaf 50 of the decoding primary context tree data structure, via the electronic controller 30. Determining the third data sequence 24-3 may also include using the decoded fourth data sequence and a secondary context tree data structure 46 for decoding.
[0161] Formulating the mapping function 38 may include enumerating the current data symbol x in the decoding secondary context tree data structure 46 for the context of the first data sequence and the context of the second data sequence 24-2. n The mapping function 38 may additionally include using the secondary context tree data structure 46 to achieve an average probability of error 56 that is less than or equal to the target probability of error 54. Achieving the target probability of decoding error 54 facilitates mapping a plurality of input symbols into the common interval 39A when each of the primary context tree data structure 44 and the secondary context tree data structure 46 is used, the plurality of input symbols differing from one another in the average probability of decoding error 56 within the entire first data sequence 24-1.
[0162] As mentioned above about Figure 1-8As described, determining the third data sequence 24-3 may further include: descending through the decoding main context tree data structure 44 to reach the leaf 50 having the mapping function 38. Such descending through the decoding main context tree data structure 44 is intended to facilitate mapping each data symbol in the third data sequence 24-3 to a corresponding interval value in the transformed third data sequence 24-3T. First, the encoded transformed third data sequence 34-3T is decoded, and then the relevant leaf 50 is reached to complete the decoding of the third data sequence 24-3. Specifically, the decoded fourth data sequence may be performed in block 124. The current context of the current data symbol x is then passed down through the secondary context tree data structure 46 to establish the current data symbol x n The value in the third data sequence 24-3. After either the frame 120 or the frame 124, the method may return to the frame 104. Thus, the method 100 may continuously update and use the first processor 26 to more efficiently process and compress the raw data newly collected by the first sensor 20 and the second sensor 22 of the vehicle. Alternatively, after either the frame 120 or the frame 124, the method may end in the frame 126.
[0163] Once every k iterations, the method 100 may resume to the beginning (i.e., block 102), where the mapping function is initialized and restarted so as not to propagate errors. In other words, the mapping function and the enumeration of the decoding secondary tree data structure 46 may be initialized, but the data sequences are not transformed in the first processor 26 and the second processor 28, so that each transmitted sequence is an encoded version of the original, untransformed sequence. Thus, the electronic controller 30 does not presuppose a statistical dependency between the first sensor 20 and the second sensor 22, thus enabling the enumeration in the decoding secondary tree data structure 46 to be restarted.
[0164] The detailed description and the accompanying drawings or figures support and describe the present disclosure, but the scope of the present disclosure is limited only by the claims. Although some of the best modes and other embodiments for implementing the claimed disclosure have been described in detail, there are various alternative designs and embodiments for practicing the present disclosure defined in the appended claims. In addition, the embodiments shown in the drawings or the features of the various embodiments mentioned in this description do not have to be understood as embodiments that are independent of each other. On the contrary, it is possible that each of the features described in one example of an embodiment can be combined with one or more other desired features from other embodiments, resulting in other embodiments not being described in words or by reference to the drawings. Therefore, such other embodiments fall within the framework of the scope of the appended claims.
Claims
1. A method for nearly lossless universal data compression using correlated data sequences generated by multiple sensors, the method comprising: Detecting the surrounding environment of the first target via a first sensor; encoding, via a first processor, a first data sequence indicative of the first target surroundings detected by the first sensor; transmitting the encoded first data sequence to an electronic controller via the first processor; detecting the first target surrounding environment via a second sensor; encoding, via a second processor, a second data sequence indicative of the first target surroundings detected by the second sensor; transmitting the encoded second data sequence to the electronic controller via the second processor; decoding the encoded first data sequence and the encoded second data sequence via the electronic controller; determining, via the electronic controller, a statistical correlation between the decoded first data sequence and the decoded second data sequence; and formulating, via the electronic controller, a mapping function having a reduced cardinality and indicating a determined statistical correlation; as well as feeding back the mapping function to the first processor via the electronic controller, Formulating the mapping function includes: enumerating, in a decoding secondary context tree data structure, a number of occurrences of a current data symbol in the first data sequence for a context of the first data sequence and a context of the second data sequence; and Formulating the mapping function includes using the decoding secondary context tree data structure to achieve a target error probability, thereby facilitating mapping a plurality of input symbols into a common interval when using each of the primary context tree data structure and the secondary context tree data structure, the plurality of input symbols differing from one another within an average error probability within the entire first data sequence, the average error probability being less than or equal to the target error probability.
2. The method according to claim 1, further comprising: detecting a surrounding environment of a second target via the first sensor; transforming, via the first processor, a third data sequence indicative of a detected second target surrounding environment using the mapping function; and The transformed third data sequence is encoded via the first processor.
3. The method according to claim 2, wherein: The transformed third data sequence is at a lower data cardinality than the third data sequence, and thus the size of the encoded transformed third data sequence is smaller than the size of the encoded third data sequence.
4. The method according to claim 2, further comprising: transmitting the encoded transformed third data sequence to the electronic controller via the first processor; detecting the surrounding environment of the second target via the second sensor; encoding, via the second processor, a fourth data sequence indicative of the second target surroundings detected by the second sensor; transmitting the encoded fourth data sequence to the electronic controller via the second processor; decoding, via the electronic controller, the encoded transformed third data sequence and the encoded fourth data sequence; as well as The third data sequence is determined via the electronic controller using the transformed third data sequence and the decoded fourth data sequence.
5. The method according to claim 4, wherein: The encoding performed by the first processor includes constructing a primary context tree data structure for encoding using a context tree weighted (CTW) compression algorithm; Decoding via the electronic controller includes constructing a decoding primary context tree data structure using the CTW compression algorithm; as well as Determining a statistical correlation between the decoded first data sequence and the decoded second data sequence includes constructing, via the electronic controller, a decoding secondary context tree data structure from each leaf of the decoding primary context tree data structure.
6. The method according to claim 5, wherein: Encoding each of the first data sequence and the third data sequence includes: constructing a corresponding first encoding primary context tree data structure and a third encoding primary context tree data structure; encoding the first data sequence is configured to generate a conditional likelihood ratio for each data symbol in the first data sequence; transforming the third data sequence using a corresponding mapping function at each leaf of the third encoding primary context tree data structure, the mapping function transforming the signs of the third data sequence; and Encoding the transformed third data sequence is configured to generate a conditional likelihood ratio for each data symbol in the transformed third data sequence using the third encoding primary context tree data structure.
7. The method according to claim 5, wherein: Decoding the encoded transformed third data sequence includes: constructing a main context tree data structure for decoding using the CTW compression algorithm; and Determining the third data sequence includes: using the constructed primary context tree data structure for decoding and the constructed secondary context tree data structure for decoding for each leaf of the primary context tree data structure for decoding.
8. The method according to claim 7, wherein: Decoding the encoded transformed third data sequence includes constructing the decoding primary context tree data structure; and Determining the third data sequence additionally includes using the decoded fourth data sequence and the decoding secondary context tree data structure.
9. The method according to claim 8, wherein: Determining the third data sequence additionally includes: descending through the decoding main context tree data structure to reach a leaf having the mapping function, wherein the mapping function is used to map each data symbol in the third data sequence to a corresponding interval value in the transformed third data sequence, and the method further includes: descending through the secondary context tree data structure based on the current context of the decoded fourth data sequence to establish the value of the current data symbol in the third data sequence.
10. A system for nearly lossless universal data compression using correlated data sequences generated by a plurality of sensors, the system comprising: a first sensor configured to detect a first target surrounding environment; a first processor configured to encode a first data sequence indicative of the first target surroundings detected by the first sensor and transmit the encoded first data sequence to an electronic controller; a second sensor configured to detect the first target surrounding environment; as well as a second processor configured to encode a second data sequence indicative of the first target surroundings detected by the second sensor and transmit the encoded second data sequence to the electronic controller; Wherein, the electronic controller is configured as follows: Decoding the encoded first data sequence and the encoded second data sequence; determining a statistical correlation between the decoded first data sequence and the decoded second data sequence; formulating a mapping function having a reduced cardinality and indicative of the determined statistical relevance; and feeding back the mapping function to the first processor, Wherein, in order to express the mapping function with a formula, the electronic controller is further configured as: In a secondary context tree data structure for decoding, enumerate the number of occurrences of a current data symbol in the first data sequence with respect to the context of the first data sequence and the context of the second data sequence; and The decoding secondary context tree data structure is used to achieve a target error probability, thereby facilitating mapping a plurality of input symbols into a common interval when each of the primary context tree data structure and the secondary context tree data structure is used, the plurality of input symbols differing from one another within an average error probability within the entire first data sequence, the average error probability being less than or equal to the target error probability.
11. The system of claim 10, wherein: The first sensor is further configured to detect a second target surrounding environment; and The first processor is further configured to: transforming a third data sequence indicative of the detected surroundings of the second target using the mapping function; and The transformed third data sequence is encoded.
12. The system according to claim 11, wherein: The transformed third data sequence is at a lower data cardinality than the third data sequence, and thus the size of the encoded transformed third data sequence is smaller than the size of the encoded third data sequence.
13. The system of claim 11, wherein: The first processor is further configured to transmit the encoded transformed third data sequence to the electronic controller; The second sensor is further configured to detect the surrounding environment of the second target; The second processor is further configured to encode a fourth data sequence indicative of the second target surroundings detected by the second sensor and transmit the encoded fourth data sequence to the electronic controller; and The electronic controller is further configured to: decoding the encoded transformed third data sequence and the encoded fourth data sequence; and The third data sequence is determined using the transformed third data sequence and the decoded fourth data sequence.
14. The system of claim 13, wherein: The first processor is configured to construct a primary context tree data structure for encoding via encoding using a context tree weighted (CTW) compression algorithm; The electronic controller is further configured to: Decoding using the CTW compression algorithm to construct a main context tree data structure for decoding; and The statistical correlation between the decoded first data sequence and the decoded second data sequence is determined by constructing a decoding secondary context tree data structure from each leaf of the decoding primary context tree data structure.
15. The system of claim 14, wherein: The first processor is further configured to: encoding each of the first data sequence and the third data sequence by constructing a corresponding first encoding primary context tree data structure and a third encoding primary context tree data structure; encoding the first data sequence to generate a conditional likelihood ratio for each data symbol in the first data sequence; transforming the third data sequence by using the corresponding mapping function at each leaf of the third encoding primary context tree data structure, thereby transforming the symbols of the third data sequence; and The transformed third data sequence is encoded using the third encoding with a primary context tree data structure to generate a conditional likelihood ratio for each data symbol in the transformed third data sequence.
16. The system of claim 14, wherein: The electronic controller is further configured to: Decoding the encoded transformed third data sequence using the CTW compression algorithm to construct the decoding primary context tree data structure; and The third data sequence is determined using the constructed primary context tree data structure for decoding and the constructed secondary context tree data structure for decoding for each leaf of the primary context tree data structure for decoding.
17. The system of claim 16, wherein: The electronic controller is further configured to: Decoding the encoded transformed third data sequence by constructing the decoding primary context tree data structure; and The third data sequence is determined additionally via use of the decoded fourth data sequence and the decoding secondary context tree data structure.
18. The system of claim 17, wherein: To determine the third data sequence, the electronic controller is configured to: descend through the decoding primary context tree data structure to reach a leaf having the mapping function for mapping each data symbol in the third data sequence to a corresponding interval value in the transformed third data sequence; and The electronic controller further includes descending through the secondary context tree data structure based on a current context of the decoded fourth data sequence to establish a value of a current data symbol in the third data sequence.
