Driving simulation data processing method, simulation system, equipment and program product

Through the method of extracting and calculating relative motion data, the functional module that automatically locates failure events in autonomous driving simulation solves the problems of low efficiency and low accuracy of manual analysis in the existing technology, and achieves efficient and accurate simulation data processing.

CN118296862BActive Publication Date: 2024-09-20BEIJING JIDU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728603.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-20
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

In the existing technology, the manual analysis efficiency in autonomous driving simulation testing is low, the positioning error rate is high, and it is difficult to quickly and accurately identify the functional modules that cause the simulation to fail. Especially when facing a large amount of data, it is difficult to meet the needs of low cost and high efficiency.

Method used

By extracting relative motion data between the vehicle and target obstacles, calculating relative motion indicators, and automatically locating functional modules that lead to driving failure events, including perception modules and path planning and navigation modules.

Benefits of technology

It realizes automated processing of driving simulation data, improves efficiency and accuracy, and can quickly and cost-effectively screen out functional modules that cause simulation failure, which is particularly important in the face of large amounts of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296862B
    Figure CN118296862B
Patent Text Reader

Abstract

The present application relates to the field of data processing technology, and specifically to a driving simulation data processing method, simulation system, device and program product. The method includes: obtaining log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation, wherein the vehicle is configured with at least one functional module related to autonomous driving; extracting relative motion data between the vehicle and a target obstacle from the log data; based on the relative motion data, calculating a relative motion index of the target obstacle, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle; based on the relative motion index, determining the functional module corresponding to the driving failure event. The present application can extract relative motion data from the log data, automatically locate the functional module causing the driving failure event based on the relative motion data, and improve the efficiency and accuracy of driving simulation data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a driving simulation data processing method, simulation system, equipment and program product. Background Art

[0002] Simulation testing is crucial for the vehicle's autonomous driving technology. Simulation testing tests and verifies the performance and safety of the autonomous driving system by simulating various driving scenarios. Simulation testing can simulate complex traffic conditions and improve system robustness. It is also used to optimize algorithms and decision models and accelerate technology research and development. During the test, the simulation system records the data output by each functional module in the autonomous driving algorithm and automatically determines the simulation results. When the simulation results are judged as events, it is currently common to use visualization tools to replay the data recorded in the simulation process, manually analyze and compare the curves of each signal change, and determine the functional module with problems based on manual subjective feelings. However, the simulation test process will output a large amount of data. Faced with a large amount of data, manual troubleshooting is not only inefficient, but also often leads to positioning errors due to inaccurate judgment criteria. It is difficult to meet the needs of low-cost, efficient and accurate troubleshooting of functional modules after re-injection simulation. Summary of the invention

[0003] Based on the defects and shortcomings of the above-mentioned prior art, the present application proposes a driving simulation data processing method, simulation system, equipment and program product, which can extract relative motion data in log data, automatically locate the functional module that causes driving failure events based on relative motion data, and improve the efficiency and accuracy of driving simulation data processing.

[0004] According to a first aspect of an embodiment of the present application, a driving simulation data processing method is provided, comprising: obtaining log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation, wherein the vehicle is configured with at least one functional module related to autonomous driving; extracting relative motion data between the vehicle and a target obstacle from the log data; based on the relative motion data, calculating a relative motion index of the target obstacle, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle; based on the relative motion index, determining the functional module corresponding to the driving failure event.

[0005] According to the driving simulation data processing method provided in the first aspect of an embodiment of the present application, the extracting of the relative motion data between the vehicle and the target obstacle from the log data includes: based on continuous perception time points within a perception time period in the log data, extracting the relative speed information, relative acceleration information and relative displacement information based on the perception time points obtained when the vehicle perceives the target obstacle.

[0006] According to the driving simulation data processing method provided in the first aspect of an embodiment of the present application, the relative motion index of the target obstacle is calculated based on the relative motion data, including: calculating the relative speed integral of the target obstacle within the perception time period based on the relative speed information and the perception time point; calculating the relative displacement difference of the target obstacle within the perception time period based on the relative displacement information; calculating the relative acceleration integral of the target obstacle within the perception time period based on the relative acceleration information and the perception time point; and calculating the relative speed difference of the target obstacle within the perception time period based on the relative speed information.

[0007] According to the driving simulation data processing method provided in the first aspect of an embodiment of the present application, the determining the functional module corresponding to the driving failure event based on the relative motion index includes: calculating a first difference between the relative velocity integral and the relative displacement difference, and comparing the first difference with a first threshold to obtain a first comparison result; calculating a second difference between the relative acceleration integral and the relative velocity difference, and comparing the second difference with a preset second threshold to obtain a second comparison result; and determining the functional module corresponding to the driving failure event based on the first comparison result and the second comparison result.

[0008] According to the driving simulation data processing method provided in the first aspect of an embodiment of the present application, the functional module corresponding to the driving failure event is determined based on the first comparison result and the second comparison result, including: if the first comparison result shows that the first difference is greater than the first threshold, and / or if the second comparison result shows that the second difference is greater than the second threshold, determining that the functional module corresponding to the driving failure event includes a perception module.

[0009] According to the driving simulation data processing method provided in the first aspect of the embodiment of the present application, the obtaining of log data corresponding to a driving failure event occurring in the vehicle autonomous driving simulation includes: determining at least one driving failure event occurring in the vehicle autonomous driving simulation; obtaining the log data corresponding to each of the driving failure events; and extracting the relative motion data between the vehicle and the target obstacle from the log data, including: determining at least one target obstacle corresponding to each of the driving failure events from the log data corresponding to each of the driving failure events, and extracting the relative motion data between the vehicle and the target obstacle when the vehicle perceives each of the target obstacles.

[0010] According to the driving simulation data processing method provided in the first aspect of the embodiment of the present application, the calculating the relative motion index of the target obstacle based on the relative motion data includes: based on the relative motion data corresponding to each of the target obstacles, respectively calculating the relative motion index corresponding to each of the target obstacles; based on the relative motion index, determining the functional module corresponding to the driving failure event includes: for each of the driving failure events: determining the functional module corresponding to the driving failure event based on the relative motion index of each of the target obstacles corresponding to the driving failure event.

[0011] According to a second aspect of an embodiment of the present application, an autonomous driving simulation system is provided, through which a vehicle performs autonomous driving simulation, and obtains log data corresponding to a driving failure event that occurs during the autonomous driving simulation of the vehicle; wherein the log data is processed by the driving simulation data processing method as described in the first aspect.

[0012] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a memory and a processor; the memory is connected to the processor and is used to store programs; the processor is used to implement the driving simulation data processing method as described in the first aspect by running the program in the memory.

[0013] According to a fourth aspect of an embodiment of the present application, a computer program product is provided, comprising computer program instructions; when the computer program instructions are executed by a processor, the processor executes the driving simulation data processing method as described in the first aspect. Optionally, the computer program may be stored in a readable storage medium of a computer device or in the cloud; the processor of the computer device reads the computer program from the readable storage medium or the cloud.

[0014] In an embodiment of the present application, log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation is obtained, wherein the vehicle is configured with at least one functional module related to autonomous driving; relative motion data between the vehicle and the target obstacle is extracted from the log data; based on the relative motion data, a relative motion index of the target obstacle is calculated, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle; based on the relative motion index, the functional module corresponding to the driving failure event is determined. In the above process, the relative motion data between the target obstacle and the vehicle is automatically extracted from the log data of the vehicle autonomous driving simulation, thereby calculating the relative motion index through the relative motion data, and automatically determining the functional module causing the driving failure event based on the relative motion index, thereby realizing automated processing of driving simulation data processing, avoiding the problems of low efficiency and accuracy in manual data processing, and especially when faced with large amounts of data, automated data processing has more advantages. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present application 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 described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0016] Figure 1 One of the flow charts of a driving simulation data processing method provided in an embodiment of the present application.

[0017] Figure 2 The second flowchart of a driving simulation data processing method provided in an embodiment of the present application.

[0018] Figure 3 A block diagram of a driving simulation data processing device provided in an embodiment of the present application.

[0019] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] Application Overview

[0022] At present, in the field of vehicle autonomous driving, the recognition and automatic avoidance of surrounding obstacles is an important part. Generally speaking, vehicles realize the automatic obstacle avoidance function by configuring the Autonomous Emergency Braking System (AEB). AEB is an Advanced Driver Assistance System (ADAS) designed to help drivers avoid or reduce the risk of collision. The AEB function uses sensors (such as radar, camera or laser) to monitor obstacles or other vehicles in front. The simulation test of vehicle autonomous driving can greatly improve the safety of autonomous driving. During the AEB test, the simulation system will record the data output by each functional module of the autonomous driving algorithm, and automatically judge the simulation results to determine whether there is an autonomous driving failure event during the simulation. When the simulation result is judged to be a failure, the company's R&D personnel hope to quickly locate the functional module that caused the simulation failure event to have problems, so as to efficiently upgrade the AEB function.

[0023] Since there are many functional modules in the AEB system and their relationships are complex, the common practice for locating the functional modules that cause simulation failure events is to replay the data recorded during the simulation process through visualization tools, manually analyze and compare the curves of each signal change, and determine the functional module with problems based on subjective feelings. This method is not only inefficient, but also often leads to positioning errors due to inaccurate judgment criteria. After mass-produced vehicles are launched on the market, a large amount of data will be transmitted back, and a large amount of autonomous driving simulation data will be generated after simulation. Manual investigation is difficult to meet the needs of low-cost, efficient, and accurate investigation of problematic functional modules.

[0024] Exemplary Methods

[0025] Based on the above, the present application provides a driving simulation data processing method to realize the automated processing of driving simulation data. The method can be implemented through a software algorithm on any device with computing capabilities, such as an independent computer, a cloud server, etc. The protection scope of the present application is not limited to the specific implementation form of the device that implements the method.

[0026] In one embodiment, if Figure 1 As shown, the process steps of the driving simulation data processing method are as follows:

[0027] Step 101, obtaining log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation, wherein the vehicle is configured with at least one functional module related to autonomous driving.

[0028] In this embodiment, the vehicle needs to cooperate with multiple functional modules to achieve autonomous driving, such as the more important perception module and path planning and navigation (PNC) module. The perception module uses a variety of sensors and technologies to monitor the environment around the vehicle, uses algorithms and models to analyze and interpret these data, and identifies potential collision risks. The sensors used by the perception module may include various types of sensors such as radar, camera, lidar and ultrasonic sensor. Based on the data collected by various sensors, the perception module can detect various obstacles such as other vehicles, pedestrians and traffic signs, and evaluate the relative position, speed and motion trajectory of each obstacle monitored and the vehicle itself. The PNC module is responsible for planning and controlling the vehicle's motion path based on the environmental data provided by the perception module and the monitored obstacles. Each functional module refers to the division based on functional software. Each functional module can be implemented in the same data processing hardware device (e.g., domain controller), or in different data processing hardware devices (e.g., electronic control unit), and based on the data interaction between each data processing hardware device, the entire autonomous driving function is completed.

[0029] In this embodiment, the functional modules related to autonomous driving configured on the vehicle are not static. After the vehicle is put into use, further autonomous driving simulation tests can be carried out, so as to further improve and upgrade the functional modules related to autonomous driving based on the data obtained from the simulation tests. Commonly used simulation tests for the field of autonomous driving are divided into two categories: re-injection simulation and virtual simulation. Re-injection simulation refers to the use of actual driving data collected from vehicles put into actual use to reproduce and simulate real driving scenarios, and input these data into the autonomous driving system for simulation testing and verification. Re-injection simulation can more realistically simulate various complex road conditions and traffic conditions by replaying real driving data to evaluate the performance and safety of the autonomous driving system. Virtual simulation is the creation and simulation of various driving scenarios and situations in a virtual environment. Virtual simulation can simulate different traffic conditions, weather conditions and the behavior of other vehicles by establishing virtual road networks, vehicles and environmental models. In a virtual simulation environment, large-scale tests can be carried out to test and optimize the algorithms and decision models of the autonomous driving system.

[0030] In this embodiment, whether it is a re-injection simulation or a virtual simulation, or other forms of simulation, it will automatically determine whether the simulation result fails, that is, whether there is a driving failure event (referred to as case). A driving failure event refers to a driving event in which the result is a failure based on the simulation data during the autonomous driving simulation. In the vehicle autonomous driving simulation, the simulation system will record logs. After the simulation is completed, if there is a driving failure event in the vehicle autonomous driving simulation, the log data corresponding to the driving failure event can be directly obtained. Specifically, the log data within a certain time period when the driving failure event occurs can be extracted. For example, all log data within 5 minutes before and after the driving failure event occurs can be extracted, and the next step of automatic analysis can be performed to determine which functional modules of all functional modules related to autonomous driving have problems or failures.

[0031] Step 102: extracting relative motion data between the vehicle and the target obstacle from the log data.

[0032] In this embodiment, the autonomous driving algorithm will automatically record the relative motion data of each obstacle identified during the vehicle's driving process. The relative motion data refers to the data related to the relative motion between the vehicle and the obstacle, for example, the speed and acceleration of each obstacle relative to the vehicle. The autonomous driving algorithm will also add a unique identification document to each obstacle to distinguish each obstacle.

[0033] In this embodiment, after obtaining the log data corresponding to the driving failure event, the obstacle identified by the autonomous driving algorithm in the log data is defined as the target obstacle, and the relative motion data corresponding to the target obstacle can be directly extracted from the log data corresponding to the driving failure event.

[0034] Step 103: Calculate a relative motion index of the target obstacle based on the relative motion data, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle.

[0035] In this embodiment, after extracting the relative motion data from the log data, the relative motion data can be further calculated and processed based on kinematic knowledge to obtain an indicator that can characterize the relative motion between the vehicle and the target obstacle. For example, the speed change of the target obstacle relative to the vehicle's motion can be obtained by calculation, or the motion trajectory of the target obstacle relative to the vehicle can be obtained by calculation.

[0036] Step 104: Determine the functional module corresponding to the driving failure event based on the relative motion index.

[0037] In this embodiment, by analyzing the relative motion index, the functional module that caused the driving failure event can be automatically confirmed. For example, when there is a problem with the perception module, the relative motion index cannot meet the kinematic law of the relative motion between the vehicle and the obstacle. For another example, when the perception module is normal but the PNC module fails, even if the relative motion index meets the kinematic law, a driving failure event still occurs.

[0038] In this embodiment, the relative motion data between the target obstacle and the vehicle is automatically extracted, so that the relative motion index is calculated through the relative motion data, and the functional module that causes the driving failure event is automatically determined based on the relative motion index, so as to realize automated processing of driving simulation data and avoid the problems of low efficiency and accuracy in manual data processing. In particular, the autonomous driving simulation process usually outputs a large amount of data, and automated processing replaces manual investigation, thus realizing low-cost, fast, efficient and high-accuracy screening of problem functional modules.

[0039] In one embodiment, obtaining log data corresponding to a driving failure event occurring in a vehicle automatic driving simulation is specifically as follows: determining at least one driving failure event occurring in a vehicle automatic driving simulation; obtaining log data corresponding to each driving failure event. Extracting relative motion data between the vehicle and the target obstacle from the log data is specifically as follows: from the log data corresponding to each driving failure event, determining at least one target obstacle corresponding to each driving failure event, and extracting relative motion data between the vehicle and the target obstacle when the vehicle perceives each target obstacle.

[0040] In this embodiment, there is a possibility of a large number of driving failure events during the autonomous driving simulation, especially when the re-injection simulation is used. For the driving failure events that are judged as failures during the autonomous driving simulation, the log data corresponding to each driving failure event is extracted respectively, and the log data corresponding to each driving failure event is analyzed respectively.

[0041] In this embodiment, in any driving failure event, the vehicle is likely to detect multiple target obstacles at the same time, and the motion state of each target obstacle needs to be analyzed. Therefore, from the log data corresponding to the driving failure event, each target obstacle is determined, and the relative motion data obtained by the vehicle sensing each target obstacle is extracted.

[0042] In one embodiment, the relative motion index of the target obstacle is calculated based on the relative motion data, specifically as follows: Based on the relative motion data corresponding to each target obstacle, the relative motion index corresponding to each target obstacle is calculated respectively. Based on the relative motion index, the functional module corresponding to the driving failure event is determined, specifically as follows: For each driving failure event: Based on the relative motion index of each target obstacle corresponding to the driving failure event, the functional module corresponding to the driving failure event is determined.

[0043] In this embodiment, for each driving failure event: after extracting the relative motion data corresponding to each target obstacle from the log data corresponding to the driving failure event, the relative motion index is calculated for each target obstacle separately to determine whether the motion state of each target obstacle conforms to the kinematic law. If there is at least one target obstacle whose motion state does not conform to the kinematic law among the target obstacles corresponding to any driving failure event, the functional module corresponding to the entire driving failure event can be determined based on the relative motion index of the target obstacle.

[0044] In one embodiment, relative motion data between a vehicle and a target obstacle is extracted from log data, specifically as follows: based on continuous perception time points within a perception time period in the log data, relative speed information, relative acceleration information, and relative displacement information based on the perception time points obtained when the vehicle perceives the target obstacle are extracted.

[0045] In this embodiment, the relative motion data corresponding to the target obstacle refers to the data related to the relative motion between the vehicle and the target obstacle that can be directly extracted from the log data, specifically including relative speed information, relative acceleration information and relative displacement information; wherein, relative speed information refers to speed information based on the relative motion between the vehicle and the target obstacle, relative acceleration information refers to acceleration information based on the relative motion between the vehicle and the target obstacle, and relative displacement information refers to displacement information based on the relative motion between the vehicle and the target obstacle. These relative motion data are mainly collected by various sensors. When any sensor collects data, the sensor's perception time point will be added to the data, and the relevant data will preferably be timestamped. For example, when collecting the speed information of any target obstacle, when the speed sensor collects the relative speed information, the corresponding timestamp will be stamped when the speed sensor is triggered to perceive. When the relative motion data of each target obstacle is calculated based on kinematics, relevant perception time points are also required, and continuous perception time points within a perception time period can characterize the continuity of the motion state of the target obstacle with relative motion data, thereby ensuring the accuracy of data processing.

[0046] In this embodiment, the relative speed information, the relative acceleration information and the relative displacement information can be further divided into longitudinal and lateral directions, which are distinguished based on a pre-set coordinate system centered on the vehicle. Specifically, the relative speed information includes relative lateral speed and relative longitudinal speed, wherein the relative lateral speed refers to the lateral speed information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other, and the relative longitudinal speed refers to the longitudinal speed information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other; the relative acceleration information includes relative lateral acceleration and relative longitudinal acceleration, wherein the relative lateral acceleration refers to the lateral acceleration information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other, and the relative longitudinal acceleration refers to the longitudinal acceleration information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other; the relative displacement information includes relative lateral displacement and relative longitudinal displacement, wherein the relative lateral displacement refers to the lateral displacement information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other, and the relative longitudinal displacement refers to the longitudinal displacement information obtained based on the vehicle-centered coordinate system when the vehicle and the target obstacle move relative to each other. Further, the ID of each target obstacle can be extracted to clearly distinguish each target obstacle. In addition, the perception time information (ie, timestamp) that triggers sensor perception when collecting relative velocity information, relative acceleration information, and relative displacement information can also be extracted.

[0047] Exemplarily, the log data corresponding to each driving failure event is read. From all the continuous frames of data of each log data, the relative motion data of each target obstacle is read including 8 signals, as follows:

[0048] The relative lateral velocity of the target obstacle;

[0049] Relative lateral acceleration of the target obstacle;

[0050] The relative longitudinal velocity of the target obstacle;

[0051] Relative longitudinal acceleration of the target obstacle;

[0052] Relative lateral displacement of target obstacles;

[0053] Relative longitudinal displacement of the target obstacle;

[0054] Target obstacle ID;

[0055] Timestamp of the perception trigger.

[0056] In one embodiment, the relative motion index of the target obstacle is calculated based on the relative motion data, specifically as follows: based on the relative speed information and the perception time point, the relative speed integral of the target obstacle in the perception time period is calculated; based on the relative displacement information, the relative displacement difference of the target obstacle in the perception time period is calculated; based on the relative acceleration information and the perception time point, the relative acceleration integral of the target obstacle in the perception time period is calculated; based on the relative speed information, the relative speed difference of the target obstacle in the perception time period is calculated.

[0057] In this embodiment, based on kinematic knowledge, the motion state of the target obstacle can be verified according to the kinematic relationship between the speed, acceleration and displacement of the target obstacle. Therefore, the relative speed integral, relative displacement difference, relative acceleration integral and relative speed difference can be calculated to verify the motion state of the target obstacle. Based on the perception time point of each relative motion data acquisition, the required perception time period can be arbitrarily intercepted. The relative speed integral refers to the integral value obtained by integrating the relative speed information of the target obstacle during the perception time period; the relative displacement difference refers to the displacement change difference of the target obstacle during the perception time period, that is, the relative displacement information corresponding to the starting time point of the perception time period and the relative displacement information corresponding to the end time point of the perception time period; the relative acceleration integral refers to the integral value obtained by integrating the relative acceleration information of the target obstacle during the perception time period; the relative speed difference refers to the speed change difference of the target obstacle during the perception time period, that is, the relative speed information corresponding to the starting time point of the perception time period and the relative speed information corresponding to the end time point of the perception time period.

[0058] In this embodiment, if the relative velocity information includes relative lateral velocity and relative longitudinal velocity, the relative acceleration information includes relative lateral acceleration and relative longitudinal acceleration, and the relative displacement information includes relative lateral displacement and relative longitudinal displacement, then, when performing integral operations and difference calculations, they can be based on a coordinate system centered on the vehicle and processed in both the lateral and longitudinal directions. Specifically, based on the relative lateral speed and the perception time point, the relative lateral speed of the target obstacle in the perception time period is integrated in the lateral direction of the coordinate system centered on the vehicle to obtain the relative lateral speed integral; based on the relative longitudinal speed and the perception time point, the relative longitudinal speed of the target obstacle in the perception time period is integrated in the longitudinal direction of the coordinate system centered on the vehicle to obtain the relative longitudinal speed integral; based on the relative lateral displacement, the displacement difference of the target obstacle in the perception time period is calculated in the lateral direction of the coordinate system centered on the vehicle to obtain the relative lateral displacement difference, that is, the difference between the relative lateral displacement of the target obstacle corresponding to the starting time point of the perception time period and the relative lateral displacement corresponding to the ending time point of the perception time period; based on the relative longitudinal displacement, the displacement difference of the target obstacle in the perception time period is calculated in the longitudinal direction of the coordinate system centered on the vehicle to obtain the relative longitudinal displacement difference, that is, the difference between the relative longitudinal displacement of the target obstacle corresponding to the starting time point of the perception time period and the relative longitudinal displacement corresponding to the ending time point of the perception time period; Based on the relative lateral acceleration and the perception time point, the relative lateral acceleration of the target obstacle in the perception time period is integrated in the lateral direction of the coordinate system centered on the vehicle to obtain the relative lateral acceleration integral; based on the relative longitudinal acceleration and the perception time point, the relative longitudinal acceleration of the target obstacle in the perception time period is integrated in the longitudinal direction of the coordinate system centered on the vehicle to obtain the relative longitudinal acceleration integral; based on the relative lateral speed, the speed difference of the target obstacle in the perception time period is calculated in the lateral direction of the coordinate system centered on the vehicle to obtain the relative lateral speed difference, that is, the difference between the relative lateral speed of the target obstacle corresponding to the starting time point of the perception time period and the relative lateral speed corresponding to the ending time point of the perception time period is calculated; based on the relative longitudinal speed, the speed difference of the target obstacle in the perception time period is calculated in the longitudinal direction of the coordinate system centered on the vehicle to obtain the relative longitudinal speed difference, that is, the difference between the relative longitudinal speed of the target obstacle corresponding to the starting time point of the perception time period and the relative longitudinal speed corresponding to the ending time point of the perception time period is calculated.

[0059] For example, F is defined as the last perception event point in chronological order within the perception time period, or the last frame of perception triggering; the perception time information is the timestamp of the frame of the perception output parameter. The specific calculation process of the following 8 relative motion indicators is as follows:

[0060] Relative lateral velocity integral of target obstacle = ([first frame] target relative lateral velocity + [second frame] target relative lateral velocity) × ([second frame] timestamp - [first frame] timestamp) / 2 + ([second frame] target relative lateral velocity + [third frame] target relative lateral velocity) × ([third frame] timestamp - [second frame] timestamp) / 2 + … + ([F-1 frame] target relative lateral velocity + [F frame] target relative lateral velocity) × ([F frame] timestamp - [F-1] timestamp) / 2;

[0061] The relative lateral displacement difference of the target obstacle = the relative coordinate point of [F frame] - the relative coordinate point of [1 frame];

[0062] The relative longitudinal velocity integral of the target obstacle = ([first frame] target relative longitudinal velocity + [second frame] target relative longitudinal velocity) × ([second frame] timestamp - [first frame] timestamp) / 2 + ([second frame] target relative longitudinal velocity + [third frame] target relative longitudinal velocity) × ([third frame] timestamp - [second frame] timestamp) / 2 +…+ ([F-1 frame] target relative longitudinal velocity + [F frame] target relative longitudinal velocity) × ([F frame] timestamp - [F-1] timestamp) / 2;

[0063] The relative longitudinal displacement difference of the target obstacle = the relative coordinate point of [F frame] - the relative coordinate point of [1 frame];

[0064] The integral of the relative longitudinal acceleration of the target obstacle = ([first frame] target relative longitudinal acceleration + [second frame] target relative longitudinal acceleration) × ([second frame] timestamp - [first frame] timestamp) / 2 + ([second frame] target relative longitudinal acceleration + [third frame] target relative longitudinal acceleration) × ([third frame] timestamp - [second frame] timestamp) / 2 + … + ([F-1 frame] target relative longitudinal acceleration + [F frame] target relative longitudinal acceleration) × ([F frame] timestamp - [F-1] timestamp) / 2;

[0065] Relative longitudinal velocity difference of target obstacle = [Fth frame] relative longitudinal phase velocity - [1st frame] relative longitudinal velocity;

[0066] The relative lateral acceleration integral of the target obstacle = ([first frame] target relative lateral acceleration + [second frame] target relative lateral acceleration) × ([second frame] timestamp - [first frame] timestamp) / 2 + ... + ([F-1 frame] target relative lateral acceleration + [F frame] target relative lateral acceleration) × ([F frame] timestamp - [F-1] timestamp) / 2;

[0067] The relative lateral velocity difference of the target obstacle = the relative lateral velocity of [the Fth frame] - the relative lateral velocity of [the 1st frame].

[0068] In one embodiment, based on the relative motion index, the functional module corresponding to the driving failure event is determined as follows: a first difference between the relative velocity integral and the relative displacement difference is calculated, and the first difference is compared with a preset first threshold to obtain a first comparison result; a second difference between the relative acceleration integral and the relative velocity difference is calculated, and the second difference is compared with a preset second threshold to obtain a second comparison result; based on the first comparison result and the second comparison result, the functional module corresponding to the driving failure event is determined.

[0069] In this embodiment, since the greater the frame rate, the higher the credibility and accuracy of the calculated integral value, and the signal frame rate of the target obstacle sensed and output by the vehicle is generally greater than 20HZ, it is reasonable to use integral calculation. Based on kinematic theory, the relative velocity integral and relative displacement difference of the same target obstacle in the same perception time period converge, and the relative acceleration integral and relative velocity difference of the same target obstacle in the same perception time period converge. Therefore, the first difference and the second difference can be calculated to verify whether the acquisition of the relative motion data of the target obstacle is normal. In this embodiment, the first threshold and the second threshold are pre-set according to actual conditions and needs, and the first threshold and the second threshold can be the same or different. For example, the first threshold and the second threshold can both be taken as 1 according to actual conditions.

[0070] In one embodiment, based on the first comparison result and the second comparison result, the functional module corresponding to the driving failure event is determined, as follows: if the first comparison result shows that the first difference is greater than the first threshold, and / or if the second comparison result shows that the second difference is greater than the second threshold, it is determined that the functional module corresponding to the driving failure event includes a perception module.

[0071] In this embodiment, if the first difference is greater than the first threshold, and / or the second difference is greater than the second threshold, it indicates that the original relative motion data is unreasonable, and the functional module for collecting relative motion data is a perception module, then if the first difference is greater than the first threshold, and / or the second difference is greater than the second threshold, it indicates that the functional module corresponding to the driving failure event includes the perception module. If the first difference is less than or equal to the first threshold, and the second difference is less than or equal to the second threshold, it indicates that the original relative motion data is reasonable, and the functional module causing the driving failure event may be a PNC module or other functional modules.

[0072] In this embodiment, if the coordinate system centered on the vehicle is used as a reference, it is divided into two directions, namely, horizontal and vertical directions, and the relative motion index is divided into horizontal and vertical directions. For any target obstacle, the specific comparison process between velocity and displacement, and between acceleration and velocity can also be divided into horizontal and vertical directions, wherein the first threshold and the second threshold are both taken as a, as follows:

[0073] When |relative lateral velocity integral - relative lateral displacement difference|>a, it means that the relative lateral velocity integral of the target obstacle does not match the relative lateral displacement difference, and the perception module outputs that the lateral displacement of the target obstacle is jumping, which is marked as false, otherwise it is true.

[0074] When |relative longitudinal velocity integral - relative longitudinal displacement difference|>a, it means that the relative longitudinal velocity integral of the target obstacle does not match the relative longitudinal displacement difference, and the perception module outputs that the longitudinal displacement of the target obstacle has a jump, which is marked as false, otherwise it is true.

[0075] When |relative longitudinal acceleration integral - relative longitudinal velocity difference|>a, it means that the relative longitudinal acceleration integral of the target obstacle does not match the relative longitudinal velocity difference, and the perception module outputs that the longitudinal velocity of the target obstacle has a jump, which is marked as false, otherwise it is true.

[0076] When |relative lateral acceleration integral - relative lateral velocity difference|>a, it means that the relative lateral acceleration integral of the target obstacle does not match the relative lateral velocity difference, and the perception module outputs that the lateral velocity of the target obstacle has a jump, which is marked as false, otherwise it is true.

[0077] Based on the above four groups of comparison results, if any group of indicator results is marked as false, it can be determined that the functional module corresponding to the driving failure event includes the perception module, and the autonomous driving function has a deviation in the relative motion data output of the target obstacle, and then locates the problem of the perception module. Furthermore, the perception module includes the perception reasoning module and the perception fusion module. If the displacement (including lateral displacement and longitudinal displacement) jumps, it means that the perception reasoning module is abnormal; if the speed (including lateral speed and longitudinal speed) jumps, it means that the perception fusion is abnormal.

[0078] In one embodiment, an abnormality in the perception module may cause a jump in the value of the frame in which the perception function is triggered, thereby causing AEB to be falsely triggered or missed. For example, the perception module outputs that the distance between the vehicle and the target in the 10th frame is 10 meters, and the signal value output by the 11th pin becomes 100 meters, which is an obvious jump. Therefore, if the functional module corresponding to the driving failure event includes a perception module, the range of the perception time period can be further narrowed, and the relative motion index within the range can be narrowed again, so as to further determine the specific data frame where the jump occurs.

[0079] In a specific embodiment, Figure 2 As shown, the exemplary process of the driving simulation data processing method is as follows:

[0080] Step 201, obtaining log data corresponding to each driving failure event;

[0081] Step 202, determining whether there is a driving failure event with an unlocated problem, if so, executing step 203, if not, executing step 208;

[0082] Step 203, extracting the ID, sensing time point and relative motion data of each target obstacle from the log data corresponding to any driving failure event, wherein the relative motion data includes: relative lateral velocity, relative lateral acceleration, relative longitudinal velocity, relative longitudinal acceleration, relative lateral displacement, and relative longitudinal displacement;

[0083] Step 204, calculating various relative motion indices, the relative motion indices including: relative lateral velocity integral, relative lateral displacement difference, relative longitudinal velocity integral, relative longitudinal displacement difference, relative longitudinal acceleration integral, relative longitudinal velocity difference, relative lateral acceleration integral, and relative lateral velocity difference;

[0084] Step 205, the eight relative motion indicators are judged by the difference of the two combinations, that is, when |relative lateral velocity integral - relative lateral displacement difference|>a, it is marked as false, otherwise it is true; when |relative longitudinal velocity integral - relative longitudinal displacement difference|>a, it is marked as false, otherwise it is true; when |relative longitudinal acceleration integral - relative longitudinal velocity difference|>a, it is marked as false, otherwise it is true; when |relative lateral acceleration integral - relative lateral velocity difference|>a, it is marked as false, otherwise it is true; as long as there is a false mark, that is, the mark of any target obstacle in the driving failure event is false, the functional module corresponding to the positioning driving failure event includes the perception module, otherwise, the functional module corresponding to the driving failure event may be the PNC module, or there are problems in other links of the perception module, or the driving failure event is caused by other reasons such as simulation system problems;

[0085] Step 206, determining whether the functional module corresponding to the driving failure event includes a perception module, if so, executing step 202, if not, executing step 207;

[0086] Step 207, manually analyzing the functional modules corresponding to the driving failure event;

[0087] Step 208, end data processing.

[0088] In an embodiment of the present application, log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation is obtained, wherein the vehicle is configured with at least one functional module related to autonomous driving; relative motion data between the vehicle and the target obstacle is extracted from the log data; based on the relative motion data, a relative motion index of the target obstacle is calculated, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle; based on the relative motion index, the functional module corresponding to the driving failure event is determined. In the above process, the relative motion data between the target obstacle and the vehicle is automatically extracted from the log data of the vehicle autonomous driving simulation, thereby calculating the relative motion index through the relative motion data, and automatically determining the functional module causing the driving failure event based on the relative motion index, thereby realizing automated processing of driving simulation data processing, avoiding the problems of low efficiency and accuracy in manual data processing, and especially when faced with large amounts of data, automated data processing has more advantages.

[0089] Furthermore, by using the relative lateral acceleration, relative longitudinal acceleration, relative lateral speed, relative longitudinal speed, relative lateral displacement, and relative longitudinal displacement of the target obstacle, it is possible to quickly check whether the driving failure event is related to the perception module. Experiments have shown that by verifying the matching relationship between these indicators in the same time period, about 60% of the problems caused by the perception module can be located. Correspondingly, 60% of the perception problems can be eliminated by the elimination method, thereby determining that there is a problem with the PNC module. This application has achieved the effect of low-cost, fast, and high-accuracy screening of perception problems, and assisted in the rapid iteration of autonomous driving algorithms.

[0090] Example Vehicles

[0091] Correspondingly, an embodiment of the present application also provides an autonomous driving simulation system, through which a vehicle performs autonomous driving simulation, and obtains log data corresponding to a driving failure event that occurs during the autonomous driving simulation of the vehicle; wherein the log data is processed by a driving simulation data processing method provided in any of the above embodiments.

[0092] Furthermore, the autonomous driving simulation system is a system constructed by a software algorithm, which can be implemented on any device with data processing capabilities. At the same time, the driving simulation data processing method provided by any of the above embodiments can also be implemented by a software algorithm and run on any device with data processing capabilities. The software of the autonomous driving simulation system and the software for implementing the driving simulation data processing method can be configured on the same hardware device at the same time, or they can be configured on different hardware devices respectively, as long as the driving simulation data processing method can obtain the log data generated by the autonomous driving simulation system.

[0093] The automatic driving simulation system provided in this embodiment belongs to the same application concept as the driving simulation data processing method provided in the above embodiments of this application, and can apply the driving simulation data processing method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the application method. For technical details not fully described in this embodiment, please refer to the specific processing content of the driving simulation data processing method provided in the above embodiments of this application, which will not be repeated here.

[0094] Exemplary Devices

[0095] Accordingly, the embodiment of the present application also provides a driving simulation data processing device, such as Figure 3 As shown, the device may include:

[0096] A log acquisition module 301 is used to acquire log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation, wherein the vehicle is configured with at least one functional module related to autonomous driving;

[0097] A data extraction module 302 is used to extract relative motion data between the vehicle and the target obstacle from the log data;

[0098] An index calculation module 303 is used to calculate a relative motion index of a target obstacle based on the relative motion data, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle;

[0099] The determination module 304 is used to determine the functional module corresponding to the driving failure event based on the relative motion index.

[0100] In one embodiment, the data extraction module is used to extract the relative speed information, relative acceleration information and relative displacement information based on the perception time points obtained when the vehicle perceives the target obstacle based on the consecutive perception time points within a perception time period in the log data.

[0101] In one embodiment, the indicator calculation module is used to calculate the relative speed integral of the target obstacle within the perception time period based on the relative speed information and the perception time point; calculate the relative displacement difference of the target obstacle within the perception time period based on the relative displacement information; calculate the relative acceleration integral of the target obstacle within the perception time period based on the relative acceleration information and the perception time point; and calculate the relative speed difference of the target obstacle within the perception time period based on the relative speed information.

[0102] In one embodiment, a determination module is used to calculate a first difference between a relative velocity integral and a relative displacement difference, and compare the first difference with a first threshold value to obtain a first comparison result; calculate a second difference between a relative acceleration integral and a relative velocity difference, and compare the second difference with a preset second threshold value to obtain a second comparison result; and determine a functional module corresponding to a driving failure event based on the first comparison result and the second comparison result.

[0103] In one embodiment, the determination module is used to determine that the functional module corresponding to the driving failure event includes a perception module if the first comparison result shows that the first difference is greater than the first threshold, and / or if the second comparison result shows that the second difference is greater than the second threshold.

[0104] In one embodiment, the log acquisition module is used to determine at least one driving failure event that occurs in the vehicle automatic driving simulation; and obtain log data corresponding to each driving failure event;

[0105] The data extraction module is used to determine at least one target obstacle corresponding to each driving failure event from the log data corresponding to each driving failure event, and to extract the relative motion data between the vehicle and the target obstacle when the vehicle perceives each target obstacle.

[0106] In one embodiment, the index calculation module is used to calculate the relative motion index corresponding to each target obstacle based on the relative motion data corresponding to each target obstacle;

[0107] The determination module is used for, for each driving failure event, determining a functional module corresponding to the driving failure event based on a relative motion index of each target obstacle corresponding to the driving failure event.

[0108] The driving simulation data processing device provided in this embodiment belongs to the same application concept as the driving simulation data processing method provided in the above embodiments of this application, and can execute the driving simulation data processing method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details not fully described in this embodiment, please refer to the specific processing content of the driving simulation data processing method provided in the above embodiments of this application, which will not be repeated here.

[0109] Exemplary Electronic Devices

[0110] The present application also provides an electronic device, such as Figure 4 As shown, the electronic device includes: a memory 400 and a processor 401 .

[0111] The memory 400 is connected to the processor 401 and is used to store programs.

[0112] The processor 401 is used to implement the driving simulation data processing method in the above embodiment by running the program stored in the memory 400 .

[0113] Specifically, the electronic device may further include: a communication interface 402 , an input device 403 , an output device 404 and a bus 405 .

[0114] The processor 401, the memory 400, the communication interface 402, the input device 403 and the output device 404 are connected to each other via a bus.

[0115] Bus 405 may include a pathway for transferring information between various components of the computer system.

[0116] The processor 401 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0117] The processor 401 may include a main processor, and may also include a baseband chip, a modem, etc.

[0118] The memory 400 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 400 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.

[0119] The input device 403 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.

[0120] Output device 404 may include a device that allows information to be output to a user, such as a display screen, a printer, a speaker, etc.

[0121] The communication interface 402 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.

[0122] The processor 401 executes the program stored in the memory 400 and calls other devices, which can be used to implement the various steps of the driving simulation data processing method provided in the above embodiment of the present application.

[0123] Exemplary computer program products and storage media

[0124] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the driving simulation data processing method described in the embodiment of the present application.

[0125] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).

[0126] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0127] In addition, the embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps in the driving simulation data processing method described in the embodiment of the present application.

[0128] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0129] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0130] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.

[0131] The modules and sub-modules in the devices and terminals provided in the embodiments of the present application can be merged, divided and deleted according to actual needs.

[0132] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0133] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0134] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.

[0135] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0136] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0137] Finally, 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 process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0138] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A driving simulation data processing method, characterized in that: include: Obtaining log data corresponding to a driving failure event occurring in a vehicle autonomous driving simulation, wherein the vehicle is configured with at least one functional module related to autonomous driving; Extracting relative motion data between the vehicle and the target obstacle from the log data, wherein the relative motion data includes relative speed information, relative acceleration information and relative displacement information; Based on the relative motion data, a relative motion index of the target obstacle is calculated, wherein the relative motion index is an index characterizing the relative motion between the vehicle and the target obstacle, and the relative motion index includes a relative velocity integral, a relative displacement difference, a relative acceleration integral, and a relative velocity difference; Based on the relative motion index, determining a functional module corresponding to the driving failure event, wherein the functional module includes a perception module or a path planning and navigation module; Among them, determining the functional module corresponding to the driving failure event based on the relative motion index includes: verifying whether the relative motion index conforms to the kinematic law and verifying whether the collection of the relative motion data is normal, thereby determining the functional module corresponding to the driving failure event.

2. The driving simulation data processing method according to claim 1, characterized in that: The step of extracting the relative motion data between the vehicle and the target obstacle from the log data includes: Based on continuous perception time points within a perception time period in the log data, relative speed information, relative acceleration information, and relative displacement information based on the perception time points obtained when the vehicle perceives the target obstacle are extracted.

3. The driving simulation data processing method according to claim 2, characterized in that: The calculating the relative motion index of the target obstacle based on the relative motion data includes: Based on the relative speed information and the perception time point, calculating the relative speed integral of the target obstacle within the perception time period; Based on the relative displacement information, calculating the relative displacement difference of the target obstacle within the sensing time period; Calculating the relative acceleration integral of the target obstacle within the sensing time period based on the relative acceleration information and the sensing time point; Based on the relative speed information, a relative speed difference of the target obstacle within the sensing time period is calculated.

4. The driving simulation data processing method according to claim 3, characterized in that: The determining, based on the relative motion index, a functional module corresponding to the driving failure event includes: Calculating a first difference between the relative velocity integral and the relative displacement difference, and comparing the first difference with a first threshold to obtain a first comparison result; Calculating a second difference between the relative acceleration integral and the relative speed difference, and comparing the second difference with a preset second threshold to obtain a second comparison result; Based on the first comparison result and the second comparison result, the functional module corresponding to the driving failure event is determined.

5. The driving simulation data processing method according to claim 4, characterized in that: The determining, based on the first comparison result and the second comparison result, the functional module corresponding to the driving failure event includes: If the first comparison result shows that the first difference is greater than the first threshold, and / or if the second comparison result shows that the second difference is greater than the second threshold, it is determined that the functional module corresponding to the driving failure event includes a perception module.

6. The driving simulation data processing method according to any one of claims 1 to 5, characterized in that: The obtaining of log data corresponding to a driving failure event occurring in the vehicle automatic driving simulation includes: Determine at least one driving failure event occurring in the vehicle autonomous driving simulation; Obtain the log data corresponding to each driving failure event; The step of extracting the relative motion data between the vehicle and the target obstacle from the log data includes: From the log data corresponding to each of the driving failure events, at least one of the target obstacles corresponding to each of the driving failure events is determined, and the relative motion data between the vehicle and the target obstacle when the vehicle senses each of the target obstacles is extracted.

7. The driving simulation data processing method according to claim 6, characterized in that: The calculating the relative motion index of the target obstacle based on the relative motion data includes: Based on the relative motion data corresponding to each of the target obstacles, respectively calculating the relative motion index corresponding to each of the target obstacles; The determining, based on the relative motion index, a functional module corresponding to the driving failure event includes: For each of the driving failure events: based on the relative motion index of each of the target obstacles corresponding to the driving failure event, determine the functional module corresponding to the driving failure event.

8. An automatic driving simulation system, characterized in that: The vehicle performs an autonomous driving simulation through the autonomous driving simulation system, and obtains log data corresponding to a driving failure event that occurs during the autonomous driving simulation of the vehicle; Wherein, the log data is processed by the driving simulation data processing method as described in any one of claims 1-7.

9. An electronic device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the driving simulation data processing method as described in any one of claims 1-7 by running the program in the memory.

10. A computer program product, characterized in that includes computer program instructions; When the computer program instructions are executed by a processor, the processor is caused to execute the driving simulation data processing method according to any one of claims 1 to 7.