A data storage system for autonomous driving
Through the data processing system based on Hadoop and Spark, the problem of low storage and processing efficiency of true value data of autonomous driving vehicles is solved, efficient data storage and analysis is achieved, and the performance and safety of the autonomous driving system are improved.
Patent Information
- Application Number
- CN202110857444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-07-28
AI Technical Summary
In autonomous driving technology, existing technology is difficult to effectively store and process a large amount of real-value data collected during vehicle driving, resulting in low data storage and processing efficiency, and there may be problems with repeated data processing.
A data processing subsystem based on the Hadoop framework is used, combined with the Spark computing engine and distributed file storage method, to realize the storage and analysis of true value data. The true value file generated by the sensor is obtained through the data processing server for data integration, repair and fusion. , stored in the storage server, and control vehicle driving based on the environment description information.
It achieves efficient distributed storage and analysis of true value data during the driving process of autonomous vehicles, reduces repeated data processing, improves data processing efficiency, and controls vehicle driving through environmental description information, improving the performance and performance of the autonomous driving system. Security.
Smart Images

Figure CN113553304B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data storage system for autonomous driving. Background Art
[0002] With the advancement of science and technology, autonomous driving technology has become a hot research topic for technicians. In the process of developing the vehicle's autonomous driving system, in order to ensure that the vehicle can drive safely and respond to various emergencies during driving, it is necessary to collect a large amount of true value data collected during the vehicle's driving process, so as to perform functional design and functional testing of the autonomous driving system based on the above true value data. In view of the above situation, the collected true value data needs to be stored.
[0003] In addition, after obtaining the above-mentioned true value data, in order to facilitate the functional design and functional testing of the autonomous driving system, it is also possible to perform data analysis, data integration and other processing on the above-mentioned true value data. In this case, in order to prevent repeated processing of the same data, the processed data also needs to be stored.
[0004] Therefore, a data storage solution is needed to achieve data storage for autonomous driving. Summary of the invention
[0005] The purpose of the embodiment of the present invention is to provide a data storage system for autonomous driving to implement data storage for autonomous driving. The specific technical solution is as follows:
[0006] An embodiment of the present invention provides a data storage system for autonomous driving, the system comprising: a data processing subsystem based on the Hadoop framework and a database of a preset type; wherein the data processing subsystem comprises: a data processing server, a computing engine based on Spark, and a storage server;
[0007] The data processing server is used to obtain a truth value file generated by a sensor installed on each vehicle, and store the truth value file in each storage server in a distributed file storage manner, wherein the truth value file includes the truth value data collected by the sensor within a preset time period during the driving process of the vehicle;
[0008] The computing engine is used to obtain a truth value file to be processed, perform data analysis on the truth value file to be processed, obtain environmental description information of the driving environment of the target vehicle, and store the environmental description information in a storage server corresponding to the computing engine, wherein the target vehicle is: the vehicle where the sensor generating the truth value file to be processed is located;
[0009] The data processing server is also used to obtain the environmental description information, control the driving of the target vehicle according to the environmental description information, and obtain a target truth value file generated by a sensor installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of the object in the environment of the target vehicle according to the target truth value file, and store the driving information and the description information of the object in the database.
[0010] In one embodiment of the present invention, the step of obtaining the truth value file to be processed and performing data analysis on the truth value file to be processed to obtain description information of the driving environment in which the target vehicle is located includes:
[0011] According to the collection time of the true value data in the true value file to be processed, detecting whether the true value data in the true value file to be processed is complete;
[0012] If incomplete, obtain the missing time length of the true value data in the true value file to be processed;
[0013] Determine whether the missing duration is greater than a preset first duration threshold;
[0014] If not, repairing the missing truth value data in the truth value file to be processed according to the truth value data recorded in the truth value file to be processed;
[0015] Data analysis is performed on the repaired true value file to be processed to obtain the description information of the driving environment in which the target vehicle is located.
[0016] In one embodiment of the present invention, after obtaining the true value file generated by the sensor installed on each vehicle, the method further includes:
[0017] Determine a first truth file group generated by the same sensor in the obtained truth files;
[0018] For each first truth file group, the truth data contained in each truth file in the first truth file group are merged in descending order of the time of collection of the truth data to obtain a merged truth file;
[0019] The method of storing the true value file in each storage server in a distributed file storage manner includes:
[0020] The merged true value file is stored in each storage server in a distributed file storage manner.
[0021] In one embodiment of the present invention, after obtaining the merged true value file, the method further includes:
[0022] Determine the continuous acquisition time period corresponding to the true value data in the merged true value file;
[0023] If the number of continuous collection time periods is greater than 1, the merged truth value file is split into a first number of split truth value files according to each continuous collection time period, wherein the first number is: the number of continuous collection time periods, each split truth value file corresponds to a continuous collection time period, and includes truth value data in the merged truth value file whose collection time is within the continuous collection time period corresponding to the split truth value file;
[0024] The step of storing the merged true value file in each storage server in a distributed file storage manner includes:
[0025] The split truth value files are stored in each storage server in a distributed file storage manner.
[0026] In one embodiment of the present invention, after obtaining the true value file generated by the sensor installed on each vehicle, the method further includes:
[0027] Determine a second truth value file group in the obtained truth value files that is generated by a sensor installed on the same vehicle, has the same data type, and has a consistent collection time period;
[0028] For each second truth value file group, data fusion is performed on the truth value data with the same acquisition time in each second truth value file in the second truth value file group to obtain a fused truth value file;
[0029] The method of storing the true value file in each storage server in a distributed file storage manner includes:
[0030] The fused true value file is stored in each storage server in a distributed file storage manner.
[0031] In one embodiment of the present invention, the sensors installed on the vehicle include: a first type of sensor for collecting information about the driving environment of the vehicle and a second type of sensor for collecting information about the vehicle itself;
[0032] The data analysis of the true value file to be processed is performed to obtain the environmental description information of the driving environment of the target vehicle, including:
[0033] According to the first truth value file to be processed, relative description information between the object in the driving environment of the target vehicle and the target vehicle is obtained, wherein the first truth value file to be processed is: a file generated by the first type of sensor in the truth value file to be processed;
[0034] According to the second truth value file to be processed, vehicle description information of the target vehicle in the environment is obtained, wherein the second truth value file to be processed is: a file generated by the second type of sensor in the truth value file to be processed;
[0035] The environmental description information of the driving environment of the target vehicle is generated according to the vehicle description information and the relative description information.
[0036] In one embodiment of the present invention, the storage server includes a first type of storage server having a read / write performance higher than a preset performance index and a second type of storage server having a read / write performance not higher than the preset performance index;
[0037] The method of storing the true value file in each storage server in a distributed file storage manner includes:
[0038] Storing the true value file in each first-class storage server in a distributed file storage manner;
[0039] The first type of storage server is further used to migrate the stored data whose storage time is greater than a preset time threshold to the second type of storage server.
[0040] In one embodiment of the present invention,
[0041] The data processing server is further used to obtain calibration data input by a user for the driving environment of the target vehicle, and calibrate the environmental description information according to the calibration data.
[0042] In one embodiment of the present invention,
[0043] The truth value file obtained by the data processing server is: the truth value file uploaded after the sensor installed on each vehicle determines that there are a preset number of truth value files generated by itself and not uploaded.
[0044] In one embodiment of the present invention,
[0045] The database is: MySQL database.
[0046] Beneficial effects of the embodiments of the present invention:
[0047] In the data storage scheme provided by the embodiment of the present invention, the data processing server is used to obtain the truth value file generated by the sensor installed on each vehicle, and store the truth value file in each storage server in a distributed file storage manner; the computing engine is used to obtain the truth value file to be processed, perform data analysis on the truth value file, obtain the environmental description information of the environment in which the target vehicle is located, and store the description information in the storage server corresponding to the computing engine; the data processing server is also used to obtain the environmental description information, control the target vehicle to drive according to the environmental description information, and obtain the target truth value file generated by the sensor installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of the object in the environment in which the target vehicle is located according to the target truth value file, and store the driving information and the description information of the object in the database. It can be seen that in the scheme provided by the embodiment of the present invention, the truth value data collected during the driving process of the vehicle is stored in each storage server in a distributed storage manner, the environmental description information obtained by analyzing the truth value file to be processed is stored in the storage server corresponding to the computing engine, and the driving information of the target vehicle and the description information of the object in the process of controlling the driving of the target vehicle according to the environmental description information are stored in the database, thereby realizing data storage for automatic driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0049] Figure 1a A schematic diagram of the structure of a first data storage system for autonomous driving provided by an embodiment of the present invention;
[0050] Figure 1b A schematic diagram of a process flow of processing data by a first data processing server provided in an embodiment of the present invention;
[0051] Figure 2 A schematic diagram of a process flow of true value data integrity detection provided by an embodiment of the present invention;
[0052] Figure 3 A schematic diagram of a process flow of processing data by a second data processing server provided in an embodiment of the present invention;
[0053] Figure 4 A schematic diagram of a process flow of processing data by a third data processing server provided in an embodiment of the present invention;
[0054] Figure 5 A schematic diagram of a process flow of processing data by a fourth data processing server provided in an embodiment of the present invention;
[0055] Figure 6 A flowchart of a method for obtaining environment description information provided by an embodiment of the present invention;
[0056] Figure 7 A schematic diagram of the structure of a second data storage system for autonomous driving provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field based on the present invention belong to the scope of protection of the present invention.
[0058] See also Figure 1a , a structural schematic diagram of a data storage system for autonomous driving is provided, the system comprising: a data processing subsystem 101 based on the Hadoop framework and a database 102 of a preset type; wherein the data processing subsystem 101 comprises: a data processing server 101A, a Spark-based computing engine 101B and a storage server 101C.
[0059] It should be noted that Figure 1a The number of storage servers 101C is only an example provided in the embodiment of the present invention. In actual applications, the number of storage servers 101C included in the data storage system is not limited thereto and can be configured according to actual conditions.
[0060] The data processing server 101A, the computing engine 101B, the storage server 101C and the database 102 may be connected via a communication bus 101D. Of course, the data processing server 101A, the computing engine 101B, the storage server 101C and the database 102 may also be connected via a network.
[0061] The Hadoop framework is a distributed system framework, and the data processing subsystem 101 based on the Hadoop framework is a server cluster including a data processing server 101A, a computing engine 101B and a storage server 101C. With this server cluster, a large amount of data can be processed in a distributed manner.
[0062] Spark is a fast, general, and scalable big data computing engine.
[0063] In the data storage system provided by the embodiment of the present invention, the data processing server 101A first obtains the truth value file generated by the sensors installed on each vehicle, and then stores the truth value file in each storage server 101C in a distributed file storage manner. The computing engine 101B obtains the truth value file to be processed, performs data analysis on the truth value file to be processed, obtains the environmental description information of the driving environment in which the target vehicle is located, and stores the environmental description information in the storage server 101C corresponding to the computing engine 101B. The data processing server 101A is also used to obtain the environmental description information, and control the driving of the target vehicle according to the environmental description information, obtain the target truth value file generated by the sensors installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of the objects in the environment in which the target vehicle is located according to the target truth value file, and store the driving information and the description information of the objects in the database 102.
[0064] It can be seen that the truth value file is stored in each storage server 101C, the environment description information is stored in each storage server 101C corresponding to the computing engine 101B, and the driving information of the target vehicle and the description information of the objects in the environment where the target vehicle is located are stored in the database 102, thereby realizing data storage for autonomous driving.
[0065] The data processing server 101A, the computing engine 101B and the storage server 101C in the above data storage system are introduced in detail below.
[0066] The data processing server 101A is used to obtain the true value files generated by the sensors installed on each vehicle, and store the true value files in each storage server 101C in a distributed file storage manner.
[0067] The true value file includes true value data collected by the sensor during a preset time period during the driving process of the vehicle.
[0068] The above-mentioned true value data refers to the real data collected by the sensor, such as video data collected by a video sensor, temperature and humidity data collected by a temperature and humidity sensor, and point cloud data collected by a lidar.
[0069] The above preset duration can be 30 seconds, 1 minute, 5 minutes, etc.
[0070] The above-mentioned distributed file storage method is a storage method in which multiple files to be stored are dispersedly stored in multiple independent storage devices, wherein each storage device can be regarded as a storage server 101C, and multiple storage servers 101C are connected by communication to form a distributed network storage system. Since the distributed network storage system includes multiple independent storage devices, the backup files corresponding to the files stored in each storage device can be dispersedly stored in other storage devices. When a storage device in the distributed network storage system fails, the backup files of the files in the failed device can also be obtained from other storage devices, thereby improving the security of file storage.
[0071] The sensors installed on the vehicle collect true value data in real time during the driving process of the vehicle. When the sensors collect true value data within a time period of a preset length, a true value file is generated, which contains the true value data collected within the time period of the preset length.
[0072] For example, if the preset time is one minute, and the sensor starts collecting true value data from 0 o'clock, then starting from 0 o'clock, every minute, the sensor generates a true value file, and the true value file contains the true value data collected by the sensor within this minute.
[0073] In one embodiment of the present invention, when obtaining the truth value file generated by the sensors installed on each vehicle, the data processing server 101A may establish wireless communication with the sensors installed on each vehicle, thereby obtaining the truth value file generated by the sensors.
[0074] In another embodiment of the present invention, after obtaining the truth value file generated by the sensors installed on each vehicle, the data processing server 101A can obtain the truth value file stored in the memory of the vehicle through wired data transmission after the vehicle has finished driving.
[0075] In one embodiment of the present invention, see Figure 1b , shows a schematic diagram of the process of processing data by the first data processing server 101A, such as Figure 1b As shown, the data processing flow of the data processing server 101A includes the following steps S101-S102.
[0076] Step S101: Obtain a true value file generated by a sensor installed on each vehicle.
[0077] Step S102: Store the true value file in each storage server 101C in a distributed file storage manner.
[0078] In one embodiment of the present invention, the truth value file obtained by the data processing server 101A is: the truth value file uploaded after the sensor installed on each vehicle determines that there are a preset number of truth value files generated by itself and not uploaded.
[0079] Specifically, after the sensor collects true value data within a preset time period and generates a true value file, the true value file will be first stored in the memory corresponding to the sensor. When the number of truth value files stored in the memory reaches the preset number, the preset number of truth value files will be uploaded to the data processing server 101A. The data processing server obtains the preset number of truth value files generated by the sensor and not uploaded by itself.
[0080] The preset number may be a default number of the sensor or a number set by the user. For example, the preset number may be 6, 10, or other values.
[0081] Taking the above-mentioned preset number of 6 as an example, when the number of true value files stored in the memory corresponding to the sensor, generated by the sensor and not uploaded is 6, these 6 true value files are uploaded to the data processing server 101A, and the data processing server 101A obtains the uploaded 6 true value files.
[0082] By uploading a preset number of true value files to the data processing server 101A each time, the number of times the true value files are uploaded can be reduced and network resources can be saved.
[0083] In addition, the above preset number can also be 1, that is, every time the sensor generates a true value file, the generated true value file is uploaded to the data processing server 101A.
[0084] The computing engine 101B is used to obtain the truth value file to be processed, perform data analysis on the truth value file to be processed, obtain the environmental description information of the driving environment of the target vehicle, and store the environmental description information to the storage server 101C corresponding to the computing engine 101B, wherein the target vehicle is: the vehicle where the sensor that generates the truth value file to be processed is located.
[0085] The truth value files to be processed are truth value files generated by sensors installed on each vehicle and need to be processed.
[0086] The above-mentioned environment description information is information used to describe the driving environment in which the target vehicle is located. Specifically, the above-mentioned driving environment can be described through information of objects existing in the above-mentioned driving environment.
[0087] The above information describes the driving environment of the target vehicle, for example, the name of the road, city, province where the target vehicle is located, and the longitude and latitude of the target vehicle's location, etc.
[0088] The above-mentioned objects may be vehicles, pedestrians, obstacles, etc. around the target vehicle, traffic lights, traffic lines, warning signs, etc., or other objects in the driving environment.
[0089] The information of the above objects is used to describe the objects in the driving environment. For example, the description information can be the speed and direction of the surrounding vehicles, the distance and relative position to the target vehicle, etc., and can also be the light of the traffic indicator (such as red light, green light, yellow light, etc.), the type of traffic indicator line (such as white solid line, white dashed line, stop line, etc.)
[0090] In one embodiment of the present invention, in one case, the computing engine 101B may obtain the truth value file to be processed from the data processing server 101A.
[0091] In another case, the computing engine 101B may obtain the truth value files to be processed from each storage server 101C.
[0092] In one embodiment of the present invention, since the truth value file to be processed may be generated by a video sensor, may be generated by a lidar, or may be generated by other sensors, data analysis is performed on the truth value file to be processed. Different data analysis methods can be used for the truth value files to be processed generated by different sensors to extract the environmental description information of the driving environment of the target vehicle contained in the truth value file to be processed.
[0093] For example, the unprocessed truth file generated by the video sensor is video data, which contains multiple frame images. By extracting objects from each frame image, objects in the frame image can be identified, such as pedestrians, surrounding vehicles, traffic signs, etc.; the unprocessed truth file generated by the laser radar is point cloud data, which contains multiple frames of point cloud. From each frame of point cloud, the distance between the object in the target vehicle's driving environment and the target vehicle can be calculated. Therefore, by analyzing the data of the unprocessed truth files generated by the video sensor and the laser radar, we can know which objects exist in the target vehicle's driving environment and the distance between these objects and the target vehicle, and then use these object information and distance information as environmental description information of the target vehicle's driving environment.
[0094] The data processing server 101A is also used to obtain environmental description information, control the driving of the target vehicle according to the environmental description information, and obtain the target truth value file generated by the sensors installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of the objects in the environment where the target vehicle is located according to the target truth value file, and store the driving information and the description information of the objects in the database 102.
[0095] The above driving information includes driving speed, vehicle steering angle, vehicle position coordinates, vehicle acceleration, etc.
[0096] The above-mentioned objects may be other vehicles, obstacles, traffic signs, or pedestrians around the target vehicle.
[0097] In one embodiment of the present invention, in one case, the data processing server 101A may obtain the environment description information from the computing engine 101B.
[0098] In another case, the data processing server 101A may obtain the environment description information from the storage server 101C corresponding to the computing engine 101B.
[0099] Since the above-mentioned environmental description information is used to describe the driving environment in which the target vehicle is located, the above-mentioned environmental information can be described by the information of the objects existing in the above-mentioned driving environment. Therefore, the above-mentioned environmental description information can be used to track the objects existing in the driving environment in which the target vehicle is located. For a moving object, the moving speed, moving direction, and distance between the moving object and the target vehicle can be obtained. When the moving state of the moving object changes, the target vehicle is controlled to make corresponding driving actions according to the movement change of the moving object. For example, during the driving process of the target vehicle, there is a car in front of the target vehicle that is slowly decelerating. Since the distance between the car and the target vehicle is recorded in the environmental description information, when the distance between the two cars is less than the safety distance set in the target vehicle, the target vehicle can be instructed to decelerate or overtake. For a stationary object, the size of the object, the distance from the target vehicle, the position relative to the target vehicle, etc. can be obtained. When the stationary object is a signboard or indicator light used for traffic instructions, the indication information of the object should also be obtained. For example, if there is a traffic sign in front of the right side of the target vehicle during the driving process of the target vehicle, and the sign contains the indication information of "speed limit 30km / h", the speed of the target vehicle needs to be controlled not to exceed 30km / h.
[0100] The data processing server 101A can generate a vehicle driving instruction based on the environment description information, and send the vehicle driving instruction to the vehicle control device of the target vehicle, and the vehicle control device controls the target vehicle to drive according to the vehicle control instruction. For example, if the vehicle driving instruction is to overtake the vehicle in front, the vehicle control device controls the target vehicle to change lanes, accelerate, and then change lanes again after receiving the instruction.
[0101] In the process of controlling the target vehicle to travel according to the environmental description information, the sensor installed in the target vehicle collects real-time true value data and generates a true value file, which is the target true value file. The target true value file is analyzed to obtain the driving information of the target vehicle and the description information of the object in the environment where the target vehicle is located, and then the driving information and the description information of the object are stored in the database 102.
[0102] It can be seen that in the scheme provided by the embodiment of the present invention, the data processing server is used to obtain the truth value file generated by the sensor installed on each vehicle, and the truth value file is stored in each storage server in a distributed file storage manner; the computing engine is used to obtain the truth value file to be processed, perform data analysis on the truth value file, obtain the environmental description information of the environment in which the target vehicle is located, and store the description information in the storage server corresponding to the computing engine; the data processing server is also used to obtain the environmental description information, control the driving of the target vehicle according to the environmental description information, and obtain the target truth value file generated by the sensor installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of the object in the environment in which the target vehicle is located according to the target truth value file, and store the driving information and the description information of the object in the database. It can be seen that in the scheme provided by the embodiment of the present invention, the truth value data collected during the driving process of the vehicle is stored in each storage server in a distributed storage manner, the environmental description information obtained by analyzing the truth value file to be processed is stored in the storage server corresponding to the computing engine, and the driving information of the target vehicle and the description information of the object in the driving process of the target vehicle controlled according to the environmental description information are stored in the database, realizing data storage for automatic driving.
[0103] In one embodiment of the present invention, the database 102 may be a MySQL database.
[0104] MySQL database is a relational database that can store different data with common features. In the embodiment of the present invention, the driving information of the target vehicle and the description information of the object in the environment where the target vehicle is located have multiple common features, such as speed, acceleration, position coordinates, etc. Therefore, the driving information of the target vehicle and the description information of the object in the environment where the target vehicle is located are stored in the MySQL database, which can clearly reflect the relationship between the target vehicle and the object, and facilitate the subsequent further analysis of the driving information of the target vehicle and the description information of the object in the environment where the target vehicle is located.
[0105] In one embodiment of the present invention, see Figure 2 , a flow chart of truth value data integrity detection is provided. In this embodiment, when the computing engine 101B obtains the description information of the driving environment of the target vehicle, the following steps S201-S205 may be included.
[0106] Step S201: according to the acquisition time of the true value data in the true value file to be processed, detect whether the true value data in the true value file to be processed is complete, if not, execute step S202.
[0107] When the sensor collects true value data and generates a true value file, it will record the time when the true value data was collected. For example, when a video sensor collects video data and generates a true value file, each frame of the collected video data will correspond to the time when it was collected. Therefore, the completeness of the true value data in the true value file to be processed can be detected based on the collection time of the true value data in the true value file to be processed.
[0108] In one embodiment of the present invention, since each truth value data in the truth value file corresponds to its collection time, and the collection time can be determined based on the start time and collection frequency of the sensor starting to collect the truth value data, it is possible to detect whether the truth value data in the truth value file to be processed is complete by detecting whether each collection time corresponds to a truth value data. If it is detected that there is no truth value data corresponding to a certain collection time, it means that the truth value data in the truth value file to be processed is incomplete.
[0109] In addition, whether the true value data in the true value file to be processed is complete can be detected according to the collection frequency of the sensor that collects the true value data in the true value file to be processed and the preset time length corresponding to the true value file to be processed.
[0110] According to the collection frequency f of the sensor that collects the true value data in the true value file to be processed and the preset time length T corresponding to the true value file to be processed, the expected number of true value data in the true value file to be processed n=f*T can be calculated. If the number of true value data in the true value file to be processed is less than the expected number, it means that the true value data in the true value file to be processed is incomplete.
[0111] Step S202: Obtain the missing duration of the true value data in the true value file to be processed.
[0112] The missing time is determined according to the collection time corresponding to the missing true value data in the true value file to be processed.
[0113] Each true value data in the true value file corresponds to a collection time, and the collection time can be determined according to the start time and collection frequency of the sensor starting to collect the true value data.
[0114] In one embodiment of the present invention, when obtaining the missing duration of the true value data in the true value file to be processed, the following two implementation methods may be included:
[0115] In one implementation, the collection time corresponding to the missing true value data can be determined, and the time difference between the collection time corresponding to the first missing true value data and the collection time corresponding to the last missing true value data can be determined as the missing duration of the true value data in the true value file to be processed in chronological order. The true value data between the first missing true value data and the last missing true value data are all missing true value data.
[0116] For example, if the sensor collects five true value data at a frequency of 5 Hz within one second, the corresponding collection times are 0s, 0.2s, 0.4s, 0.6s, and 0.8s. If the true value data corresponding to 0.4s and 0.6s are not detected, the collection time corresponding to the missing true value data is determined to be 0.4s and 0.6s, and the missing time is further determined to be 0.6-0.4=0.2s.
[0117] The true value data between the first missing true value data and the last missing true value data is taken as the missing data segment of the true value file to be processed. Then, there may be one or more missing data segments in the true value file to be processed, and each missing data band corresponds to a missing duration.
[0118] In another implementation, the time difference between the collection time corresponding to the previous truth data of the first missing truth data and the collection time corresponding to the next truth data of the last missing truth data can be determined as the missing duration of the truth data in the truth file to be processed in chronological order. The truth data between the first missing truth data and the last missing truth data are all missing truth data.
[0119] For example, if the sensor collects five true value data at a frequency of 5 Hz within one second, the corresponding collection times are 0s, 0.2s, 0.4s, 0.6s, and 0.8s. If the true value data corresponding to 0.4s and 0.6s are not detected, the collection time corresponding to the missing true value data is determined to be 0.4s and 0.6s, the collection time corresponding to the previous true value data of the first missing true value data is 0.2s, and the collection time corresponding to the next true value data of the last missing true value data is 0.8s, and then the missing time is determined to be 0.8-0.2=0.6s.
[0120] Similarly, the truth data between the first missing truth data and the last missing truth data is taken as the missing data segment of the truth file to be processed. Then there may be one or more missing data segments in the truth file to be processed, and each missing data band corresponds to a missing duration.
[0121] Step S203: determine whether the missing duration is greater than a preset first duration threshold; if not, execute step S204.
[0122] The above-mentioned preset first duration threshold may be 0.3s, or 0.9s, or other set duration thresholds.
[0123] Specifically, if the missing duration is less than the preset first duration threshold, it means that there are fewer true value data with continuous collection time missing in the truth value file to be processed. Since the true value data reflects the changes in the driving environment of the target vehicle during the driving process of the target vehicle, the changes in the driving environment are smaller in a shorter time. Therefore, when the missing duration is less than the preset first duration threshold, step S204 is executed. If the missing duration is greater than the preset first duration threshold, it means that there are more true value data with continuous collection time missing in the truth value file to be processed. In a longer time, the changes in the driving environment are greater. Therefore, it is difficult to execute step S204 when the missing duration is greater than the preset first duration threshold.
[0124] Step S204: repairing the missing truth value data in the truth value file to be processed according to the truth value data recorded in the truth value file to be processed.
[0125] Since the sensor collects the true value data of the vehicle during driving, and the driving environment of the vehicle changes gradually over time, the difference between adjacent true value data in the true value data collected by the sensor is related to the changing law of the driving environment. If the true value data in the true value file is incomplete, the missing true value data can be inferred based on multiple true value data before and after the missing true value data.
[0126] For example, the distance between a traffic sign located directly in front of the target vehicle and the target vehicle can be calculated based on the point cloud collected by the LiDAR. n The corresponding point cloud is missing, according to the last acquisition time t n-1 The corresponding point cloud shows that the distance between the traffic sign in front of the target vehicle and the target vehicle is 50 meters. According to the next acquisition time t n+1 The corresponding point cloud shows that the distance between the traffic sign in front of the target vehicle and the target vehicle is 40 meters. n-1 Corresponding point cloud and acquisition time t n+1 The corresponding point cloud infers the acquisition time t n The corresponding point cloud contains information used to calculate that the distance between the traffic sign directly in front of the target vehicle and the target vehicle is 45 meters. Based on this information, the acquisition time t can be repaired. n The corresponding point cloud.
[0127] Step S205: Perform data analysis on the repaired true value file to be processed to obtain description information of the driving environment in which the target vehicle is located.
[0128] Similar to the above-mentioned embodiment in which the computing engine 101B performs data processing on the truth value file to be processed to obtain the environmental description information of the driving environment of the target vehicle, since the repaired truth value file to be processed may also be generated by a video sensor, may be generated by a lidar, or may be generated by other sensors, therefore, the repaired truth value file to be processed is subjected to data analysis. Different data analysis methods may be used for the truth value files to be processed generated by different sensors to extract the environmental description information of the driving environment of the target vehicle contained in the truth value file to be processed.
[0129] It can be seen that in the solution provided by the embodiment of the present invention, based on the collection time of the truth value data in the truth value file to be processed, the truth value file to be processed with incomplete truth value data is detected, and for the truth value file to be processed whose missing duration of the truth value data is less than the preset first duration threshold, the missing truth value data is repaired according to the truth value data recorded in the truth value file to be processed, so that the truth value file to be processed with missing truth value data is repaired to a truth value file with complete truth value data, so as to facilitate the subsequent corresponding processing of the truth value file to be processed.
[0130] In one embodiment of the present invention, see Figure 3 , provides a second data processing server 101A processing data flow diagram. Figure 1b In comparison, in this embodiment, after executing step S101 to obtain the true value file generated by the sensors installed on each vehicle, the data processing server 101A further includes the following steps S103-S104.
[0131] Step S103: Determine a first truth value file group generated by the same sensor in the obtained truth value files.
[0132] During vehicle driving, as time goes by, the same sensor will successively generate multiple truth value files. The data processing server 101A obtains the truth value files generated by the same sensor and determines the multiple truth value files generated by the same sensor as the first truth value file group.
[0133] In one case, the method of faxing the value file on the sensor is to upload the true value file to the data processing server 101A each time a true value file is generated. When the data processing server 101A obtains the true value file generated by the sensor, it determines the true value file uploaded by the same sensor as the first true value file group.
[0134] For example, if the truth value file includes the truth value data collected by the sensor within one minute during the driving process of the vehicle, when the sensor collects the truth value data for one minute and generates a truth value file, after the truth value file is generated, the truth value file is uploaded to the data processing server 101A. The data processing server 101A obtains a truth value file uploaded by the sensor every minute, and determines the truth value files uploaded by the same sensor as the first truth value file group.
[0135] In another case, the method of faxing the value file on the sensor is: multiple true value files are uploaded synchronously, and when the data processing server 101A obtains the true value file generated by the sensor, it also obtains multiple true value files generated by the sensor, and determines the obtained multiple true value files as the first true value file group.
[0136] For example, if the truth value file includes the truth value data collected by the sensor within one minute during the vehicle's driving process, the sensor first collects the truth value data within ten minutes during the vehicle's driving process, and generates a truth value file every minute. When the data in the generated truth value file reaches ten, these ten truth value files are uploaded to the data processing server 101A. After the data processing server 101A obtains these ten truth value files, it determines these ten truth value files as the first truth value file group.
[0137] The number of the multiple truth value files may be eight, ten, or any other set number.
[0138] Step S104: For each first truth value file group, the truth value data contained in each truth value file in the first truth value file group are merged in the order of the truth value data collection time from earliest to latest, to obtain a merged truth value file.
[0139] Since the truth data contained in the truth file is time slot data, that is, the truth data is data corresponding to the acquisition time, merging the truth data contained in each truth file in the first truth file group may be splicing the truth data contained in each truth file.
[0140] For example, if the first truth value file group contains two truth value files, where the truth value data contained in the first truth value file is collected by the sensor from 7 o'clock to 8 o'clock, that is, the collection time corresponding to the first truth value file is 7 o'clock to 8 o'clock, and the truth value data contained in the second truth value file is collected by the sensor from 8 o'clock to 9 o'clock, that is, the collection time corresponding to the second truth value file is 8 o'clock to 9 o'clock, then the truth value data contained in the two truth value files are merged, that is, the truth value data contained in the two truth value files are spliced to obtain a merged truth value file, the truth value data contained in the merged truth value file is the truth value data contained in the first truth value file and the truth value data contained in the second truth value file, and the collection time corresponding to the merged truth value file is 7 o'clock to 9 o'clock.
[0141] The above step S102 stores the true value file in each storage server 101C in a distributed file storage manner, including the following step S102A.
[0142] Step S102A: The merged true value file is stored in each storage server 101C in a distributed file storage manner.
[0143] The above step S104 is to merge the truth data contained in each truth file in the first truth file group in the order of the truth data collection time from the earliest to the latest, so as to obtain a merged truth file. Each truth file in the first truth file group is a truth file generated by the same sensor. Therefore, one sensor corresponds to one merged truth file, and multiple sensors correspond to multiple merged truth files.
[0144] After obtaining the merged true value file, the merged true value file is stored in each storage server 101C in a distributed file storage manner.
[0145] It can be seen that in the solution provided by the embodiment of the present invention, the truth value files generated by the same sensor are merged in the order of the truth value data from the acquisition time from the earliest to the latest to obtain a merged truth value file, and the merged truth value file is stored in each storage server 101C in a distributed file storage manner. Since the same sensor may generate multiple truth value files, merging multiple truth value files generated by the same sensor into a merged truth value file is conducive to the management of the truth value files, and when the truth value files are subsequently processed, only the merged truth value file needs to be processed accordingly, without having to process the multiple truth value files multiple times respectively, thereby improving the processing efficiency of the truth value files.
[0146] In one embodiment of the present invention, see Figure 4 , provides a third data processing server 101A data processing flow chart. Figure 3Compared with the illustrated embodiment, in the present embodiment, in the above step S104, for each first truth value file group, the truth value data contained in each truth value file in the first truth value file group are merged in the order of the truth value data from the acquisition time, and after obtaining the merged truth value file, the following steps S105-S107 are also included.
[0147] Step S105: Determine the continuous collection time period corresponding to the true value data in the merged true value file.
[0148] The merged truth file is a file obtained by merging the truth data contained in each truth file in the first truth file group. Therefore, the acquisition time corresponding to the merged truth file is also obtained by merging the acquisition times corresponding to each truth file. If a truth file in the first truth file group is missing, the acquisition time corresponding to the merged truth file will also be missing.
[0149] The above continuous collection time period is: the time period in which there is no missing time in the collection time corresponding to the merged true value file.
[0150] Specifically, after obtaining the merged true value file, the collection time corresponding to each true value data in the file may be determined, and then the time period of continuous collection time in the collection time may be counted as the continuous collection time period.
[0151] For example, if the first truth file group contains 4 truth files, and the corresponding collection times are 1:00 to 2:00, 2:00 to 3:00, 3:00 to 4:00, and 4:00 to 5:00, respectively, if the truth file corresponding to the collection time from 2:00 to 3:00 is missing, then the truth data contained in each truth file in the first truth file group are merged to obtain a merged truth file corresponding to collection times of 1:00 to 2:00 and 3:00 to 5:00, and then determine that one continuous collection time period corresponding to the truth data in the merged truth file is 1:00 to 2:00, and another continuous collection time period is 3:00 to 5:00.
[0152] Step S106: determine whether the number of continuous collection time periods is greater than 1, if yes, execute step S107.
[0153] If the number of continuous acquisition time periods is greater than 1, it means that the true value data in the merged true value file is incomplete. At this time, step S107 is executed; if the number of continuous time periods is 1, it means that the true value data in the merged true value file is complete.
[0154] Step S107: splitting the merged true value file into a first number of split true value files according to each continuous collection time period.
[0155] Among them, the first quantity is: the number of continuous collection time periods, each split truth value file corresponds to a continuous collection time period, and includes the truth value data in the merged truth value file whose collection time is within the continuous collection time period corresponding to the split truth value file.
[0156] In the example of step S105 above, the continuous collection time periods corresponding to the truth value data in the merged truth value file are 1 o'clock to 2 o'clock and 3 o'clock to 5 o'clock, and the number of continuous collection time periods is 2, that is, the first number is 2. Therefore, the merged truth value file can be split into 2 split truth value files based on these two continuous collection time periods, wherein the collection time corresponding to one split truth value file is 1 o'clock to 2 o'clock, and the truth value data contained in this split truth value file is the truth value data with the collection time from 1 o'clock to 2 o'clock contained in the merged truth value file, and the collection time corresponding to the other split truth value file is 3 o'clock to 5 o'clock, and the truth value data contained in this split truth value file is the truth value data with the collection time from 3 o'clock to 5 o'clock contained in the merged truth value file.
[0157] Step S102A stores the merged true value file in each storage server 101C in a distributed file storage manner, including the following steps S102A1.
[0158] Step S102A1: Store the split truth value files in each storage server 101C in a distributed file storage manner.
[0159] The above-mentioned merged truth value file corresponds to a first number of split truth value files. Therefore, the number of split truth value files corresponding to multiple merged truth value files is related to the number of merged truth value files and the first number. After obtaining the split truth value files, the split truth value files are stored in a distributed file storage manner in a storage server 101C.
[0160] It can be seen that in the solution provided by the embodiment of the present invention, the continuous collection time period corresponding to the true value data in the merged true value file is determined, and when the number of continuous collection time periods is greater than 1, the merged true value file is split into a first number of split true value files based on the continuous collection time periods. Applying the solution provided by the embodiment of the present invention can ensure that each split true value file is a true value file with a continuous collection time period, and make the number of split true value files obtained by splitting the merged true value file as small as possible, thereby facilitating the management of the true value file.
[0161] In one embodiment of the present invention, see Figure 5 , provides a fourth schematic diagram of a process flow of the data processing server 101A processing data. Figure 1bIn comparison, in this embodiment, after executing step S101 to obtain the true value file generated by the sensors installed on each vehicle, the data processing server 101A further includes the following steps S108-S109.
[0162] Step S108: Determine a second truth value file group in the obtained truth value files that is generated by sensors installed on the same vehicle, has the same data type, and has a consistent collection time period.
[0163] Usually, multiple sensors are installed in the same vehicle, such as lidar, millimeter-level radar, video sensor, etc. The truth files generated by these sensors are the truth files generated by the sensors installed on the same vehicle.
[0164] Multiple sensors of the same type may be installed on the same vehicle, and the truth files generated by sensors of the same type are truth files of the same data type. For example, if multiple LiDARs are installed on the same vehicle, the data types of the multiple truth files generated by the multiple LiDARs are the same.
[0165] The collection time period is consistent, that is, the collection start time and collection end time corresponding to the true value file are the same.
[0166] For example, if two laser radars are installed in the same vehicle, the laser radars can generate a truth file containing a point cloud. At this time, the two laser radars work synchronously and collect truth data during the vehicle's driving process. The two laser radars generate two truth files respectively, and the two truth files are determined to be a second truth file group.
[0167] Step S109: For each second truth value file group, data fusion is performed on the truth value data with the same collection time in each second truth value file in the second truth value file group to obtain a fused truth value file.
[0168] Since the sensor uses the sensor itself as the collection reference when collecting true value data, the obtained true value data is the true value data based on the sensor. Data fusion is performed on the true value data with the same collection time in each second truth value file in the second truth value file group, that is, each true value data with the same collection time is converted into the true value data based on the vehicle, and the converted true value data are combined to determine the final true value data at the collection time, thereby obtaining a fused truth value file composed of the final truth value data.
[0169] For example, when the laser radar collects the point cloud of the target object in the driving environment of the vehicle, the distance between the target object and the laser radar can be calculated based on the point cloud. That is, the point cloud is a point cloud based on the laser radar. At this time, the point cloud based on the laser radar needs to be converted into a point cloud based on the vehicle through position compensation to obtain the distance between the target object and the vehicle. After multiple laser radars collect the point cloud of the target object and perform position compensation on each point cloud, multiple point clouds based on the vehicle can be obtained, thereby obtaining the distances between multiple target objects and the vehicle. Combining the true value data after each conversion, the final true value data can be determined by calculating the average value of the multiple distances obtained, and the point cloud corresponding to the average value is used as the final true value data; or the point cloud corresponding to the closest distance among multiple distances is selected as the final true value data.
[0170] The target objects mentioned above may be pedestrians, obstacles, road signs, etc.
[0171] The above step S102 stores the true value file in each storage server 101C in a distributed file storage manner, including the following step S102B.
[0172] Step S102B: The fused true value file is stored in each storage server 101C in a distributed file storage manner.
[0173] From the above steps S108 and S109, it can be seen that the number of fused true value files is related to the number of sensor types installed in the vehicle and the acquisition time period. If the number of sensor types is a and the number of acquisition time periods is b, the number of fused true value files is: c = a*b.
[0174] Therefore, after obtaining multiple fused true value files, the fused true value files are stored in a storage server 101C in a distributed file storage manner.
[0175] It can be seen that in the solution provided by the embodiment of the present invention, the second truth value file group generated by the sensor installed on the same vehicle, with the same data type and the same collection time period in the obtained truth value file is first determined, and then for each second truth value file group, the truth value data with the same collection time in each second truth value file in the second truth value file group is fused to obtain a fused truth value file, and the fused truth value file is stored in each storage server 101C in a distributed file storage manner. Since the second truth value file group is a truth value file generated by the sensor installed on the same vehicle, with the same data type and the same collection time period, the truth value files with the same collection time in each second truth value file in each second truth value file group are fused, so that multiple truth value files belonging to the same second truth value file group can be fused into one fused truth value file, thereby reducing the number of truth value files that need to be managed.
[0176] In one embodiment of the present invention, see Figure 6 , a flow chart of a method for obtaining environmental description information is provided. In this embodiment, the sensors installed on the vehicle include: a first type of sensor for collecting information about the driving environment of the vehicle and a second type of sensor for collecting information about the vehicle itself.
[0177] Among them, the first type of sensors mentioned above include lidar, millimeter-level radar, video sensors, etc.
[0178] The second type of sensors include sensors for measuring vehicle speed, temperature sensors for measuring vehicle oil temperature, sensors for vehicle positioning, and the like.
[0179] The above vehicle information includes vehicle speed, position, acceleration, steering angle and other information.
[0180] like Figure 6 As shown, based on the above scheme, the computing engine 101B performs data analysis on the truth value file to be processed to obtain the environmental description information of the driving environment of the target vehicle, including the following steps S601-S603.
[0181] Step S601: Obtain relative description information between objects in the driving environment of the target vehicle and the target vehicle according to the first truth value file to be processed, wherein the first truth value file to be processed is: a file generated by a first type of sensor in the truth value file to be processed.
[0182] The above-mentioned objects may be other vehicles on the road, pedestrians and trees beside the road, or objects existing in the driving environment of other vehicles.
[0183] The relative description information refers to the description information of the object relative to the vehicle, for example, it may be the distance of the object relative to the vehicle, the speed of the object relative to the vehicle, the direction of the object relative to the vehicle, etc.
[0184] Since the first type of sensor collects information about the driving environment of the vehicle, the sensor itself is used as the collection basis during the collection process. For example, the laser radar collects the distance between the object and the laser radar, and the video sensor collects the image information of the object in the frame image collected by its own camera. Therefore, the processing of the true value data collected by the first type of sensor obtains the environmental description information of the driving environment of the vehicle relative to the vehicle.
[0185] Step S602: Obtain vehicle description information of the target vehicle in the environment according to the second truth value file to be processed, wherein the second truth value file to be processed is: a file generated by the second type of sensor in the truth value file to be processed.
[0186] The above vehicle description information is information describing the state of the vehicle itself, including the vehicle's driving direction, driving speed, acceleration, etc. In addition, it also includes the vehicle's position information on the road and information about the vehicle's positioning, etc.
[0187] The above-mentioned position information of the vehicle on the road, for example, the distance between the vehicle and both sides of the road, the distance between the vehicle and the lane line of the lane in which the vehicle is located, etc.
[0188] The above information about the vehicle positioning may be: the position information of the vehicle on the earth collected by a sensor with a positioning function.
[0189] Step S603: Generate environmental description information of the driving environment of the target vehicle according to the vehicle description information and the relative description information.
[0190] The vehicle description information is information describing the state of the vehicle itself, and the relative description information is the description information of the object relative to the vehicle. Based on the vehicle description information and the relative description information, the information describing the state of the object itself can be obtained, thereby generating the environmental description information of the driving environment of the target vehicle.
[0191] For example, the vehicle description information includes the driving speed of the target vehicle, and the relative description information includes the relative speed of the object relative to the target vehicle. Therefore, the driving speed of the object can be known based on the driving speed of the target vehicle and the relative speed of the object relative to the target vehicle.
[0192] For another example, the vehicle description information records the distance between the target vehicle and the zebra crossing ahead on the road, while the relative description information records the distance between another vehicle in the environment and the target vehicle. Based on these two distance information, the distance between the other vehicle and the zebra crossing ahead can be known.
[0193] It can be seen that in the solution provided by the embodiment of the present invention, the relative description information is the description information between the object and the target vehicle in the driving environment of the target vehicle, and the vehicle description information is the description information of the target vehicle in the environment. Based on the vehicle description information and the relative description information, the description information of the object in the environment of the target vehicle can be obtained as the environmental description information of the driving environment of the target vehicle, thereby enriching the content of the environmental description information and providing more external information for the target vehicle during the automatic driving process.
[0194] In one embodiment of the present invention, see Figure 7, provides a second structural diagram of a data storage system for autonomous driving, which is similar to the above Figure 1a Compared with the above embodiment, in this embodiment, the storage server 101C includes a first type storage server 101C1 whose read and write performance is higher than a preset performance index and a second type storage server 101C2 whose read and write performance is not higher than the preset performance index.
[0195] It should be noted that Figure 7 The number of the first-class storage servers 101C1 and the second-class storage servers 101C2 is only an example provided in an embodiment of the present invention. In actual applications, the number of the first-class storage servers 101C1 and the second-class storage servers 101C2 included in the data storage system is not limited thereto and can be configured according to actual conditions.
[0196] The above-mentioned read and write performance includes the speed at which the storage server stores data and the speed at which the data stored in the storage server is read.
[0197] The above-mentioned preset performance indicators, that is, the preset data storage speed and data reading speed. If the storage server stores data at a speed greater than the preset data storage speed, and the storage server reads data at a speed greater than the preset data reading speed, then it is considered that the read / write performance of the storage server is higher than the preset performance indicator, and the storage server is a first-class storage server 101C1; if at least one of the storage server stores data and reads data is not greater than the preset corresponding speed, then it is considered that the read / write performance of the storage server is not higher than the preset performance indicator, and the storage server is a second-class storage server 101C2.
[0198] The above-mentioned distributed file storage method stores the true value file in each storage server 101C, including:
[0199] The true value file is stored in each first-type storage server 101C1 in a distributed file storage manner.
[0200] The above-mentioned first-class storage server 101C1 is the default storage server for true value file storage. After the data processing server 101A obtains the true value file, and the computing engine 101B analyzes and processes the true value data to obtain the true value file, the true value file is stored in each first-class storage server 101C1 in a distributed file storage manner.
[0201] The first type storage server 101C1 is further used to migrate the data whose storage duration is greater than a preset duration threshold among the stored data to the second type storage server 101C2.
[0202] The above storage duration is the difference between the storage time of the data and the current time.
[0203] The above-mentioned preset time threshold may be one month, three months, or other set time threshold.
[0204] Specifically, if the storage duration of the data stored in the first-type storage server 101C1 is greater than a preset duration threshold, the data is transferred to the second-type storage server 101C1, thereby saving storage space of the first-type storage server 101C1.
[0205] In one embodiment of the present invention, in one implementation, data stored in the first type storage server 101C1 for a period longer than a preset period threshold may be copied to the second type storage server 101C2, and then the data may be deleted from the first type storage server 101C1.
[0206] In another implementation, data stored in the first-type storage server 101C1 for a period longer than a preset period threshold may be directly cut to the second-type storage server 101C2.
[0207] It can be seen that in the solution provided by the embodiment of the present invention, the data with a storage time longer than the preset time threshold in the first type storage server 101C1 is migrated to the second type storage server 101C2. Since the reading frequency of the stored data is usually related to the storage time of the data, the longer the storage time, the lower the frequency of data reading, so the data with a storage time longer than the preset time threshold is transferred to the second type storage server 101C2, which can save the storage space of the first type storage server 101C1, and the second type storage server 101C2 with lower read and write performance is used to store the data with a storage time longer than the preset time threshold, which can reduce the cost of data storage.
[0208] In one embodiment of the present invention, the data processing server 101A is further used to obtain calibration data input by a user for the driving environment of the target vehicle, and calibrate the environment description information according to the calibration data.
[0209] The user can observe the actual situation of the driving environment of the target vehicle, and the environmental description information obtained by the computing engine 101B through data analysis of the truth value file to be processed may have errors due to hardware or software reasons. Therefore, to address the errors, the user can input calibration data for the driving environment of the target vehicle, and the data processing server 101A calibrates the environmental description information based on the calibration data.
[0210] It can be seen that, by applying the solution provided by the embodiment of the present invention, the data processing server 101A can calibrate the environment description information according to the calibration data input by the user, thereby improving the accuracy of the environment description information.
[0211] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a process. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process including the element.
[0212] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of protection of the present invention.
Claims
1. A data storage system for autonomous driving, characterized in that: The system includes: a data processing subsystem based on the Hadoop framework and a database of a preset type; wherein the data processing subsystem includes: a data processing server, a Spark-based computing engine and a storage server; The data processing server is used to obtain a truth value file generated by a sensor installed on each vehicle, and store the truth value file in each storage server in a distributed file storage manner, wherein the truth value file includes the truth value data collected by the sensor within a preset time period during the driving process of the vehicle; The computing engine is used to obtain a truth value file to be processed, perform data analysis on the truth value file to be processed, obtain environmental description information of the driving environment of the target vehicle, and store the environmental description information in a storage server corresponding to the computing engine, wherein the target vehicle is: the vehicle where the sensor generating the truth value file to be processed is located; The data processing server is further used to obtain the environmental description information, control the driving of the target vehicle according to the environmental description information, and obtain a target truth file generated by a sensor installed on the target vehicle during the driving process, obtain the driving information of the target vehicle and the description information of an object in the environment where the target vehicle is located according to the target truth file, and store the driving information and the description information of the object in the database; After obtaining the true value file generated by the sensor installed on each vehicle, the method further includes: Determine a second truth value file group in the obtained truth value files that is generated by a sensor installed on the same vehicle, has the same data type, and has a consistent collection time period; For each second truth value file group, data fusion is performed on the truth value data with the same acquisition time in each second truth value file in the second truth value file group to obtain a fused truth value file; The method of storing the true value file in each storage server in a distributed file storage manner includes: The fused true value file is stored in each storage server in a distributed file storage manner; The sensors installed on the vehicle include: a first type of sensor for collecting information about the driving environment of the vehicle and a second type of sensor for collecting information about the vehicle itself; The data analysis of the true value file to be processed is performed to obtain the environmental description information of the driving environment of the target vehicle, including: According to the first truth value file to be processed, relative description information between an object in the driving environment of the target vehicle and the target vehicle is obtained, wherein the first truth value file to be processed is: a file generated by the first type of sensor in the truth value file to be processed, and the relative description information includes at least one of the following: a distance of the object relative to the target vehicle, a speed of the object relative to the target vehicle, and a position of the object relative to the target vehicle; According to the second truth value file to be processed, vehicle description information of the target vehicle in the environment is obtained, wherein the second truth value file to be processed is: a file generated by the second type of sensor in the truth value file to be processed; The environmental description information of the driving environment of the target vehicle is generated according to the vehicle description information and the relative description information.
2. The system according to claim 1, characterized in that The obtaining of the truth value file to be processed and performing data analysis on the truth value file to be processed to obtain description information of the driving environment in which the target vehicle is located includes: According to the collection time of the true value data in the true value file to be processed, detecting whether the true value data in the true value file to be processed is complete; If incomplete, obtain the missing time length of the true value data in the true value file to be processed; Determine whether the missing duration is greater than a preset first duration threshold; If not, repairing the missing truth value data in the truth value file to be processed according to the truth value data recorded in the truth value file to be processed; Data analysis is performed on the repaired true value file to be processed to obtain the description information of the driving environment in which the target vehicle is located.
3. The system according to claim 1, characterized in that After obtaining the true value file generated by the sensor installed on each vehicle, the method further includes: Determine a first truth file group generated by the same sensor in the obtained truth files; For each first truth file group, the truth data contained in each truth file in the first truth file group are merged in descending order of the truth data collection time to obtain a merged truth file; The method of storing the true value file in each storage server in a distributed file storage manner includes: The merged true value file is stored in each storage server in a distributed file storage manner.
4. The system according to claim 3, characterized in that After obtaining the merged true value file, the method further includes: Determine the continuous acquisition time period corresponding to the true value data in the merged true value file; If the number of continuous collection time periods is greater than 1, the merged truth value file is split into a first number of split truth value files according to each continuous collection time period, wherein the first number is the number of continuous collection time periods, each split truth value file corresponds to a continuous collection time period, and includes truth value data in the merged truth value file whose collection time is within the continuous collection time period corresponding to the split truth value file; The step of storing the merged true value file in each storage server in a distributed file storage manner includes: The split truth value files are stored in each storage server in a distributed file storage manner.
5. The system according to any one of claims 1 to 4, characterized in that: The storage servers include a first type of storage server whose read and write performance is higher than a preset performance index and a second type of storage server whose read and write performance is not higher than the preset performance index; The method of storing the true value file in each storage server in a distributed file storage manner includes: Storing the true value file in each first-class storage server in a distributed file storage manner; The first type of storage server is further used to migrate the stored data whose storage time is greater than a preset time threshold to the second type of storage server.
6. The system according to any one of claims 1 to 4, characterized in that: The data processing server is further used to obtain calibration data input by a user for the driving environment of the target vehicle, and calibrate the environmental description information according to the calibration data.
7. The system according to any one of claims 1 to 4, characterized in that: The truth value file obtained by the data processing server is: the truth value file uploaded after the sensor installed on each vehicle determines that there are a preset number of truth value files generated by itself and not uploaded.
8. The system according to any one of claims 1 to 4, characterized in that: The database is: MySQL database.
