Intelligent driving simulation scene complexity quantification method, device and equipment

By analyzing and classifying each frame in the simulation scene video, the complexity of the simulation scene is calculated, which solves the problem of being unable to quantify the complexity of the simulation scene in the existing technology, improves the matching between test cases and simulation scenes, and ensures that the test the reasonableness of the conditions.

CN118628897APending Publication Date: 2024-09-10VOYAH AUTOMOBILE TECH CO LTD

Patent Information

Application Number
CN202410862211.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot effectively quantify the complexity of simulation scenarios, resulting in a mismatch between test cases and simulation scenarios, which may result in too harsh or insufficient test conditions.

Method used

By analyzing each frame in the simulation scene video, basic elements are extracted and classified into static and dynamic scene elements, the complexity of the static and dynamic scenes is calculated, and then the overall complexity of the simulation scene is determined, and the scene is classified according to the complexity. Classify.

Benefits of technology

It achieves quantitative measurement of the complexity of simulation scenarios, improves the matching degree between test cases and simulation scenarios, and avoids overly harsh or insufficient test conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628897A
    Figure CN118628897A
Patent Text Reader

Abstract

The invention discloses an intelligent driving simulation scene complexity quantification method, device and equipment, and the method comprises the steps: analyzing each frame of picture in a simulation scene video, extracting basic elements of a simulation scene in each frame of picture, and state information between each basic element and a vehicle; classifying basic elements in each frame of picture into static scene elements or dynamic scene elements; calculating the complexity of the static scene according to the static scene elements and the corresponding weight scores, and calculating the complexity of the dynamic scene according to the dynamic scene elements and the state information between the dynamic scene elements and the vehicle so as to determine the complexity of the simulation scene of each frame of picture and further obtain the complete complexity of the simulation scene; the simulation scenes are classified according to the complete simulation scene complexity, the real-time quantitative calculation of the simulation scene complexity is realized, and the simulation scenes are classified according to the quantitative result, so that the matching degree of the simulation scenes and the test cases is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle intelligent simulation testing, and specifically to a method, device and equipment for quantifying the complexity of intelligent driving simulation scenarios. Background Art

[0002] With the popularity of smart driving cars, people have put forward higher performance requirements for smart driving algorithms. During the development process of smart driving algorithms, a large number of tests need to be carried out according to design requirements, and most of these tests are carried out in the form of simulation tests.

[0003] Different test cases often correspond to simulation scenarios of different complexity. If a test case is tested in a simulation scenario that is too complex, the test conditions may be too harsh and the test may fail. If a test case is tested in a simulation scenario that is too simple, the test may be insufficient. Therefore, the test case needs to be simulated in a scenario with an appropriate degree of complexity.

[0004] Therefore, how to quantitatively measure the complexity of simulation scenarios is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a method, device and equipment for quantifying the complexity of intelligent driving simulation scenarios, which can solve the technical problem in the prior art that the complexity of simulation scenarios cannot be quantified, resulting in a mismatch between the complexity of simulation scenarios and test cases.

[0006] In a first aspect, an embodiment of the present application provides a method for quantifying the complexity of an intelligent driving simulation scenario, and the method for quantifying the complexity of an intelligent driving simulation scenario includes:

[0007] Analyze each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame, as well as the status information between each basic element and the vehicle;

[0008] Classify the basic elements in each frame into static scene elements or dynamic scene elements;

[0009] The static scene complexity is calculated based on the static scene elements and their corresponding weight scores, and the dynamic scene complexity is calculated based on the dynamic scene elements and the state information between them and the vehicle, so as to determine the simulation scene complexity of each frame, and then obtain the complete simulation scene complexity;

[0010] The simulation scenarios are classified according to the complexity of the complete simulation scenario.

[0011] In one implementation, each frame of the simulation scene video is analyzed to extract basic elements of the simulation scene in each frame, as well as status information between each basic element and the vehicle, including:

[0012] Running the simulation scene in the scene simulation software to generate a simulation scene video;

[0013] Perform image segmentation, object detection, feature extraction and machine learning on each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame;

[0014] The speed, distance and angle information between each basic element and the vehicle are determined based on each frame.

[0015] In one embodiment, the basic elements in each frame are classified as static scene elements or dynamic scene elements, and further include:

[0016] The immovable basic elements are classified according to the static scene types and classified as static scene elements, where the static scene types include road sections, lanes, road traffic signs, road traffic lines, traffic lights, road facilities and weather;

[0017] The movable basic elements are classified according to dynamic scene types and assigned to dynamic scene elements, where the dynamic scene types include road participants.

[0018] In one embodiment, the static scene complexity is calculated based on the static scene elements and their corresponding weight scores, including:

[0019] The static scene elements are hierarchically sorted, and the static scene complexity coefficient is determined according to the probability of the static scene elements appearing in the hierarchical sorting;

[0020] The static scene complexity is calculated according to the static scene complexity coefficient, the weight scores of each static scene type, and the weight scores of the basic elements in each static scene type:

[0021] C 0 =λ×(α 1 ΣX 1 +α 2 ΣX 2 …+α n ΣX n )

[0022] Among them, C 0 is the complexity of the static scene, λ is the complexity coefficient of the static scene, α n For static scene type X n The corresponding weight score, X n is the weight score of the nth basic element in the static scene type.

[0023] In one embodiment, the dynamic scene complexity is calculated based on the dynamic scene elements and the state information between the dynamic scene elements and the vehicle, including:

[0024] Calculate the vehicle attributes based on the vehicle's speed, the distance between the vehicle and the traffic participants, and the angle between the vehicle and the traffic participants;

[0025] Calculate the attributes of dynamic scene elements in the simulation scene according to the speed of the traffic participant, the distance between the vehicle and the traffic participant, and the preset traffic participant attribute constants;

[0026] According to the attributes of the vehicle and the dynamic scene elements, the complexity of the dynamic scene is calculated:

[0027]

[0028] Among them, C 1 is the complexity of the dynamic scene, K 1 is the vehicle attribute, K i It is the attribute of the i-th dynamic scene element in the scene.

[0029] In one implementation, the static scene complexity and the dynamic scene complexity of each frame are multiplied to obtain the simulation scene complexity of each frame;

[0030] The complexity of the simulation scene of each frame in the simulation scene video is added together to obtain the complexity of the complete simulation scene.

[0031] In one embodiment, the simulation scenarios are classified according to the complexity of the complete simulation scenarios, including:

[0032] If the complexity of the complete simulation scene is less than a preset first complexity threshold, classifying the simulation scene as a simple simulation scene;

[0033] If the complexity of the complete simulation scene is greater than or equal to a preset first complexity threshold and less than a preset second complexity threshold, the simulation scene is classified as a medium simulation scene;

[0034] If the complexity of the complete simulation scene is greater than or equal to a preset second complexity threshold and less than a preset third complexity threshold, the simulation scene is classified as a complex simulation scene;

[0035] If the complexity of the complete simulation scenario is greater than or equal to a preset third complexity threshold and less than a preset fourth complexity threshold, the simulation scenario is classified as an extreme simulation scenario;

[0036] Among them, the values ​​of the first complexity threshold, the second complexity threshold, the third complexity threshold and the fourth complexity threshold increase in sequence.

[0037] In one embodiment, after determining the complexity of the simulation scene of each frame, the method further includes:

[0038] The simulation scene complexity of each frame in the simulation scene video is sorted to obtain the maximum complexity frame and the minimum complexity frame in the simulation scene.

[0039] In a second aspect, an embodiment of the present application provides a device for quantifying the complexity of an intelligent driving simulation scene, the device for quantifying the complexity of an intelligent driving simulation scene comprising:

[0040] An extraction module is used to analyze each frame of the simulation scene video, extract the basic elements of the simulation scene in each frame, and the status information between each basic element and the vehicle;

[0041] A classification module, which is used to classify the basic elements in each frame into static scene elements or dynamic scene elements;

[0042] A calculation module is used to calculate the complexity of the static scene according to the static scene elements and their corresponding weight scores, and to calculate the complexity of the dynamic scene according to the dynamic scene elements and the state information between the dynamic scene elements and the vehicle, so as to determine the complexity of the simulation scene of each frame, and then obtain the complexity of the complete simulation scene;

[0043] The classification module is used to classify the simulation scenarios according to the complexity of the complete simulation scenarios.

[0044] In conjunction with the second aspect, in one implementation, the extraction module is further used to:

[0045] Running the simulation scene in the scene simulation software to generate a simulation scene video;

[0046] Perform image segmentation, object detection, feature extraction and machine learning on each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame;

[0047] The speed, distance and angle information between each basic element and the vehicle are determined based on each frame.

[0048] In one embodiment, the classification module is further used for:

[0049] The immovable basic elements are classified according to the static scene types and classified as static scene elements, where the static scene types include road sections, lanes, road traffic signs, road traffic lines, traffic lights, road facilities and weather;

[0050] The movable basic elements are classified according to dynamic scene types and assigned to dynamic scene elements, where the dynamic scene types include road participants.

[0051] In one embodiment, the calculation module is further used for:

[0052] The static scene elements are hierarchically sorted, and the static scene complexity coefficient is determined according to the probability of the static scene elements appearing in the hierarchical sorting;

[0053] The static scene complexity is calculated according to the static scene complexity coefficient, the weight scores of each static scene type, and the weight scores of the basic elements in each static scene type:

[0054] C 0 =λ×(α 1 ΣX 1 +α 2 ΣX 2 …+α n ΣX n )

[0055] Among them, C 0 is the complexity of the static scene, λ is the complexity coefficient of the static scene, α n For static scene type X n The corresponding weight score, X n is the weight score of the nth basic element in the static scene type.

[0056] In one embodiment, the calculation module is further used for:

[0057] Calculate the vehicle attributes based on the vehicle's speed, the distance between the vehicle and the traffic participants, and the angle between the vehicle and the traffic participants;

[0058] Calculate the attributes of dynamic scene elements in the simulation scene according to the speed of the traffic participant, the distance between the vehicle and the traffic participant, and the preset traffic participant attribute constants;

[0059] According to the attributes of the vehicle and the dynamic scene elements, the complexity of the dynamic scene is calculated:

[0060]

[0061] Among them, C 1 is the complexity of the dynamic scene, K 1 is the vehicle attribute, K i It is the attribute of the i-th dynamic scene element in the scene.

[0062] In one embodiment, the calculation module is further used for:

[0063] Multiply the static scene complexity and the dynamic scene complexity of each frame to obtain the simulation scene complexity of each frame;

[0064] The complexity of the simulation scene of each frame in the simulation scene video is added together to obtain the complexity of the complete simulation scene.

[0065] In one embodiment, the classification module is further configured to:

[0066] If the complexity of the complete simulation scene is less than a preset first complexity threshold, classifying the simulation scene as a simple simulation scene;

[0067] If the complexity of the complete simulation scene is greater than or equal to a preset first complexity threshold and less than a preset second complexity threshold, the simulation scene is classified as a medium simulation scene;

[0068] If the complexity of the complete simulation scene is greater than or equal to a preset second complexity threshold and less than a preset third complexity threshold, the simulation scene is classified as a complex simulation scene;

[0069] If the complexity of the complete simulation scenario is greater than or equal to a preset third complexity threshold and less than a preset fourth complexity threshold, the simulation scenario is classified as an extreme simulation scenario;

[0070] Among them, the values ​​of the first complexity threshold, the second complexity threshold, the third complexity threshold and the fourth complexity threshold increase in sequence.

[0071] In one embodiment, the device is also used to:

[0072] After determining the complexity of the simulation scene of each frame, the complexity of the simulation scene of each frame in the simulation scene video is sorted to obtain the maximum complexity frame and the minimum complexity frame in the simulation scene.

[0073] In the third aspect, an embodiment of the present application provides an intelligent driving simulation scene complexity quantification device, which includes a processor, a memory, and an intelligent driving simulation scene complexity quantification program stored in the memory and executable by the processor, wherein when the intelligent driving simulation scene complexity quantification program is executed by the processor, the steps of the intelligent driving simulation scene complexity quantification method as described in any one of the above items are implemented.

[0074] The embodiments of the present application provide a method, device and equipment for quantifying the complexity of intelligent driving simulation scenes. By analyzing each frame in the simulation scene video, the basic elements of the simulation scene in each frame and the status information between each basic element and the vehicle are extracted; the basic elements in each frame are classified as static scene elements or dynamic scene elements; the static scene complexity is calculated according to the static scene elements and their corresponding weight scores, and the dynamic scene complexity is calculated according to the dynamic scene elements and the status information between the vehicle and the vehicle, so as to determine the simulation scene complexity of each frame, and then obtain the complexity of the complete simulation scene; the simulation scenes are classified according to the complexity of the complete simulation scene, so as to realize the real-time quantitative calculation of the complexity of the simulation scenes, and the simulation scenes are classified according to the quantification results, so as to improve the matching degree between the simulation scenes and the test cases. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 This is a flow chart of an embodiment of a method for quantifying the complexity of intelligent driving simulation scenarios of the present application;

[0076] Figure 2 Schematic diagram of the components of the simulation scenario complexity quantification system.

[0077] Figure 3 It is a schematic diagram of the specific process of the method for quantifying the complexity of simulation scenarios;

[0078] Figure 4 This is a functional module diagram of an embodiment of a device for quantifying complexity of intelligent driving simulation scenarios of the present application;

[0079] Figure 5 This is a schematic diagram of the hardware structure of the intelligent driving simulation scene complexity quantification device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0080] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution 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, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0081] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0082] In a first aspect, an embodiment of the present application provides a method for quantifying the complexity of an intelligent driving simulation scenario.

[0083] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for quantifying the complexity of intelligent driving simulation scenarios in this application. Figure 1 As shown in the figure, the intelligent driving simulation scenario complexity quantification method includes:

[0084] Step S101: Analyze each frame of the simulation scene video to extract basic elements of the simulation scene in each frame, as well as status information between each basic element and the vehicle.

[0085] Specifically, Figures 2 to 3 As shown, the simulation scene of intelligent driving is run in the scene software to generate a simulation scene video. In this embodiment, VTD (Virtual Test Drive) scene simulation software is used to run the simulation scene. The simulation software can realize the simulation of almost any test scene, and can effectively avoid the problems of difficult scene reproduction and high degree of scene danger in real vehicle testing. During the simulation, the image generation IG (Image Generator) interface of VTD will display the real-time scene rendering screen to generate a simulation scene video.

[0086] When the simulation scene in VTD is running, the rendered video frames in the IG interface are captured, and the video data is processed frame by frame. The image processing module loops through the images of each frame of the simulation video based on the cross-platform computer vision library OpenCV vision technology, and each frame is processed and analyzed. Image processing includes image segmentation, object detection, feature extraction, and machine learning for each frame of the simulation scene video, extracting the basic elements of the simulation scene in each frame, and using image processing algorithms to perform object detection and distance measurement on each frame, thereby obtaining the speed, distance, angle and other status information between each basic element in each frame and the vehicle.

[0087] Step S102: Classify the basic elements in each frame into static scene elements or dynamic scene elements.

[0088] Specifically, the immovable basic elements are classified according to the static scene types and classified as static scene elements, where the static scene types include road sections, lanes, road traffic signs, road traffic lines, traffic lights, road facilities and weather.

[0089] Among them, the road sections include basic elements such as one-way, two-way, three-way and four-way; the lanes include basic elements such as single lane, two lanes and four lanes; the road traffic signs include basic elements such as warning signs, prohibition signs, direction signs, road signs, construction signs, auxiliary signs; the road traffic markings include basic elements such as direction markings, prohibition markings, warning markings, etc.; the traffic lights include basic elements such as motor vehicle lights, non-motor vehicle lights, pedestrian crossing lights, direction indicator lights, lane lights, flashing warning lights, road and railway platform intersection lights; the road facilities include basic elements such as toll stations, bus stops, speed bumps, parking lots, charging stations, gas stations, cones, etc.; the weather includes basic elements such as day, night, sunny, rain, snow and fog.

[0090] The movable basic elements are classified according to the dynamic scene types and classified into dynamic scene elements, where the dynamic scene types include road participants. Among them, the road participants include basic elements such as pedestrians, animals, and vehicles.

[0091] Step S103, calculate the static scene complexity according to the static scene elements and their corresponding weight scores, and calculate the dynamic scene complexity according to the dynamic scene elements and the state information between them and the vehicle, so as to determine the simulation scene complexity of each frame, and then obtain the complete simulation scene complexity.

[0092] It is worth noting that when calculating the complexity of the static scene based on the static scene elements and their corresponding weight scores, the static scene complexity is specifically calculated based on the weight scores of the static scene types in the static scene elements and the weight scores of each basic element. Therefore, the weight scores of each static scene type under the static scene elements and the weight scores of each basic element in each static scene type can be determined in advance. The weight scores of each static scene type and the weight scores of each basic element can be scored by the tester according to the test requirements. The weight scores of each static scene type and each basic element in the static scene elements are shown in Table 1.

[0093] Table 1 Weight score table of static scene elements

[0094]

[0095] After determining the weight scores of each static scene type and each basic element of the static scene elements, the complexity of the static scene can be calculated.

[0096] Specifically, the static scene complexity is calculated based on the information entropy theory, based on which simulation information can be quantitatively described. First, the static scene elements are hierarchically sorted, and the elements appearing in the hierarchical sorting diagram are regarded as constituent nodes. The number of inputs and outputs of each node is counted, and the static scene complexity coefficient is calculated based on the probability of the static scene elements appearing in the hierarchical sorting:

[0097]

[0098] Among them, λ is the complexity coefficient of the static scene, p i is the probability of occurrence of static scene elements in hierarchical sorting.

[0099] Next, the static scene complexity is calculated according to the static scene complexity coefficient, the weight scores of each static scene type, and the weight scores of the basic elements in each static scene type:

[0100] C 0 =λ×(α 1 ΣX 1 +α 2 ΣX 2 …+α n ΣX n )

[0101] Among them, C 0 is the complexity of the static scene, λ is the complexity coefficient of the static scene, α n For static scene type X n The corresponding weight score, X n is the weight score of the nth basic element in the static scene type.

[0102] Furthermore, the calculation of dynamic scene complexity is based on the gravity model theory. The speed, distance, angle and other parameters between the vehicle and the traffic participants are used as model variables to construct a dynamic scene complexity calculation model. The dynamic scene complexity is calculated according to the dynamic scene elements and the state information between the dynamic scene elements and the vehicle, including the following steps:

[0103] The vehicle attributes are calculated based on the vehicle's speed, the distance between the vehicle and the traffic participants, and the angle between the vehicle and the traffic participants:

[0104]

[0105] Among them, v 0 is the speed of the vehicle, d 0 is the distance between the ego vehicle and the traffic participant, and θ is the angle between the ego vehicle and the traffic participant.

[0106] The dynamic scene element attributes in the simulation scene are calculated based on the speed of the traffic participant, the distance between the vehicle and the traffic participant, and the preset traffic participant attribute constants:

[0107]

[0108] Among them, v i is the speed of the traffic participant, d 0 is the distance between the vehicle and the traffic participant, b is the traffic participant attribute constant, K i is the attribute of the ith dynamic scene element in the scene. Among them, the traffic participant attribute constant can be assigned according to the type of participant, for example, the attribute constant of a car is 0.65, the attribute constant of a truck is 1.78, and the attribute constant of a bus is 2.12.

[0109] According to the attributes of the vehicle and the dynamic scene elements, the complexity of the dynamic scene is calculated:

[0110]

[0111] Among them, C 1 is the complexity of the dynamic scene, K 1 is the vehicle attribute, K i It is the attribute of the i-th dynamic scene element in the scene.

[0112] Furthermore, after calculating the static scene complexity and the dynamic scene complexity, the static scene complexity and the dynamic scene complexity of each frame are multiplied to obtain the simulated scene complexity of each frame, that is, the calculation formula is: simulated scene complexity of each frame = static scene complexity * dynamic scene complexity.

[0113] After obtaining the inverse scene complexity of each frame, the simulation scene complexity of each frame in the simulation scene video is added together to obtain the complete simulation scene complexity, that is, the complexity of the simulation scene in the entire simulation scene video.

[0114] Step S104: classify the simulation scenes according to the complexity of the complete simulation scenes.

[0115] After obtaining the complexity of the complete simulation scene, the simulation scene can be classified according to the value of the complexity of the complete simulation scene.

[0116] Specifically, if the complexity of the complete simulation scene is less than the preset first complexity threshold, the simulation scene is classified as a simple simulation scene; if the complexity of the complete simulation scene is greater than or equal to the preset first complexity threshold and less than the preset second complexity threshold, the simulation scene is classified as a medium simulation scene; if the complexity of the complete simulation scene is greater than or equal to the preset second complexity threshold and less than the preset third complexity threshold, the simulation scene is classified as a complex simulation scene; if the complexity of the complete simulation scene is greater than or equal to the preset third complexity threshold and less than the preset fourth complexity threshold, the simulation scene is classified as an extreme simulation scene. Among them, the values ​​of the first complexity threshold, the second complexity threshold, the third complexity threshold and the fourth complexity threshold increase in sequence, and their values ​​can be set according to the actual simulation test requirements.

[0117] As a preferred implementation, after determining the simulation scene complexity of each frame, it also includes: sorting the simulation scene complexity of each frame in the simulation scene video, obtaining the maximum complexity frame and minimum complexity frame in the simulation scene, so as to accurately quantify each scene in the simulation test process.

[0118] After classifying the simulation scenarios, the difficulty of the scenarios can be matched with the difficulty of the test cases, so as to carry out the simulation test work more reasonably.

[0119] The intelligent driving simulation scene complexity quantification method provided in the embodiment of the present application has the following beneficial effects: the present application uses the scene simulation software VTD to build the scene and quantify the complexity of the simulation scene. The built scene has high realism, which can avoid the problems of difficulty in reproducing the actual vehicle test scene and high risk of the test scene, and can improve the coverage of scene complexity calculation; the present application uses computer vision technology to automatically obtain static scene element information and dynamic scene element information of each frame, which is more efficient and reliable than manual information extraction; in the present application, the simulation scene picture is transmitted to the image processing module in real time, and the scene complexity of each frame of the output picture is calculated in real time, so as to obtain the scene complexity calculation result in the entire simulation time domain, and the maximum value and extreme value of the scene complexity can be extracted, and then the quantization result can be determined as required, and the quantization result is more reasonable and flexible; the complexity quantization theory given in the present application can effectively calculate the simulation scene complexity quantification result, and can provide an effective method for distinguishing the scene complexity.

[0120] In a second aspect, an embodiment of the present application also provides a device for quantifying the complexity of an intelligent driving simulation scenario.

[0121] In one embodiment, referring to Figure 4 , Figure 4 This is a functional module diagram of an embodiment of the intelligent driving simulation scene complexity quantification device of the present application. Figure 4 As shown, the intelligent driving simulation scene complexity quantification device includes:

[0122] An extraction module is used to analyze each frame of the simulation scene video, extract the basic elements of the simulation scene in each frame, and the status information between each basic element and the vehicle;

[0123] A classification module, which is used to classify the basic elements in each frame into static scene elements or dynamic scene elements;

[0124] A calculation module is used to calculate the complexity of the static scene according to the static scene elements and their corresponding weight scores, and to calculate the complexity of the dynamic scene according to the dynamic scene elements and the state information between the dynamic scene elements and the vehicle, so as to determine the complexity of the simulation scene of each frame, and then obtain the complexity of the complete simulation scene;

[0125] The classification module is used to classify the simulation scenarios according to the complexity of the complete simulation scenarios.

[0126] Furthermore, in one embodiment, the extraction module is also used for:

[0127] Running the simulation scene in the scene simulation software to generate a simulation scene video;

[0128] Perform image segmentation, object detection, feature extraction and machine learning on each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame;

[0129] The speed, distance and angle information between each basic element and the vehicle are determined based on each frame.

[0130] Furthermore, in one embodiment, the classification module is also used for:

[0131] The immovable basic elements are classified according to the static scene types and classified as static scene elements, where the static scene types include road sections, lanes, road traffic signs, road traffic lines, traffic lights, road facilities and weather;

[0132] The movable basic elements are classified according to dynamic scene types and assigned to dynamic scene elements, where the dynamic scene types include road participants.

[0133] Furthermore, in one embodiment, the calculation module is also used for:

[0134] The static scene elements are hierarchically sorted, and the static scene complexity coefficient is determined according to the probability of the static scene elements appearing in the hierarchical sorting;

[0135] The static scene complexity is calculated according to the static scene complexity coefficient, the weight scores of each static scene type, and the weight scores of the basic elements in each static scene type:

[0136] C 0 =λ×(α 1 ΣX 1 +α 2 ΣX 2 …+α n ΣX n )

[0137] Among them, C 0 is the complexity of the static scene, λ is the complexity coefficient of the static scene, α n For static scene type X n The corresponding weight score, X n is the weight score of the nth basic element in the static scene type.

[0138] Furthermore, in one embodiment, the calculation module is also used for:

[0139] Calculate the vehicle attributes based on the vehicle's speed, the distance between the vehicle and the traffic participants, and the angle between the vehicle and the traffic participants;

[0140] Calculate the attributes of dynamic scene elements in the simulation scene according to the speed of the traffic participant, the distance between the vehicle and the traffic participant, and the preset traffic participant attribute constants;

[0141] According to the attributes of the vehicle and the dynamic scene elements, the complexity of the dynamic scene is calculated:

[0142]

[0143] Among them, C 1 is the complexity of the dynamic scene, K 1 is the vehicle attribute, K i It is the attribute of the i-th dynamic scene element in the scene.

[0144] Furthermore, in one embodiment, the calculation module is also used for:

[0145] Multiply the static scene complexity and the dynamic scene complexity of each frame to obtain the simulation scene complexity of each frame;

[0146] The complexity of the simulation scene of each frame in the simulation scene video is added together to obtain the complexity of the complete simulation scene.

[0147] Furthermore, in one embodiment, the classification module is also used for:

[0148] If the complexity of the complete simulation scene is less than a preset first complexity threshold, classifying the simulation scene as a simple simulation scene;

[0149] If the complexity of the complete simulation scene is greater than or equal to a preset first complexity threshold and less than a preset second complexity threshold, the simulation scene is classified as a medium simulation scene;

[0150] If the complexity of the complete simulation scene is greater than or equal to a preset second complexity threshold and less than a preset third complexity threshold, the simulation scene is classified as a complex simulation scene;

[0151] If the complexity of the complete simulation scenario is greater than or equal to a preset third complexity threshold and less than a preset fourth complexity threshold, the simulation scenario is classified as an extreme simulation scenario;

[0152] Among them, the values ​​of the first complexity threshold, the second complexity threshold, the third complexity threshold and the fourth complexity threshold increase in sequence.

[0153] Furthermore, in one embodiment, the device is also used for:

[0154] After determining the complexity of the simulation scene of each frame, the complexity of the simulation scene of each frame in the simulation scene video is sorted to obtain the maximum complexity frame and the minimum complexity frame in the simulation scene.

[0155] Among them, the functional implementation of each module in the above-mentioned intelligent driving simulation scene complexity quantification device corresponds to the various steps in the above-mentioned intelligent driving simulation scene complexity quantification method embodiment, and its functions and implementation processes will not be repeated here one by one.

[0156] In a third aspect, an embodiment of the present application provides a device for quantifying the complexity of an intelligent driving simulation scene. The device for quantifying the complexity of an intelligent driving simulation scene may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0157] Reference Figure 5 , Figure 5 Schematic diagram of the hardware structure of the intelligent driving simulation scene complexity quantification device involved in the embodiment of the present application. In the embodiment of the present application, the intelligent driving simulation scene complexity quantification device may include a processor, a memory, a communication interface and a communication bus.

[0158] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0159] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the intelligent driving simulation scene complexity quantification device, and the interface used to realize the interconnection of the intelligent driving simulation scene complexity quantification device with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0160] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0161] The processor may be a general-purpose processor, and the general-purpose processor may call the intelligent driving simulation scene complexity quantification program stored in the memory, and execute the intelligent driving simulation scene complexity quantification method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). Among them, the method executed when the intelligent driving simulation scene complexity quantification program is called may refer to the various embodiments of the intelligent driving simulation scene complexity quantification method of the present application, which will not be repeated here.

[0162] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0163] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0164] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0165] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0166] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of 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. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0167] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0168] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0169] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for quantifying the complexity of intelligent driving simulation scenarios, characterized in that: The intelligent driving simulation scenario complexity quantification method comprises: Analyze each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame, as well as the status information between each basic element and the vehicle; Classify the basic elements in each frame into static scene elements or dynamic scene elements; The static scene complexity is calculated based on the static scene elements and their corresponding weight scores, and the dynamic scene complexity is calculated based on the dynamic scene elements and the state information between them and the vehicle, so as to determine the simulation scene complexity of each frame, and then obtain the complete simulation scene complexity; The simulation scenarios are classified according to the complexity of the complete simulation scenario.

2. The intelligent driving simulation scene complexity quantification method according to claim 1, characterized in that: Analyze each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame, as well as the status information between each basic element and the vehicle, including: Running the simulation scene in the scene simulation software to generate a simulation scene video; Perform image segmentation, object detection, feature extraction and machine learning on each frame of the simulation scene video to extract the basic elements of the simulation scene in each frame; The speed, distance and angle information between each basic element and the vehicle are determined based on each frame.

3. The intelligent driving simulation scene complexity quantification method according to claim 2, characterized in that: The basic elements in each frame are classified as static scene elements or dynamic scene elements, and also include: The immovable basic elements are classified according to the static scene types and classified as static scene elements, where the static scene types include road sections, lanes, road traffic signs, road traffic lines, traffic lights, road facilities and weather; The movable basic elements are classified according to dynamic scene types and assigned to dynamic scene elements, where the dynamic scene types include road participants.

4. The intelligent driving simulation scene complexity quantification method according to claim 3, characterized in that: The static scene complexity is calculated based on the static scene elements and their corresponding weight scores, including: The static scene elements are hierarchically sorted, and the static scene complexity coefficient is determined according to the probability of the static scene elements appearing in the hierarchical sorting; The static scene complexity is calculated according to the static scene complexity coefficient, the weight scores of each static scene type, and the weight scores of the basic elements in each static scene type: C0=λ×(α1ΣX1+α2ΣX2…+α n ΣX n ) Among them, C0 is the complexity of the static scene, λ is the complexity coefficient of the static scene, α n For static scene type X n The corresponding weight score, X n is the weight score of the nth basic element in the static scene type.

5. The intelligent driving simulation scene complexity quantification method according to claim 3, characterized in that: The complexity of the dynamic scene is calculated based on the dynamic scene elements and their state information with the ego vehicle, including: Calculate the vehicle attributes based on the vehicle's speed, the distance between the vehicle and the traffic participants, and the angle between the vehicle and the traffic participants; Calculate the attributes of dynamic scene elements in the simulation scene according to the speed of the traffic participant, the distance between the vehicle and the traffic participant, and the preset traffic participant attribute constants; According to the attributes of the vehicle and the dynamic scene elements, the complexity of the dynamic scene is calculated: Among them, C1 is the complexity of the dynamic scene, K1 is the attribute of the vehicle, and K i It is the attribute of the i-th dynamic scene element in the scene.

6. The intelligent driving simulation scene complexity quantification method according to claim 1, characterized in that: Also includes: Multiply the static scene complexity and the dynamic scene complexity of each frame to obtain the simulation scene complexity of each frame; The complexity of the simulation scene of each frame in the simulation scene video is added together to obtain the complexity of the complete simulation scene.

7. The intelligent driving simulation scene complexity quantification method according to claim 1, characterized in that: The simulation scenarios are classified according to the complexity of the complete simulation scenario, including: If the complexity of the complete simulation scene is less than a preset first complexity threshold, classifying the simulation scene as a simple simulation scene; If the complexity of the complete simulation scene is greater than or equal to a preset first complexity threshold and less than a preset second complexity threshold, the simulation scene is classified as a medium simulation scene; If the complexity of the complete simulation scene is greater than or equal to a preset second complexity threshold and less than a preset third complexity threshold, the simulation scene is classified as a complex simulation scene; If the complexity of the complete simulation scenario is greater than or equal to a preset third complexity threshold and less than a preset fourth complexity threshold, the simulation scenario is classified as an extreme simulation scenario; Among them, the values ​​of the first complexity threshold, the second complexity threshold, the third complexity threshold and the fourth complexity threshold increase in sequence.

8. The intelligent driving simulation scene complexity quantification method according to claim 1, characterized in that: After determining the complexity of the simulation scene for each frame, it also includes: The simulation scene complexity of each frame in the simulation scene video is sorted to obtain the maximum complexity frame and the minimum complexity frame in the simulation scene.

9. A device for quantifying the complexity of intelligent driving simulation scenarios, characterized in that: The intelligent driving simulation scene complexity quantification device comprises: An extraction module is used to analyze each frame of the simulation scene video, extract the basic elements of the simulation scene in each frame, and the status information between each basic element and the vehicle; A classification module, which is used to classify the basic elements in each frame into static scene elements or dynamic scene elements; A calculation module is used to calculate the complexity of the static scene according to the static scene elements and their corresponding weight scores, and to calculate the complexity of the dynamic scene according to the dynamic scene elements and the state information between the dynamic scene elements and the vehicle, so as to determine the complexity of the simulation scene of each frame, and then obtain the complexity of the complete simulation scene; The classification module is used to classify the simulation scenarios according to the complexity of the complete simulation scenarios.

10. An intelligent driving simulation scene complexity quantification device, characterized in that: The intelligent driving simulation scene complexity quantification device includes a processor, a memory, and an intelligent driving simulation scene complexity quantification program stored in the memory and executable by the processor, wherein when the intelligent driving simulation scene complexity quantification program is executed by the processor, the steps of the intelligent driving simulation scene complexity quantification method as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Fire-fighting pipe joint

    CN110925508A

  • Video encoding method and device, equipment and storage medium

    CN112449182A

  • Sealing ring anti-disengaging clamping type female connector and water segregator

    CN213332981U

Cited By

  • Law and regulation simulation test method, device and equipment for intelligent driving algorithm and storage medium

    CN119783609A

  • Control method and system based on wearable intelligent equipment

    CN119960603A

  • A control method and system based on a wearable smart device

    CN119960603B