Automatic driving scene generation method and device, vehicle, equipment and storage medium

By collecting data from actual vehicles of the autonomous driving system, extracting and sorting the characteristics of traffic participants, and generating autonomous driving simulation scenarios covering different traffic environments, it solves the problem of insufficiently realistic scene generation in the existing technology and improves the testing and testing of autonomous driving algorithms. performance.

CN118569073APending Publication Date: 2024-08-30CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410656239.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing automatic driving scene generation methods are difficult to cover different road traffic environments, resulting in poor authenticity of automatic driving scenes and limiting the safety and reliability of the algorithm in complex scenarios.

Method used

By collecting data from the actual vehicle of the autonomous driving system, we extract the inherent characteristics of the target driving scene and the state characteristics of traffic participants, sort them in the reverse direction of the vehicle's driving direction, generate a scene element feature map, and use the preset target state prediction model for training. Generate autonomous driving simulation scenarios that can cover different traffic environments.

Benefits of technology

It improves the authenticity and diversity of autonomous driving simulation scenarios, provides richer test samples, and improves the generalization performance and testing effectiveness of autonomous driving algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569073A
    Figure CN118569073A
Patent Text Reader

Abstract

The invention relates to the technical field of deep learning, and discloses an automatic driving scene generation method and device, a vehicle, equipment and a storage medium, and the method comprises the steps: obtaining a target scene inherent feature and a target state feature corresponding to a target driving scene collected by an automatic driving system of a vehicle in a test driving process; sequentially adding the target state features into the target scene inherent features according to the reverse direction of the driving direction of the vehicle, and generating a scene element feature map to train a preset target state prediction model; and inputting the actual scene inherent characteristics extracted by the automatic driving system of the vehicle in the actual driving process into the trained preset target state prediction model, sequentially reasoning to generate a plurality of prediction target state characteristics, and combining the prediction target state characteristics with the actual scene inherent characteristics to generate an automatic driving simulation scene. Therefore, the generated driving scene can cover different road traffic environments, real and abundant test samples are provided for automatic driving, and the generalization performance of an automatic driving algorithm can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to an autonomous driving scene generation method, device, vehicle, equipment and storage medium. Background Art

[0002] An autonomous driving system (ADS) is a vehicle control system that can drive a vehicle automatically without human driver intervention through sensors, computers, and actuators. At present, autonomous driving algorithms can basically achieve normal traffic in more than 90% of daily traffic scenarios with simple road structure and vehicle interaction relationships. However, the safety and reliability of autonomous driving cannot be guaranteed in complex long-tail problem scenarios, which limits the large-scale application of autonomous driving products. In order to improve the safety and traffic efficiency of autonomous driving algorithms in complex scenarios, it is necessary to focus on testing and optimization for such special scenarios.

[0003] ADS generates a large amount of data during operation. However, due to the scarcity of long-tail problems, in the later stages of algorithm iteration, the test data only contains a small amount of key and difficult scene data that is helpful for improving algorithm performance. The amount of data and scene diversity are insufficient to support the testing and optimization needs of the algorithm. In addition, the autonomous driving scene generation algorithm in the related technology is difficult to cover different road traffic environments, resulting in poor authenticity of the autonomous driving scene and limited testing effect on the autonomous driving algorithm. Summary of the invention

[0004] In view of this, the present invention provides an autonomous driving scene generation method, device, vehicle, equipment and storage medium to solve the problem that the automatic scene generation method in the related art is difficult to cover different road traffic environments, resulting in poor authenticity of the autonomous driving scene.

[0005] In a first aspect, the present invention provides a method for generating an autonomous driving scene, the method comprising:

[0006] Acquire real vehicle data collected by the autonomous driving system of the own vehicle during the test driving process, and extract target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data, wherein the target state features are features related to the driving state of each traffic participant target within a certain range around the own vehicle in the target driving scene;

[0007] In the opposite direction of the vehicle's travel direction, the target state features corresponding to each traffic participant target are sequentially added to the target scene inherent features to generate a plurality of scene element feature graphs containing different numbers of traffic participant targets;

[0008] The actual scene inherent features corresponding to the target driving scene extracted by the autonomous driving system of the vehicle during the actual driving process are input into the trained preset target state prediction model, and multiple predicted target state features are sequentially inferred and generated, wherein the preset target state prediction model is trained based on the scene element feature graph with different numbers of traffic participating targets;

[0009] An autonomous driving simulation scenario is generated based on the inherent characteristics of the actual scenario and multiple predicted target state characteristics.

[0010] The present invention extracts the target scene inherent characteristics and target state characteristics of other traffic participants corresponding to the target driving scene from the data collected by the actual vehicle of the automatic driving system, and adds the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in sequence in the opposite direction of the vehicle's driving direction to generate a scene element feature map for deep learning model training. After the training is completed, the actual scene inherent characteristics during the actual driving process of the vehicle are used to regenerate the predicted target state characteristics, and the automatic driving simulation scene is generated in combination with the actual scene inherent characteristics, so as to use the diversity of traffic participant targets in the target driving scene for model training, determine the probability distribution parameters of the target state characteristics, and then accurately predict and simulate the traffic participant targets in various different road traffic environments, so that the finally generated automatic driving simulation scene can cover different road traffic environments, and the generated automatic driving simulation scene samples are more in line with the actual driving scene, providing more realistic and rich test samples for the automatic driving algorithm, which is helpful to improve the generalization performance of the automatic driving algorithm.

[0011] In an optional implementation, the step of extracting target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data includes:

[0012] Extracting scene segment data at different times from the real vehicle data;

[0013] Performing scene recognition on the scene segment data to determine a target driving scene;

[0014] Feature extraction is performed from the scene segment data corresponding to the target driving scene to obtain target scene inherent features and target state features, wherein the target scene inherent features at least include: lane features and vehicle state features related to the driving state of the vehicle.

[0015] The present invention extracts scene fragment data at different times from real vehicle data, and then obtains scene inherent features and target state features corresponding to the target driving scene by performing feature extraction on the scene fragment data, thereby realizing accurate analysis of real driving scene data, providing an accurate data basis for subsequent model training, improving the accuracy of the training model, and further ensuring the authenticity and effectiveness of the final generated autonomous driving simulation scene.

[0016] In an optional implementation, the target state features corresponding to each traffic participant target are added to the target scene inherent features in sequence in the opposite direction of the vehicle's driving direction to generate a plurality of scene element feature graphs containing different numbers of traffic participant targets, including:

[0017] Obtain the relative position relationship between each traffic participant target and the vehicle in the current scene segment data;

[0018] Based on the relative position relationship, the traffic participating targets are sorted in the opposite direction of the driving direction of the vehicle;

[0019] Based on the sorting result, target state features corresponding to one traffic participant target are added to the inherent features of the target scene one by one, so as to obtain a plurality of scene element feature graphs containing different numbers of traffic participant targets.

[0020] The present invention determines the order of adding target state features corresponding to traffic participants in each scene element feature graph by sorting the relative position relationship between the traffic participants and the ego vehicle in each scene segment data in the opposite direction of the ego vehicle's driving direction. In this way, the processing order of the autonomous driving algorithm on the traffic participants around the ego vehicle can be more realistically simulated, so that the training samples are more in line with the testing requirements of the autonomous driving algorithm.

[0021] In an optional implementation, performing scene recognition on the scene segment data to determine the target driving scene includes:

[0022] Identify the road topology in the current scene segment data and the relative position of the ego vehicle and each traffic participant within a certain range around the ego vehicle;

[0023] Determining a current driving scene corresponding to the current scene segment data based on the road topology and the relative position of the vehicle and each traffic participant object within a certain range around the vehicle;

[0024] Determining whether the current driving scene belongs to a preset driving scene type;

[0025] When the current driving scene belongs to a preset driving scene type, the current driving scene is determined as the target driving scene.

[0026] The present invention determines the current driving scene of the vehicle by identifying the road topology structure and the positions of various traffic participants and the vehicle in the current scene fragment data. By judging whether it belongs to a preset driving scene type, the target driving scene required for the test of the autonomous driving algorithm is screened out, and the accurate extraction of the sample data source is achieved, thereby further improving the accuracy of the autonomous driving simulation scene.

[0027] In an optional implementation, the preset driving scenario type includes: at least one of: lane change, obstacle avoidance, deviation, cut-in, cut-out, ramp, and intersection.

[0028] By setting different driving scene types, the present invention can achieve full coverage of different road traffic environments, enrich the samples of autonomous driving simulation scenes, so that the generated autonomous driving simulation scenes can meet the testing requirements of autonomous driving algorithms in different scenes, and help improve the performance of autonomous driving algorithms.

[0029] In an optional implementation, the actual scene inherent features corresponding to the target driving scene extracted by the autonomous driving system of the vehicle during the actual driving process are input into a trained preset target state prediction model, and multiple predicted target state features are sequentially inferred and generated, including:

[0030] The actual scene inherent features corresponding to the target driving scene are extracted by the autonomous driving system of the vehicle during the actual driving process and input into the trained preset target state prediction model to obtain the predicted target state features;

[0031] Combine all the current predicted target state features with the inherent features of the actual scene and input them into the trained preset target state prediction model to obtain the next predicted target state feature, and return to the step of combining all the current predicted target state features with the inherent features of the actual scene and inputting them into the trained preset target state prediction model to obtain the next predicted target state feature, until the total number of predicted target state features reaches the required number of autonomous driving simulation scenarios.

[0032] The present invention inputs the inherent features of the actual scene extracted during the actual driving process of the vehicle into a trained preset target state prediction model, and adopts an incremental generation strategy to predict the number of target state features that meet the number requirements of autonomous driving simulation scenes, so that the subsequently generated autonomous driving simulation scenes are more realistic and meet the requirements of autonomous driving algorithm testing.

[0033] In an optional implementation, the training process of the preset target state prediction model includes:

[0034] According to the order of the number of different traffic participating targets from small to large, the corresponding scene element feature maps are input into the preset target state prediction model for training, and the target state feature probability distribution parameters of the preset target state prediction model are determined.

[0035] In an optional implementation, the inputting of the corresponding scene element feature graphs into a preset target state prediction model for training in order of the number of different traffic participating targets from small to large, and determining the target state feature probability distribution parameters of the preset target state prediction model include:

[0036] Using the maximum likelihood estimation method, the corresponding scene element feature maps are input into the preset target state prediction model in the order of the number of different traffic participating targets from small to large, and gradient descent training is performed to obtain the local optimal parameters;

[0037] The local optimal parameters are determined as the target state characteristic probability distribution parameters.

[0038] The present invention determines the target state feature probability distribution parameters by using the maximum likelihood estimation method, and inputting the corresponding scene element feature graphs into a preset target state prediction model in order from small to large in the order of the number of different traffic participating targets for gradient descent training. This makes the generation process of the target state feature consistent with the processing process of the autonomous driving algorithm on the traffic participating targets around the vehicle, so that the finally generated autonomous driving simulation scene is more in line with the testing requirements of the autonomous driving algorithm.

[0039] In an optional embodiment, the preset target state prediction model uses ConvLSTM+MLP as the main structure, the input of the preset target state prediction model is a multi-channel image and a coding vector, and the output of the preset target state prediction model is a target state feature probability distribution parameter.

[0040] The present invention constructs a neural network model with ConvLSTM+MLP as the main structure, takes multi-channel images and coding vectors as input, and uses the target state feature probability distribution parameters as the model output, thereby realizing the prediction of other traffic participating targets around the vehicle, providing a rich data foundation for the subsequent generation of autonomous driving simulation scenarios.

[0041] In an optional embodiment, the target state feature probability distribution of the preset target state prediction model is composed of the distribution of target category, shape, trajectory, and orientation.

[0042] The present invention combines the relevant parameters that affect the operation of the autonomous driving algorithm, such as the category, shape, trajectory, and orientation of the traffic participating targets around the vehicle, into a target state characteristic probability distribution, so that the predicted target state characteristics are more in line with the requirements of the autonomous driving algorithm test, further ensuring and improving the effectiveness of the autonomous driving simulation scenario in testing the autonomous driving algorithm.

[0043] In a second aspect, the present invention provides an automatic driving scene generation device, the device comprising:

[0044] An acquisition module is used to acquire real vehicle data collected by the autonomous driving system of the ego vehicle during the test driving process, and extract target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data, wherein the target state features are features related to the driving state of each traffic participant target within a certain range around the ego vehicle in the target driving scene;

[0045] The first processing module is used to add the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in sequence in the opposite direction of the vehicle's driving direction, and generate a plurality of scene element characteristic graphs containing different numbers of traffic participant targets;

[0046] The second processing module is used to input the actual scene inherent features corresponding to the target driving scene extracted by the automatic driving system of the vehicle during the actual driving process into the trained preset target state prediction model, and sequentially infer and generate multiple predicted target state features, wherein the preset target state prediction model is trained based on the scene element feature map with different numbers of traffic participating targets;

[0047] The third processing module is used to generate an autonomous driving simulation scene based on the inherent characteristics of the actual scene and multiple predicted target state characteristics.

[0048] In a third aspect, the present invention provides a vehicle, comprising: an autonomous driving system, wherein the autonomous driving system comprises: the autonomous driving scene generating device described in the second aspect.

[0049] In a fourth aspect, the present invention provides a computer device, the computer device comprising:

[0050] The memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method provided by the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0051] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method provided in the first aspect or any corresponding embodiment thereof.

[0052] Beneficial effects of the present invention:

[0053] The technical solution provided by the present invention extracts the target scene inherent characteristics and target state characteristics of other traffic participants corresponding to the target driving scene from the data collected by the actual vehicle of the automatic driving system, and adds the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in sequence in the opposite direction of the vehicle's driving direction to generate a scene element feature map for deep learning model training. After the training is completed, the actual scene inherent characteristics during the actual driving of the vehicle are used to regenerate the predicted target state characteristics, and the automatic driving simulation scene is generated in combination with the actual scene inherent characteristics, so as to utilize the diversity of traffic participant targets in the target driving scene for model training, determine the probability distribution parameters of the target state characteristics, and then accurately predict and simulate the traffic participant targets in various different road traffic environments, so that the finally generated automatic driving simulation scene can cover different road traffic environments, so that the generated automatic driving simulation scene samples are more in line with the actual driving scene, providing more realistic and rich test samples for the automatic driving algorithm, which is helpful to improve the generalization performance of the automatic driving algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 is a schematic diagram of a flow chart of a method for generating an autonomous driving scene according to an embodiment of the present invention;

[0056] Figure 2 is a flow chart of another method for generating an autonomous driving scene according to an embodiment of the present invention;

[0057] Figure 3 is a schematic diagram of a training and testing process for generating an autonomous driving scenario according to an embodiment of the present invention;

[0058] Figure 4 is an example diagram of visualization of driving scene elements according to an embodiment of the present invention;

[0059] Figure 5A is a visualization diagram of lane boundaries in a scene feature map according to an embodiment of the present invention;

[0060] Figure 5B is a visualization of lane centerlines in a scene feature map according to an embodiment of the present invention;

[0061] Figure 5C is a visualization diagram of the vehicle and the target in the scene feature diagram according to an embodiment of the present invention;

[0062] Figure 6 is a schematic diagram of the structure of an automatic driving scene generation device according to an embodiment of the present invention;

[0063] Figure 7 is a schematic structural diagram of a vehicle according to an embodiment of the present invention;

[0064] Figure 8 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0066] ADS generates a large amount of data during operation. However, due to the scarcity of long-tail problems, in the later stages of algorithm iteration, the test data only contains a small amount of difficult and key scenario data that is helpful in improving algorithm performance. The amount of data and scenario diversity are insufficient to support the testing and optimization needs of the algorithm.

[0067] In the related technology, some scene parameters are manually selected based on the natural driving data set of the main vehicle and the target vehicle, and the parameter traversal range is specified. Then, after the scene samples are obtained through the sample sampling method, the scene samples are tested based on the automated simulation test platform. After the sensitivity analysis of the scene parameters is performed in combination with the test results, the parameters are generalized to obtain a specific scene sequence. However, by manually selecting the key parameters of the scene and specifying the parameter range, the scene results are greatly affected by subjective choices, and the scene diversity is not strong, so the generalization in application is limited. In addition, there are also methods to train the driving model through reinforcement learning, and then assign the model strategy to obstacles and environments to obtain driving scenarios. However, this type of solution focuses on generating scenarios based on the different performances of ADS, making it difficult for the generated scenarios to cover different road traffic environments.

[0068] The embodiment of the present invention proposes a deep learning-based autonomous driving scene generation solution. Based on the data collected from the real vehicle, special scene fragments are extracted. Then, after the scene element feature map is constructed using the vehicle information and environmental information, the target information is incrementally added from front to back according to the spatial position relationship between the target (referring to the traffic participants around the vehicle, such as cars, trucks, cyclists, pedestrians, etc.) and the vehicle to perform deep learning algorithm training and obtain the probability distribution parameters of the target state through maximum likelihood estimation. After the training is completed, the target information is regenerated in an incremental manner, and the special and complex scene data of autonomous driving is constructed in combination with the scene element feature map, which is used to test and optimize the autonomous driving algorithm and improve the generalization performance of the autonomous driving algorithm.

[0069] According to an embodiment of the present invention, an embodiment of an autonomous driving scene generation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0070] In this embodiment, a method for generating an autonomous driving scene is provided, which is applied to computer devices such as single-chip microcomputers and CPUs, and can be specifically applied to testing various autonomous driving algorithms integrated into a vehicle autonomous driving system. Figure 1 is a flowchart of a method for generating an autonomous driving scene according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0071] Step S101, obtaining real vehicle data collected by the autonomous driving system of the vehicle during the test driving process, and extracting target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data.

[0072] Among them, the target state characteristics are the characteristics related to the driving state of each traffic participant target within a certain range around the vehicle in the target driving scene. The traffic participant target, hereinafter referred to as the target, can be a pedestrian, a vehicle, a cyclist, etc. The division range can be divided according to the needs. For example, taking the rectangular division as an example, such as taking the vehicle as the center, taking the range of 100m in front, 50m in the back, and 20m on the left and right. The content of the target state characteristics mainly includes the category of the target such as pedestrians or vehicles, shape such as the shape and size of the vehicle, orientation such as the direction of the front of the vehicle on the road, trajectory characteristics such as the vehicle's driving path, and other data that can affect or express the target behavior pattern or driving state.

[0073] Specifically, the above-mentioned real vehicle data is the data of each functional module related to the scene characteristics during the road test of the autonomous driving system, including but not limited to the data generated by the modules such as visual perception, lidar perception, fusion, map, positioning, prediction, decision-making, and planning. The target driving scene is the special and complex scene required for the autonomous driving system to conduct related tests on the autonomous driving algorithm, specifically the surrounding traffic environment when the autonomous driving algorithm function is prone to collision, failure, and other performances that do not meet the design requirements, such as: lane changing, obstacle avoidance, offset, cut-in, cut-out, ramps, intersections, etc. The inherent characteristics of the target scene are the characteristics that are fixed in the driving scene, including: lane data and self-vehicle driving status data, etc.

[0074] Step S102, adding the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in turn in the opposite direction of the vehicle's driving direction, and generating multiple scene element feature maps containing different numbers of traffic participant targets.

[0075] Specifically, the autonomous driving algorithm integrated in the autonomous driving system will give priority to identifying the driving status of pedestrians or vehicles in front of the vehicle's driving direction in the process of analyzing and processing other traffic participants around the vehicle to determine the vehicle's driving strategy, and the driving status of vehicles behind in the driving direction will also be affected by the vehicles in front. Therefore, the embodiment of the present invention adds the target state features (hereinafter referred to as target states) corresponding to each traffic participant in the reverse order of the vehicle's driving direction, so as to construct a real feature sample that better meets the testing requirements of the autonomous driving system to ensure the effectiveness of testing the autonomous driving algorithm.

[0076] Step S103, extracting actual scene inherent features corresponding to the target driving scene during the actual driving process by the autonomous driving system of the vehicle, inputting the features into a trained preset target state prediction model, and sequentially inferring and generating a plurality of predicted target state features.

[0077] Among them, the preset target state prediction model is obtained by training based on the scene element feature map with different numbers of traffic participating targets. The specific implementation process of the automatic driving system of the own vehicle extracting the actual scene inherent characteristics corresponding to the target driving scene during the actual driving process is similar to the process of obtaining the real vehicle data collected by the automatic driving system of the own vehicle during the test driving in the above step S101, and extracting the target scene inherent characteristics corresponding to the target driving scene from the real vehicle data, which will not be repeated here.

[0078] Specifically, by inputting the inherent characteristics of the actual scene into the trained preset target state prediction model, a predicted target state feature can be obtained, and then the predicted target state feature and the inherent characteristics of the actual scene are input into the trained preset target state prediction model again to obtain another predicted target state feature. Multiple target states are generated in sequence through this incremental method of reasoning.

[0079] Step S104, generating an autonomous driving simulation scenario based on inherent features of the actual scenario and multiple predicted target state features.

[0080] Specifically, through the above analysis, it can be known that the scene inherent features and the target state features of each traffic participant target are features extracted from the driving scene. Therefore, the scene inherent features and the target state features of each traffic participant target can be merged to generate the corresponding driving simulation scene. Exemplarily, taking the driving simulation scene as a driving scene image as an example, lane data, vehicle state data and state data of other traffic participants are the main elements constituting the driving scene image. By merging the corresponding scene inherent features such as lane data and vehicle state data and target state features such as the type, shape, orientation and trajectory of the traffic participant, a driving simulation scene image can be formed. The specific implementation process of generating a driving simulation scene image based on the merging of image features is a prior art and will not be described in detail here.

[0081] The embodiment of the present invention extracts the target scene inherent features and target state features of other traffic participants corresponding to the target driving scene from the data collected by the actual vehicle of the autonomous driving system, and adds the target state features corresponding to each traffic participant target to the target scene inherent features in turn in the opposite direction of the vehicle's driving direction to generate a scene element feature map for deep learning model training. After the training is completed, the actual scene inherent features during the actual driving of the vehicle are used to regenerate the predicted target state features, and the autonomous driving simulation scene is generated in combination with the actual scene inherent features, so as to use the diversity of traffic participant targets in the target driving scene for model training, determine the probability distribution parameters of the target state features, and then accurately predict and simulate the traffic participant targets in various different road traffic environments, so that the ultimately generated autonomous driving simulation scene can cover different road traffic environments, so that the generated autonomous driving simulation scene samples are more in line with the actual driving scene, providing more realistic and rich test samples for the autonomous driving algorithm, which helps to improve the generalization performance of the autonomous driving algorithm.

[0082] According to an embodiment of the present invention, an embodiment of an autonomous driving scene generation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0083] In this embodiment, a method for generating an autonomous driving scene is provided, which is applied to computer devices such as single-chip microcomputers and CPUs, and can be specifically applied to testing various autonomous driving algorithms integrated into a vehicle autonomous driving system. Figure 2 is a flowchart of a method for generating an autonomous driving scene according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0084] Step S201, obtaining the real vehicle data collected by the autonomous driving system of the vehicle during the test driving process, and extracting the target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data. The target state features are features related to the driving state of each traffic participant target within a certain range around the vehicle in the target driving scene.

[0085] Specifically, in the above step S201, the target scene inherent features and target state features corresponding to the target driving scene are extracted from the real vehicle data, including:

[0086] Step a1: extract scene segment data at different times from real vehicle data.

[0087] The scene segment data can be divided into the current time, historical time period, and future time period. The time in the segment is continuous. There is a certain time interval between different scene segment data frames. The specific time parameters can be freely set according to the needs. For example, the scene segment data is image data collected by a real car.

[0088] Step a2: performing scene recognition on the scene segment data to determine the target driving scene.

[0089] Specifically, the above step a2 includes:

[0090] Step a21, identifying the road topology structure in the current scene segment data and the relative position of the vehicle and each traffic participant target within a certain range around the vehicle.

[0091] Step a22, based on the road topology and the relative position of the vehicle and each traffic participant within a certain range around the vehicle, determine the current driving scene corresponding to the current scene segment data.

[0092] Step a23, determining whether the current driving scene belongs to a preset driving scene type.

[0093] Among them, the preset driving scene types include: at least one of: lane changing, obstacle avoidance, deviation, cut-in, cut-out, ramp, and intersection.

[0094] Specifically, the target driving scene can be obtained by judging the relative position of the vehicle and the target, the road topology structure and other relationships within the scene segment. Taking lane changing as an example, the continuous frame spatial position of the target within the segment can be extracted, and the extraction can be performed by judging whether the left-right relationship between its position and the lane boundary line has changed.

[0095] Step a24, when the current driving scene belongs to a preset driving scene type, the current driving scene is determined as a target driving scene.

[0096] The embodiment of the present invention determines the current driving scene of the vehicle by identifying the road topology structure and the positions of various traffic participants and the vehicle in the current scene fragment data, and screens out the target driving scene required for the testing of the autonomous driving algorithm by judging whether it belongs to a preset driving scene type, thereby achieving accurate extraction of the source of sample data and further improving the accuracy of the autonomous driving simulation scene.

[0097] Step a3: extracting features from the scene segment data corresponding to the target driving scene to obtain the inherent features of the target scene and the target state features.

[0098] The inherent characteristics of the target scene include at least lane characteristics and vehicle state characteristics related to the driving state of the vehicle.

[0099] Specifically, the vehicle state features are similar to the target state features, and mainly include: the category, shape, orientation, trajectory features, and other data that can affect or express the vehicle's behavior mode or driving state. Vehicle arrival features include: lane width, lane centerline, lane boundary, current lane position, lane number, lane orientation, and other data.

[0100] The embodiment of the present invention extracts scene fragment data at different times from real vehicle data, and then obtains scene inherent features and target state features corresponding to the target driving scene by performing feature extraction on the scene fragment data, thereby realizing accurate analysis of real driving scene data, providing an accurate data basis for subsequent model training, improving the accuracy of the training model, and further ensuring the authenticity and effectiveness of the final generated autonomous driving simulation scene.

[0101] Step S202, adding the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in turn in the opposite direction of the vehicle's driving direction, and generating multiple scene element feature maps containing different numbers of traffic participant targets.

[0102] Specifically, the above step S202 includes:

[0103] Step S2021, obtaining the relative position relationship between each traffic participant target and the vehicle in the current scene segment data.

[0104] Step S2022: sort the traffic participants in the direction opposite to the direction of the vehicle's travel based on the relative position relationship.

[0105] Step S2023, based on the sorting result, the target state characteristics corresponding to one traffic participant target are added to the inherent characteristics of the target scene one by one, so as to obtain a plurality of scene element characteristic graphs containing different numbers of traffic participant targets.

[0106] Specifically, for a single segment, the targets are sorted from front to back according to the relative position relationship between the target and the ego vehicle, and a target state is added in order from front to back in each round of iteration, and a scene element feature map is generated in conjunction with the lane data and the ego vehicle state. Exemplarily, the scene element feature map is a visualized image of a road traffic scene, and a typical example is a 3-channel image with a resolution of 320*320, which respectively corresponds to the visualization of the lane centerline, lane boundary line, ego vehicle and target driving state in the scene segment. This is only an example, and the present invention is not limited to this.

[0107] The embodiment of the present invention determines the order of adding target state features corresponding to traffic participants in each scene element feature graph by sorting the relative position relationship between the traffic participants and the ego vehicle in each scene segment data in the opposite direction of the ego vehicle's driving direction. In this way, the processing order of the autonomous driving algorithm on the traffic participants around the ego vehicle can be more realistically simulated, so that the training samples are more in line with the testing requirements of the autonomous driving algorithm.

[0108] Step S203: extract the actual scene inherent features corresponding to the target driving scene during the actual driving process by the autonomous driving system of the vehicle and input them into the trained preset target state prediction model, and sequentially infer and generate multiple predicted target state features.

[0109] Specifically, the above step S203 includes:

[0110] Step S2031: extract the actual scene inherent features corresponding to the target driving scene during the actual driving process by the autonomous driving system of the vehicle and input them into the trained preset target state prediction model to obtain the predicted target state features.

[0111] In step S2032, all currently predicted target state features are combined with the inherent features of the actual scene into the trained preset target state prediction model to obtain the next predicted target state feature, and step S2042 is re-executed until the total number of predicted target state features reaches the required number of autonomous driving simulation scenarios.

[0112] The embodiment of the present invention inputs the inherent features of the actual scene extracted during the actual driving process of the vehicle into a trained preset target state prediction model, and adopts an incremental generation strategy to predict the number of target state features that meet the number requirements of autonomous driving simulation scenes, so that the subsequently generated autonomous driving simulation scenes are more realistic and meet the requirements of autonomous driving algorithm testing.

[0113] Specifically, the training process of the above-mentioned preset target state prediction model includes: inputting the corresponding scene element feature map into the preset target state prediction model in order from small to large according to the number of different traffic participating targets for training, and determining the target state feature probability distribution parameters of the preset target state prediction model.

[0114] Furthermore, the specific training process of the above preset target state prediction model includes:

[0115] Step b1, using the maximum likelihood estimation method, input the corresponding scene element feature graph into the preset target state prediction model in order from small to large according to the number of different traffic participating targets, and perform gradient descent training to obtain the local optimal parameters.

[0116] Step b2, determining the local optimal parameters as the target state characteristic probability distribution parameters.

[0117] Specifically, the probability distribution of the above target state is mainly affected by the target state and the environment. A typical construction method is as follows: the probability distribution corresponding to the i-th target added to the scene is composed of the distribution of the target category, shape, trajectory, and orientation, as shown in the following formula (1):

[0118] p(a i |ξ i )=p(c i |ξ i )p(b i |c i ,ξ i )p(x i |c i , b i ,ξ i )p(h i |c i , x i ,b i ,ξ i ) (1)

[0119] Among them, a is the target state, ξ iis the scene element feature distribution, which can be obtained by encoding from the scene element feature map obtained in step S202 above, c is the category to which the target belongs, b is the shape of the target, x is the trajectory sequence of the target, and h is the direction of the target. Each distribution can be preset to a certain extent according to the characteristics of the data, such as uniform distribution, multivariate Gaussian distribution, etc. Taking the logarithm of both sides of the above formula (1) gives formula (2):

[0120] log p(a i |ξ i )=logp(c i |ξ i )+logp(b i |c i ,ξ i )+logp(x i |c i , b i ,ξ i )+log p(hi|c i ,x i ,b i ,ξ i ) (2)

[0121] Furthermore, the process of training a neural network is equivalent to solving the optimal parameter w * , see formula (3) for details:

[0122]

[0123] Among them, w is the neural network parameter, N is the number of samples, n is the upper limit of the number of scene segment targets, and m is the inherent feature of the scene.

[0124] The embodiment of the present invention determines the target state feature probability distribution parameters by using the maximum likelihood estimation method to input the corresponding scene element feature graphs into a preset target state prediction model in the order of the number of different traffic participating targets from small to large for gradient descent training, so that the generation process of the target state feature is consistent with the processing process of the autonomous driving algorithm on the traffic participating targets around the vehicle, so that the finally generated autonomous driving simulation scene is more in line with the testing requirements of the autonomous driving algorithm.

[0125] In an embodiment of the present invention, the preset target state prediction model uses ConvLSTM+MLP as the main structure, the input of the preset target state prediction model is a multi-channel image and a coding vector, and the output of the preset target state prediction model is a target state feature probability distribution parameter. The target state feature probability distribution of the preset target state prediction model is composed of the distribution of target category, shape, trajectory, and orientation. It should be noted that in actual applications, the preset target state prediction model can also be implemented using other neural network models, as long as the model input and output meet the model input and output requirements, and the present invention is not limited to this.

[0126] The embodiment of the present invention uses ConvLSTM+MLP as the main structure to construct a neural network model, uses multi-channel images and coding vectors as input, and uses the probability distribution parameters of target state features as the model output to achieve the prediction of other traffic participants around the vehicle, providing a rich data foundation for the subsequent generation of autonomous driving simulation scenarios. By forming the target state feature probability distribution with the category, shape, trajectory, orientation and other relevant parameters that affect the operation of the autonomous driving algorithm of the traffic participants around the vehicle, the predicted target state features are more in line with the requirements of the autonomous driving algorithm test, further ensuring and improving the effectiveness of the autonomous driving simulation scenario in testing the autonomous driving algorithm.

[0127] Step S204: Generate an autonomous driving simulation scenario based on the actual scenario inherent features and multiple predicted target state features. Figure 1 The description of step S104 is not repeated here.

[0128] The specific working principle and working process of the autonomous driving scene generation method provided by an embodiment of the present invention will be introduced in detail below in combination with specific application examples.

[0129] The autonomous driving scene generation solution adopted in the embodiment of the present invention is based on deep learning. The entire implementation process is as follows: Figure 3 As shown in the figure, it is divided into two stages: training stage and reasoning stage. In practical application, it can be implemented through the following steps:

[0130] Step 1: Collect real vehicle data. During the road test of the autonomous driving system, record the data of each functional module related to the scene characteristics at all times, including but not limited to visual perception, lidar perception, fusion, mapping, positioning, prediction, decision-making, planning and other modules.

[0131] Step 2: Extract special scene segments. Automatically extract the special complex scene segment data of interest from the full amount of data collected in step 1, such as lane change, obstacle avoidance, offset, cut-in, cut-out, ramp, intersection and other scenes. Among them, Figure 4An example diagram for visualizing driving scene elements.

[0132] Among them, the scene fragments in step 2 can be specifically divided into the current moment, historical period, and future period. The time in the fragment is a continuous relationship. There is a certain time interval between different frames. The specific time parameters can be freely set according to needs. The special complex scene in step 2 generally refers to the surrounding traffic environment when the autonomous driving algorithm function is prone to collision, failure, and other performances that do not meet the design requirements. Some typical scene examples are lane changing, obstacle avoidance, offset, cut-in, cut-out, ramps, intersections, etc. The scene can generally be obtained by judging the relative position of the vehicle and the target in the scene fragment, the road topology structure, etc. For example, lane changing can be extracted from the continuous frame spatial position of the target in the fragment, and the extraction is performed by judging whether the left and right relationship between its position and the lane boundary line has changed.

[0133] Step 3: Generate scene element feature map. Construct scene intrinsic features and target state features from the scene segment data extracted in step 2. Scene intrinsic features generally include lane data and vehicle state data. For a single segment, sort the targets from front to back according to their relative position relationship with the vehicle. Each round of iteration adds a target state from front to back in sequence, and generates a scene element feature map jointly with the lane data and vehicle state.

[0134] Among them, the vehicle state and target state in step 3, the target refers to the target within a certain range around the vehicle, such as pedestrians, vehicles, cyclists, etc. The range can be divided according to needs. A typical division method is rectangular division, such as taking the vehicle as the center, taking 100m in front, 50m behind, and 20m on the left and right. The content of the state data mainly includes data such as category, shape, direction, trajectory characteristics, etc. that can affect or express the target behavior pattern. Exemplarily, the scene element feature map is a visualized image of a road traffic scene. A typical example is a 3-channel image with a resolution of 320*320. Figure 5A , Figure 5B and Figure 5C These correspond to the visualization of the lane centerline, lane boundary line, self-vehicle and target driving status in the scene segment.

[0135] Step 4: Train the neural network model. After building a neural network model and modeling the probability distribution of the target state, the probability distribution parameters of the target state are obtained through iterative training using the maximum likelihood estimation method.

[0136] Step 5: Generate key and difficult scene data. After training is completed, the scene inherent features of the real vehicle data are used as input, and multiple target states are generated in sequence by incremental reasoning, and finally merged to generate the required key and difficult scene data.

[0137] The above scheme extracts special scene fragments from the data collected by the actual vehicle of the autonomous driving system, and then uses the vehicle information and environmental information to construct the scene element feature map. Then, according to the spatial position relationship between the target (referring to the traffic participants around the vehicle, such as cars, trucks, cyclists, pedestrians, etc.) and the vehicle, the target information is incrementally added from front to back to perform deep learning algorithm training and obtain the probability distribution parameters of the target state through maximum likelihood estimation. After the training is completed, the target information is regenerated in an incremental manner, and the special complex scene data of autonomous driving is constructed in combination with the scene element feature map.

[0138] In this embodiment, an automatic driving scene generation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0139] This embodiment provides an automatic driving scene generation device, such as Figure 6 As shown, the device comprises:

[0140] The acquisition module 601 is used to acquire the real vehicle data collected by the autonomous driving system of the ego vehicle during the test driving process, and extract the target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data. The target state features are features related to the driving state of each traffic participant target within a certain range around the ego vehicle in the target driving scene.

[0141] The first processing module 602 is used to add the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in sequence in the opposite direction of the vehicle's driving direction, and generate a plurality of scene element characteristic graphs containing different numbers of traffic participant targets;

[0142] The second processing module 603 is used to extract the actual scene inherent features corresponding to the target driving scene during the actual driving process of the autonomous driving system of the vehicle and input them into the trained preset target state prediction model, and sequentially infer and generate multiple predicted target state features, wherein the preset target state prediction model is trained based on the scene element feature graph with different numbers of traffic participating targets;

[0143] The third processing module 604 is used to generate an autonomous driving simulation scene based on the inherent characteristics of the actual scene and multiple predicted target state characteristics.

[0144] In some optional implementations, the acquisition module 601 includes:

[0145] The first processing unit is used to extract scene segment data at different times from the real vehicle data;

[0146] A second processing unit is used to perform scene recognition on the scene segment data to determine a target driving scene;

[0147] The third processing unit is used to extract features from the scene segment data corresponding to the target driving scene to obtain inherent features of the target scene and target state features. The inherent features of the target scene at least include: lane features and vehicle state features related to the driving state of the vehicle.

[0148] In some optional implementations, the first processing module 602 includes:

[0149] An acquisition unit, used for acquiring the relative position relationship between each traffic participating target and the vehicle in the current scene segment data;

[0150] The fourth processing unit is used to sort the traffic participating targets in the opposite direction of the driving direction of the vehicle based on the relative position relationship;

[0151] The fifth processing unit is used to add target state features corresponding to one traffic participant target at a time to the inherent features of the target scene based on the sorting results, so as to obtain multiple scene element feature maps containing different numbers of traffic participant targets.

[0152] In some optional implementations, the second processing unit includes:

[0153] An identification subunit, used for identifying the road topology structure in the current scene segment data and the relative position of the ego vehicle and each traffic participant target within a certain range around the ego vehicle;

[0154] A first determination subunit is used to determine a current driving scene corresponding to the current scene segment data based on a road topology structure and a relative position of the vehicle and each traffic participant object within a certain range around the vehicle;

[0155] A judgment subunit, used to judge whether the current driving scene belongs to a preset driving scene type;

[0156] The second determining subunit is used to determine the current driving scene as a target driving scene when the current driving scene belongs to a preset driving scene type.

[0157] In some optional implementations, the preset driving scenario types include: at least one of: lane change, obstacle avoidance, deviation, cut-in, cut-out, ramp, and intersection.

[0158] In some optional implementations, the second processing module 603 includes:

[0159] A sixth processing unit is used to input the actual scene inherent features corresponding to the target driving scene extracted by the automatic driving system of the vehicle during the actual driving process into the trained preset target state prediction model to obtain the predicted target state features;

[0160] The seventh processing unit is used to input all the current predicted target state features and the actual scene inherent features into the trained preset target state prediction model to obtain the next predicted target state feature, and return to the step of inputting all the current predicted target state features and the actual scene inherent features into the trained preset target state prediction model to obtain the next predicted target state feature, until the total number of predicted target state features reaches the required number of autonomous driving simulation scenarios.

[0161] In some optional implementations, the training process of the preset target state prediction model includes:

[0162] The eighth processing unit is used to input the corresponding scene element feature maps into the preset target state prediction model for training in the order of the number of different traffic participating targets from small to large, and determine the target state feature probability distribution parameters of the preset target state prediction model.

[0163] In some optional implementations, the eighth processing unit includes:

[0164] The first processing subunit is used to use the maximum likelihood estimation method to input the corresponding scene element feature graphs into the preset target state prediction model in the order of the number of different traffic participating targets from small to large, and perform gradient descent training to obtain local optimal parameters;

[0165] The second processing subunit is used to determine the local optimal parameters as the target state characteristic probability distribution parameters.

[0166] In some optional embodiments, the preset target state prediction model uses ConvLSTM+MLP as the main structure, the input of the preset target state prediction model is a multi-channel image and a coding vector, and the output of the preset target state prediction model is a target state feature probability distribution parameter.

[0167] In some optional embodiments, the target state feature probability distribution of the preset target state prediction model is composed of the distribution of the target category, shape, trajectory, and orientation.

[0168] The autonomous driving scene generation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0169] The further functional description of each of the above modules and units is the same as that of the above corresponding method embodiments and will not be repeated here.

[0170] The embodiment of the present invention further provides a vehicle, such as Figure 7 As shown, the vehicle includes an automatic driving system 701, and the automatic driving system includes: Figure 6 The autonomous driving scene generating device 7011 is shown.

[0171] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0172] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0173] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0174] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0175] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0176] The computer device further comprises a communication interface 30 for the control unit to communicate with other devices or a communication network.

[0177] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0178] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for generating an autonomous driving scene, characterized in that: The method comprises: Acquire real vehicle data collected by the autonomous driving system of the self-vehicle during the test driving process, and extract target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data, wherein the target state features are features related to the driving state of each traffic participant target within a certain range around the self-vehicle in the target driving scene; In the opposite direction of the vehicle's travel direction, the target state features corresponding to each traffic participant target are sequentially added to the target scene inherent features to generate a plurality of scene element feature graphs containing different numbers of traffic participant targets; The actual scene inherent features corresponding to the target driving scene extracted by the autonomous driving system of the vehicle during the actual driving process are input into the trained preset target state prediction model, and multiple predicted target state features are sequentially inferred and generated, wherein the preset target state prediction model is trained based on the scene element feature graph with different numbers of traffic participating targets; An autonomous driving simulation scenario is generated based on the inherent characteristics of the actual scenario and multiple predicted target state characteristics.

2. The method according to claim 1, characterized in that The step of extracting target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data includes: Extracting scene segment data at different times from the real vehicle data; Performing scene recognition on the scene segment data to determine a target driving scene; Feature extraction is performed from the scene segment data corresponding to the target driving scene to obtain target scene inherent features and target state features, wherein the target scene inherent features at least include: lane features and vehicle state features related to the driving state of the vehicle.

3. The method according to claim 2, characterized in that The target state features corresponding to each traffic participant target are added to the target scene inherent features in sequence in the opposite direction of the vehicle's driving direction, and a plurality of scene element feature graphs containing different numbers of traffic participant targets are generated, including: Obtain the relative position relationship between each traffic participant target and the vehicle in the current scene segment data; Based on the relative position relationship, the traffic participating targets are sorted in the opposite direction of the driving direction of the vehicle; Based on the sorting results, target state features corresponding to one traffic participant target are added to the inherent features of the target scene each time, so as to obtain a plurality of scene element feature graphs containing different numbers of traffic participant targets.

4. The method according to claim 2, characterized in that: The performing scene recognition on the scene segment data to determine the target driving scene includes: Identify the road topology in the current scene segment data and the relative position of the ego vehicle and each traffic participant within a certain range around the ego vehicle; Determining a current driving scene corresponding to the current scene segment data based on the road topology and the relative position of the vehicle and each traffic participant object within a certain range around the vehicle; Determining whether the current driving scene belongs to a preset driving scene type; When the current driving scene belongs to a preset driving scene type, the current driving scene is determined as the target driving scene.

5. The method according to claim 4, characterized in that The preset driving scenario types include: at least one of: lane change, obstacle avoidance, deviation, cut-in, cut-out, ramp, and intersection.

6. The method according to claim 1, characterized in that The actual scene inherent features corresponding to the target driving scene are extracted by the autonomous driving system of the vehicle during the actual driving process and input into the trained preset target state prediction model, and multiple predicted target state features are sequentially inferred and generated, including: The actual scene inherent features corresponding to the target driving scene are extracted by the autonomous driving system of the vehicle during the actual driving process and input into the trained preset target state prediction model to obtain the predicted target state features; Combine all the current predicted target state features with the inherent features of the actual scene and input them into the trained preset target state prediction model to obtain the next predicted target state feature, and return to the step of combining all the current predicted target state features with the inherent features of the actual scene and inputting them into the trained preset target state prediction model to obtain the next predicted target state feature, until the total number of predicted target state features reaches the required number of autonomous driving simulation scenarios.

7. The method according to claim 1, characterized in that The training process of the preset target state prediction model includes: According to the order of the number of different traffic participating targets from small to large, the corresponding scene element feature maps are input into the preset target state prediction model for training, and the target state feature probability distribution parameters of the preset target state prediction model are determined.

8. The method according to claim 7, characterized in that The method of inputting the corresponding scene element feature graphs into the preset target state prediction model for training in the order of the number of different traffic participating targets from small to large, and determining the target state feature probability distribution parameters of the preset target state prediction model, includes: Using the maximum likelihood estimation method, the corresponding scene element feature maps are input into the preset target state prediction model in the order of the number of different traffic participating targets from small to large, and gradient descent training is performed to obtain the local optimal parameters; The local optimal parameters are determined as the target state characteristic probability distribution parameters.

9. The method according to claim 8, characterized in that The preset target state prediction model uses ConvLSTM+MLP as the main structure, the input of the preset target state prediction model is a multi-channel image and a coding vector, and the output of the preset target state prediction model is a target state feature probability distribution parameter.

10. The method according to any one of claims 1 to 9, characterized in that: The target state feature probability distribution of the preset target state prediction model is composed of the distribution of target category, shape, trajectory, and orientation.

11. An automatic driving scene generation device, characterized in that: The device comprises: An acquisition module is used to acquire real vehicle data collected by the autonomous driving system of the ego vehicle during the test driving process, and extract target scene inherent features and target state features corresponding to the target driving scene from the real vehicle data, wherein the target state features are features related to the driving state of each traffic participant target within a certain range around the ego vehicle in the target driving scene; The first processing module is used to add the target state characteristics corresponding to each traffic participant target to the target scene inherent characteristics in sequence in the opposite direction of the vehicle's driving direction, and generate a plurality of scene element characteristic graphs containing different numbers of traffic participant targets; The second processing module is used to input the actual scene inherent features corresponding to the target driving scene extracted by the automatic driving system of the vehicle during the actual driving process into the trained preset target state prediction model, and sequentially infer and generate multiple predicted target state features, wherein the preset target state prediction model is trained based on the scene element feature map with different numbers of traffic participating targets; The third processing module is used to generate an autonomous driving simulation scene based on the inherent characteristics of the actual scene and multiple predicted target state characteristics.

12. A vehicle, comprising: An automatic driving system, characterized in that the automatic driving system comprises: an automatic driving scene generating device as described in claim 11.

13. A computer device, characterized in that: The computer device comprises: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 10 by executing the computer instructions.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Video generation method and device, electronic equipment and vehicle

    CN119788932A

  • Video generation method and device, electronic equipment and vehicle

    CN119788932B

  • Data generation method and device, computer equipment and storage medium

    CN119847937A

  • Automatic driving simulation method and device and server

    CN120951822A

  • Autonomous driving simulation method, device and server

    CN120951822B