Multi-source automatic driving test data acquisition and processing method and system
By unifying timestamp marking and matching and aligning autonomous driving test data from different data sources, the problem of multi-modal data fusion is solved, efficient data processing and compression is achieved, and a higher quality autonomous driving data set is generated, solving existing problems. Difficult issues in data processing and storage in technology.
Patent Information
- Application Number
- CN202411089061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-18
AI Technical Summary
Existing autonomous driving test data collection and processing methods are difficult to effectively integrate multi-modal data, resulting in difficulties in data processing and storage, difficulty in information extraction, and questioning the reliability of analysis results.
Use unified synchronization timestamp marking and matching to align test data from different data sources to form a multi-modal data set. The data is processed through first fusion and then compression, and a balanced tree index structure is established to improve data management efficiency.
It improves data quality, retains data relevance, reduces the amount of data for compression processing, improves data collection efficiency, and generates higher-quality autonomous driving data sets.
Smart Images

Figure CN118797955A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic digital data processing technology, and in particular to a multi-source autonomous driving test data collection and processing method and system. Background Art
[0002] Autonomous driving technology is a hot topic in the current science and technology field. Its core goal is to achieve autonomous driving of vehicles through automation technology in order to improve traffic safety, improve driving efficiency, and solve congestion problems. To achieve this goal, various sensors, global positioning systems and advanced computer algorithms are needed.
[0003] In the process of autonomous driving research and development, a large number of simulation experiments and actual road tests are required to verify the performance and safety of the autonomous driving system. This leads to the generation of a large amount of test data. These test data are derived from subjective driving tests and objective environmental data, including but not limited to various information such as vehicle speed, vehicle position, vehicle status, driver operation, road environment, weather conditions, traffic flow, etc.
[0004] However, how to effectively collect, integrate and manage these large, diverse and multimodal test data is a very challenging task. Existing methods for collecting, processing and analyzing autonomous driving test data face many problems. For example, the large scale of data makes it difficult to process and store, the complex data sources make it difficult to integrate, the complex data content makes it difficult to extract information, and the uneven data quality makes the reliability of the analysis results questionable.
[0005] In response to these problems, some existing solutions mainly focus on improving the accuracy of data acquisition equipment, increasing the capacity of storage devices, optimizing data processing algorithms, etc. However, these methods often only focus on some issues and ignore the fusion of multimodal data during data acquisition and processing. Summary of the invention
[0006] In view of the shortcomings of the existing technology, the present invention proposes a multi-source autonomous driving test data collection and processing method and system, which can efficiently generate a higher quality autonomous driving data set. The specific technical solution is as follows:
[0007] In a first aspect, a multi-source autonomous driving test data collection method is provided. In a first implementable manner of the first aspect, the method includes:
[0008] Obtain test data collected by different data acquisition devices;
[0009] Using a unified synchronization time to timestamp all the test data;
[0010] Match and align all test data according to the marked timestamps;
[0011] Data at the same timestamp in each matched and aligned test data are fused to obtain a corresponding multimodal data set, and data compression processing is performed on the multimodal data set.
[0012] In combination with the first implementable manner of the first aspect, in a second implementable manner of the first aspect, matching and aligning all test data according to the marked timestamps includes:
[0013] Sorting all the test data according to timestamps;
[0014] A suitable sliding window is set based on the time interval, and the test data with the closest timestamp is selected from each test data through the sliding window for matching and alignment.
[0015] In combination with the first implementable manner of the first aspect, in a third implementable manner of the first aspect, performing data compression processing on the multimodal dataset includes:
[0016] The multimodal data set is sorted and stored according to timestamps, and a data index structure with a balanced tree structure is established based on the timestamps.
[0017] In combination with the first implementable manner of the first aspect, in a fourth implementable manner of the first aspect, performing data compression processing on the multimodal dataset includes:
[0018] The principal component analysis method is used to perform data compression processing on the multimodal data set.
[0019] In a second aspect, a multi-source autonomous driving test data analysis method is provided. In a first implementable manner of the second aspect, the method comprises:
[0020] Adopting the multi-source autonomous driving test data collection method as described in any one of the first to fourth possible implementations of the first aspect to obtain a multimodal data set corresponding to the autonomous driving test;
[0021] Based on the multimodal data set, a corresponding data analysis algorithm is used to perform data analysis to obtain corresponding data analysis results.
[0022] In combination with the first implementable manner of the second aspect, in a second implementable manner of the second aspect, using a corresponding data analysis algorithm to perform data analysis includes:
[0023] The multimodal data set is analyzed using a cluster analysis algorithm, a regression analysis algorithm and / or a deep learning model.
[0024] In a third aspect, a multi-source autonomous driving test data acquisition system is provided. In a first achievable manner of the third aspect, the system includes:
[0025] A data acquisition module configured to acquire test data collected by different data acquisition devices;
[0026] A time stamping module configured to timestamp all test data using a unified synchronization time;
[0027] A data matching module, configured to match and align all test data according to the marked timestamps;
[0028] The fusion compression module is configured to fuse the data at the same timestamp in the matched and aligned test data to obtain a multimodal data set, and perform data compression processing on the multimodal data set.
[0029] In combination with the first implementable manner of the third aspect, in a second implementable manner of the third aspect, the data matching module includes:
[0030] A sorting unit, configured to sort all the test data according to timestamps;
[0031] The matching unit is configured to set a suitable sliding window based on the time interval, and select the test data with the closest timestamp from each test data through the sliding window for matching and alignment.
[0032] In combination with the first implementable manner of the third aspect, in a third implementable manner of the third aspect, the fusion compression module includes:
[0033] The index building unit is configured to sort and store the multimodal data set according to timestamps, and to build a data index structure with a balanced tree structure based on the timestamps.
[0034] In a fourth aspect, a multi-source autonomous driving test data analysis system is provided, including:
[0035] A data acquisition module, configured to adopt the multi-source autonomous driving test data acquisition method as described in any one of the first to fourth possible implementations of the first aspect to acquire a multimodal data set corresponding to the autonomous driving test;
[0036] The data analysis module is configured to perform data analysis based on the multimodal data set using a corresponding data analysis algorithm to obtain corresponding data analysis results.
[0037] Beneficial effects: The multi-source autonomous driving test data collection, processing method and system of the present invention can ensure the consistency of all test data by timestamping the test data, and align and match different test data on this basis to determine the test data that can be fused, providing a basis for subsequent data fusion. Finally, the matching test data is processed by first fusion and then compression, which not only retains the correlation between the test data involved in the fusion to the greatest extent, retains more useful information, and improves the data quality, but also reduces the amount of data for compression processing and improves data collection efficiency, thereby being able to efficiently generate a higher quality autonomous driving data set. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the specific implementation of the present invention, the following will briefly introduce the drawings required for use in the specific implementation. In all the drawings, each element or part is not necessarily drawn according to the actual scale.
[0039] Figure 1 A flowchart of a multi-source autonomous driving test data collection method provided by an embodiment of the present invention;
[0040] Figure 2 A flowchart of a multi-source autonomous driving test data analysis method provided by an embodiment of the present invention;
[0041] Figure 3 A system block diagram of a multi-source autonomous driving test data acquisition system provided by an embodiment of the present invention;
[0042] Figure 4 A system block diagram of a multi-source autonomous driving test data analysis system provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0044] like Figure 1 The flowchart of the multi-source autonomous driving test data collection method shown in FIG. 1 includes:
[0045] Step 1: Obtain test data collected by different data acquisition devices;
[0046] Step 2: using a unified synchronization time to timestamp all the test data;
[0047] Step 3: Match and align all test data according to the marked timestamps;
[0048] Step 4: perform data fusion on the data at the same timestamp in each matched and aligned test data to obtain a corresponding multimodal data set, and perform data compression processing on the multimodal data set.
[0049] Specifically, first, data collection equipment can be used to collect various test data for autonomous driving, such as collecting vehicle location data through GPS, collecting vehicle road image data through vehicle-mounted cameras, and collecting vehicle surrounding environmental monitoring data through vehicle-mounted radars. Then, a unified synchronization time can be used to timestamp all acquired test data, and an accurate timestamp can be added to each test data. After that, different test data can be matched and aligned according to the timestamp to determine the test data involved in subsequent data fusion. Finally, data that can be fused is selected from various test data to form a multimodal data set containing different data sources, and the multimodal data set is compressed by dimensionality reduction, thereby achieving deep fusion of multimodal data and efficiently generating a higher quality autonomous driving data set.
[0050] It should be understood that since the data involved in the autonomous driving system includes multiple types of data such as vehicle status data, environmental data, and driver behavior data, there is a close correlation between these data. For example, the operating status of the vehicle will be affected by factors such as road conditions, weather conditions, and driver operations, and the data of these factors may be obtained from different sensors and devices. Therefore, first integrating these data to ensure that the correlation between the data is fully expressed, and then performing dimensionality reduction, these correlations can be better expressed.
[0051] Moreover, performing data fusion first and then dimensionality reduction will make the result after dimensionality reduction more representative. Through dimensionality reduction, we hope to obtain more than just reducing the dimension of the data. More importantly, we need to ensure that the data after dimensionality reduction can retain the important information of the original data as much as possible. If data fusion is performed first, in many cases, due to the fusion of different data sources, the amount of information in the fused data set is much greater than that of a single data source. Therefore, compared with dimensionality reduction of a single data source, the method of fusion first and then dimensionality reduction can better ensure that the data after dimensionality reduction retains more useful information.
[0052] In addition, compared with the method of reducing dimension first and then fusing, the method of fusing first and then reducing dimension is more efficient in terms of computation. Because dimensionality reduction is an operation that usually requires a lot of computation, and the size of the fused data set is often smaller than the size of a single data source, the method of fusing first and then reducing dimension has less computational overhead.
[0053] In this embodiment, optionally, matching and aligning all test data according to the marked timestamps includes:
[0054] Sorting all the test data according to timestamps;
[0055] A suitable sliding window is set based on the time interval, and the test data with the closest timestamp is selected from each test data through the sliding window for matching and alignment.
[0056] Specifically, first, the test data obtained from the same data source can be sorted according to the marked timestamps to form a corresponding data timestamp set. Then, a sliding window can be designed at a certain time interval, and the corresponding data segments can be selected from the data time sets corresponding to different data sources through the sliding window for matching and alignment, so as to determine the test data that can participate in data fusion.
[0057] For example, the data timestamp set of data source A is {T1, T2, T3, KT n}, the data timestamp set of data source B is {t1, t2, t3, Kt n}. Use the sliding window w to determine whether two data match. For a certain timestamp T in data source A a , T a ∈{T1,T2,T3,KT n}, if there is a timestamp t in data source B b , t b ∈{t1,t2,t3,Kt n}Satisfy|T a -t b |≤w / 2, then T a and t b Matching means that the data from data source A and data source B at this timestamp can be fused.
[0058] In this embodiment, optionally, performing data compression processing on the multimodal data set includes:
[0059] The multimodal data set is sorted and stored according to timestamps, and a data index structure with a balanced tree structure is established based on the timestamps.
[0060] Specifically, after fusing all the test data that can be fused to obtain the corresponding multimodal data sets, these multimodal data sets can be sorted and stored according to the timestamps corresponding to the test data contained in the multimodal data sets to form a time-ordered time series database. In order to adapt to data storage needs of various scales, this database adopts a distributed design, such as using distributed database systems such as HBase and Cassandra for storage.
[0061] Afterwards, in order to quickly retrieve data in any time range, a data index structure can be established based on the timestamps corresponding to each multimodal data set. When designing a timestamp-based index structure, the first thing to consider is the distribution of timestamps in the data set. If the timestamps are relatively evenly distributed on the time axis, then a balanced tree structure such as a B+ tree is a good choice because it can provide fast queries for any range and can effectively handle insertion and deletion operations of the data set.
[0062] Specifically, according to the definition of B+ tree, an m-fork B+ tree has the following characteristics:
[0063] The root node of the tree is a leaf node or its degree is in the range [2,m]. The degree of all non-leaf nodes except the root node is in the range [ceil(m / 2),m]. All leaf nodes are located at the same level.
[0064] In practical applications, each node is usually stored in a page on the disk, and nodes are linked by pointers. For each node, the following information can be stored:
[0065] Start time: the earliest timestamp in each node. End time: the latest timestamp in each node. Array of pointers to child nodes: arranged in order of timestamps.
[0066] When inserting a new data, you can find the appropriate node based on its timestamp and insert it. If the node it belongs to is full, you need to perform a split operation. When deleting a data, first find the data and then delete it. If there are too few nodes, you need to perform a merge operation.
[0067] During the query process, you can quickly locate nodes that may contain relevant data based on the time range, greatly improving query efficiency. More specifically, if the time range to be queried is [t1, t2], you can search for all nodes within this range, and the data returned is the query result.
[0068] In this embodiment, optionally, performing data compression processing on the multimodal data set includes:
[0069] The principal component analysis method is used to perform data compression processing on the multimodal data set.
[0070] Specifically, since the stored multimodal datasets usually have a large amount of data, the principal component analysis method can be used to compress the multimodal dataset by mapping it to a low-dimensional space. It can be expressed by the following mathematical formula: Y = X*P, where X is the original multimodal dataset, P is the projection matrix calculated by PCA, and Y is the compressed data.
[0071] like Figure 2 The flowchart of the multi-source autonomous driving test data analysis method shown in FIG. 1 includes:
[0072] Step S1: using the above-mentioned multi-source autonomous driving test data collection method to obtain a multimodal data set corresponding to the autonomous driving test;
[0073] Step S2: Based on the multimodal data set, a corresponding data analysis algorithm is used to perform data analysis to obtain corresponding data analysis results.
[0074] Specifically, first, the above-mentioned multi-source autonomous driving test data collection method can be used to efficiently obtain a large amount of high-quality multimodal data corresponding to autonomous driving tests. Then, based on all the acquired multimodal data, various data analysis algorithms can be used to analyze the autonomous driving system, and analysis results related to the autonomous driving system can be mined to provide support for the testing and optimization of the autonomous driving system.
[0075] In this embodiment, optionally, a corresponding data analysis algorithm is used to perform data analysis, including:
[0076] The multimodal data set is analyzed using a cluster analysis algorithm, a regression analysis algorithm and / or a deep learning model.
[0077] Specifically, cluster analysis algorithms, regression analysis algorithms and / or deep learning models can be used for data analysis. For example, a cluster analysis algorithm can be used to analyze that when a driver enters a loop, they will choose to enter from the right entrance in most cases. A regression analysis algorithm can be used to determine the driving speed on different road surfaces. A deep learning model can be used to predict the vehicle's driving trajectory.
[0078] This embodiment adopts the existing clustering analysis algorithm, regression analysis algorithm and deep learning model. The specific method steps are conventional technical means in the field and will not be repeated here.
[0079] like Figure 3 The system block diagram of the multi-source autonomous driving test data acquisition system shown in FIG. 1 includes:
[0080] A data acquisition module configured to acquire test data collected by different data acquisition devices;
[0081] A time stamping module configured to timestamp all test data using a unified synchronization time;
[0082] A data matching module, configured to match and align all test data according to the marked timestamps;
[0083] The fusion compression module is configured to fuse the data at the same timestamp in the matched and aligned test data to obtain a multimodal data set, and perform data compression processing on the multimodal data set.
[0084] Specifically, the acquisition system is composed of a data acquisition module, a time stamping module, a data matching module and a fusion compression module. Among them, the data acquisition module can collect various test data of autonomous driving through data acquisition equipment. The time stamping module can use a unified synchronization time to timestamp all acquired test data and add an accurate timestamp to each test data. The data matching module can match and align different test data according to the timestamp to determine the test data involved in subsequent data fusion. The fusion compression module can select data that can be fused from various test data to form a multimodal data set containing different data sources, and perform dimensionality reduction compression on the multimodal data set, thereby realizing the deep fusion of multimodal data and efficiently generating a higher quality autonomous driving data set.
[0085] In this embodiment, optionally, the data matching module includes:
[0086] A sorting unit, configured to sort all the test data according to timestamps;
[0087] The matching unit is configured to set a suitable sliding window based on the time interval, and select the test data with the closest timestamp from each test data through the sliding window for matching and alignment.
[0088] Specifically, the data matching module is composed of a sorting unit and a matching unit. The sorting unit can sort the test data obtained from the same data source according to the marked timestamps to form a corresponding data timestamp set. The matching unit can design a sliding window at a certain time interval, and select the corresponding data segments from the data time sets corresponding to different data sources through the sliding window for matching and alignment, so as to determine the test data that can participate in data fusion.
[0089] In this embodiment, optionally, the fusion compression module includes:
[0090] The index building unit is configured to sort and store the multimodal data set according to timestamps, and to build a data index structure with a balanced tree structure based on the timestamps.
[0091] Specifically, the fusion compression module includes an index construction unit, which can sort and store these multimodal data sets according to the timestamps corresponding to the test data contained in the multimodal data sets to form a time-ordered time series database. In order to meet the data storage needs of various scales, this database adopts a distributed design, such as using HBase, Cassandra and other distributed database systems for storage. In order to quickly retrieve data in any time range, the index construction unit can establish a data index structure based on the timestamps corresponding to each multimodal data set.
[0092] like Figure 4 The system block diagram of the multi-source autonomous driving test data analysis system shown in FIG. 1 includes:
[0093] A data acquisition module is configured to adopt the above-mentioned multi-source autonomous driving test data acquisition method to obtain a multimodal data set corresponding to the autonomous driving test;
[0094] The data analysis module is configured to perform data analysis based on the multimodal data set using a corresponding data analysis algorithm to obtain corresponding data analysis results.
[0095] Specifically, the analysis system is composed of a data acquisition module and a data analysis module. The data acquisition module can use the above-mentioned multi-source autonomous driving test data acquisition method to efficiently obtain a large amount of high-quality multimodal data corresponding to the autonomous driving test. The data analysis module can use various data analysis algorithms to analyze the autonomous driving system based on all the acquired multimodal data, and mine the analysis results related to the autonomous driving system to provide support for the testing and optimization of the autonomous driving system.
[0096] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A multi-source autonomous driving test data collection method, characterized in that: include: Obtain test data collected by different data acquisition devices; Using a unified synchronization time to timestamp all the test data; Match and align all test data according to the marked timestamps; Data at the same timestamp in each matched and aligned test data are fused to obtain a corresponding multimodal data set, and data compression processing is performed on the multimodal data set.
2. The multi-source autonomous driving test data collection method according to claim 1, characterized in that: Match and align all test data according to the marked timestamps, including: Sorting all the test data according to timestamps; A suitable sliding window is set based on the time interval, and the test data with the closest timestamp is selected from each test data through the sliding window for matching and alignment.
3. The multi-source autonomous driving test data collection method according to claim 1, characterized in that: Performing data compression processing on the multimodal data set includes: The multimodal data set is sorted and stored according to timestamps, and a data index structure with a balanced tree structure is established based on the timestamps.
4. The multi-source autonomous driving test data collection method according to claim 1, characterized in that: Performing data compression processing on the multimodal data set includes: The principal component analysis method is used to perform data compression processing on the multimodal data set.
5. A multi-source autonomous driving test data analysis method, characterized in that: include: Adopting the multi-source autonomous driving test data collection method as described in any one of claims 1 to 4 to obtain a multimodal data set corresponding to the autonomous driving test; Based on the multimodal data set, a corresponding data analysis algorithm is used to perform data analysis to obtain corresponding data analysis results.
6. The multi-source autonomous driving test data collection method according to claim 5, characterized in that: Use corresponding data analysis algorithms to perform data analysis, including: The multimodal data set is analyzed using a cluster analysis algorithm, a regression analysis algorithm and / or a deep learning model.
7. A multi-source autonomous driving test data acquisition system, characterized in that: include: A data acquisition module configured to acquire test data collected by different data acquisition devices; A time stamping module configured to timestamp all test data using a unified synchronization time; A data matching module, configured to match and align all test data according to the marked timestamps; The fusion compression module is configured to fuse the data at the same timestamp in the matched and aligned test data to obtain a multimodal data set, and perform data compression processing on the multimodal data set.
8. The multi-source autonomous driving test data collection method according to claim 7, characterized in that: The data matching module comprises: A sorting unit, configured to sort all the test data according to timestamps; The matching unit is configured to set a suitable sliding window based on the time interval, and select the test data with the closest timestamp from each test data through the sliding window for matching and alignment.
9. The multi-source autonomous driving test data collection method according to claim 7, characterized in that: The fusion compression module comprises: The index building unit is configured to sort and store the multimodal data set according to timestamps, and to build a data index structure with a balanced tree structure based on the timestamps.
10. A multi-source autonomous driving test data analysis system, characterized in that: include: A data acquisition module, configured to adopt the multi-source autonomous driving test data acquisition method as described in any one of claims 1 to 4 to obtain a multimodal data set corresponding to the autonomous driving test; The data analysis module is configured to perform data analysis based on the multimodal data set using a corresponding data analysis algorithm to obtain corresponding data analysis results.
Citation Information
Cited By
Driving situation awareness energy management method and device, equipment and storage medium
CN119272074A
