Test scenario level calculation method, device and computer storage medium

By calculating the complexity, risk and exposure of the test scenario, the level of the autonomous driving test scenario is determined, which solves the problem of unreasonable and unscientific autonomous driving function test evaluation in the existing technology and improves the validity of the test results.

CN113109055BActive Publication Date: 2024-10-25SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010027763.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-10
Publication Date
2024-10-25
Estimated Expiration
2040-01-10

AI Technical Summary

Technical Problem

The existing autonomous driving test scenarios lack appropriate evaluation indicators, resulting in low rationality, scientificity and effectiveness in the autonomous driving function test evaluation.

Method used

By obtaining the parameter set of the test scenario model, the complexity, risk and exposure of the test scenario are calculated, and the level of the test scenario is determined, thereby improving the validity and scientificity of the test scenario results.

Benefits of technology

By calculating the complexity, risk and exposure of the parameter set in the test scenario, the test score coefficient of the vehicle in different test scenarios is determined, thereby improving the grade evaluation index of the test scenario and improving the validity and scientificity of the test scenario results. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113109055B_ABST
    Figure CN113109055B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, and computer storage medium for calculating test scenario levels. The method includes: acquiring a parameter set of a test scenario model; calculating the complexity of the test scenario model based on the parameter set; calculating the hazard level of the test scenario model based on the positional conditions of the vehicle under test and the target vehicle, where the positional conditions include at least one of the following: collision time, braking time, and expected deceleration; and determining the level of the test scenario model based on the complexity, hazard level, and exposure level, where the exposure level indicates the frequency of occurrence of the test scenario. By calculating the complexity, hazard level, and exposure level of the parameter set in the test scenario, the test score coefficient of the vehicle under different test scenarios is determined, thereby determining the level of the test scenario model and improving the effectiveness and scientific rigor of the test scenario results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of test level calculation, and in particular, to a test scenario level calculation method, device, and computer storage medium. Background Art

[0002] With the rapid development of the vehicle industry, the detection of vehicle autonomous driving functions can improve the safety of vehicles. By setting different test scenarios, such as closed field testing scenarios and open road testing scenarios, the safety and stability of vehicle autonomous driving in the test scenarios can be detected.

[0003] In the prior art, the autonomous driving function of a vehicle is tested according to test scenarios, the performance of the vehicle is judged based on whether the vehicle can pass the tests of different test scenarios, and the performance of the autonomous driving vehicle is verified based on the test results.

[0004] However, the current autonomous driving test scenarios lack appropriate evaluation indicators. Whether a vehicle passes or fails the test in different test scenarios has different verifications on functional safety, effectiveness, and scientificity, making it difficult to reflect the level test evaluation of the test scenarios, resulting in low rationality, scientificity, and effectiveness of the autonomous driving function test evaluation. Summary of the invention

[0005] In view of this, one of the technical problems solved by the embodiments of the present invention is to provide a test scenario level calculation method, device and computer storage medium to overcome the defects in the prior art of lacking level test evaluation of autonomous driving test scenarios, which makes the rationality, scientificity and effectiveness of autonomous driving function test evaluation low.

[0006] In a first aspect, an embodiment of the present application provides a method for calculating a test scenario level, the method comprising:

[0007] Get the parameter set of the test scenario model;

[0008] Calculate the complexity of the test scenario model based on the parameter set;

[0009] Calculating the danger level of the test scenario model according to the position conditions of the vehicle to be tested and the target vehicle, the position conditions including at least one of the following: collision time, braking time, and expected deceleration;

[0010] The test scenario model is graded according to complexity, criticality and exposure, where exposure indicates the frequency of occurrence of the test scenario.

[0011] Optionally, in one embodiment of the present application, the method further includes:

[0012] Determine the scene elements of the driving scene, and determine a parameter set from w parameters according to the scene elements, and generate a test scene model according to the parameter set, where the driving scene is a natural driving scene or an accident scene.

[0013] Optionally, in one embodiment of the present application, the method further includes:

[0014] The scene is converted into w parameters related to the environment, road, vehicle to be tested and traffic. The w parameters include m environment parameters, n road parameters, i vehicle to be tested parameters and j traffic parameters. w is the sum of m, n, i, j, and m, n, i, j are integers greater than 0.

[0015] Optionally, in one embodiment of the present application, calculating the complexity of the test scenario model according to the parameter set includes:

[0016] Calculating at least one complexity factor according to the parameter set, the complexity factor comprising at least one of an environment complexity factor, a road complexity factor, a complexity factor of a vehicle to be tested, and a traffic complexity factor;

[0017] A weighted average of at least one complexity factor is calculated as the complexity.

[0018] Optionally, in one embodiment of the present application, the complexity factor includes an environment complexity factor, and the method further includes:

[0019] The environmental complexity factor is calculated based on the precipitation, visibility and lighting in the parameter set.

[0020] Optionally, in one embodiment of the present application, the method further includes:

[0021] Normalize the precipitation in the parameter set, and calculate the precipitation complexity factor based on the normalized precipitation;

[0022] Normalizing the visibility in the parameter set, and calculating the visibility complexity factor according to the normalized visibility;

[0023] Normalize the illumination in the parameter set, and calculate the illumination complexity factor based on the normalized illumination;

[0024] The average value of precipitation complexity factor, visibility complexity factor and illumination complexity factor is determined as the environmental complexity factor.

[0025] Optionally, in one embodiment of the present application, the complexity factor includes a road complexity factor, and the method further includes:

[0026] The road complexity factor is determined according to the road type, road curvature radius and slope in the parameter set.

[0027] Optionally, in one embodiment of the present application, the complexity factor includes a complexity factor of a vehicle to be tested, and the method further includes:

[0028] The complexity factor of the vehicle to be tested is calculated according to the initial speed of the vehicle to be tested and the dynamic driving task in the parameter set.

[0029] Optionally, in one embodiment of the present application, the complexity factor includes a traffic complexity factor, and the method further includes:

[0030] The traffic complexity factor is calculated based on the number of traffic participants, the types of traffic participants and the behaviors of traffic participants in the parameter set.

[0031] In a second aspect, an embodiment of the present application provides a test scenario level calculation device, the device comprising an acquisition module, a first calculation module, a second calculation module, and a determination module;

[0032] An acquisition module is used to obtain a parameter set of a test scenario model;

[0033] A first calculation module, used for calculating the complexity of the test scene model according to the parameter set;

[0034] A second calculation module is used to calculate the danger level of the test scenario model according to the position conditions of the vehicle to be tested and the target vehicle, where the position conditions include at least one of the following: collision time, braking time, and expected deceleration;

[0035] The determination module is used to determine the level of the test scenario model according to the complexity, danger and exposure, and the exposure is used to indicate the frequency of occurrence of the test scenario.

[0036] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; a storage device for storing at least one program; when the at least one program is executed by the at least one processor, the at least one processor implements the method described in the first aspect or any one of the embodiments of the first aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which, when executed by a processor, implements the method described in the first aspect or any one of the embodiments of the first aspect.

[0038] In an embodiment of the present application, a test scenario level calculation method, device and computer storage medium are provided, wherein the test scenario level calculation method obtains a parameter set of a test scenario model; calculates the complexity of the test scenario model according to the parameter set; calculates the danger level of the test scenario model according to the position conditions of the vehicle to be tested and the target vehicle, wherein the position conditions include at least one of the following: collision time, braking time, and expected deceleration; determines the level of the test scenario model according to the complexity, danger level and exposure level, wherein the exposure level is used to indicate the frequency of occurrence of the test scenario. By calculating the complexity, danger level and exposure level of the parameter set in the test scenario, the test score coefficient of the vehicle in different test scenarios is determined, and then the level of the test scenario model is determined, thereby improving the effectiveness and scientificity of the test scenario results. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Some specific embodiments of the present application will be described in detail below with reference to the accompanying drawings in an exemplary and non-limiting manner. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:

[0040] Figure 1 A flow chart of a test scenario level calculation method provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a scenario parameterization provided in an embodiment of the present application;

[0042] Figure 3 A logic block diagram of a test scenario level calculation provided in an embodiment of the present application;

[0043] Figure 4 A test scenario level calculation device provided in an embodiment of the present application;

[0044] Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The specific implementation of the embodiment of the present invention is further described below in conjunction with the accompanying drawings of the embodiment of the present invention.

[0046] Embodiment 1

[0047] It should be noted that the first and second in this application are only for distinguishing the names and do not represent an order relationship. For example, the first calculation module is used to calculate the complexity of the test scenario model based on the parameter set, and the second calculation module is used to calculate the danger level of the test scenario model based on the position conditions of the vehicle to be tested and the target vehicle.

[0048] The first embodiment of the present application provides a test scenario level calculation method, which can be applied to advanced driving application scenarios such as autonomous driving, intelligent driving, and unmanned driving. Figure 1 A flow chart of a test scenario level calculation method provided in an embodiment of the present application, such as Figure 1 As shown, the test scenario level calculation method includes the following steps:

[0049] Step 101: Obtain a parameter set of a test scenario model.

[0050] It should be noted that the parameter set includes multiple environmental parameters, multiple road parameters, multiple vehicle parameters to be tested, and multiple traffic parameters, etc. The environmental parameters may include temperature, humidity, light, precipitation, visibility, and time, etc. The road parameters may include road type, road structure, lane width, road curvature radius, road slope, etc. The vehicle parameters to be tested may include driving lanes, dynamic driving tasks, initial speeds, set cruising speeds, set following time and distance, etc. Traffic parameters may include the number of traffic participants, types of traffic participants, driving lanes, dynamic behaviors, positions, relative distances, speeds, and accelerations, etc. Here, environmental parameters, road parameters, vehicle parameters to be tested, and traffic parameters are only exemplified, and do not mean that the embodiments of the present application are limited to this. The test scenario model in the embodiments of the present application can be generated by recombining the scenario elements with scenario parameters, or by obtaining a constructed test scenario model. The embodiments of the present application are not limited to this, as long as the parameter set of the test scenario model can be obtained.

[0051] Step 102: Calculate the complexity of the test scene model according to the parameter set.

[0052] Optionally, in one embodiment of the present application, at least one complexity factor is calculated based on a parameter set, the complexity factor including at least one of an environment complexity factor, a road complexity factor, a complexity factor of a vehicle to be tested, and a traffic complexity factor; and a weighted average of at least one complexity factor is calculated as the complexity.

[0053] It should be noted that the complexity factor of the test scenario model may include any one of the environment complexity factor, the road complexity factor, the complexity factor of the vehicle to be tested, and the traffic complexity factor, or may include two, three, or all of them, and this application does not limit this. In the embodiment of the present application, the weighted average of at least one complexity factor is calculated, and the weighted average is used as the complexity of the test scenario model. Here, the embodiment of the present application is only an exemplary description, and does not mean that the present application is limited to this.

[0054] The scene complexity calculation can be based on the information entropy theory. Information entropy is used to indicate the probability of occurrence of a certain information. Information entropy is used to measure the amount of information in information theory. For example, the more orderly a system is, the lower the information entropy is; conversely, the more chaotic a system is, the higher the information entropy is. In this application, based on the idea of ​​information entropy, the complexity of the four dimensions of the scene environment, road, vehicle to be tested and traffic is calculated separately. Formula 1 is used to express how to calculate the complexity:

[0055] C X =log2(F k +1), Formula 1

[0056] C in Formula 1 x Indicates the complexity of different dimensions, F k Represents the quantitative measurement values ​​of different parameters in different dimensions, F k The value of is greater than 0 and less than 1, log is a logarithmic function, and the complexity factors of different parameters are integrated through formula 2.

[0057] C=∑ω k C k , Formula 2

[0058] ω in Formula 2 k represents the proportion of parameter k, c represents the complexity, and C k The complexity is obtained by multiplying it by the proportion of parameter k and summing it up.

[0059] Optionally, in an embodiment of the present application, the complexity factor includes an environmental complexity factor, and the method further includes: calculating the environmental complexity factor according to precipitation, visibility, and illumination in the parameter set.

[0060] It should be noted that in the embodiment of the present application, the environmental parameters in the parameter set are represented by precipitation, visibility and lighting. Depending on the actual situation, the environmental parameters may also include other parameters, which does not mean that the present application is limited to this.

[0061] Optionally, the precipitation in the parameter set is normalized, and a precipitation complexity factor is calculated based on the normalized precipitation; the visibility in the parameter set is normalized, and a visibility complexity factor is calculated based on the normalized visibility; the illumination in the parameter set is normalized, and a illumination complexity factor is calculated based on the normalized illumination; the average value of the precipitation complexity factor, the visibility complexity factor, and the illumination complexity factor is determined as the environment complexity factor.

[0062] The scene complexity is calculated from the environmental dimension. For example, the complexity factor is calculated based on the precipitation (pre), visibility (vis) and illumination (ill) in the environmental parameters. These three parameters are quantifiable and are normalized by the normalization formulas of Formula 3 to Formula 5 respectively:

[0063]

[0064] Pre in Formula 3 represents precipitation, F w Represents the normalized precipitation parameter.

[0065]

[0066] Vis in Formula 4 represents visibility, F vis Represents the normalized visibility parameter.

[0067]

[0068] Ill in Formula 5 represents illumination, F ill Represents the normalized lighting parameters.

[0069] Substitute the normalized precipitation parameters, visibility parameters, and illumination parameters in Formulas 3 to 5 into the complexity calculation formula to obtain the complexity factor of precipitation, the complexity factor of visibility, and the complexity factor of illumination. The complexity calculation is shown in Formulas 6 to 8.

[0070] C w =log2(1+F w ), Formula 6

[0071] C in Formula 6 w A complexity factor representing the amount of precipitation.

[0072] C vis =log2(1+F vis ), Formula 7

[0073] C in Formula 6 vis A complexity factor representing visibility.

[0074] C ill =log2(1+F ill ), Formula 8

[0075] C in Formula 6 ill Indicates the complexity factor of the lighting.

[0076] The precipitation is classified into light rain (snow), moderate rain (snow), heavy rain (snow), rainstorm (snow) and above. The corresponding precipitation complexity factor C can be calculated by formula w, as shown in Table 1, which is a precipitation complexity factor C provided in the embodiment of the present application w .

[0077] Precipitation classification 12-hour total precipitation (mm) <![CDATA[Complexity C w > sunny 0 0 Light rain (light snow) <5(<1) 0.32 Moderate rain (moderate snow) 5-15(1-3) 0.71 Heavy rain (heavy snow) 15-30(3-6) 0.93 Heavy rain and above (heavy snow and above) >30(>6) 1

[0078] In Table 1, for example, when the precipitation is classified as sunny, the total precipitation in 12 hours is 0 mm, and the calculation complexity C w When the precipitation is classified as heavy snow, the total precipitation in 12 hours is greater than 30 mm, the precipitation is normalized, and the complexity factor C is calculated. w is 1.

[0079] Table 2 is the visibility complexity factor C provided by the embodiment of the present application vis .

[0080] Visibility Classification Visibility <![CDATA[Complexity C vis > Excellent visibility >2km 0 Light mist >1km 0.25 Medium fog <500m 0.46 Thick fog <200m 0.85 Heavy fog and above <50m 1

[0081] In Table 2, visibility range is used to represent the sight distance. For example, when visibility is light fog, the visibility range is greater than 2 km. The visibility complexity factor C is calculated. vis When the visibility is foggy, the visual range is less than 50m, and the visibility complexity factor C is calculated. vis is 1.

[0082] Table 3 is the illumination complexity factor C provided in the embodiment of the present application ill .

[0083] Illumination classification Visibility <![CDATA[Complexity C ill > sunny >2km 0 cloudy day >1km 0.46 night <500m 1

[0084] In Table 3, visibility is used to represent the sight distance. For example, when the illumination is cloudy, the visibility is greater than 1 km, and the illumination complexity factor C is calculated. ill It is 0.46.

[0085] Substituting precipitation complexity, visibility complexity and illumination complexity into formula 2, the environmental complexity factor can be calculated. The environmental complexity factor C can be calculated according to formula 9. E .

[0086]

[0087] C in Formula 9 E It represents the environmental complexity factor. The environmental complexity factor can be obtained by performing Cartesian orthogonalization on the three-dimensional matrix and looking up the table.

[0088] Optionally, in an embodiment of the present application, the complexity factor includes a road complexity factor, and the method further includes: determining the road complexity factor according to the road type, road curvature radius and slope in the parameter set.

[0089] It should be noted that in the embodiment of the present application, the road parameters in the parameter set are shown as road type, road curvature radius and slope. According to actual conditions, the road parameters may also include other parameters, which does not mean that the present application is limited to this.

[0090] The scene complexity is calculated from the road dimension. For example, the main influence of road parameters on complexity is reflected in road type, road curvature radius and slope. These three parameters are quantifiable, among which road type can be measured by road speed limit. After calculating the complexity factors of the three parameters and combining the matrix, the road complexity factor C can be obtained by looking up the table. R Table 4 shows the road complexity factor C provided in the embodiment of the present application. R , as shown in Table 4.

[0091]

[0092] In Table 4, for example, when the road type is an urban expressway, the road slope is 0-6%, and the road curvature radius is 1000m, the road complexity factor is 0.55; when the road type is a rural road, the road slope is 0-6%, and the road curvature radius is 250m, the road complexity factor is 0.89.

[0093] Optionally, in one embodiment of the present application, the complexity factor includes a complexity factor of the vehicle to be tested, and the method further includes: calculating the complexity factor of the vehicle to be tested according to an initial speed of the vehicle to be tested and a dynamic driving task in a parameter set.

[0094] It should be noted that in the embodiment of the present application, the parameters of the vehicle to be tested in the parameter set are shown in terms of the initial velocity of the vehicle to be tested and the dynamic driving task. Depending on the actual situation, the parameters of the vehicle to be tested may also include other parameters, which does not mean that the present application is limited to this.

[0095] The scene complexity is calculated from the dimension of the vehicle to be tested. For example, the main influence of the parameters of the vehicle to be tested on the complexity is reflected in the initial speed of the vehicle to be tested and the dynamic driving task of the vehicle to be tested. These two parameters are quantifiable. After calculating the complexity factors of the two parameters and combining the matrix, the road complexity factor C can be obtained by looking up the table. SV .

[0096] Optionally, in an embodiment of the present application, the complexity factor includes a traffic complexity factor, and the method further includes: calculating the traffic complexity factor according to the number of traffic participants, the type of traffic participants, and the behavior of the traffic participants in the parameter set.

[0097] It should be noted that in the embodiment of the present application, the traffic parameters in the parameter set are shown in terms of the number of traffic participants, the types of traffic participants and the behaviors of traffic participants. Depending on the actual situation, the traffic parameters may also include other parameters, which does not mean that the present application is limited to this.

[0098] The scene complexity is calculated from the traffic dimension. For example, the impact of traffic participant information on scene complexity is reflected in the number of traffic participants, the type of traffic participants and the behavior of traffic participants. The complexity factor can be calculated using Formula 10 to Formula 12.

[0099]

[0100] Formula 10 represents the normalized number of traffic participants, C N A complexity factor representing the number of traffic participants.

[0101]

[0102] Formula 11 represents the normalized traffic participant type, C var The complexity factor representing the type of traffic participant.

[0103]

[0104] Formula 11 represents the normalized traffic participant behavior, C DDT Represents the complexity factor of traffic participants' behavior.

[0105] According to the division of the surrounding area of ​​the vehicle to be treated, the upper limit of the number of traffic participants in the embodiment of the present application is set to 8, and the types and behaviors of traffic participants are also quantifiable. For example, the maximum values ​​of the types and behaviors of traffic participants are both set to 8. The traffic participant complexity factor C is obtained by weighted average of the three complexity factors obtained by formula 9 to formula 12: T The traffic complexity factor can be obtained by performing Cartesian orthogonalization of the three-dimensional matrix. As shown in Table 5, Table 5 is the traffic complexity factor C provided in the embodiment of the present application. T .

[0106]

[0107] In Table 5, for example, when the number of traffic participants is 3, the number of traffic participant types is 2, and the number of dynamic driving tasks is 3, the traffic complexity factor is 0.67; for another example, when the number of traffic participants is 6, the number of traffic participant types is 1, and the number of dynamic driving tasks is 4, the traffic complexity factor is 0.74.

[0108] The complexity of the test scenario model is calculated based on the complexity factors of the four dimensions of the scene, the environment complexity factor, the road complexity factor, the traffic complexity factor, and the complexity factor of the vehicle to be tested. The complexity of the scenario model can be obtained by weighted averaging the complexity factors of the four dimensions. Finally, based on the value of the scene complexity, the complexity classification is determined, as shown in Table 6, which is the test scenario complexity level provided in the embodiment of the present application.

[0109] Complexity Level <![CDATA[C1]]> <![CDATA[C2]]> <![CDATA[C3]]> Complexity range <0.6 0.6-0.8 >0.8 describe Generally complex Medium Complexity complex

[0110] In Table 6, the complexity level is divided into 3 levels. When the value of the scene complexity is less than 0.6, the complexity level is C1, and the complexity is generally complex; when the value of the scene complexity is greater than or equal to 0.6 and less than or equal to 0.8, the complexity level is C2, and the complexity is medium complex; when the value of the scene complexity is greater than 0.8, the complexity level is C3, and the complexity is complex.

[0111] Step 103: Calculate the danger level of the test scene model according to the position conditions of the vehicle to be tested and the target vehicle.

[0112] The position condition includes at least one of the following: collision time, braking time, and expected deceleration.

[0113] Use the formula Calculate the collision time, TTC represents the collision time, Δp represents the distance between the vehicle to be tested and the target vehicle, v ego represents the speed of the target vehicle, v obj represents the speed of the vehicle to be tested, v rel It represents the speed difference between the target vehicle and the vehicle to be tested. Calculate the braking time, THW represents the braking time, Δp represents the distance between the vehicle to be tested and the target vehicle, v ego represents the speed of the target vehicle. Calculate the expected deceleration, a req represents the expected deceleration, a obj represents the acceleration of the vehicle under test, v rel represents the speed difference between the target vehicle and the vehicle to be tested, and Δp represents the distance between the vehicle to be tested and the target vehicle. The scene hazard level is graded by collision time, braking time, and expected deceleration, as shown in Table 7, which is a test scene hazard level classification provided in an embodiment of the present application.

[0114] Danger level Time to Collision TTC <![CDATA[Desired deceleration a req > Braking time THW <![CDATA[S0 (Not dangerous)]]> >3.9s <![CDATA[>-2m / s 2 ]]> >2s <![CDATA[S1 (Slight danger)]]> 3.9s~2.2s <![CDATA[-4m / s 2 ~-2m / s 2 ]]> 1.5s~2s <![CDATA[S2 (General danger)]]> 2.2s~0.8s <![CDATA[-6m / s 2 ~-4m / s 2 ]]> 1s~1.5s <![CDATA[S3 (Severe danger)]]> <0.8s <![CDATA[<-6m / s 2 ]]> <1s

[0115] In Table 7, for example, when the collision time TTC is greater than 3.9s and the expected deceleration a req Greater than -2m / s 2, when the braking time THW is greater than 2s, the risk level of the test scenario is S0, and the risk level is not dangerous. For example, when the collision time TTC is less than 0.8s and the expected deceleration a req Less than -6m / s 2 , when the braking time THW is less than 1s, the danger level of the test scenario is S3, and the danger level is severe danger.

[0116] Step 104: Determine the level of the test scenario model according to the complexity, risk and exposure.

[0117] Among them, exposure is used to indicate the frequency of occurrence of the test scenario.

[0118] It should be noted that extremely complex or dangerous test scenarios may also occur very rarely, and the test proportion of such scenarios in the test should also be controlled accordingly according to the frequency of occurrence, and the score of such scenarios should also be controlled according to the frequency of occurrence. The exposure level classification in the embodiment of the present application is shown in Table 8, which is the exposure level classification of the test scenarios provided in the embodiment of the present application.

[0119]

[0120] In Table 8, for example, if the scenario occurs no more than once or twice a year, it is a low-probability scenario, and the scenario exposure level is classified as E1; if the scenario occurs 1 to 2 times a month, it is a medium-probability scenario, and the scenario exposure level is classified as E2; if the scenario occurs every week, or more frequently, it is a high-probability scenario, and the scenario exposure level is classified as E3.

[0121] After obtaining the scene complexity, scene danger and scene exposure, the test scene can be divided according to the method confirmed by the Automotive Safety Integration Level (ASIL). The ASIL level is used to describe the probability that the system can achieve the specified safety goal. The scene weight value is obtained according to the scene level. ASIL has four levels, namely A, B, C, and D, among which ASIL A is the lowest safety level and ASIL D is the highest safety level. The three basic factors that affect the ASIL level are severity, exposure and complexity. Severity is used to describe the degree of damage to the relevant personnel and property once the risk becomes a reality. For example, the severity of electronic lock failure is lower than that of brake failure; exposure is used to describe the probability that personnel or property may be affected when the risk occurs. For example, the exposure of abnormal noise in the chassis is lower than that of passenger seat failure; complexity is used to describe the extent to which the driver can take active measures to avoid damage when the risk occurs. Slow tire leakage is more controllable than brake failure. The scenario weights are divided according to complexity, danger and exposure, as shown in Table 9, which is a division of test score coefficients for the test scenarios provided in an embodiment of the present application.

[0122]

[0123] In Table 9, for example, when the scene hazard level is S0, the scene exposure level is E3, and the scene complexity is C2, the scene weight is 0.2. For another example, when the scene hazard level is S3, the scene exposure level is E2, and the scene complexity is C3, the scene weight is 0.8. By dividing the test score coefficients of the test scenarios, the weight values ​​of the test scenarios can be obtained by looking up a table. Furthermore, whether a single scenario passes the test depends on other performance indicators, such as safety, comfort, and restrictions on lateral and longitudinal speeds, acceleration, and acceleration change values. When testing the scenario, the weight value of the scene needs to be considered, and the scene test score can be obtained based on the weight value of the test scenario and other parameter values ​​of the scenario.

[0124] The test scenario level calculation method in the embodiment of the present application can be applied to advanced driving application scenarios such as autonomous driving, intelligent driving, and unmanned driving. By quantifying the parameters of the test scenario, calculating the complexity, danger, and exposure of the parameter set in the test scenario, and determining the test score coefficient of the vehicle in different test scenarios, the level test evaluation of the vehicle in different test scenarios can be obtained, and the level evaluation index of the test scenario can be determined, which is beneficial to improving the effectiveness and scientificity of the test scenario results.

[0125] Embodiment 2

[0126] The embodiment of the present application provides a method for establishing a test scenario model, by acquiring multiple scenarios and converting the scenarios into w parameters related to the environment, roads, vehicles to be tested and traffic, the w parameters include m environmental parameters, n road parameters, i vehicle parameters to be tested and j traffic parameters, w is the sum of m, n, i, j, and m, n, i, j are integers greater than 0;

[0127] Real driving scenes are ever-changing, with many scene elements, including environmental elements, traffic elements, etc. Some scene elements are repeated, and the impact of scene elements on driving scenes is also different. The scene model will adopt a modular solution, for example, the scene is divided into a trinity model structure of people, vehicles, and roads. With the gradual enrichment of autonomous driving functions, the correlation between autonomous driving functions and scenes is increasing, and the structural division of scenes also needs to be more refined. The embodiment of the present application divides the scene into dimensions according to the type of scene elements, and divides the scene into four dimensions: environment, road, vehicle to be tested, and traffic. All scene elements are included in these four dimensions.

[0128] The division of scene dimensions realizes the modularization of scenes, which can adapt to the modular modeling ideas of scene simulation software. Many scenes are collected from natural driving and are obtained through certain collection devices. The scene information that can be collected by the collection device is quantitative. For example, the target vehicle information detected by the millimeter-wave radar can include relative lateral and longitudinal distances, relative speeds, relative accelerations, etc.; for another example, the road information obtained by the camera includes road width, road curvature, etc. The embodiments of the present application combine the scene information that can be collected by the collection device and the requirements of the simulation modeling software for the input information of scene modeling to perform the following steps on the scene. Figure 2 The scene parameterization shown, Figure 2A scene parameterization schematic diagram is provided for an embodiment of the present application, which converts the elements in the environmental dimension into m environmental parameters, such as temperature, humidity, light, precipitation, visibility, and time. This is only an exemplary description, and does not mean that the m environmental parameters of the present application are limited to this. These environmental parameters have a significant impact on the autonomous driving function; converts the elements in the road dimension into n road parameters, such as road type, road structure, lane width, road curvature radius, road slope and other parameters. This is only an exemplary description, and does not mean that the n road parameters of the present application are limited to this. These road parameters are indispensable when constructing a static scene; converts the elements in the vehicle dimension to be tested into i vehicle parameters to be tested, for example For example, parameters such as driving lanes, dynamic driving tasks, initial speeds, set cruising speeds, set following time and distance, etc., are only illustrative here and do not mean that the i parameters of the vehicle to be tested in this application are limited to these. Specifically, when testing and verifying the autonomous driving function, the control model of the vehicle to be tested in the test scenario can be set to parameters such as initial position, speed and driver settings; the elements in the traffic dimension are converted into j traffic parameters, for example, the number of traffic participants, type of traffic participants, driving lanes, dynamic behavior, position, relative distance, speed and acceleration, etc., which are only illustrative here and do not mean that the j traffic parameters of this application are limited to these; wherein m, n, i, j are all integers greater than 0.

[0129] When establishing scenario models in batches, and when performing driving automation tests on the established scenario models, it is necessary that the elements in the scenario be quantifiable. After the scenario is parameterized, the scenario model can be constructed using the parameterized scenario elements, and then the established scenario model can be tested for driving automation. In the embodiment of the present application, by parameterizing the scenario elements and recombining the scenario parameters to obtain a test scenario model, it is possible to avoid repeated construction of the test scenario model and improve the efficiency of constructing the test scenario model.

[0130] Optionally, in one embodiment of the present application, by determining the scene elements of the driving scene, and determining a parameter set from w parameters based on the scene elements, a test scene model is generated based on the parameter set, and the driving scene is a natural driving scene or an accident scene.

[0131] It should be noted that the parameters in natural driving scenes or accident scenes are quantifiable and have numerical values. By collecting natural driving scenes or accident scenes, the test scene model can be constructed with different specific numbers, which corresponds to the actual scenes and has reference value. There are multiple natural driving scenes or accident scenes. A test scene model can be generated based on a natural driving scene or an accident scene. A test scene model corresponds to a parameter set.

[0132] The collected natural driving scenes are labeled and scene extracted. For example, according to the data information collected in the natural driving scenes, the natural driving scene elements are determined according to the data information in the natural driving scenes. For example, the environmental parameters of a natural driving scene include temperature of 28°C, total precipitation of 4 mm in 2 hours, visibility line of sight distance of 2 km, etc., and according to the natural driving scene elements, the environmental parameters are set to temperature of 28°C, total precipitation of 4 mm in 12 hours, visibility line of sight distance of 2 km, etc. from a parameter set determined by w parameters. The parameter set is a recombination of environmental parameters, road parameters, parameters of the vehicle to be tested and traffic parameters. For example, in a parameter set, road parameters include road type, road structure, road slope, etc., traffic parameters include the number of traffic participants, traffic lanes, etc., parameters of the vehicle to be tested include vehicle size, initial speed, etc., and environmental parameters include temperature, visibility, lighting, etc.; a test scene model is generated according to the parameter set. By constructing a test scenario model based on natural driving scenario elements through parameter reorganization, the distribution of the test scenario can be obtained, so that the test scenario can cover the natural driving scenario, improve the consistency of the test scenario model construction, and then improve the uniformity when calculating the level of the test scenario model, thereby improving the effectiveness and scientificity of the test scenario results.

[0133] Furthermore, the collected accident scenes can be annotated and scene extraction can be performed through the analysis of the accident scenes. For example, the accident scene elements can be determined based on the data information in the collected accident scenes, and a parameter set can be determined from w parameters based on the accident scene elements, and a test scene model can be generated based on the parameter set. The accident scene elements are a further improvement of the test scene model. Optionally, a coverage value can be pre-set. When the coverage of the constructed test scene model does not reach the set coverage value, the test scene model can be further supplemented and improved by collecting data on the accident scenes until the scene coverage of the test scene model reaches the preset coverage value, thereby improving the perfection of the test scene model construction.

[0134] Embodiment 3

[0135] The present application embodiment provides a method for establishing a test scenario and calculating the test scenario level, such as Figure 3 As shown, Figure 3A logic block diagram for calculating the level of a test scenario provided in an embodiment of the present application. The embodiment of the present application divides the scene into dimensions according to the type of scene elements, and divides the scene into four dimensions: environment, road, vehicle to be tested, and traffic. All scene elements are included in these four dimensions. The scene is parameterized, and the scene elements are converted into parameters corresponding to the environment, road, vehicle to be tested, and traffic. After the scene is parameterized, it can be parameterized and reorganized through parameterized scene elements to construct multiple scene models. Multiple scene models form a test scene library, and then the established scene models are tested for driving automation level.

[0136] After dividing the scenario dimensions, the complexity, danger and exposure of the test scenario can be calculated according to the parameter set, and then the complexity, danger and exposure of the test scenario can be integrated to obtain the scenario weight of the test scenario and the level division of the test scenario.

[0137] The test level of driving automation can be calculated by including the test scenario model and the scenario weight of the test scenario. The passing parameters of the test scenario model, such as safety and comfort, can also be comprehensively considered to finally determine the test score coefficient of the vehicle in different test scenarios and obtain the test score coefficient division of the test scenario model.

[0138] Embodiment 4:

[0139] The present application embodiment provides a test scenario level calculation device, such as Figure 4 As shown, Figure 4 A test model level calculation device provided in an embodiment of the present application, the test model level calculation device 40 includes an acquisition module 401, a first calculation module 402, a second calculation module 403, and a determination module 404;

[0140] An acquisition module 401 is used to acquire a parameter set of a test scenario model;

[0141] A first calculation module 402, used to calculate the complexity of the test scenario model according to the parameter set;

[0142] The second calculation module 403 is used to calculate the danger level of the test scene model according to the position conditions of the vehicle to be tested and the target vehicle, where the position conditions include at least one of the following: collision time, braking time, and expected deceleration;

[0143] The determination module 404 is used to determine the level of the test scenario model according to the complexity, risk and exposure, and the exposure is used to indicate the occurrence frequency of the test scenario.

[0144] Embodiment 5

[0145] Based on the test scenario level calculation method described in the above embodiments 1 to 3, the present application embodiment provides an electronic device, such as Figure 5 As shown, Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application, the electronic device 50 includes: at least one processor 501; a memory 502, the memory storing at least one program 512, the processor 501 and the memory 502 are electrically connected, and when the at least one program is executed by the at least one processor 501, the at least one processor 501 implements the method described in embodiments 1 to 3.

[0146] Optionally, in one embodiment of the present application, the electronic device 50 further includes: a bus 503 and a communication interface 504 , and at least one processor 501 , a memory 502 , and a communication interface 504 communicate with each other via the bus 503 .

[0147] Embodiment 6

[0148] Based on the test scenario level calculation method described in the above-mentioned embodiments 1 to 3, an embodiment of the present application provides a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the method described in embodiments 1 to 3.

[0149] The image similarity calculation device of the embodiment of the present application exists in various forms, including but not limited to:

[0150] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0151] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0152] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0153] (4) Other electronic devices with data interaction functions.

[0154] Thus far, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired results. Additionally, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing may be advantageous.

[0155] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0156] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable computer storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0157] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0158] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0159] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0160] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0161] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0162] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media for computers include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0163] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0164] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable computer storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0165] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0166] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0167] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A test scenario level calculation method, characterized in that: The method comprises: Get the parameter set of the test scenario model; According to the parameter set and based on information entropy theory, calculating the complexity of the test scenario model; Calculating the danger level of the test scenario model according to the position conditions of the vehicle to be tested and the target vehicle and based on the test scenario danger level classification, wherein the position conditions include at least one of the following: collision time, braking time, and expected deceleration; According to the complexity, the dangerousness and the exposure, the test scenario weight value is determined by table lookup, and the level of the test scenario model is determined according to the test scenario weight value and other parameter values ​​of the scenario. The other parameter values ​​of the scenario are used to indicate the test performance indicators, and the exposure is used to indicate the occurrence frequency of the test scenario.

2. The method according to claim 1, characterized in that The method further comprises: Determine the scene elements of the driving scene, and determine the parameter set from w parameters according to the scene elements, and generate the test scene model according to the parameter set, wherein the driving scene is a natural driving scene or an accident scene.

3. The method according to claim 2, characterized in that The method further comprises: The scene is converted into w parameters related to the environment, road, vehicle to be tested and traffic, wherein the w parameters include m environmental parameters, n road parameters, i vehicle to be tested parameters and j traffic parameters, wherein w is the sum of m, n, i and j, and m, n, i and j are integers greater than 0.

4. The method according to claim 1, characterized in that Calculating the complexity of the test scenario model according to the parameter set includes: Calculating at least one complexity factor according to the parameter set, the complexity factor comprising at least one of an environment complexity factor, a road complexity factor, a complexity factor of a vehicle to be tested, and a traffic complexity factor; A weighted average of the at least one complexity factor is calculated as the complexity.

5. The method according to claim 4, characterized in that The complexity factor includes an environmental complexity factor, and the method further includes: The environmental complexity factor is calculated according to the precipitation, visibility and illumination in the parameter set.

6. The method according to claim 5, characterized in that The method further comprises: Normalizing the precipitation in the parameter set, and calculating the precipitation complexity factor according to the normalized precipitation; Normalizing the visibility in the parameter set, and calculating the visibility complexity factor according to the normalized visibility; Normalizing the illumination in the parameter set, and calculating the illumination complexity factor according to the normalized illumination; An average value of the precipitation complexity factor, the visibility complexity factor and the illumination complexity factor is determined as the environment complexity factor.

7. The method according to claim 4, characterized in that The complexity factor includes a road complexity factor, and the method further includes: The road complexity factor is determined according to the road type, road curvature radius and slope in the parameter set.

8. The method according to claim 4, characterized in that The complexity factor includes a complexity factor of a vehicle to be tested, and the method further includes: The complexity factor of the vehicle to be tested is calculated according to the initial speed of the vehicle to be tested and the dynamic driving task in the parameter set.

9. The method according to claim 4, characterized in that The complexity factor includes a traffic complexity factor, and the method further includes: The traffic complexity factor is calculated according to the number of traffic participants, the types of traffic participants and the behaviors of traffic participants in the parameter set.

10. A test scene level calculation device, characterized in that: The device comprises an acquisition module, a first calculation module, a second calculation module, and a determination module; The acquisition module is used to acquire a parameter set of the test scenario model; The first calculation module is used to calculate the complexity of the test scenario model according to the parameter set based on information entropy theory; The second calculation module is used to calculate the danger level of the test scenario model according to the position conditions of the vehicle to be tested and the target vehicle and based on the test scenario danger level classification, wherein the position conditions include at least one of the following: collision time, braking time, and expected deceleration; The determination module is used to determine the test scenario weight value by table lookup according to the complexity, the dangerousness and the exposure, and determine the level of the test scenario model according to the test scenario weight value and other parameter values ​​of the scenario. The other parameter values ​​of the scenario are used to indicate the test performance indicators, and the exposure is used to indicate the occurrence frequency of the test scenario.

11. An electronic device, characterized in that: include: A processor and a memory, wherein a computer program is stored in the memory; the processor is used to execute the computer program stored in the memory to implement the method according to any one of claims 1 to 9.

12. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.