Method and apparatus for generating simulation scene data, and device

By performing traffic scene generalization and obstacle behavior conversion on real road test data, highly diverse autonomous driving simulation scene data is generated, which solves the problem of insufficient simulation scene generation in the existing technology and improves the testing of autonomous driving control systems. Efficiency and algorithm iteration efficiency.

WO2024193188A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/070830
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-01-05
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing automatic driving simulation scene generation methods cannot effectively generate simulation scene data with good diversity, resulting in poor test results of the automatic driving control system and long algorithm iteration cycles.

Method used

By generalizing traffic scenes on real road test data, converting obstacle behaviors into interactive behaviors, generating simulation scene data with higher diversity, the traffic scene generalization model and behavior model allocator are used to realize the diversity and reliability of simulation scenes. Interactivity and controllability.

Benefits of technology

It improves the testing efficiency and algorithm iteration efficiency of the autonomous driving control system, ensures the authenticity and diversity of simulation scenarios, and meets the needs of autonomous driving simulation testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024070830_26092024_PF_FP
    Figure CN2024070830_26092024_PF_FP
Patent Text Reader

Abstract

A method and apparatus for generating simulation scene data, and a device, applicable to the technical field of computers, and used for improving the diversity of simulation scene data. The method comprises: acquiring road test data collected by performing a travel test on an autonomous vehicle on a real road; performing traffic scene generalization on the road test data to obtain generalized road test data; and converting an obstacle behavior in the generalized road test data into an interactive behavior to obtain simulation scene data. Real road test data is expanded into road test data having more traffic scene types, so that real and diversified simulation scenes can be generated by using the road test data of more traffic scene types; an obstacle behavior in the road test data is converted into an interactive behavior, so that the obstacle can have the capability of interacting with an autonomous vehicle, and thus a simulation scene can respond to a change of an autonomous driving system, thereby effectively ensuring the interactivity of simulation scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for generating simulation scene data

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on March 20, 2023, with application number 202310278169.2 and application name “A method, device and apparatus for generating simulation scene data”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of computer technology, and in particular to a method, device and equipment for generating simulation scene data. Background Art

[0004] Autonomous vehicles often encounter a series of dangerous operating conditions during operation, placing high demands on the safety of their control systems. To effectively evaluate and test their ability to handle these conditions, simulation testing is currently required before autonomous vehicles leave the factory. These conditions must be replicated in simulation scenarios to conduct targeted testing of the control systems.

[0005] To address this, the industry has proposed a series of simulation scenario generation methods. However, these methods either reproduce real road test scenarios or replace obstacles one-to-one in real road test scenarios. Regardless of the method, they can only construct simulation scenarios that are completely dependent on real road test scenarios. These simulation scenarios are few in number, insufficient in variety, and poor in diversity, which is not conducive to the test results and subsequent improvements of autonomous driving control systems.

[0006] Therefore, the generation of autonomous driving simulation scenarios still needs further research.

[0007] Summary of the Invention

[0008] The present application provides a method, apparatus and device for generating simulation scene data, which are used to generate simulation scene data with good diversity.

[0009] In the first aspect, the present application provides a method for generating simulation scene data, which is applicable to a computing device with processing capabilities, such as a personal computer, server, vehicle-mounted mobile terminal, industrial computer, embedded device, etc., or it may be a chip, chip system, circuit or circuit system that supports the computing device to implement the method, such as a chip, chip system, circuit or circuit system provided on a personal computer, server, vehicle-mounted mobile terminal, industrial computer, embedded device. In some examples, the method for generating simulation scene data can be implemented by a server or virtual machine in the cloud, and the server or virtual machine in the cloud can also be connected to the autonomous driving vehicle to be tested to perform simulation testing on the autonomous driving vehicle using the generated simulation scene data. The method includes:

[0010] Obtain the road test data collected when the autonomous driving vehicle is tested on a real road, then generalize the traffic scene to obtain the generalized road test data, and then transform the obstacle behavior in the generalized road test data into interactive behavior to obtain simulation scene data.

[0011] In the above design, by generalizing the traffic scenes in the real road test data, the real road test data can be expanded into virtual road test data with more traffic scene types, and then more diverse simulated traffic scenes can be generated using virtual road test data with more traffic scene types, while ensuring the authenticity of the simulated traffic scenes and improving the diversity of the simulated traffic scenes. Moreover, this diversity of simulated traffic scenes can be achieved through data processing operations without the need to actually conduct multiple road tests, which also helps to reduce the algorithm iteration cycle of the autonomous driving control system and improve the testing efficiency and algorithm iteration efficiency of the autonomous driving control system. In addition, by converting the obstacle behavior in the road test data into interactive behavior, these obstacles have the ability to interact with the autonomous driving vehicle, and then the generated simulated traffic scene can also respond to changes in the autonomous driving control system, effectively ensuring the interactivity of the simulated scene.

[0012] In one possible design, traffic scene data is generalized to obtain generalized drive test data, including: generalizing the traffic scene data according to traffic scene generalization conditions from users to obtain generalized drive test data.

[0013] In the above design, by providing users with input traffic scene generalization parameters, users can input the required traffic scene generalization conditions according to their actual needs, thereby generating a simulation scene that is generalized for the traffic scene required by the user, ensuring the controllability of the traffic scene generalization process.

[0014] In further design, the traffic scene generalization conditions may include one or more of traffic density, vehicle speed, road topology, pedestrian density, pedestrian walking speed, etc.

[0015] Through the above design, based on the original traffic flow, original road topology and original pedestrians, new traffic scenarios that are different from one or more of the original traffic flow, original road topology or original pedestrians can be generalized to make the generated simulation scenarios more rich and diverse.

[0016] In a further design, traffic scene data is generalized based on traffic scene generalization conditions from a user to obtain generalized drive test data. This includes first receiving the traffic scene generalization conditions from the user, then inputting the drive test data and the traffic scene generalization conditions into a traffic scene generalization model, and obtaining generalized drive test data as output by the traffic scene generalization model. The generalized drive test data is obtained by the traffic scene generalization model using the traffic scene generalization conditions to generalize traffic scene information in the drive test data.

[0017] In the above design, by using the model to complete the generalization of traffic scenarios, human participation in the generalization process can be avoided, thereby reducing labor costs while ensuring generalization efficiency.

[0018] In a further design, the drive test data and traffic scenario generalization conditions are input into the traffic scenario generalization model to obtain generalized drive test data output by the traffic scenario generalization model. This includes: first, slicing the drive test data based on the interaction type between the dynamic obstacle and the autonomous vehicle to obtain at least one time segment, wherein each time segment contains drive test data corresponding to at least one interaction type; then, inputting each time segment and the traffic scenario generalization conditions into the traffic scenario generalization model to obtain generalized drive test data corresponding to each time segment output by the traffic scenario generalization model. The generalized drive test data corresponding to each time segment includes the dynamic obstacle that implements the interaction type corresponding to the time segment and one or more other dynamic obstacles.

[0019] In the above design, by slicing based on the interaction type and generalizing the traffic scene separately for each time segment obtained by slicing, the amount of data required for generalization can be reduced while more specifically generalizing other dynamic obstacles in each time segment except for the dynamic obstacles corresponding to the interaction type contained therein, so as to ensure that the generalized road test data can accurately retain the original interaction type and improve the authenticity of the generalized road test data.

[0020] In further design, the traffic scene generalization model can be trained in the following way: first, obtain historical road test data collected when autonomous driving vehicles were tested on real roads; then, extract the traffic scene features corresponding to each interaction type from the historical road test data; finally, train the traffic scene generalization model based on the traffic scene features corresponding to various interaction types.

[0021] In the above design, real road test data such as historical road test data is used to train the traffic scene generalization model, so that the traffic scene generalization model can also have good generalization capabilities for similar road test data. By extracting traffic scene features corresponding to various interaction types in the historical road test data, the traffic scene generalization model covers the traffic scene features corresponding to each interaction type, and thus can accurately generalize the traffic scene for each interaction type, which helps to improve the generalization effect.

[0022] In one possible design, the obstacle behaviors in the generalized road test data are transformed into interactive behaviors, including: transforming the behaviors of key dynamic obstacles located around the autonomous vehicle into interactive behaviors.

[0023] In the above design, dynamic obstacles located around the autonomous vehicle have a higher probability of interacting with the autonomous vehicle. By assigning interactivity to these dynamic obstacles instead of all dynamic obstacles, on the one hand, it is ensured that dynamic obstacles with a higher probability of interacting with the autonomous vehicle have interactive attributes in the simulation scene data. On the other hand, it avoids processing dynamic obstacles with a lower probability or even no probability of interacting with the autonomous vehicle, which helps to save processing resources while improving the efficiency of generating simulation scene data.

[0024] One possible design transforms obstacle behaviors in the generalized drive test data into interactive behaviors. This involves first predicting the probability distribution of dynamic obstacles under various behavior patterns in the generalized drive test data, then assigning target behavior patterns to the dynamic obstacles based on the probability distributions, and finally replacing the dynamic obstacle behavior data with the interactive behavior model corresponding to the target behavior pattern.

[0025] In the above design, the probability distribution of dynamic obstacles under various behavior modes is predicted based on the dynamic obstacle's behavior trajectory in real road test data. It represents the behavioral habits of dynamic obstacles on real roads. Therefore, by using this probability distribution to assign target behavior modes to dynamic obstacles, the generated simulation scenario can accurately match the actual behavior of dynamic obstacles, helping to further improve the realism of the simulation scenario.

[0026] In a further design, the probability distribution of dynamic obstacles in the generalized road test data under various behavior modes is predicted, including: based on the generalization condition of the interaction type from the user, the probability distribution of dynamic obstacles in the generalized road test data under various behavior modes corresponding to the generalization condition of the interaction type.

[0027] In the above design, by providing the user with input of interaction type generalization parameters, the corresponding interactive behavior model can be adaptively assigned to each dynamic obstacle in the simulation scene according to the target interaction type specified by the user, thereby generating a simulation scene that is generalized for the target interaction type specified by the user. While ensuring the authenticity of the simulation scene, the controllability and diversity of the interaction type generalization process are improved.

[0028] In a further design, based on the interaction type generalization condition from the user, the probability distribution of dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition is predicted, including: first, receiving the interaction type generalization condition from the user, the interaction type generalization condition including the target interaction type; then, inputting the generalized drive test data and the target interaction type into a behavior model distributor, and obtaining the probability distribution of each dynamic obstacle under various behavior modes corresponding to the target interaction type output by the behavior model distributor.

[0029] In the above design, by utilizing the model to generalize the interaction types, there is no need for human participation in generalization, thus reducing labor costs while ensuring generalization efficiency.

[0030] In a further design, the behavior model allocator can be trained in the following manner: first, historical road test data collected when historical autonomous driving vehicles were tested on real roads are obtained; then, the behavior pattern of each dynamic obstacle in the historical road test data is determined; further, the historical road test data is sliced ​​based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical road test data corresponding to at least one interaction type; finally, all first historical time segments containing the same interaction type are obtained from at least one first historical time segment, and the behavior model allocator is trained based on all first historical time segments containing the same interaction type and the behavior pattern of the dynamic obstacle in each first historical time segment.

[0031] In the above design, historical drive test data, such as real drive test data, is used to train the behavior model allocator, so that the behavior model allocator can also have good predictive capabilities for similar drive test data. Targeted and unified analysis of each time segment of each interaction type enables the behavior model allocator to cover the characteristics of each behavior pattern corresponding to each interaction type, and thus accurately predict the probability of dynamic obstacles in various behavior patterns corresponding to each interaction type, which helps to improve the effect of making the behavior of dynamic obstacles interactive.

[0032] In a further design, the interactive behavior model can be trained in the following manner: first, historical road test data collected when historical autonomous driving vehicles were tested on real roads is obtained; then, the historical road test data is sliced ​​based on dynamic obstacles to obtain at least one second historical time segment, wherein each second historical time segment contains historical road test data corresponding to at least one dynamic obstacle; further, the behavior pattern of the dynamic obstacle contained in each second historical time segment is determined; finally, the interactive behavior model corresponding to the behavior pattern is trained using each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern.

[0033] In the above design, by conducting a targeted and unified analysis of the time segments of each dynamic obstacle with the same behavior pattern, the interaction trajectory between the dynamic obstacle and the autonomous vehicle corresponding to each behavior pattern can be extracted. In this way, by using the interaction trajectory as the interactive behavior model corresponding to the behavior pattern, the dynamic obstacle that replaces the interactive behavior model can be enabled to interact with the autonomous vehicle, which helps to achieve the interactive effect of the dynamic obstacles in the simulation scene data.

[0034] In one possible design, the target interaction type may include one or more of vehicle following, vehicle cutting in, ramp merging, or collision interaction, and / or the behavior mode may include one or more of changing lanes left, changing lanes right, keeping lane, smooth merging, or aggressive merging.

[0035] In the above design, by making the method for generating simulation scenario data applicable to a variety of target interaction types and / or a variety of behavior patterns, the application scenarios of the simulation scenario data can be improved and its versatility can be enhanced.

[0036] In a second aspect, the present application provides a device for generating simulation scene data, including: an acquisition unit for acquiring road test data collected when an autonomous driving vehicle conducts a driving test on a real road; a generalization unit for generalizing the road test data to traffic scenes to obtain generalized road test data; and a conversion unit for converting obstacle behaviors in the generalized road test data into interactive behaviors to obtain simulation scene data.

[0037] In one possible design, the generalization unit is specifically configured to generalize the traffic scene data according to the traffic scene generalization conditions from the user, and obtain generalized drive test data.

[0038] In further design, the generalization conditions of traffic scenarios include one or more of traffic density, vehicle speed, road topology, pedestrian density, and pedestrian walking speed.

[0039] In a further design, the generalization unit is specifically configured to receive traffic scenario generalization conditions from a user, input the drive test data and the traffic scenario generalization conditions into a traffic scenario generalization model, and obtain generalized drive test data output by the traffic scenario generalization model. The generalized drive test data is obtained by the traffic scenario generalization model using the traffic scenario generalization conditions to generalize the traffic scenario information in the drive test data.

[0040] In a further design, the generalization unit is specifically configured to: first, slice the drive test data based on the interaction type between the dynamic obstacle and the autonomous vehicle to obtain at least one time segment, where each time segment contains drive test data corresponding to at least one interaction type; then, input each time segment and traffic scenario generalization conditions into the traffic scenario generalization model to obtain generalized drive test data corresponding to each time segment output by the traffic scenario generalization model. The generalized drive test data corresponding to each time segment includes the dynamic obstacle that implements the interaction type corresponding to the time segment and one or more other dynamic obstacles.

[0041] In one possible design, the device for generating simulation scene data may also include a model generation unit, which is used to: obtain historical road test data collected when historical autonomous driving vehicles conduct driving tests on real roads, and extract traffic scene features corresponding to each interaction type from the historical road test data, and then train a traffic scene generalization model based on the traffic scene features corresponding to various interaction types.

[0042] In one possible design, the conversion unit is specifically used to convert the behavior of key dynamic obstacles located around the autonomous vehicle into interactive behaviors.

[0043] In one possible design, the conversion unit is specifically used to: predict the probability distribution of dynamic obstacles under various behavior modes in the generalized road test data, assign a target behavior mode to the dynamic obstacle based on the probability distribution, and replace the behavior data of the dynamic obstacle with an interactive behavior model corresponding to the target behavior mode.

[0044] In a further design, the conversion unit is specifically configured to: predict, based on the interaction type generalization condition from the user, the probability distribution of dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition.

[0045] In a further design, the conversion unit is specifically used to: first, receive the interaction type generalization condition from the user, which includes the target interaction type; then, input the generalized road test data and the target interaction type into the behavior model distributor, and obtain the probability distribution of dynamic obstacles in various behavior modes corresponding to the target interaction type output by the behavior model distributor.

[0046] In one possible design, the device for generating simulation scene data may also include a model generation unit, which is used to: first, obtain historical road test data collected when the autonomous driving vehicle was historically tested on a real road; then, determine the behavior pattern of each dynamic obstacle in the historical road test data; thereafter, slice the historical road test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical road test data corresponding to at least one interaction type; finally, obtain all first historical time segments containing the same interaction type from the at least one first historical time segment, and train a behavior model allocator based on all first historical time segments containing the same interaction type and the behavior pattern of the dynamic obstacle in each first historical time segment.

[0047] In one possible design, the device for generating simulation scene data may further include a model generation unit, which is used to: first, obtain historical road test data collected when historical autonomous driving vehicles were tested on real roads; then, slice the historical road test data based on dynamic obstacles to obtain at least one second historical time segment, wherein each second historical time segment contains historical road test data corresponding to at least one dynamic obstacle; then, determine the behavior pattern of the dynamic obstacle contained in each second historical time segment; finally, use each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern to train an interactive behavior model corresponding to the behavior pattern.

[0048] In one possible design, the target interaction type may include one or more of vehicle following, vehicle cutting in, ramp merging, or collision interaction.

[0049] In one possible design, the behavior mode may include one or more of changing lanes to the left, changing lanes to the right, keeping lane, merging smoothly, or merging aggressively.

[0050] In a third aspect, the present application provides a computing device comprising a processor, the processor being coupled to a memory, the processor being configured to execute a computer program stored in the memory so that the electronic device executes a method as described in any one of the designs of the first aspect above.

[0051] In a fourth aspect, the present application provides a computing device comprising a processor and a memory, wherein the processor is coupled to the memory, and the processor is used to execute a computer program stored in the memory so that the electronic device executes a method as described in any one of the designs in the first aspect above.

[0052] In a fifth aspect, the present application provides a computing device comprising a processor, a memory and a transceiver, wherein the processor is coupled to the memory, and the processor is used to execute a computer program stored in the memory to call the transceiver to implement a method as described in any one of the designs in the first aspect above.

[0053] In a sixth aspect, the present application provides a chip, which may include a processor and an interface, wherein the processor is used to read instructions through the interface to execute the method described in any one of the designs in the first aspect above.

[0054] In a seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, it implements the method described in any one of the designs in the first aspect above.

[0055] In an eighth aspect, the present application provides a computer program product, which, when running on a processor, implements the method described in any one of the designs in the first aspect above.

[0056] For the beneficial effects of the second to eighth aspects mentioned above, please refer to the technical effects that can be achieved by the corresponding designs in the first aspect mentioned above, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] FIG1 exemplarily shows a schematic diagram of an application scenario of an autonomous driving simulation test provided by an embodiment of the present application;

[0058] FIG2 exemplarily shows a flow chart corresponding to a method for generating simulation scene data provided in an embodiment of the present application;

[0059] FIG3 exemplarily shows a flow chart of a method for replacing an interactive behavior model provided in an embodiment of the present application;

[0060] FIG4 is a flow chart showing a method for training a behavior model allocator according to an embodiment of the present application;

[0061] FIG5 exemplarily shows a flow chart of a model generation stage provided in an embodiment of the present application;

[0062] FIG6 exemplarily shows a flow chart of a model usage phase provided in an embodiment of the present application;

[0063] FIG7 exemplarily shows a schematic diagram of the architecture of a simulation scenario generation system provided in an embodiment of the present application;

[0064] FIG8 exemplarily shows a structural diagram of a device for generating simulation scene data provided by an embodiment of the present application;

[0065] FIG9 exemplarily shows a structural diagram of another device for generating simulation scene data provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0067] In the description of this application, "at least one" refers to one or more, and "a plurality" refers to two or more. In view of this, in the embodiment of the present invention, "a plurality" can also be understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0068] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish between multiple objects and are not used to limit the priority or importance of multiple objects. For example, the first historical time segment is a historical time segment obtained by slicing historical drive test data based on interaction type, while the second historical time segment is a historical time segment obtained by slicing historical drive test data based on dynamic obstacles. This does not mean that the two historical time segments have different priorities or importance.

[0069] In addition, the "connection" in the following embodiments of the present application can be an electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components, such as A and B, or A and C can be directly connected, C and B can be directly connected, and A and B are connected through C. In some scenarios, "connection" can also be understood as coupling, such as electromagnetic coupling between two inductors. In short, the connection between A and B enables the transmission of electrical energy between A and B.

[0070] Autonomous driving simulation testing is a testing method for the autonomous driving control system algorithm. It uses computing equipment to construct simulated traffic scenarios and conducts simulated driving tests in simulated traffic scenarios to discover the shortcomings of the autonomous driving control system algorithm and iterate or update the algorithm.

[0071] Please refer to FIG1 , which illustrates a schematic diagram of an application scenario for an autonomous driving simulation test provided by an embodiment of the present application. The scenario primarily includes an autonomous driving vehicle 110 for data collection, a computing device 120, and an autonomous driving vehicle 130 to be tested. The autonomous driving vehicle 110 for data collection can be the autonomous driving vehicle 130 to be tested, or it can be another autonomous driving vehicle, such as a crowdsourced autonomous driving vehicle, without limitation. The computing device 120 can be any device with processing capabilities, such as a personal computer, server, in-vehicle mobile terminal, industrial computer, embedded device, etc. FIG1 illustrates an example of computing device 120 being a server. The server is connected to the autonomous driving vehicle 110 for data collection and the autonomous driving vehicle 130 to be tested, and is used to acquire road test data collected by the autonomous driving vehicle 110 for data collection during a driving test on a real road. The server then constructs a simulated traffic scenario based on the roadside data and inputs the simulated traffic scenario into a simulator to test the effectiveness of the autonomous driving control system algorithm deployed in the autonomous driving vehicle 130 to be tested, allowing developers to further optimize the autonomous driving control system algorithm based on the effectiveness of the results.

[0072] To ensure the authenticity of the simulated traffic scenes, a key issue lies in the modeling of dynamic obstacles in the simulated traffic scenes. Dynamic obstacles refer to movable objects that appear on the road, including motor vehicles, non-motor vehicles, and pedestrians. The industry often puts forward the following requirements for the modeling of dynamic obstacles: authenticity, interactivity, diversity, and controllability. However, the modeling methods currently provided by the industry generally do not meet these requirements well. Specifically:

[0073] In some embodiments, the industry has proposed a modeling method for reproducing real road test scenarios. This method first uses an autonomous driving vehicle to collect and record road test data, then extracts key traffic scene information from the road test data, and then uses the key traffic scene information to construct a playback simulated traffic scene. The constructed simulated traffic scene is loaded into the simulator and interactively tested with the autonomous driving control system algorithm deployed in the autonomous driving vehicle to be tested. The advantage of this solution is that the algorithm is relatively simple, and the simulated traffic scene is completely derived from the road test data, with the most realistic initial trigger conditions. However, it also has significant limitations. For example, since the data it uses is completely derived from road tests, in order to obtain sufficient road test data, at least multiple road tests are required. However, the road test method has a high cost. Therefore, when the data acquisition cost is limited, the road test data it obtains is inevitably insufficient, which greatly limits the diversity of simulated traffic scenarios. Furthermore, when constructing the replayed simulated traffic scenario, this method relies entirely on historical replay data recorded during road testing for all dynamic obstacles, except for the autonomous vehicle to be tested. This approach renders the dynamic obstacles uninteractive and unable to respond appropriately to changes in the autonomous driving control system, undermining the authenticity of the simulated traffic scenario to a certain extent.

[0074] To address the shortcomings of the aforementioned modeling approaches, the industry has proposed an interactive modeling approach. When constructing a simulated traffic scenario, this approach uses a similarity matching method to search a pre-set behavioral model library for the interactive behavior model that best matches the historical trajectory information of each dynamic obstacle, excluding the vehicle under test. The dynamic obstacle is then controlled by the most closely matching interactive behavior model, enabling the dynamic obstacle to respond to changes in the autonomous driving control system, thus achieving interactivity in the simulated traffic scenario. However, this modeling approach also has some drawbacks. For example, similar to the aforementioned modeling approach, the data used in this modeling approach is also entirely derived from road tests. Given the limited data acquisition costs, the available road test data is insufficient, thus limiting the diversity of the simulated traffic scenarios. Furthermore, this modeling approach only replaces the interactive behaviors of dynamic obstacles in the original traffic scenario. Therefore, the generated simulated traffic scenario is completely determined by the original traffic scenario and cannot construct new traffic scenarios based on the original one. This also significantly limits the diversity of the generated simulated traffic scenarios.

[0075] In summary, the existing modeling methods proposed by the industry often have the following shortcomings: 1. The data used to generate simulated traffic scenarios are completely derived from road tests. Under the condition of limited data acquisition costs, the existing modeling methods can only generate a small number of simulated traffic scenarios and cannot meet the diversity requirements of autonomous driving simulation tests; 2. Autonomous driving simulation tests often require targeted generation of certain specific scenarios to meet the testing needs of certain specific scenarios, but the existing modeling methods can only restore the original traffic scenarios, and cannot generate targeted scenarios for these specific scenarios, and cannot meet the controllability requirements of autonomous driving simulation tests.

[0076] In view of this, an embodiment of the present application provides an autonomous driving simulation scene generation method based on double-layer generalization. The method first generalizes the original traffic scene based on the traffic scene generalization model to obtain a new traffic scene. Then, for the new traffic scene and the target interaction type required for micro-generalization, micro-interaction generalization is implemented based on a behavior model allocator. At the same time, interactive behaviors are given to the dynamic obstacles after micro-interaction generalization to obtain a large number of simulated traffic scenes that can simultaneously meet the requirements of authenticity, diversity, interactivity and controllability.

[0077] The following describes how the above technical problems are solved through specific embodiments of the present application. It should be noted that in the following description, the computing device can be any device with processing capabilities, such as the computing device 120 shown in Figure 1, or other communication nodes, communication devices, or communication systems that can support the computing device to implement the required functions, or chips, chip systems, circuits, or circuit systems, etc., without specific limitation.

[0078] FIG2 exemplarily illustrates a flow chart corresponding to a method for generating simulation scene data provided in an embodiment of the present application. The method is applicable to a computing device, such as the computing device 120 shown in FIG1 . As shown in FIG2 , the method includes:

[0079] In step 201, a computing device obtains road test data collected when an autonomous driving vehicle is tested on a real road.

[0080] Road test data may include sensory information acquired by the autonomous vehicle's sensing system during a driving test on a real road. The sensing system, also known as the perception system, includes sensor devices such as radar or cameras, which are used to sense the autonomous vehicle's external environment and generate sensory information. Radar can use radio signals to sense information such as the speed, direction, or position of objects other than the autonomous vehicle. Cameras can be static cameras or video cameras, visible light cameras or infrared cameras, and standard cameras or wide-angle cameras. The camera can capture images of the autonomous vehicle's surroundings, which are then analyzed by the autonomous vehicle's computer vision system to determine information such as the shape, type, speed, or position of objects other than the autonomous vehicle. Other objects may include other motorized or non-motorized vehicles other than the autonomous vehicle, pedestrians, traffic lights, construction equipment, or buildings.

[0081] In some embodiments, the road test data may also include geographic location information obtained by a positioning system in the autonomous driving vehicle during the driving test on a real road. The positioning system may be any system capable of locating the vehicle, such as the Global Positioning System (GPS), the Assisted Global Positioning System (AGPS), the Beidou Navigation Satellite System (BDS), a Global Navigation Satellite System, a base station positioning system, or a wireless (WiFi) positioning system.

[0082] In some embodiments, the road test data may also include state information of the autonomous vehicle during the driving test on a real road, such as the autonomous vehicle's speed, direction, acceleration, motor speed, and brake pedal opening. This state information may be collected by state sensors deployed in the autonomous vehicle, which may include inertial measurement units (IMUs), position sensors, velocity and acceleration sensors, and motor sensors.

[0083] It should be noted that the above content is only an exemplary description of the content contained in the road test data. The road test data may include more or less information than in the above example, and may also include information different from that in the above example. For example, in other embodiments, the road test data may also include driving state information of the autonomous driving vehicle during the driving test on the real road, such as the autonomous driving state, manual driving state or automatic emergency braking state, and may even include the switching time information of the autonomous driving vehicle between different driving states. As to what specific information will be included in the road test data, please refer to the introduction of the road test data obtained by the vehicle road test in the prior art, and the embodiments of the present application will not elaborate on this.

[0084] In step 202 , the computing device generalizes the traffic scenario of the drive test data to obtain generalized drive test data.

[0085] Specifically, generalization is a form of expansion, meaning the expansion of specific, individual content into general, more general content. When a computing device generalizes traffic scenarios in drive test data, it modifies the road topology and / or dynamic obstacle states within the original traffic scenario. This can include increasing or decreasing the traffic density within the original traffic scenario, increasing or decreasing the speed of one or more vehicles within the original traffic scenario, increasing or decreasing the pedestrian density within the original traffic scenario, increasing or decreasing the walking speed of one or more pedestrians within the original traffic scenario, changing the number and orientation of lanes within the original traffic scenario, or changing the number of viaduct levels within the original traffic scenario. Theoretically, generalization can yield an unlimited number of new traffic scenarios, each with a different road topology and / or dynamic obstacle structure, while maintaining the consistency of other information with the original traffic scenario. This generalization of traffic scenarios within drive test data allows for the expansion of new traffic scenarios while maintaining the authenticity of the data to the greatest extent possible. This eliminates the need for multiple real-world road tests, facilitates the acquisition of sufficiently diverse drive test data within a limited data acquisition cost, and consequently facilitates the generation of sufficiently diverse simulated traffic scenarios.

[0086] In some embodiments, before generalizing the traffic scenario, the computing device may also obtain traffic scenario generalization conditions from the user, and then perform targeted traffic scenario generalization on the drive test data according to the traffic scenario generalization conditions, obtaining drive test data corresponding to the generalized new traffic scenario. The traffic scenario generalization conditions include information related to road topology and / or dynamic obstacles, such as, but not limited to, at least one of road topology, traffic density, vehicle speed, pedestrian density, or pedestrian walking speed. For example, when the traffic scenario generalization conditions include vehicle-related information such as traffic density and / or vehicle speed, the computing device may modify the traffic flow and vehicle speed in the original traffic scenario to the new traffic flow and vehicle speed specified by the user, thereby expanding the original traffic scenario architecture to create a new traffic flow scenario that meets the user's needs, while other traffic information other than the new traffic flow remains unchanged. Thus, by providing the user with traffic scenario generalization parameters for input, the user can easily input the desired traffic scenario generalization conditions according to their actual needs, thereby generating a simulation scenario generalized for the user's desired traffic scenario, ensuring the controllability of the traffic scenario generalization process.

[0087] It should be noted that the above-mentioned traffic scene generalization conditions can be provided to the computing device in a variety of ways. For example, in one example, a user interface can be pre-configured on the computing device, and the developer directly types the traffic scene generalization conditions required by the user through the user interface. For example, in another example, the user can also input the required traffic scene generalization conditions on the user device, and then send the traffic scene generalization conditions to the computing device through the interaction between the user device and the computing device. There are many possible implementation methods, which will not be listed one by one here.

[0088] In a further embodiment, after the computing device obtains traffic scene generalization conditions from a user and drive test data from an autonomous vehicle, it may input the traffic scene generalization conditions and the drive test data into a preset traffic scene generalization model. The traffic scene generalization model then generalizes the traffic scene information in the drive test data using the traffic scene generalization conditions. The output of the traffic scene generalization model is then read to obtain the generalized drive test data. The preset traffic scene generalization model may be trained using a machine learning algorithm on a large amount of drive test data. For example, the model may be trained on a large amount of drive test data by the computing device, or trained on a large amount of drive test data by another device and then transmitted to the computing device. The large amount of drive test data may include historical drive test data collected during driving tests of autonomous vehicles on real roads, drive test data collected during driving of non-autonomous vehicles on real roads, and drive test data of autonomous vehicles or non-autonomous vehicles obtained from third-party devices, etc., without limitation.

[0089] Taking the example of training a computing device on historical drive test data to obtain a traffic scene generalization model, in one specific training method, the computing device can first obtain historical drive test data collected by the autonomous vehicle during driving tests on real roads through interactions with historical autonomous vehicles. Then, based on the interaction type between the autonomous vehicle and dynamic obstacles, the computing device extracts traffic scene features corresponding to each interaction type from the historical drive test data. The initial generative model is then trained based on the traffic scene features corresponding to each interaction type to obtain the traffic scene generalization model. The initial generative model can be, for example, a diffusion model (DM), conditional variational autoencoders (CVAE), conditional generative adversarial networks (CGAN), or other similar models. The traffic scene features corresponding to each interaction type are used to characterize the road characteristics when the autonomous vehicle and dynamic obstacles undergo that type of interaction. For example, these features may include the road topology when that type of interaction occurs, as well as the historical trajectories and postures of dynamic obstacles such as vehicles and pedestrians.

[0090] As previously mentioned, the interaction type between an autonomous vehicle and a dynamic obstacle refers to the type of interaction between the autonomous vehicle and the dynamic obstacle. When the dynamic obstacle is a vehicle other than the autonomous vehicle, the interaction type may include, but is not limited to, vehicle following, vehicle cutting in, ramp merging, or vehicle collision. Vehicle following interaction refers to a vehicle behind another vehicle in the same lane and following the other vehicle. Vehicle cutting interaction refers to a vehicle merging into the lane of another vehicle on another lane. Ramp merging interaction refers to a vehicle merging into the lane of another vehicle on a ramp. Vehicle collision interaction refers to a collision between two vehicles. When the dynamic obstacle is a pedestrian, the interaction type may include, but is not limited to, waiting for passage or preemptive passage. Waiting for passage interaction refers to pedestrians waiting for the autonomous vehicle to pass before crossing the road. Preemptive passage interaction refers to pedestrians crossing the road before the autonomous vehicle.

[0091] In a specific traffic scene generalization method for a traffic scene generalization model trained using the aforementioned method, after acquiring drive test data from an autonomous vehicle, a computing device may first slice the drive test data based on the type of interaction between the autonomous vehicle and a dynamic obstacle, obtaining at least one time segment, and ensuring that each time segment contains all the drive test data corresponding to at least one interaction type. Subsequently, for each time segment, the computing device may extract from the time segment the traffic scene features of the original traffic scene corresponding to the time segment, such as the road topology in the original traffic scene and the historical trajectories and postures of dynamic obstacles such as vehicle and pedestrian flows. Furthermore, the computing device may input the extracted traffic scene features for each time segment, along with traffic scene generalization conditions input by the user, into the traffic scene generalization model. The traffic scene generalization model then generalizes the traffic scene features of each time segment, such as the road topology, vehicle or pedestrian flows, according to the traffic scene generalization conditions, and obtains the generalized traffic scene features corresponding to each time segment as output by the traffic scene generalization model. The generalized traffic scene features corresponding to each time segment include a dynamic obstacle that realizes the interaction type corresponding to the time segment and one or more other dynamic obstacles.

[0092] For ease of understanding, let's take a specific example, using a vehicle as a dynamic obstacle. In this example, assume the computing device acquires two hours of drive test data. In the first hour, 70 vehicles pass through the data, and one vehicle has a following interaction with the autonomous vehicle. In the second hour, 100 vehicles pass through the data, and one vehicle has a cut-in interaction with the autonomous vehicle. Furthermore, the user-entered traffic scenario generalization condition is a traffic flow of 80 to 90 vehicles per hour. Then:

[0093] First, the computing device divides the entire drive test data into two time segments based on the type of interaction between other vehicles and the autonomous vehicle. The first time segment contains the drive test data for the first hour, and the second time segment contains the drive test data for the last hour.

[0094] Then, for the first time segment, the computing device extracts information such as road topology, historical trajectories of vehicles and pedestrians, and their postures from the previous hour's drive test data. This information, along with the user-entered traffic flow of 80 to 90 vehicles per hour, is fed into the traffic scenario generalization model. The traffic scenario generalization model then modifies the number of 70 vehicles in the previous hour's drive test data based on the user-specified traffic flow of 80 to 90 vehicles per hour, ensuring that at least one of the modified vehicles is interacting with the autonomous vehicle, thereby generating a portion of generalized drive test data. For example, the traffic scenario generalization model changes the number of vehicles passing through the road test data in the first hour to 80 vehicles, and configures one of the 80 vehicles to have a vehicle-following interaction with the autonomous vehicle, to obtain the first generalized road test data; changes the number of vehicles passing through the road test data in the first hour to 81 vehicles, and configures one of the 81 vehicles to have a vehicle-following interaction with the autonomous vehicle, to obtain the second generalized road test data; ...; changes the number of vehicles passing through the road test data in the first hour to 90 vehicles, and configures one of the 90 vehicles to have a vehicle-following interaction with the autonomous vehicle, to obtain the 11th generalized road test data;

[0095] Similarly, for the second time segment, the computing device extracts information such as road topology, historical trajectories of vehicles and pedestrians, and their postures from the last hour of drive test data. This information, along with the user-entered traffic flow of 80-90 vehicles per hour, is then fed into the traffic scenario generalization model. The traffic scenario generalization model then modifies the number of 70 vehicles in the last hour of drive test data based on the user-specified traffic flow of 80-90 vehicles per hour, ensuring that at least one of the modified vehicles interacts with the autonomous vehicle, thereby generating another portion of generalized drive test data. For example, the traffic scenario generalization model changes the number of vehicles passing through the road test data in the last hour to 80 vehicles, and configures one of the 80 vehicles to have a vehicle-to-vehicle interaction with the autonomous vehicle, resulting in the 12th generalized road test data; changes the number of vehicles passing through the road test data in the last hour to 81 vehicles, and configures one of the 81 vehicles to have a vehicle-to-vehicle interaction with the autonomous vehicle, resulting in the 13th generalized road test data; ...; changes the number of vehicles passing through the road test data in the last hour to 90 vehicles, and configures one of the 90 vehicles to have a vehicle-to-vehicle interaction with the autonomous vehicle, resulting in the 22nd generalized road test data.

[0096] Finally, the computing device reads the output of the traffic scenario generalization model and obtains 11 generalized roadside data points for the first time segment and 11 generalized roadside data points for the second time segment. Thus, after generalizing the traffic flow in the original drive test data according to the user-specified traffic flow, the computing device obtains 22 generalized drive test data points, greatly expanding the quantity and diversity of drive test data.

[0097] It should be noted that the above examples are just a simple introduction to how to generalize the traffic scenes in the road test data, and the actual generalization process may also be partially different from the above examples. For example, in some generalization processes, it is also possible to change the number of vehicles while ensuring that there are two or more vehicles in the changed vehicles that have the same interaction type with the autonomous driving vehicle, so as to obtain more generalized road test data. For example, in other generalization processes, it is also possible to add some other content while changing the number of vehicles, such as pedestrians, traffic lights or roadblocks, etc., and it is also possible to synchronously change the vehicle model, brand, size, type, driver and color information to further improve the scene richness of the generalized road test data. It should be understood that there are many possible generalization processes, and the embodiments of this application will not list them one by one.

[0098] Furthermore, to prevent the traffic scenario generalization model from generalizing traffic scenarios indefinitely, a generalization threshold can be configured within the traffic scenario generalization model. During the generalization process, once the traffic scenario generalization model determines that the number of generalized traffic scenarios has reached this threshold, generalization can be terminated, thereby conserving computing device processing resources. The generalization threshold can be a fixed threshold pre-configured within the traffic scenario generalization model or a variable threshold entered by the user when entering traffic scenario generalization conditions, without further limitation.

[0099] In step 203 , the computing device converts the obstacle behavior in the generalized drive test data into interactive behavior to obtain simulation scenario data.

[0100] In some embodiments, considering that only dynamic obstacles relatively close to the autonomous vehicle have the potential to interact with it, while dynamic obstacles farther away are unlikely to interact with it during the entire driving process, the computing device may also convert only the behaviors of dynamic obstacles located near the autonomous vehicle in the generalized drive test data into interactive behaviors, while omitting the conversion of dynamic obstacles farther away. This ensures that dynamic obstacles with a high probability of interacting with the autonomous vehicle have interactive properties in the simulated traffic scene, while avoiding the processing of dynamic obstacles with a low or no probability of interacting with the autonomous vehicle. This helps to save processing resources while improving the efficiency of generating simulated traffic scenes.

[0101] Among them, obstacle behavior, also known as obstacle behavior mode, is used to characterize the way a dynamic obstacle moves on the road, and may include one or more of changing lanes to the left, changing lanes to the right, keeping lane, smooth merging, or aggressive merging.

[0102] As mentioned above, in the generalized road test data, the motion trajectory of the dynamic obstacle is fixed. If the generalized road test data is directly input into the simulator, the dynamic obstacle can only move along the fixed motion trajectory. Even if the driving trajectory of the autonomous driving vehicle is changed during the test so that it interacts with the dynamic obstacle, the dynamic obstacle cannot change the motion trajectory of the autonomous driving vehicle. In other words, the dynamic obstacle does not have the ability to interact with the autonomous driving vehicle.

[0103] To address the aforementioned issues, in one optional implementation, a behavior model library can be pre-configured in the computing device. This library contains interactive behavior models corresponding to various behavior patterns. Each interactive behavior model is used to plan the future driving state of that behavior pattern in real time based on the surrounding environment. In implementation, for any dynamic obstacle requiring interactivity, the computing device can first predict the target behavior pattern that the dynamic obstacle is likely to exhibit compared to the autonomous vehicle based on the generalized drive test data. The interactive behavior model corresponding to the target behavior pattern is then retrieved from the interactive behavior model library to replace the dynamic obstacle in the generalized drive test data, thereby obtaining simulation scenario data. In this manner, after the replaced simulation scenario data is input into the simulator, even if the autonomous vehicle's original driving trajectory changes, causing the dynamic obstacle to exhibit the target behavior pattern, the dynamic obstacle will still respond as expected based on the target behavior pattern, accurately adapting to changes in the autonomous driving regulatory control system and achieving interactivity in autonomous driving simulation testing.

[0104] To implement the above embodiment, please refer to FIG. 3 , which is a flowchart of a specific method for replacing an interactive behavior model provided in an embodiment of the present application. The method is applicable to a computing device, such as the computing device 120 shown in FIG. 1 . The method includes:

[0105] Step 301: The computing device predicts the probability distribution of dynamic obstacles in various behavior modes in the generalized drive test data.

[0106] As previously mentioned, assuming that no interaction exists between the autonomous vehicle and any dynamic obstacles in the generalized road test data, if subsequent testing requires the autonomous vehicle to interact with a dynamic obstacle, this interaction will cause the autonomous vehicle's trajectory to change, which in turn affects the trajectory of other dynamic obstacles in the current traffic scene, causing the behavior patterns of these other dynamic obstacles to change accordingly. Therefore, the behavior pattern exhibited by a dynamic obstacle during testing is actually determined by the target interaction type that the autonomous vehicle will undergo during testing. Therefore, the computing device can predict the probability of each dynamic obstacle exhibiting various behavior patterns based on the target interaction type that the autonomous vehicle will undergo during testing, thereby pre-assigning the interactive capabilities corresponding to the potential behavior patterns to each dynamic obstacle.

[0107] In one specific embodiment, a computing device can first obtain the target interaction type that the autonomous vehicle will experience during testing. This target interaction type, along with generalized drive test data, is then input into a behavior model distributor. The behavior model distributor then predicts the probability of each dynamic obstacle exhibiting each behavior pattern after the autonomous vehicle experiences the target interaction type. By reading the output of the behavior model distributor, the computing device can determine the probability of each dynamic obstacle in the current traffic scenario exhibiting each corresponding behavior pattern when the autonomous vehicle experiences the target interaction type. The target interaction type can be obtained by the computing device from a simulator, preconfigured by a tester, or specified by the user in real time. For example, user-specified target interaction types can be specified in a variety of ways. For example, a user interface can be preconfigured on the computing device, where the user enters interaction type generalization conditions on the user interface to notify the computing device of the specified target interaction type. Alternatively, the user can enter interaction type generalization conditions on a user device, and the target interaction type is transmitted to the computing device through communication between the user device and the computing device. By providing users with optional interaction type generalization conditions, the corresponding behavior model can be adaptively assigned to each dynamic obstacle in the simulation scene according to the target interaction type specified by the user, thereby generating a simulated traffic scene that is generalized for the target interaction type specified by the user. While ensuring the authenticity of the simulated traffic scene, the controllability of the interaction type generalization process is improved.

[0108] The behavior model assigner can be obtained using a rule-based or data-driven approach. When using a rule-based approach, the relevant rule algorithms can be pre-written by professional technicians and stored in the computing device. When using a data-driven approach, a large amount of drive test data can be collected using the internet or other relevant software and analyzed to determine the interaction types and behavior patterns of dynamic obstacles in the original drive test scenarios. This information can then be used to learn the probability distribution of various behavior patterns of dynamic obstacles in unknown traffic scenarios under corresponding interaction types. This probability distribution can then be used to assign target behavior patterns to dynamic obstacles in unknown traffic scenarios. The behavior model assigner can be obtained by training the computing device on a large amount of drive test data, or by training another device on a large amount of drive test data and then transmitting it to the computing device. The large amount of drive test data can include historical drive test data collected from autonomous vehicles during driving tests on real roads, drive test data collected from non-autonomous vehicles during driving on real roads, and drive test data of autonomous or non-autonomous vehicles obtained from third-party devices, etc., without limitation.

[0109] Taking the example of a computing device training historical drive test data to obtain a behavior model allocator, please refer to FIG4 , which shows a flowchart of a specific method for training a behavior model allocator provided by an embodiment of the present application. This method is applicable to a computing device, such as the computing device 120 shown in FIG1 . The method includes:

[0110] In step 401, a computing device obtains historical road test data collected when an autonomous driving vehicle is tested on a real road.

[0111] In step 402 , the computing device determines a behavior pattern of each dynamic obstacle in historical drive test data.

[0112] In some embodiments, the computing device may annotate the behavior pattern of each dynamic obstacle in the historical road test data, for example, by manually operating the computing device, or automatically annotating the behavior pattern based on rules or machine learning.

[0113] Specifically, before automatic labeling based on rules, developers can first write corresponding rule algorithms. These rule algorithms include but are not limited to: if a vehicle frequently changes lanes during driving, the vehicle's behavior mode is labeled as aggressive mode; if a vehicle changes lanes cautiously during driving, the vehicle's behavior mode is labeled as stable mode; if a vehicle always maintains the lane during driving, the vehicle's behavior mode is labeled as lane keeping; if a vehicle changes from the current lane to the left lane, the vehicle's behavior mode is labeled as left lane change; if a vehicle changes from the current lane to the right lane, the vehicle's behavior mode is labeled as right lane change; if a vehicle merges from the ramp to the left into the main lane, the vehicle's behavior mode is labeled as merging left into the main lane; if a vehicle merges from the ramp to the right into the main lane, the vehicle's behavior mode is labeled as merging right into the main lane; if a vehicle merges from the current lane to the left into the ramp, the vehicle's behavior mode is labeled as merging left into the ramp; if a vehicle merges from the current lane to the right into the ramp, the vehicle's behavior mode is labeled as merging right into the ramp; if a pedestrian waits for a vehicle to pass, the pedestrian's behavior mode is labeled as stable walking mode; if a pedestrian passes before a vehicle, the pedestrian's behavior mode is labeled as aggressive walking mode.

[0114] In detail, before automatic labeling based on machine learning, the computing device can first use some massive road test data to train a clustering algorithm. The clustering algorithm can be an unsupervised clustering algorithm, a hierarchical clustering algorithm, or a clustering algorithm based on a neural network model. The clustering algorithm can cluster dynamic obstacles with the same behavior pattern, and then analyze the behavior pattern of dynamic obstacles with unknown behavior patterns.

[0115] It should be noted that the above content only introduces several marking methods by way of example. Other embodiments may also adopt other marking methods, as long as the behavior pattern of the dynamic obstacle can be marked with a certain degree of accuracy. The embodiments of the present application do not make specific limitations on this.

[0116] In step 403, the computing device slices the historical drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains all historical drive test data corresponding to at least one interaction type.

[0117] The interaction type may be at least one of ramp merging, vehicle cutting in, vehicle following, or collision interaction.

[0118] For example, suppose the computing device obtains 5 hours of historical road test data. In the first 0.5 hours, the historical road test data shows that a vehicle merges from the ramp into the lane where the autonomous driving vehicle is located. In the 0.5-3.5 hours, the historical road test data shows that a vehicle always follows behind the autonomous driving vehicle. In the 3.5-5 hours, the historical road test data shows that a vehicle drives from the left lane of the autonomous driving vehicle into the lane where the autonomous driving vehicle is located. Then, based on the interaction type between other vehicles and the autonomous driving vehicle, the computing device can divide the entire historical road test data into three first historical time segments. The first first historical time segment includes the historical road test data of the first 0.5 hours, the second first historical time segment includes the historical road test data of 0.5-3.5 hours, and the third first historical time segment includes the historical road test data of 3.5-5 hours.

[0119] In step 404, the computing device obtains all first historical time segments containing the same interaction type from at least one first historical time segment, and trains a behavior model allocator based on the behavior patterns of all first historical time segments containing the same interaction type and the dynamic obstacles in each first historical time segment.

[0120] In some embodiments, after obtaining historical road test data, the computing device can mark the behavior pattern of each dynamic obstacle in the historical road test data, and after slicing the historical road test data to obtain each first historical time segment, the computing device can also mark the corresponding interaction type in each first historical time segment. In this way, each first historical time segment is marked with both the interaction type corresponding to the first historical time segment and the behavior pattern of each dynamic obstacle in the first historical time segment.

[0121] Furthermore, the computing device may, based on the interaction type annotated in each first historical time segment, find all first historical time segments annotated with the same interaction type from each first historical time segment, then use a preset model allocator training algorithm to train all first historical time segments for that interaction type to extract the probability distribution characteristics of the dynamic obstacle implementing the various annotated behavior patterns under that interaction type. Furthermore, based on the probability distribution characteristics of the dynamic obstacle implementing the various annotated behavior patterns under each interaction type, a behavior model allocator is trained. The model allocator training algorithm may be any statistical or non-statistical algorithm capable of training a probabilistic model, such as a maximum likelihood estimation algorithm, a least squares probability classification algorithm, or a linear regression analysis model algorithm.

[0122] By adopting the training method shown in Figure 4, the behavior model allocator is trained using real road test data such as historical road test data, so that the behavior model allocator can also have good prediction capabilities for similar road test data. By performing targeted and unified analysis on the first historical time segments of each interaction type, the behavior model allocator covers the probability distribution characteristics of each behavior pattern corresponding to each interaction type, and thus can accurately predict the probability of dynamic obstacles in various behavior patterns corresponding to each interaction type, which helps to improve the effect of making the behavior of dynamic obstacles interactive.

[0123] Furthermore, in a specific behavior model allocation method, the computing device, in addition to obtaining generalized drive test data, can also obtain interaction type generalization conditions from the user, and obtain the user-specified target interaction type from the interaction type generalization conditions. The generalized drive test data and the target interaction type are then input into the behavior model allocator together. The behavior model allocator predicts the probability distribution of various behavior patterns corresponding to each dynamic obstacle in the generalized drive test data after the autonomous driving vehicle has the target interaction type. By reading the output of the behavior model allocator, the probability distribution of each dynamic obstacle in the various behavior patterns corresponding to the target interaction type can be obtained.

[0124] In step 302 , the computing device assigns a target behavior mode to the dynamic obstacle according to the probability distribution of the dynamic obstacle under various behavior modes.

[0125] Specifically, after the computing device obtains the probability distribution of various behavior patterns corresponding to the dynamic obstacle's target interaction type with the autonomous vehicle, it can select one or more behavior patterns with a higher probability of occurrence according to pre-set rules as the target behavior pattern corresponding to the dynamic obstacle. The pre-set rules can be set by those skilled in the art based on experience. For example, the target behavior pattern may be the behavior pattern with the highest probability of occurrence in the probability distribution, or a random selection of a behavior pattern from all behavior patterns with a probability exceeding a certain threshold (e.g., 50%), or a selection of all behavior patterns with a probability exceeding a certain threshold (e.g., 80%). There are many possible rules, which are not listed here.

[0126] For ease of understanding, the following description will continue with the example of step 202. In this example, the computing device generalizes traffic scenarios in real drive test data to obtain 22 generalized drive test data. Taking the first generalized drive test data as an example, assuming that the target interaction type input by the user is vehicle cut-in, and the pre-set rule is to select the behavior pattern with the highest probability of occurrence as the target behavior pattern, then:

[0127] After the computing device inputs the generalized drive test data and the interaction type of the vehicle cut-in into the behavior model allocator, the behavior model allocator predicts the probability of each of the 80 vehicles in the generalized drive test data exhibiting various behavior patterns after the autonomous vehicle cuts in. By reading the output of the behavior model allocator, the computing device can determine the probability of each vehicle exhibiting various behavior patterns after the autonomous vehicle cuts in:

[0128] Assume that the probability of the first vehicle changing lanes to the right is 0.9, the probability of changing lanes to the left is 0.8, the probability of remaining in the lane is 0.2, the probability of merging onto the ramp to the left is 0.1, and the probability of merging onto the ramp to the right is 0.06. The behavior pattern with the highest probability is changing lanes to the right. Therefore, the computing device can set changing lanes to the right as the target behavior pattern for the first vehicle.

[0129] Assume that the probability of the second car changing lanes to the right is 0.1, the probability of changing lanes to the left is 0.2, the probability of remaining in the lane is 0.95, the probability of merging onto the ramp to the left is 0.2, and the probability of merging onto the ramp to the right is 0.1. The behavior pattern with the highest probability is lane keeping. Therefore, the computing device can set lane keeping as the target behavior pattern for the second car.

[0130] ...;

[0131] Assuming that the probability of the 80th vehicle changing lanes to the right is 0.02, the probability of changing lanes to the left is 0.8, the probability of continuing to maintain the lane is 0.2, the probability of merging onto the ramp to the left is 0.9, and the probability of merging onto the ramp to the right is 0.12, then the behavior pattern with the highest probability is merging onto the ramp to the left. Therefore, the computing device can use merging onto the ramp to the left as the target behavior pattern corresponding to the 80th vehicle.

[0132] In step 303 , the computing device replaces the behavior data of the dynamic obstacle with an interactive behavior model corresponding to the corresponding target behavior pattern.

[0133] Specifically, the interactive behavior model can be an interactive behavior replacement algorithm pre-written by experts in this field, or it can be obtained by introducing additional machine learning algorithm training models such as generative adversarial imitation learning (GAIL), or it can be a similar model stored in a third-party organization obtained through interaction with the third-party organization, without specific limitation.

[0134] In an optional implementation, the interactive behavior model can be obtained by training massive road test data using a machine learning algorithm. For example, it can be obtained by training massive road test data by a computing device, or it can be obtained by training massive road test data by other devices and then sent to the computing device. The massive road test data can include historical road test data collected when autonomous driving vehicles are tested on real roads, and can also include road test data collected when non-autonomous driving vehicles are driving on real roads. It can also include road test data of autonomous driving vehicles or non-autonomous driving vehicles obtained from third-party devices, etc., without specific limitation.

[0135] Taking the example of a computing device training historical drive test data to obtain an interactive behavior model, in a specific training method, the computing device can first obtain historical drive test data collected during historical driving tests of autonomous vehicles on real roads, and then slice the historical drive test data based on dynamic obstacles to obtain at least one second historical time segment, wherein each second historical time segment contains all historical drive test data of at least one dynamic obstacle from beginning to end. Thereafter, the behavior pattern of the dynamic obstacle contained in each second historical time segment is annotated through manual or automatic annotation, and based on the behavior pattern annotated in each second historical time segment, each second historical time segment annotated with the same behavior pattern is found. Then, imitation learning is performed on each second historical time segment annotated with the same behavior pattern to summarize the motion trajectory characteristics of the dynamic obstacle when the behavior pattern occurs, so as to train an interactive behavior model corresponding to the behavior pattern, and the behavior pattern and the corresponding interactive behavior model are stored in a behavior model library. In this way, by conducting a targeted unified analysis of the road test data of each dynamic obstacle with the same behavior pattern, the interaction trajectory between the dynamic obstacle and the autonomous driving vehicle corresponding to each behavior pattern can be extracted. In this way, by using the interaction trajectory as the interactive behavior model corresponding to the behavior pattern, the dynamic obstacle that has replaced the interactive behavior model can be enabled to interact with the autonomous driving vehicle, which helps to achieve the interactive effect of the dynamic obstacles in the simulation scene data.

[0136] In the above-mentioned embodiments of the present application, in the first-level generalization operation, by generalizing the traffic scenarios in the real drive test data, the real drive test data can be expanded to include more traffic scenario types. This can then be used to generate a more diverse range of simulated traffic scenarios, ensuring the authenticity of the simulated traffic scenarios while increasing their diversity. This diversity can be achieved through data processing operations without requiring multiple drive tests, thereby helping to reduce the iteration cycle of the autonomous driving control system algorithm and improving the testing efficiency and algorithm iteration efficiency of the autonomous driving control system. In the second-level generalization operation, the behavior model allocator generalizes the micro-interaction types of the drive test data obtained in the first-level generalization. The generalized obstacle behaviors are converted into interactive behaviors through the behavior model library, giving these obstacles the ability to interact with the autonomous driving vehicle. This allows the generated simulated traffic scenarios to respond to changes in the autonomous driving system under the generalized micro-interaction types, further increasing the diversity of the simulated traffic scenarios while achieving interactivity. Furthermore, by providing users with generalized controllable traffic scene conditions and interaction type conditions, the system can not only expand more simulated traffic scenes according to user instructions, but also adaptively assign interactive behavior models to dynamic obstacles in the expanded simulated traffic scenes based on the micro-interaction types indicated by the user, thereby achieving controllability of the simulated traffic scenes. It can be seen that the method provided by the embodiments of the present application can achieve the authenticity, diversity, interactivity, and controllability of autonomous driving simulation testing, and can effectively meet all the industry's needs for autonomous driving simulation testing.

[0137] To facilitate understanding, let's take a look at the entire solution. This overview can be divided into the model generation phase and the model usage phase, each of which is described in detail below.

[0138] Model generation stage

[0139] Please refer to Figure 5, which is a flow diagram of the model generation stage provided in an embodiment of the present application. This process can be executed by any device with computing capabilities, such as a computing device, or by another device and then sending the generated model to the computing device. Taking the computing device as an example, the process specifically includes:

[0140] Step 510: The computing device obtains historical drive test data, and then performs the first aspect or the second aspect below.

[0141] During implementation, the computing device may obtain historical road test data collected and recorded during road tests of historical autonomous driving vehicles, or obtain internal historical road test data of third-party devices such as cloud servers through interaction with third-party devices, or obtain historical road test data collected and recorded by crowdsourced vehicles through a commissioned agency, or obtain historical road test data through online searches or interviews with experienced experts and scholars, etc., without specific limitations.

[0142] In the first aspect, step 520, the computing device uses historical drive test data to train and save a traffic scenario generalization model.

[0143] Specifically, step 520 may include the following steps 521 to 523:

[0144] In step 521 , the computing device extracts traffic scene features such as road topology, vehicle flow, and pedestrian flow from historical drive test data.

[0145] In implementation, the computing device can extract road topology, as well as the historical trajectories and postures of dynamic obstacles such as vehicle and pedestrian flows from historical road test data.

[0146] In step 522 , the computing device uses the extracted traffic scene features to train a traffic scene generalization model.

[0147] In implementation, the computing device may use a machine learning algorithm to train the extracted traffic scene features to obtain a traffic scene generalization model. The machine learning algorithm may be a DM algorithm, a CVAE algorithm, or a CGAN algorithm.

[0148] Step 523: The computing device saves the traffic scene generalization model.

[0149] During implementation, the computing device may store the trained traffic scene generalization model in a memory of the computing device.

[0150] It should be noted that, regarding the specific implementation of the above steps 521 to 523, please refer to the relevant introduction in the above step 202, which will not be repeated here.

[0151] In the second aspect, step 530, the computing device labels the behavior pattern of each dynamic obstacle included in the historical drive test data, and then performs the first sub-aspect or the second sub-aspect below.

[0152] During implementation, the computing device may segment the historical drive test data based on dynamic obstacles to obtain multiple second historical time segments, where each second historical time segment contains at least the entire historical drive test data for a dynamic obstacle from the beginning to the end. Furthermore, the computing device may employ manual labeling or automatic labeling based on rules or clustering algorithms to annotate the behavior patterns of the dynamic obstacles contained in each second historical time segment based on their movement behaviors.

[0153] It should be noted that there may be two or more dynamic obstacles at the same time node in the historical drive test data. Therefore, the two second historical time segments obtained by slicing the historical drive test data may also have overlapping parts. For example, a second historical time segment contains historical drive test data from minutes 0 to 10, and another second historical time segment contains road test data from minutes 2 to 15.

[0154] It should be noted that, regarding the specific implementation of the above step 530, please refer to the relevant introduction in the above step 402, which will not be repeated here.

[0155] In the first sub-aspect, step 540 , the computing device trains and saves the interactive behavior model using historical drive test data labeled with behavior patterns.

[0156] Specifically, step 540 may include the following steps 541 and 542:

[0157] Step 541 : The computing device trains an interactive behavior model based on historical drive test data labeled with behavior patterns.

[0158] During implementation, the computing device can find all second historical time segments marked with the same behavior pattern from each second historical time segment, and then extract the behavior characteristics of the dynamic obstacle that occurs in this behavior pattern based on all second historical time segments marked with the same behavior pattern, and then train the interactive behavior model corresponding to this behavior pattern based on the behavior characteristics.

[0159] Step 542: The computing device saves the interactive behavior model.

[0160] During implementation, a behavior model library is set in the computing device, and the computing device can store the interactive behavior model corresponding to each behavior pattern obtained through training in the behavior model library.

[0161] It should be noted that, regarding the specific implementation of the above steps 541 and 542, please refer to the relevant introduction in the above step 303, which will not be repeated here.

[0162] In the second sub-implementation aspect, step 550 , the computing device trains and stores a behavior model allocator using historical drive test data annotated with behavior patterns.

[0163] Specifically, step 550 may include the following steps 551 to 553:

[0164] Step 551: The computing device marks the interaction type in the historical drive test data.

[0165] During implementation, the computing device may re-slice the historical drive test data based on the interaction type between the dynamic obstacle and the autonomous vehicle to obtain at least one first historical time segment, and annotate each first historical time segment with the corresponding interaction type. Each first historical time segment includes all historical drive test data corresponding to at least one interaction type.

[0166] In step 552 , the computing device trains a behavior model allocator using historical drive test data labeled with interaction types and behavior patterns.

[0167] During implementation, the computing device can find all first historical time segments marked with the same interaction type from at least one first historical time segment based on the interaction type marked on each first historical time segment, and then extract the probability distribution of the dynamic obstacle in each behavior mode corresponding to the interaction type based on all the first historical time segments marked with the same interaction type and the behavior mode marked by the dynamic obstacle in each first historical time segment, and then train a behavior model allocator based on the probability distribution of the dynamic obstacle in each behavior mode corresponding to each interaction type.

[0168] Step 553: The computing device saves the behavior model allocator.

[0169] In implementation, the computing device may store the trained behavior model allocator in a memory of the computing device.

[0170] It should be noted that, regarding the specific implementation of the above steps 551 to 553, please refer to the relevant introduction in the above steps 403 and 404, and no further details will be given here.

[0171] In the above-mentioned model generation stage, each model is trained by using real drive test data such as historical drive test data, so that each model can also have good generalization or prediction capabilities for similar drive test data, which in turn helps to improve the accuracy of subsequent use of the model to generate simulation scenario data.

[0172] Model usage phase

[0173] Please refer to FIG6 , which is a flow chart of a model usage phase provided in an embodiment of the present application. The flow can be executed by a computing device, such as the computing device 120 in FIG1 . The flow specifically includes:

[0174] Step 601: The computing device obtains drive test data.

[0175] In implementation, the computing device can obtain road test data collected and recorded during the road test of the autonomous driving vehicle, or obtain internal road test data of third-party equipment through interaction with third-party equipment such as cloud servers, or obtain road test data collected and recorded by crowdsourced vehicles through entrusted agencies, or obtain road test data through online searches or interviews with experienced experts and scholars, etc., without specific limitations.

[0176] In step 602 , the computing device calls the traffic scene generalization model stored in the memory to generalize the traffic scene in the drive test data according to the traffic scene generalization condition input by the user, and obtains the generalized drive test data.

[0177] During implementation, the computing device may first slice the drive test data based on the interaction type between the dynamic obstacle and the autonomous vehicle, obtaining at least one time segment, where each time segment contains drive test data corresponding to at least one interaction type. The computing device may then input each time segment and user-input traffic scene generalization conditions into a traffic scene generalization model. The traffic scene generalization model then specifically generalizes the traffic scene in each time segment according to the user-indicated traffic scene generalization conditions, thereby obtaining a series of generalized time segments.

[0178] Step 603: The computing device calls a behavior model assigner stored in the memory to assign a target behavior model to the dynamic obstacle in the generalized drive test data according to the interaction type generalization condition input by the user.

[0179] In implementation, the computing device may annotate the behavior pattern in each generalized time segment by manual or automatic annotation, and then input each generalized time segment annotated with the behavior pattern and the interaction type generalization condition input by the user into the behavior model allocator. The behavior model allocator predicts the probability distribution of various behavior patterns generated by the dynamic obstacle in each generalized time segment when the autonomous driving vehicle undergoes the user-specified target interaction type. By reading the output of the behavior model allocator, the probability distribution of the dynamic obstacle in each generalized time segment under each behavior pattern corresponding to the user-specified target interaction type can be obtained, and then the target behavior pattern is assigned to the dynamic obstacle in each generalized time segment according to the probability distribution.

[0180] In step 604 , the computing device searches for an interactive behavior model corresponding to the target behavior pattern in the behavior model library, and replaces the dynamic obstacle with the interactive behavior model corresponding to the searched target behavior pattern.

[0181] In implementation, for each generalized time segment, the computing device can search the behavior model library to obtain the interactive behavior model corresponding to the target behavior pattern assigned to the dynamic obstacle in the generalized time segment, and then use the interactive behavior model to replace the dynamic obstacle in the generalized time segment to obtain simulation scene data.

[0182] In step 605 , the computing device inputs the drive test data after the interactive behavior model is replaced into the simulator.

[0183] During implementation, the computing device may input the simulation scene data obtained by replacing the dynamic obstacles in each generalized time segment into the simulator to simulate the autonomous driving performance of the autonomous driving vehicle in the newly constructed simulated traffic scene.

[0184] In the above-mentioned model usage stage, by utilizing various models to complete the generalization of traffic scenarios and interaction types, no human participation in generalization is required. In this way, the labor cost can be reduced while ensuring the generalization efficiency.

[0185] Further, based on the above-mentioned model generation phase and model use phase, please refer to FIG7, which is a schematic diagram of the architecture of a simulation scene generation system provided by an embodiment of the present application. The simulation scene generation system can be run on an intelligent carrier installed with a computer system, which includes a storage component and a network communication component. The executable code of each module and the various models generated above are stored in the storage component. During operation, the executable code and each model in the storage component are called by the processing unit (such as a central processing unit or an image processing unit, etc.) to generate simulation scene data. As shown in FIG7, the system mainly includes the following four modules:

[0186] The task / environment information acquisition module 710 is used to comprehensively analyze the relevant information collected by various sensors in the autonomous driving vehicle during the drive test process to obtain key drive test information for generating simulated traffic scenarios, such as the original road test scenario's road topology, and the trajectory information of dynamic obstacles such as vehicle and pedestrian traffic. Furthermore, the module is used to obtain various generalization conditions input by the user, and then pass the key drive test information to the training module 720 for generating autonomous driving simulation scenarios based on dual-layer generalization. The module then passes the key drive test information and various generalization conditions to the decision module 730 for generating autonomous driving simulation scenarios based on dual-layer generalization.

[0187] The dual-layer generalization-based autonomous driving simulation scenario generation and training module 720, as a core module for generating simulation scenario data, is used to receive key drive test information transmitted by the task / environment information acquisition module 710, train this key drive test information according to the model generation method described in FIG5 to obtain a traffic scenario generalization model, a behavior model distributor, and an interactive behavior model, and pass these models to the dual-layer generalization-based autonomous driving simulation scenario generation and decision module 730;

[0188] The autonomous driving simulation scenario generation decision module 730 based on double-layer generalization, as another core module for carrying out simulation scenario data generation, is used to receive key drive test information and various generalization conditions transmitted by the task / environment information acquisition module 710, and receive the traffic scenario generalization model, behavior model distributor, and interactive behavior model transmitted by the autonomous driving simulation scenario generation training module 720 based on double-layer generalization. According to the various generalization conditions and the model usage method shown in FIG6 , the key drive test information is generalized into a traffic scenario using the traffic scenario generalization model, and the generalized traffic scenario is generalized through micro-interaction using the behavior model distributor and the interactive behavior model to obtain simulation scenario data that meets the requirements of authenticity, diversity, interactivity, and controllability, and the simulation scenario data is transmitted to the simulation module 740.

[0189] The simulation module 740 receives the simulation scenario data transmitted by the dual-layer generalized autonomous driving simulation scenario generation decision module 730, and loads it into the simulator to perform autonomous driving simulation test operations.

[0190] In summary, the above embodiments of the present application provide a method for generating autonomous driving simulation scenarios based on double-layer generalization. The method first generalizes the original traffic scenario based on the traffic scenario generalization model and the required generalized traffic scenario to obtain a new traffic scenario. Then, for the new traffic scenario and the target interaction type required for micro-generalization, micro-interaction generalization is implemented based on the behavior model allocator. At the same time, the dynamic obstacles after micro-interaction generalization are replaced with interactive behavior models to obtain a large number of simulated traffic scenarios that meet the authenticity, diversity, interactivity and controllability, thereby meeting the needs of autonomous driving simulation testing.

[0191] It should be noted that the above embodiments only introduce the method of generating simulation scene data executed by a computing device as an example. In some embodiments, the method of generating simulation scene data can also be directly integrated into an autonomous driving simulation platform, an autonomous driving simulation test platform, an autonomous driving simulation training platform, an autonomous driving simulator or an autonomous driving simulation test system. Alternatively, in other embodiments, it can also be executed by other devices, such as an autonomous driving vehicle. The autonomous driving vehicle collects road test data while using the road test data to generate a variety of simulation scene data. Once it is determined that the simulation scene data is sufficient, the collection can be terminated immediately, and the generated simulation scene data can be input into the simulator.

[0192] In addition, the above-mentioned method for generating simulation scene data can also be extended to any device or system that has a demand for diversity. For example, it can also be applied to any movable device that requires diverse simulation scene data, including but not limited to electric ships, electric drones, electric trains, electric vans, electric trucks, etc. Alternatively, it can also be applied in the field of smart homes. For example, the generation method is first used to generalize a small amount of environmental data collected by a mobile robot (such as a sweeping robot or a mopping robot, etc.) into diverse simulation environment data, and then the diverse simulation environment data is used to perform simulation tests on the mobile robot to test the effect of the path planning algorithm deployed in the mobile robot in different environmental scenarios.

[0193] Furthermore, with the evolution of system architecture and the emergence of new scenarios, the method for generating simulation scenario data provided in this application is also applicable to similar technical problems, and this application does not make any specific limitations on this.

[0194] Furthermore, the names of the above-mentioned information are merely examples. With the evolution of communication technology, the names of any of the above-mentioned information may change. However, no matter how the names change, as long as their meanings are the same as those of the above-mentioned information in this application, they fall within the scope of protection of this application.

[0195] The above mainly introduces the solution provided by the present application from the perspective of the interaction between various network elements. It can be understood that in order to realize the above functions, the above-mentioned network elements include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0196] FIG8 is a schematic diagram of the structure of a device for generating simulation scene data provided in an embodiment of the present application. The device for generating simulation scene data can be any device with processing capabilities, such as a computing device, or can also be a chip or circuit, such as a chip or circuit that can be set in a computing device. As shown in FIG8 , the device for generating simulation scene data 800 can include a processor 801, a memory 802, and a transceiver 803, and can further include a bus system, and the processor 801, the memory 802, and the transceiver 803 can be connected via the bus system.

[0197] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 801 or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor 801. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802 and completes the steps of the above method in conjunction with its hardware.

[0198] It should be understood that the processor 801 may be a chip. For example, the processor 801 may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0199] It is understood that the memory 802 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0200] In the embodiment of the present application, the memory 802 is used to store instructions, and the processor 801 is used to execute the instructions stored in the memory 802 to implement the method corresponding to the computing device in any one or more of Figures 2 to 6 above. Specifically, the processor 801 implements the following operations by calling the transceiver 803: first, obtains drive test data collected during a driving test of an autonomous vehicle on a real road, then generalizes the drive test data to a traffic scenario to obtain generalized drive test data, and finally, converts the obstacle behavior in the generalized drive test data into interactive behavior to obtain simulated scenario data.

[0201] In an optional implementation manner, the processor 801 is specifically configured to: generalize the traffic scene data according to the traffic scene generalization condition from the user, and obtain generalized drive test data.

[0202] In an optional implementation, the traffic scene generalization condition may include one or more of traffic density, vehicle speed, road topology, pedestrian density, and pedestrian walking speed.

[0203] In an optional embodiment, processor 801 is specifically configured to receive traffic scenario generalization conditions from a user, input the drive test data and the traffic scenario generalization conditions into a traffic scenario generalization model, and obtain generalized drive test data output by the traffic scenario generalization model. The generalized drive test data is obtained by the traffic scenario generalization model generalizing traffic scenario information in the drive test data using the traffic scenario generalization conditions.

[0204] In an optional embodiment, processor 801 is specifically configured to: first, slice the drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one time segment, wherein each time segment contains drive test data corresponding to at least one interaction type; then, input each time segment and traffic scenario generalization conditions into a traffic scenario generalization model to obtain generalized drive test data corresponding to each time segment output by the traffic scenario generalization model. The generalized drive test data corresponding to each time segment contains the dynamic obstacle that implements the interaction type corresponding to each time segment and one or more other dynamic obstacles.

[0205] In an optional embodiment, the traffic scene generalization model is trained in the following manner: historical road test data collected when historical autonomous driving vehicles were tested on real roads are obtained, and traffic scene features corresponding to each interaction type are extracted from the historical road test data, and then the traffic scene generalization model is trained based on the traffic scene features corresponding to various interaction types.

[0206] In an optional embodiment, the processor 801 is specifically configured to convert the behavior of key dynamic obstacles located around the autonomous driving vehicle into interactive behavior.

[0207] In an optional embodiment, the processor 801 is specifically used to: predict the probability distribution of each dynamic obstacle in various behavior modes in the generalized road test data, assign a target behavior mode to the dynamic obstacle according to the probability distribution, and replace the behavior data of the dynamic obstacle with an interactive behavior model corresponding to the corresponding target behavior mode.

[0208] In an optional implementation, the processor 801 is specifically configured to: predict, based on the interaction type generalization condition from the user, a probability distribution of dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition.

[0209] In an optional embodiment, the processor 801 is specifically used to: first, receive an interaction type generalization condition from a user, where the interaction type generalization condition includes a target interaction type; then, input the generalized road test data and the interaction type generalization condition into a behavior model distributor to obtain the probability distribution of dynamic obstacles output by the behavior model distributor under various behavior modes corresponding to the target interaction type.

[0210] In an optional embodiment, the behavior model allocator is trained in the following manner: first, historical road test data collected when historical autonomous driving vehicles were tested on real roads are obtained; then, the behavior pattern of each dynamic obstacle in the historical road test data is determined; thereafter, the historical road test data is sliced ​​based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical road test data corresponding to at least one interaction type; finally, all first historical time segments containing the same interaction type are obtained from the at least one first historical time segment, and the behavior model allocator is trained based on all first historical time segments containing the same interaction type and the behavior pattern of the dynamic obstacle in each first historical time segment.

[0211] In an optional embodiment, the interactive behavior model is trained in the following manner: first, historical road test data collected when an autonomous driving vehicle was tested on a real road is obtained; then, the historical road test data is sliced ​​based on dynamic obstacles to obtain at least one second historical time segment, wherein each second historical time segment contains historical road test data corresponding to at least one dynamic obstacle; then, the behavior pattern of the dynamic obstacle contained in each second historical time segment is determined; finally, the interactive behavior model corresponding to the behavior pattern is trained using each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern.

[0212] In an optional embodiment, the target interaction type includes one or more of vehicle following, vehicle cutting in, ramp merging, or collision interaction.

[0213] In an optional embodiment, the behavior mode includes one or more of changing lanes to the left, changing lanes to the right, keeping lanes, merging smoothly or merging aggressively.

[0214] For the concepts, explanations, detailed descriptions and other steps involved in the device 800 for generating simulation scene data and related to the technical solutions of the computing device provided in the embodiment of the present application, please refer to the descriptions of these contents in the aforementioned method or other embodiments, which will not be repeated here.

[0215] Based on the above embodiments and the same concept, FIG9 is a schematic diagram of another device for generating simulation scene data provided in an embodiment of the present application. The device for generating simulation scene data 900 can illustratively be the device for generating simulation scene data described in any of the above embodiments, or can be a chip or circuit, such as a chip or circuit that can be provided in the device for generating simulation scene data. The device for generating simulation scene data 900 can implement the steps performed by the computing device in the method corresponding to any one or more of the above-mentioned items 2 to 6.

[0216] As shown in Figure 9, the simulation scenario data generation device 900 may include an acquisition unit 901, a generalization unit 902, and a conversion unit 903. The acquisition unit 901 is used to acquire drive test data collected when an autonomous vehicle is tested on a real road; the generalization unit 902 is used to generalize the drive test data to traffic scenarios to obtain generalized drive test data; and the conversion unit 903 is used to convert obstacle behaviors in the generalized drive test data into interactive behaviors to obtain simulation scenario data.

[0217] In some embodiments, the simulation scene data generation device 900 may further include a model generation unit 904, which is used to: obtain historical road test data collected when historical autonomous driving vehicles conduct driving tests on real roads, and extract traffic scene features corresponding to each interaction type from the historical road test data, and train a traffic scene generalization model based on the traffic scene features corresponding to various interaction types.

[0218] In some embodiments, the simulation scene data generation device 900 may further include a model generation unit 904, which is used to: first, obtain historical road test data collected when the historical autonomous driving vehicle was tested on a real road; then, determine the behavior pattern of each dynamic obstacle in the historical road test data; thereafter, slice the historical road test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical road test data corresponding to at least one interaction type; furthermore, obtain all first historical time segments containing the same interaction type from at least one first historical time segment, and train a behavior model allocator based on all first historical time segments containing the same interaction type and the behavior pattern of the dynamic obstacle in each first historical time segment.

[0219] In some embodiments, the simulation scene data generation device 900 may further include a model generation unit 904, which is used to: first, obtain historical road test data collected when the historical autonomous driving vehicle was tested on a real road; then, slice the historical road test data based on dynamic obstacles to obtain at least one second historical time segment, wherein each second historical time segment contains historical road test data corresponding to at least one dynamic obstacle; then, determine the behavior pattern of the dynamic obstacle contained in each second historical time segment; finally, use each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern to train an interactive behavior model corresponding to the behavior pattern.

[0220] During implementation, the acquisition unit 901 acquires the road test data collected by the autonomous driving vehicle by interacting with the autonomous driving vehicle. The acquisition unit 901 can be a receiving unit, a receiver, an input interface, a pin or a circuit. When the device 900 for generating simulation scene data includes a storage unit, the storage unit is used to store computer instructions, and the acquisition unit 901, the generalization unit 902, the conversion unit 903 and the model generation unit 904 are respectively communicated with the storage unit and respectively execute the computer instructions stored in the storage unit, so that the device 900 for generating simulation scene data can be used to execute the method executed by the computing device in any of the above embodiments. Among them, the acquisition unit 901, the generalization unit 902, the conversion unit 903 and the model generation unit 904 can be a general-purpose central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC). The storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the simulation scene data generation device 900, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0221] For the concepts, explanations, detailed descriptions and other steps involved in the device 900 for generating simulation scene data and related to the technical solution provided in the embodiment of the present application, please refer to the description of these contents in the aforementioned method or other embodiments, which will not be repeated here.

[0222] It should be understood that the division of the units of the above-mentioned simulation scene data generation device 900 is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into a physical entity, or they can be physically separated. In the embodiment of the present application, the acquisition unit 901, the generalization unit 902, the conversion unit 903, and the model generation unit 904 can be implemented by the processor 801 of Figure 8 above.

[0223] Based on the foregoing, the present application also provides a computing device, which includes a processor connected to a memory, the memory being used to store computer programs, and the processor being used to execute the computer programs stored in the memory, so that the computing device implements the method described in any one of the embodiments in Figures 2 to 6.

[0224] According to the foregoing, the present application further provides a computing device comprising a processor and a memory, wherein the memory is used to store computer program instructions, and the processor is used to execute the computer program instructions to implement the method described in any one of the embodiments in FIG. 2 to FIG. 6 .

[0225] According to the above content, the present application also provides a chip, which includes a processor and an interface, and the processor is used to read instructions through the interface to execute the method described in any one of the embodiments in Figures 2 to 6.

[0226] Based on the foregoing content, the present application also provides an autonomous driving test system, including the foregoing computing device and an autonomous driving vehicle.

[0227] According to the foregoing, the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method described in any one of the embodiments in Figures 2 to 6 is implemented.

[0228] According to the foregoing content, the present application further provides a computer program product, which, when executed on a processor, implements the method described in any one of the embodiments in FIG. 2 to FIG. 6 .

[0229] As used in this specification, the terms "component," "unit," "system," and the like are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on one computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).

[0230] Those skilled in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented 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 beyond the scope of this application.

[0231] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0232] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0233] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0234] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0235] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0236] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for generating simulation scene data, characterized in that: include: Obtaining road test data collected when autonomous driving vehicles are tested on real roads; Generalizing the traffic scene of the drive test data to obtain generalized drive test data; The obstacle behaviors in the generalized drive test data are transformed into interactive behaviors to obtain simulation scene data.

2. The method according to claim 1, characterized in that The generalizing the traffic scene data to obtain the generalized drive test data includes: According to the traffic scene generalization condition from the user, the traffic scene data is generalized to obtain the generalized drive test data.

3. The method according to claim 2, characterized in that The traffic scene generalization conditions include one or more of traffic density, vehicle speed, road topology, pedestrian density, and pedestrian walking speed.

4. The method according to claim 2 or 3, characterized in that The generalizing the traffic scene data according to the traffic scene generalization condition from the user to obtain the generalized drive test data includes: receiving the traffic scene generalization condition from the user; Inputting the drive test data and the traffic scene generalization condition into a traffic scene generalization model, and obtaining the generalized drive test data output by the traffic scene generalization model; The generalized drive test data is obtained by generalizing the traffic scene information in the drive test data using the traffic scene generalization condition by the traffic scene generalization model.

5. The method according to claim 4, characterized in that The step of inputting the drive test data and the traffic scene generalization condition into a traffic scene generalization model, and obtaining the generalized drive test data output by the traffic scene generalization model, comprises: Slicing the drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one time segment, wherein each time segment contains at least one drive test data corresponding to the interaction type; Inputting each time segment and the traffic scene generalization condition into the traffic scene generalization model to obtain generalized drive test data corresponding to each time segment output by the traffic scene generalization model; The generalized drive test data corresponding to each time segment includes a dynamic obstacle that realizes the interaction type corresponding to each time segment and one or more other dynamic obstacles.

6. The method according to claim 4 or 5, characterized in that The traffic scene generalization model is trained in the following way: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Traffic scene features corresponding to each of the interaction types are extracted from the historical road test data, and the traffic scene generalization model is trained based on the traffic scene features corresponding to the various interaction types.

7. The method according to any one of claims 1 to 6, characterized in that The step of converting the obstacle behavior in the generalized drive test data into an interactive behavior includes: The behaviors of key dynamic obstacles located around the autonomous vehicle are transformed into interactive behaviors.

8. The method according to any one of claims 1 to 7, characterized in that The step of converting the obstacle behavior in the generalized drive test data into an interactive behavior includes: Predicting the probability distribution of the dynamic obstacle in the generalized drive test data under various behavior modes, assigning a target behavior mode to the dynamic obstacle according to the probability distribution, and replacing the behavior data of the dynamic obstacle with an interactive behavior model corresponding to the target behavior mode.

9. The method according to claim 8, characterized in that The predicting the probability distribution of the dynamic obstacles in the generalized drive test data under various behavior modes includes: According to the interaction type generalization condition from the user, the probability distribution of the dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition is predicted.

10. The method according to claim 9, characterized in that The predicting, based on the interaction type generalization condition from the user, the probability distribution of the dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition includes: receiving the interaction type generalization condition from the user, wherein the interaction type generalization condition includes a target interaction type; The generalized drive test data and the target interaction type are input into a behavior model distributor, and the probability distribution of the dynamic obstacle in various behavior modes corresponding to the target interaction type output by the behavior model distributor is obtained.

11. The method according to claim 10, characterized in that The behavior model allocator is trained in the following way: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Determining a behavior pattern of each of the dynamic obstacles in the historical drive test data; Slicing the historical drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical drive test data corresponding to at least one interaction type; All first historical time segments containing the same interaction type are obtained from the at least one first historical time segment, and the behavior model allocator is trained according to the behavior patterns of all first historical time segments containing the same interaction type and the dynamic obstacles in each first historical time segment.

12. The method according to any one of claims 8 to 11, characterized in that The interactive behavior model is trained in the following way: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Slicing the historical drive test data based on the dynamic obstacle to obtain at least one second historical time segment, wherein each second historical time segment contains at least one historical drive test data corresponding to a dynamic obstacle; Determining a behavior pattern of the dynamic obstacle contained in each second historical time segment; The interactive behavior model corresponding to the behavior pattern is obtained by training each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern.

13. The method according to any one of claims 8 to 12, characterized in that The method satisfies one or more of the following conditions: The target interaction types include vehicle following, vehicle cutting in, ramp merging or collision interaction; The behavior modes include changing lane left, changing lane right, keeping lane, merging smoothly or merging aggressively.

14. A device for generating simulation scene data, characterized in that: include: An acquisition unit, used to acquire road test data collected when the autonomous driving vehicle is tested on a real road; A generalization unit, used to generalize the drive test data according to traffic scenarios to obtain generalized drive test data; The conversion unit is used to convert the obstacle behavior in the generalized drive test data into an interactive behavior to obtain simulation scene data.

15. The device according to claim 14, characterized in that The generalization unit is specifically used for: According to the traffic scene generalization condition from the user, the traffic scene data is generalized to obtain the generalized drive test data.

16. The device according to claim 14, characterized in that The traffic scene generalization conditions include one or more of traffic density, vehicle speed, road topology, pedestrian density, and pedestrian walking speed.

17. The device according to claim 15 or 16, characterized in that The generalization unit is specifically used for: receiving the traffic scene generalization condition from the user; Inputting the drive test data and the traffic scene generalization condition into a traffic scene generalization model, and obtaining the generalized drive test data output by the traffic scene generalization model; The generalized drive test data is obtained by generalizing the traffic scene information in the drive test data using the traffic scene generalization condition by the traffic scene generalization model.

18. The device according to claim 17, characterized in that The generalization unit is specifically used for: Slicing the drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one time segment, wherein each time segment contains at least one drive test data corresponding to the interaction type; Inputting each time segment and the traffic scene generalization condition into the traffic scene generalization model to obtain generalized drive test data corresponding to each time segment output by the traffic scene generalization model; The generalized drive test data corresponding to each time segment includes a dynamic obstacle that realizes the interaction type corresponding to the time segment and one or more other dynamic obstacles.

19. The device according to claim 17 or 18, characterized in that Also includes a model generation unit; The model generation unit is used for: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Traffic scene features corresponding to each of the interaction types are extracted from the historical road test data, and the traffic scene generalization model is trained based on the traffic scene features corresponding to the various interaction types.

20. The device according to any one of claims 14 to 19, characterized in that The conversion unit is specifically used for: The behaviors of key dynamic obstacles located around the autonomous vehicle are transformed into interactive behaviors.

21. The device according to any one of claims 14 to 20, characterized in that The conversion unit is specifically used for: Predicting the probability distribution of the dynamic obstacle in the generalized drive test data under various behavior modes, assigning a target behavior mode to the dynamic obstacle according to the probability distribution, and replacing the behavior data of the dynamic obstacle with an interactive behavior model corresponding to the target behavior mode.

22. The device according to claim 21, characterized in that The conversion unit is specifically used for: According to the interaction type generalization condition from the user, the probability distribution of the dynamic obstacles in the generalized drive test data under various behavior modes corresponding to the interaction type generalization condition is predicted.

23. The device according to claim 22, characterized in that The conversion unit is specifically used for: receiving the interaction type generalization condition from the user, wherein the interaction type generalization condition includes a target interaction type; The generalized drive test data and the target interaction type are input into a behavior model distributor, and the probability distribution of the dynamic obstacle in various behavior modes corresponding to the target interaction type output by the behavior model distributor is obtained.

24. The device according to claim 23, characterized in that Also includes a model generation unit; The model generation unit is used for: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Determining a behavior pattern of each of the dynamic obstacles in the historical drive test data; Slicing the historical drive test data based on the interaction type between the dynamic obstacle and the autonomous driving vehicle to obtain at least one first historical time segment, wherein each first historical time segment contains historical drive test data corresponding to at least one interaction type; All first historical time segments containing the same interaction type are obtained from the at least one first historical time segment, and the behavior model allocator is trained according to the behavior patterns of all first historical time segments containing the same interaction type and the dynamic obstacles in each first historical time segment.

25. The device according to any one of claims 21 to 24, characterized in that Also includes a model generation unit; The model generation unit is used for: Obtain historical road test data collected when the autonomous driving vehicle was tested on real roads; Slicing the historical drive test data based on the dynamic obstacle to obtain at least one second historical time segment, wherein each second historical time segment contains at least one historical drive test data corresponding to a dynamic obstacle; Determining a behavior pattern of the dynamic obstacle contained in each second historical time segment; The interactive behavior model corresponding to the behavior pattern is obtained by training each second historical time segment corresponding to each dynamic obstacle containing the same behavior pattern.

26. The device according to any one of claims 21 to 25, characterized in that The target interaction type includes vehicle following, vehicle cutting in, ramp merging or collision interaction; and / or, The behavior modes include changing lane left, changing lane right, keeping lane, merging smoothly or merging aggressively.

27. A computing device, characterized in that The computer comprises a processor and a memory, wherein the processor is coupled to the memory, and the processor is configured to execute a computer program stored in the memory, so that the computing device executes the method according to any one of claims 1 to 13.

28. A chip, characterized in that: The invention comprises a processor and an interface, wherein the processor is used to read instructions through the interface to execute the method as claimed in any one of claims 1 to 13.

29. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 13 is implemented.

30. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a communication device, implements the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Automatic driving simulation scene reconstruction method and device, equipment and medium

    CN111625950A

  • Simulation traffic scene file generation method and device

    CN112567374A

  • Method and system for generating simulated traffic scene file

    CN114936515A

Cited By

  • Automatic driving simulation method and device based on real traffic data set

    CN119312672A

  • Valet parking test method and system based on indoor and outdoor fusion positioning and interference target generalization control

    CN119334660A

  • Claim settlement intention identification method and device, computer equipment and storage medium

    CN119514556A

  • Neural network model training method based on virtual reality and simulation and related equipment

    CN120337786A

  • Dangerous scene generalization generation method for automatic driving test

    CN120763043A