Simulation test method and system for automatic driving based on driving simulation scene

By constructing scene semantic units and maintaining chains, the problem of removing unnecessary content in complex driving simulation scenarios is solved, ensuring the consistency of traffic conflict processes and the accuracy of simulation basis in autonomous driving simulation testing, and supporting defect analysis and version testing of autonomous driving systems.

CN123178269APending Publication Date: 2026-11-27深圳市鹏安汽车驾驶员培训有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611361519.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing autonomous driving simulation testing technologies struggle to effectively identify and remove unnecessary elements in complex driving simulation scenarios, resulting in a lack of clear simulation basis during failure analysis and scenario simplification, and making it difficult to maintain the consistency and integrity of traffic conflict processes.

Method used

By constructing scenario semantic units and hold chains based on the conflict process, the deletion hierarchy and relationships are determined, forming combined deletion tasks. Unnecessary content is gradually removed to ensure the overall processing of traffic participants and their associated configurations in simulation tests and maintain the consistency of the traffic conflict process.

Benefits of technology

It achieves consistency in traffic conflict processes in complex failure scenarios, ensures the accuracy and reliability of simulation test results, and provides clear simulation basis to support defect analysis and version testing of autonomous driving systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178269A_ABST
    Figure CN123178269A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of simulation test, in particular to an automatic driving simulation test method and system based on a driving simulation scene, comprising: importing the driving simulation scene into a simulation platform and performing simulation test until a failure result is output by a failure judgment interface, constructing a scene semantic unit based on an event sequence of a conflict process, establishing a relationship between the semantic units, extracting a relationship reference state at a cross-unit event start time, forming a maintenance chain according to the conflict process, determining a scene semantic unit to be verified, reducing a level and an affected relationship, constructing a combined reduction task, pre-building a condition task tree based on all the combined reduction tasks, constructing a level reduction task package, and establishing a candidate event mapping of a candidate scene file; adding an effective driving simulation scene to a closed-loop simulation queue to perform simulation, comparing the simulation result with a target failure item by item according to the candidate event mapping, and determining a minimum reproducible failure scene to complete the automatic driving simulation test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of simulation testing technology, and more particularly to autonomous driving simulation testing methods and systems based on driving simulation scenarios. Background Technology

[0002] As the application scope of autonomous driving systems expands from relatively simple driving functions such as lane keeping and automatic following to complex driving tasks such as urban road traffic, intersection decision-making, vehicle merging, and pedestrian and non-motorized vehicle avoidance, relying on closed roads or actual roads for testing is no longer sufficient to fully cover the large number of complex and unpredictable dangerous situations. Therefore, using driving simulation scenarios for closed-loop simulation testing of autonomous driving systems has become an important means of verifying autonomous driving functions, analyzing failures, and testing software versions. Existing autonomous driving simulation tests typically construct driving simulation scenarios based on road structure, traffic participants, initial states, behavioral actions, and event triggering conditions. The autonomous driving system under test receives virtual sensor data and outputs steering, braking, and driving commands. The simulation platform then updates the test vehicle and the surrounding traffic environment based on the control commands to determine whether a collision, road veer off course, traffic violation, or failure to complete the driving task has occurred.

[0003] When an autonomous driving system malfunctions in a complex driving simulation scenario involving multiple vehicles, pedestrians, non-motorized vehicles, and continuous traffic events, testers typically investigate the cause by replaying the original scenario, manually deleting some traffic participants, modifying event parameters, or recombining the scenario content. Some existing technologies also use parameter traversal, scenario search, or test input reduction to find scenarios that can continue to trigger the malfunction. However, traffic participants, actions, and triggering conditions in a driving simulation scenario are not independent of each other. A traffic participant may directly participate in a collision, or it may trigger events such as occupancy, lane occupation, yield constraints, right-of-way changes, or other events. Its entity configuration may also be referenced by multiple retained events. Directly deleting a traffic participant that seems unrelated to the malfunction may result in missing reference objects for remaining triggering conditions, failure to initiate critical events, changes in the order of events, or the disappearance of the original traffic conflict relationships. In this case, if the deleted scenario does not experience the original malfunction again, it may indicate that the deleted content was a necessary condition, or it may simply mean that the scenario execution logic has been broken, making it difficult to distinguish between the two.

[0004] If the failure is restored by arbitrarily adjusting the position, speed, or timing of actions of other traffic participants, the occlusion relationships, traffic relationships, and conflict evolution process in the original failure may be altered. This could result in the same type of collision occurring in the deleted scenario, but with different failure mechanisms. Existing parameter search techniques primarily focus on expanding and covering hazardous scenarios, data replay techniques primarily focus on repeating existing processes, and ordinary scenario simplification techniques primarily focus on reducing the scale of the scenario or the number of inputs. There is a lack of a mechanism that uses the actual event process of the original closed-loop simulation as a benchmark, treats traffic participants and their associated configurations as a whole to be deleted, simultaneously identifies their impact on the remaining triggering relationships and traffic conflict relationships when proposing deletion tasks, and distinguishes between necessary scenario content and accompanying scenario content through subsequent closed-loop simulations. Therefore, existing technologies struggle to form test scenarios from complex failure scenarios that are structurally simplified, have consistent failure objects, consistent conflict areas, and consistent main traffic conflict processes. They also struggle to provide clear simulation basis for each retained or deleted scenario element. Summary of the Invention

[0005] To address the aforementioned issues, this invention provides an autonomous driving simulation testing method and system based on driving simulation scenarios.

[0006] To achieve the above objectives, this invention proposes an autonomous driving simulation testing method based on driving simulation scenarios, comprising:

[0007] The driving simulation scenario is imported into the simulation platform and simulation test is performed until the failure judgment interface outputs the failure result. Based on the failure result, a conflict process is constructed. Based on the event sequence of the conflict process, a scenario semantic unit is constructed. According to the actual occurrence order and execution status of the scenario semantic units, the relationship between each semantic unit is established, and the relationship reference state when the cross-unit event is started is extracted. Based on the conflict process, scenario semantic units, relationship and relationship reference state, a target failure scenario baseline package is constructed.

[0008] A hold chain is formed based on the conflict process. The semantic unit of the scene to be verified is determined based on the hold chain. The deletion level and the affected relationship are determined according to the relationship between the semantic unit of the scene to be verified and the hold chain. Units that are independent of each other at the same level, do not point to the same event, and have no direct relationship are combined into a combined deletion task. A conditional task tree is pre-built based on all combined deletion tasks, and a hierarchical deletion task package is constructed.

[0009] Based on the hierarchical task package, candidate scene files are created, scene semantic units are removed, and pending triggering conditions are determined. The pending triggering conditions are converted into new triggering criteria according to the relationship reference state. Based on the traffic relationship of the candidate scenes according to the holding chain core, candidate event mapping of the candidate scene files is established. The candidate scene files, new triggering criteria, event mapping, and traffic relationship verification results are written into the candidate scene package.

[0010] Based on the candidate scenario package, the connection relationship between the driving simulation scenario and the hierarchical reduction task is restored, and the effective driving simulation scenario is added to the closed-loop simulation queue for simulation. The simulation results are compared with the target failure item by item according to the candidate event mapping, and the minimum reproducible failure scenario is determined to complete the autonomous driving simulation test.

[0011] In some embodiments, importing the driving simulation scenario into the simulation platform and executing simulation tests until the failure determination interface outputs a failure result specifically includes:

[0012] When a collision occurs between traffic participants, the virtual number of the direct collision is read from the collision detection results, and the road area where the collision occurred is determined according to the road query interface;

[0013] When a vehicle leaves the road, violates a traffic signal, or fails to complete a driving task, the type of failure, the road area involved, and whether there are any directly related traffic participants are determined from the corresponding road status record, traffic signal record, or task status record.

[0014] When consecutive abnormal results occur in the same simulation, the earliest abnormal result that caused the original driving task to fail is selected as the failure result.

[0015] In some embodiments, the scene semantic unit includes a virtual traffic participant, the initial state of the virtual traffic participant, the behavior performed by the virtual traffic participant, the triggering condition for initiating the control behavior, the termination condition for the action, and the control configuration specifically for the virtual traffic participant.

[0016] When the pending trigger condition involves multiple traffic participants, the pending trigger condition is assigned to the semantic unit of the scene where the virtual traffic participant actually performs the action, and the reference relationship to other virtual traffic participants is recorded.

[0017] In some embodiments, the relationships between the semantic units include:

[0018] Entity reference relationships indicate that a triggering condition or action configuration in a scene semantic unit references another traffic participant;

[0019] Event triggering relationships indicate that the start or completion state of one event determines the start of another event;

[0020] Occlusion relationship indicates that the virtual traffic participant is actually located between the test vehicle and the core traffic participant during the target failure process, and affects the timing when the core virtual traffic participant enters the virtual sensor target list;

[0021] Traffic relationship indicates that the virtual traffic participant actually changed the lane occupancy, yielding status, or cross-traffic status of the test vehicle or core traffic participant.

[0022] In some embodiments, determining the pruning level and the affected relationships based on the relationship between the unit to be verified and the hold chain specifically includes:

[0023] Sentence units of scenarios that are in a waiting state before the target fails and are not referenced by valid events in the holding chain are classified into the first pruning layer.

[0024] Scene semantic units that have performed actions but have not recorded valid entity reference relationships, event triggering relationships, occlusion relationships, or passage relationships related to the target failure hold chain are classified into the second pruning layer;

[0025] Scene semantic units that are referenced by other valid events as triggering criteria, but do not form a valid occlusion relationship or passage relationship, are classified into the third deletion layer;

[0026] The semantic units of scenarios that form effective occupancy relationships, lane occupation relationships, yielding relationships, right-of-way change relationships, or core traffic conflict relationships are classified into the fourth deletion layer;

[0027] When a semantic unit in the same scenario corresponds to multiple relationships, it is processed according to the deletion level that is ranked last in the target failure holding chain.

[0028] In some embodiments, determining the pruning level and the affected relationships based on the relationship between the unit to be verified and the hold chain specifically includes:

[0029] The entity configuration, initial state, behavior and control configuration that belong only to virtual traffic participants will be recorded as deleted content.

[0030] The triggering conditions that reference the traffic participant in the remaining events are recorded as the triggering basis affected relationship. The remaining events refer to the scene events that are still retained in the original driving simulation scene after a certain scene semantic unit is deleted and belong to other retained semantic units.

[0031] Effective occlusion relationships and passage relationships related to virtual traffic participants are recorded as traffic relationship affected relationships.

[0032] In some embodiments, establishing the candidate event mapping of the candidate scene file specifically includes:

[0033] The candidate scene file is loaded through the scene initialization interface, and the initial position, lane, driving direction and initial state of the event of the participants are read and preserved.

[0034] Traverse each original scene event in the retention chain, find the corresponding retained event in the candidate scene, establish a mapping relationship between the original event number and the candidate event number, and record the event execution object, action content, trigger condition source, road area and the relationship between the preceding and following events for each event.

[0035] In some embodiments, the step of comparing the simulation results with the target failure item by item based on the candidate event mapping and determining the minimum reproducible failure scenario specifically includes:

[0036] When the simulation results are consistent with the target failure, it is registered as a reproducible scenario and the child task with the current task as the parent task is activated;

[0037] When the simulation results are inconsistent with the target failure, it is registered as a non-reproducible scenario and subsequent tasks are stopped from being activated.

[0038] When each remaining unverified semantic unit corresponding to the reproduced scenario has a separate deletion subtask and has obtained non-reproducible or mismatched results, it is registered as a scenario that cannot be further deleted.

[0039] If the simulation is re-executed for the scenario that cannot be further reduced, and the same target still fails, then it is determined to be the minimum reproducible failure scenario.

[0040] In some embodiments, re-performing the simulation of the scenario that cannot be further reduced specifically includes:

[0041] Candidate scenarios are imported into the simulation platform through the scenario loading interface. Scenario initialization is completed according to the road file, test vehicle configuration, vehicle dynamics configuration, virtual sensor configuration, communication interface configuration, simulation step size, traffic participant behavior model version, and the version of the autonomous driving system to be tested corresponding to the original driving simulation scenario.

[0042] The scene object management interface generates test vehicles and other virtual traffic participants based on the list of retained scene semantic units, while the scene event execution interface loads behavior actions, triggering conditions, and scene termination conditions.

[0043] During the simulation, the test results are recorded through the failure determination interface based on the candidate event mapping record, the event initiation status, completion status, and actual sequence of events related to the target failure maintenance chain.

[0044] To achieve the above objectives, another aspect of the present invention proposes an autonomous driving simulation testing system based on driving simulation scenarios, comprising:

[0045] The baseline package construction module is used to import driving simulation scenarios into the simulation platform and perform simulation tests until the failure determination interface outputs failure results. Based on the failure results, a conflict process is constructed. Based on the event sequence of the conflict process, scenario semantic units are constructed. According to the actual occurrence order and execution status of the scenario semantic units, the relationship between each semantic unit is established, and the relationship reference status when cross-unit events are started is extracted. Based on the conflict process, scenario semantic units, relationships, and relationship reference status, the target failure scenario baseline package is constructed.

[0046] The task package construction module is used to form a holding chain according to the conflict process, determine the semantic unit of the scenario to be verified based on the holding chain, determine the deletion level and the affected relationship according to the relationship between the semantic unit of the scenario to be verified and the holding chain, combine the independent units within the same level that do not point to the same event and have no direct relationship into a combined deletion task, pre-build a conditional task tree based on all combined deletion tasks, and construct a hierarchical deletion task package.

[0047] The scene package construction module establishes candidate scene files, removes scene semantic units, and determines pending trigger conditions based on the hierarchical task package. It converts the pending trigger conditions into new trigger criteria according to the relationship reference state. Based on the traffic relationship of the candidate scenes according to the holding chain core, it establishes candidate event mappings for the candidate scene files. The module then writes the candidate scene files, new trigger criteria, event mappings, and traffic relationship verification results into the candidate scene package.

[0048] The simulation test module is used to recover the connection relationship of driving simulation scenarios in the hierarchical reduction task based on the candidate scenario package, add the effective driving simulation scenarios to the closed-loop simulation queue for simulation, compare the simulation results with the target failure item by item according to the candidate event mapping, and determine the minimum reproducible failure scenario to complete the autonomous driving simulation test.

[0049] The beneficial effects of this invention are as follows:

[0050] This invention addresses the core issue of gradually removing unnecessary content from complex driving simulation scenarios while preserving the target failure mechanism. Based on the baseline closed-loop simulation results of the original driving simulation scenario, it determines the failure type, core traffic participant records, failure occurrence area, and main traffic conflict process. It then forms a unified scenario semantic unit by grouping the same traffic participant and its initial state, actions, triggering conditions, and control configuration. Subsequent deletions target scenario content with complete execution meaning. Based on the actual execution state of scenario events and the existing entity reference relationships, event triggering relationships, occlusion relationships, and passage relationships between scenario semantic units, a target failure retention chain corresponding to the main traffic conflict process of the target failure is formed. Deletion tasks with hierarchical and parent-child relationships are generated according to the relationship between the scenario semantic unit and this retention chain. Each deletion task simultaneously clarifies the scenario content to be deleted, the cumulative deletion range, the affected remaining relationships, and the core events and traffic relationships that need to be maintained.

[0051] When replicating the original driving simulation scenario and generating candidate scenarios according to the deletion task, the entities, actions, and special configurations in the semantic units of the scenario to be deleted are processed as a whole. For cases where retained events lose their triggering objects due to the deletion operation, the corresponding triggering basis is re-expressed based on the relationship reference state formed when the event was actually initiated in the original closed-loop simulation, using traffic participants, road areas, or preceding events that continue to exist in the candidate scenario. For cases where the deletion operation causes necessary occlusion relationships, lane occupancy relationships, yielding relationships, right-of-way relationships, or core conflict relationships to lose their actual carrying objects, the corresponding deletion task is determined as a relationship mismatch task, thereby ensuring that the candidate driving simulation scenarios entering subsequent tests still express the original driving task and the original traffic conflict mechanism. Subsequently, the candidate driving simulation scenarios with maintained relationships are sequentially loaded onto the same simulation platform, and the same version of the autonomous driving system under test performs closed-loop simulation. Based on whether the actual failure type, core traffic participant records, failure occurrence area, and actual event process are consistent with the target failure, it is determined whether the corresponding scenario semantic units can be removed from the current deletion path, and subsequent individual or combined deletion tasks are activated based on the inheritance relationship between parent and child tasks.

[0052] Independent test paths are maintained for combined deletion results and individual deletion results. Only after a closed-loop simulation is it confirmed that multiple objects can be jointly deleted in a candidate scenario containing multiple deletion objects. When each remaining unverified scenario semantic unit in a target failure reproduction scenario cannot reproduce the same target failure after being individually removed, the scenario is identified as a candidate scenario that cannot be further deleted, and its target failure is confirmed by executing a complete closed-loop simulation again. Through the above continuous processing, a minimum reproducible failure scenario and corresponding deletion verification record verified by actual simulation can be formed. This ensures that each deletion result, retention result, and trigger condition processing result can correspond to a specific scenario semantic unit, traffic relationship, and closed-loop simulation result, thereby reducing irrelevant content in complex failure scenarios, maintaining the participating objects and conflict evolution process of the original target failure, and providing directly executable driving simulation scenarios for defect analysis and subsequent version testing of autonomous driving systems. Attached Figure Description

[0053] Figure 1 This is a flowchart of an autonomous driving simulation test method based on a driving simulation scenario in a specific embodiment of the present invention;

[0054] Figure 2 This is a block diagram of an autonomous driving simulation test system based on a driving simulation scenario, as described in a specific embodiment of the present invention. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] refer to Figure 1 As shown, this application proposes an autonomous driving simulation testing method based on driving simulation scenarios, including:

[0057] S1: Import the driving simulation scenario into the simulation platform and execute the simulation test until the failure determination interface outputs the failure result. Based on the failure result, construct a conflict process. Based on the event sequence of the conflict process, construct scene semantic units. Based on the actual occurrence order and execution state of the scene semantic units, establish the relationship between each semantic unit and extract the relationship reference state when cross-unit events are initiated. Based on the conflict process, scene semantic units, relationships, and relationship reference states, construct the target failure scenario baseline package, which specifically includes:

[0058] The original driving simulation scenario is imported into the simulation platform via the scenario loading interface. The original driving simulation scenario consists of road files, traffic participant configurations, behavior and action configurations, event triggering conditions, and scenario termination conditions. The road files are read from the map management interface, the traffic participant configurations are read from the scenario object management interface, and the behavior and action configurations and event triggering conditions are read from the scenario event execution interface. After the simulation platform completes scenario loading, it performs consistency checks on road references, initial positions of traffic participants, action execution objects, triggering condition reference objects, and scenario termination conditions. Based on the scenario configuration, it generates test vehicles, virtual vehicles, pedestrians, and other virtual traffic participants. Each traffic participant is uniquely identified using a virtual number in the scenario file. Subsequently collected status data, event records, and relationship records are all established through these virtual numbers. When the scenario originates from actual road data, the actual road data is converted into a local road structure, and traffic participants are converted into virtual numbers, while retaining the relative positions, motion states, driving directions, and event sequences required for scenario reconstruction. The same local coordinate system and simulation time reference are used during the conversion, ensuring that the road area, traffic participant state, and event initiation time can be compared and matched in subsequent baseline simulations and candidate scenario simulations.

[0059] After the scenario is loaded, the autonomous driving system under test performs a baseline closed-loop simulation on the simulation platform. The simulation platform sends road information and traffic participant information around the test vehicle to the autonomous driving system under test through the virtual sensor interface, and sends the current motion state of the test vehicle through the vehicle status interface. The autonomous driving system under test outputs steering, braking, and driving commands through the vehicle control interface, and the simulation platform updates the test vehicle state according to the commands and pre-configured vehicle dynamics parameters. The simulation step size, vehicle dynamics parameters, virtual sensor configuration, and traffic participant behavior model version are all read from the simulation platform test configuration file. When random traffic behavior or sensor noise configuration exists, the corresponding random seed and noise configuration are read simultaneously and written into the target failure scenario baseline package, so that subsequent candidate scenarios can be reproduced and compared under the same simulation conditions. Other virtual traffic participants perform actions such as starting, following, decelerating, stopping, changing lanes, turning, or crossing according to the trigger conditions and actions read from the scenario event execution interface. The baseline closed-loop simulation continues until the failure determination interface outputs the failure result, the test vehicle completes the driving task, or the scenario termination condition is met. During simulation, the recording time is based on the changes in the state of scene events. The sequence of events entering the waiting, initiation, execution and completion states is recorded through the scene event execution interface. The position, speed, driving direction and action state of relevant traffic participants at the time of event initiation are recorded through the scene object management interface. The positional relationship between the lane, road area and intersection, crossing area or lane merging area of ​​relevant traffic participants is recorded through the road query interface. The braking, avoidance or lane changing behavior performed by the autonomous driving system under test before the target failure occurs is recorded through the vehicle control interface.

[0060] After the baseline closed-loop simulation is completed, the target failure is determined based on the termination result given by the failure determination interface. When a collision with a traffic participant occurs, the virtual number of the direct collision is read from the collision detection results, and the road area where the collision occurs is determined according to the road query interface. When a vehicle leaves the road, violates a traffic signal, or fails to complete the driving task, the failure type, the road area involved, and whether there are directly related traffic participants are determined from the corresponding road status record, traffic signal record, or task status record. When consecutive abnormal results occur in the same simulation, the earliest abnormal result that causes the original driving task to fail substantially is selected as the target failure, and subsequent abnormalities are considered as subsequent results of that target failure. For example, if the test vehicle first collides with a pedestrian crossing the road and then leaves the road, the target failure record is the collision between the test vehicle and the pedestrian crossing the road. The target failure is composed of the failure type, core traffic participant records, failure occurrence area, and main traffic conflict process. When a collision occurs or the task fails directly due to a specific traffic participant, the core traffic participant is recorded as the corresponding virtual vehicle, pedestrian, or non-motorized vehicle. When the task fails due to exiting the road, violating traffic signals, or when there is no directly related traffic participant, the core traffic participant is recorded as having no directly related traffic participant. The main traffic conflict process is a sequence of events that actually change the motion state, visibility conditions, traffic relationships, and action initiation timing of the test vehicle or related traffic participants before the target failure occurs. Subsequent steps are performed according to the consistency comparison of the core traffic participant records.

[0061] The main traffic conflict process is obtained by tracing back the scene event execution records from the moment the target fails. During tracing, the core traffic participants are first identified, then the executed events directly related to their action initiation, movement state, visibility state, and passage state are searched and recorded in the actual order of occurrence. Taking a driving simulation scenario where a bus obstructs a pedestrian as an example, the original driving simulation scenario includes the test vehicle, a parked bus, a pedestrian crossing, oncoming vehicles, and following vehicles. The scene event execution records show that the bus remains parked, the test vehicle gradually approaches the crossing area, the pedestrian crossing event is subsequently initiated, the pedestrian crosses the edge of the bus and enters the virtual sensor target list, the autonomous driving system under test outputs a braking command, and the test vehicle ultimately collides with the pedestrian. The oncoming vehicle's entry into the intersection event is still in a waiting state before the collision, and the following vehicles' movement does not change the action state of either the test vehicle or the pedestrian. Therefore, the main traffic conflict process is recorded as follows: the bus forms an obstruction, the test vehicle approaches the crossing area, the pedestrian begins to cross, the pedestrian leaves the obstruction area, the test vehicle begins to brake, and the test vehicle collides with the pedestrian. This event sequence is used to distinguish driving simulation scenarios that have different causes but the same failure type.

[0062] After determining that the target has failed, the traffic participant configuration, initial state, actions, triggering conditions, termination conditions, and control configuration in the original driving simulation scenario are analyzed, and scene semantic units are formed with virtual traffic participants as the main body. Each scene semantic unit includes a virtual traffic participant, the initial state of the traffic participant, the actions performed by the traffic participant, the triggering conditions for initiating the actions, the termination conditions for the actions, and the control configuration specific to the traffic participant. A virtual vehicle performing a lane-entry action has a scene semantic unit including the vehicle virtual number, initial lane, initial motion state, target lane, entry action, entry initiation conditions, and entry completion conditions; a pedestrian performing a crossing action has a scene semantic unit including the pedestrian virtual number, initial position, direction of travel, crossing action, crossing initiation conditions, and crossing termination conditions. When a triggering condition involves multiple traffic participants, the triggering condition is assigned to the scene semantic unit of the traffic participant actually performing the action, and its reference relationship with other traffic participants is recorded. For example, when a pedestrian crosses the road, triggered by a virtual vehicle arriving at a designated road location, the pedestrian crossing action and the corresponding triggering conditions are included in the pedestrian scene semantic unit, and the triggering reference relationship between the pedestrian scene semantic unit and the virtual vehicle scene semantic unit is recorded.

[0063] Roads, lanes, stop lines, crossing areas, and intersections are recorded as basic road objects, and road reference relationships are established with scene semantic units that reference these basic road objects. After completing the scene semantic unit division, semantic unit relationships are established based on the reference configuration in the original driving simulation scenario and the actual execution results of the baseline closed-loop simulation. Semantic unit relationships include entity reference relationships, event triggering relationships, occlusion relationships, and passage relationships. Entity reference relationships indicate that the triggering condition or action configuration in one scene semantic unit references another traffic participant; event triggering relationships indicate that the start or completion state of one event determines the start of another event; occlusion relationships indicate that a traffic participant is actually located between the test vehicle and the core traffic participant during the target failure formation process, affecting the timing when the core traffic participant enters the virtual sensor target list; passage relationships indicate that a traffic participant actually changes the lane occupancy, yielding state, or cross-traffic state of the test vehicle or the core traffic participant.

[0064] Occlusion relationships are determined by combining traffic participant location records and the virtual sensor target list. Before core traffic participants enter the virtual sensor target list, the positions and driving directions of the test vehicle, suspected occlusion objects, and core traffic participants are read through the scene object management interface, and the target number list output by the virtual sensor interface is also read. When a suspected occlusion object is located between the test vehicle and the core traffic participant, and the core traffic participant enters the target number list after crossing the edge of the object, the object is recorded as a valid occlusion object. In the scenario where a bus occludes a pedestrian, the virtual sensor target list is queried through the pedestrian's virtual number. If the pedestrian did not enter the target list while the bus was stopped, but entered the target list for the first time after crossing the edge of the bus, and the positional relationship between the test vehicle, the bus, and the pedestrian indicates that the bus is located between them, an occlusion relationship is established between the bus scene semantic unit and the pedestrian scene semantic unit. Traffic relationships are determined based on road occupancy status, scene event execution records, and the main control behaviors of the autonomous driving system under test. For example, if a vehicle from the side enters the test vehicle's target lane, and the test vehicle begins to decelerate or change its trajectory, the vehicle from the side is recorded as a scene semantic unit that changes the test vehicle's traffic status.

[0065] After mapping the relationships in the scenario configuration to the actual execution records, relationships that were effective before the target failure occurred are recorded as valid relationships, and trigger events and their relationships that are still in a waiting state are recorded as unexecuted relationships. For each valid trigger relationship of a cross-scenario semantic unit, the relationship reference state at the actual start of the event is extracted. The relationship reference state is jointly provided by the scenario object management interface, the road query interface, and the scenario event execution interface, including the positional relationship between relevant traffic participants and the event area (excluding the original trigger object), the movement state and driving direction of relevant traffic participants, and the execution state of relevant preceding events. For example, when a pedestrian crossing is triggered by a virtual vehicle arriving at a designated location, at the actual start of the pedestrian crossing event, the positional relationship between the test vehicle and the crossing area, the movement state of the test vehicle, the bus stopping event state, and the initial direction of the pedestrian are read, and these contents are recorded as the relationship reference state of the crossing event. The relationship reference state is associated with the corresponding trigger relationship and scenario event number. After S2 determines the retention state of the scenario semantic unit, it selects the traffic participant state or road state that still exists in the corresponding deletion task for S3 to handle the missing trigger basis.

[0066] Finally, the original driving simulation scenario, target failure, scene semantic units, semantic unit relationships, and relationship reference states are written into the target failure scenario baseline package. The original driving simulation scenario serves as the base file for generating derived driving simulation scenarios; target failure is used to limit the failure types, core traffic participant records, failure occurrence areas, and main traffic conflict processes that subsequent candidate scenarios need to maintain; scene semantic units are used to form complete deletion objects; semantic unit relationships are used to determine the triggering, occlusion, and passage relationships affected after deleting a scene semantic unit; and relationship reference states are used to express the actual triggering state of cross-scene semantic unit events in the original driving simulation scenario. The target failure scenario baseline package associates various contents through virtual traffic participant numbers, scene event numbers, and road area numbers, and serves as the input for the S2 generation hierarchical deletion task package.

[0067] S2: Based on the conflict process, a hold chain is formed. Based on the hold chain, semantic units of the scene to be verified are determined. After determining the deletion level and affected relationships based on the relationship between the semantic units of the scene to be verified and the hold chain, units that are independent within the same level, do not point to the same event, and have no direct correlation are grouped into combined deletion tasks. A conditional task tree is pre-built based on all combined deletion tasks, and a hierarchical deletion task package is constructed, specifically including:

[0068] The target failure scenario baseline package output by S1 is read, and a unified index is established according to the virtual traffic participant number, scenario event number, and road area number. The original driving simulation scenario is used to locate the entity configuration, initial state, behavior, triggering conditions, and control configuration corresponding to each scenario semantic unit; the target failure is used to determine the failure type that needs to be maintained, the core traffic participants, the failure occurrence area, and the main traffic conflict process; the scenario semantic units are used to determine the complete object targeted by each deletion; the semantic unit relationships are used to determine the entity references, event triggers, occlusion, and passage relationships affected after deleting a scenario semantic unit; and the relationship reference state is used to provide the original operational basis for subsequent possible trigger basis replacements. All of the above content is associated under the same index, so that each object to be deleted can correspond to a specific scenario configuration, actual execution relationship, and its role in the target failure.

[0069] Based on the main traffic conflict processes in the target failure, a target failure retention chain is formed according to the actual execution sequence of the baseline closed-loop simulation. The target failure retention chain sequentially records the scene events directly related to the target failure, the scene semantic units involved in the events, the road area where the events occur, and the relationships between adjacent events. The test vehicle, core traffic participants, the road base objects corresponding to the failure area, and the base events limiting the original driving task are registered as fixed retained content, while the remaining scene semantic units are registered as scene semantic units to be verified. The necessity of the scene semantic units to be verified is determined by subsequent derived scenarios and closed-loop simulation results. Taking the scenario of a bus obstructing pedestrians as an example, the test vehicle, pedestrians crossing, and the crossing area are fixed retained content, while the stopped bus, oncoming vehicles, following vehicles, and other virtual traffic participants are respectively entered into different deletion levels as scene semantic units to be verified.

[0070] For each semantic unit of a scenario to be verified, its event execution status, entity reference relationships, event triggering relationships, occlusion relationships, and passage relationships are read sequentially, and the pruning level is determined according to the valid relationships already recorded between it and the target failure maintenance chain. Scenario semantic units that are in a waiting state before the target failure occurs and are not referenced by valid events in the target failure maintenance chain enter the first pruning layer; scenario semantic units that have executed actions but whose semantic unit relationships formed by S1 do not record valid entity reference relationships, event triggering relationships, occlusion relationships, or passage relationships related to the target failure maintenance chain enter the second pruning layer; scenario semantic units referenced by other valid events as triggering basis, but which have not formed valid occlusion relationships or passage relationships, enter the third pruning layer; and scenario semantic units that have formed valid occlusion relationships, lane occupancy relationships, yielding relationships, right-of-way change relationships, or core traffic conflict relationships enter the fourth pruning layer. When the same scenario semantic unit corresponds to multiple relationships, it is processed according to the pruning level that is latest in the target failure maintenance chain. Therefore, vehicles traveling in the opposite direction that have not entered the intersection before the target failure occurs are placed in the first elimination layer; following vehicles that have already traveled but have not formed a valid relationship with the target failure maintenance chain are placed in the second elimination layer; virtual vehicles that are only used to trigger pedestrian crossings and have not formed an obstruction or passage relationship are placed in the third elimination layer; and parked buses that form a valid pedestrian obstruction relationship are placed in the fourth elimination layer.

[0071] After determining the deletion level, the virtual number of the semantic unit to be verified is used as the search condition to find all relationships that will be affected by deleting the semantic unit from the original driving simulation scene and semantic unit relationships. Entity configurations, initial states, behaviors, and control configurations belonging only to the traffic participant are recorded as overall deletion content; triggering conditions referencing the traffic participant in the remaining events are recorded as trigger basis affected relationships; effective occlusion relationships, passage relationships, and target failure hold-up events related to the traffic participant are recorded as traffic relationship affected relationships. Each affected relationship records the relationship type, the object affected by the relationship, the corresponding scene event number, the corresponding road area number, and the actual effective state in the baseline closed-loop simulation, enabling S3 to locate the specific scene configuration that needs to be processed.

[0072] For triggering relationships affected by the event, the state relationship between the traffic participants and the fixed road area at the time of the original event is extracted from the relationship reference state based on the corresponding scenario event number, and this relationship reference state is bound to the current deletion task. For example, when a pedestrian crossing is triggered by a virtual vehicle arriving at a designated road location, if the virtual vehicle is listed as a deletion target, the current task simultaneously records the pedestrian crossing event, the original triggering target, the relative position between the test vehicle and the crossing area at the actual start of the pedestrian crossing, the motion state of the test vehicle, and the relevant preceding event states. S3 generates candidate triggering conditions expressed by the retained object accordingly. For traffic relationship affected by the event, the task records the core traffic participants, road areas, driving intentions, occlusion relationships, passage relationships, and the order of major events that need to be maintained, enabling S3 to determine whether the deletion operation changes the traffic conflict mechanism corresponding to the target failure.

[0073] Within the same pruning layer, independent semantic units of scenarios to be verified are organized into combined pruning tasks. Two semantic units of scenarios can enter the same combined pruning task if there are no direct entity references or event triggering relationships between them, they do not participate in the same occlusion or passage relationship, and their respective affected relationships do not point to the same event in the target failure persistence chain. The combined task simultaneously records the deleted content and affected relationships of each semantic unit of the scenario to be verified, and generates a corresponding separate subtask for each semantic unit in the combination. When the candidate scenario corresponding to the combined task can reproduce the target failure, the semantic units within the combination are entered into the next pruning layer as cumulative deleted content; when the candidate scenario corresponding to the combined task fails to reproduce the target failure, candidate scenarios are generated separately according to their subtasks to determine the specific semantic units in the combination that affect the target failure.

[0074] For example, a typical driving simulation scenario might include oncoming vehicles, following vehicles, and non-motorized vehicles on the roadside. If there are no entity references or event triggering relationships between these three entities, and they do not collectively influence the same core event, then a combined deletion task is created, further divided into subtasks for deleting only oncoming vehicles, only following vehicles, and only non-motorized vehicles. The combined task records all configuration positions and affected relationships for each of the three entities. S3 can generate candidate scenarios for simultaneously deleting all three entities based on the combined task, and generate individual deletion scenarios based on each subtask. This allows S4 to determine, based on the closed-loop simulation results, whether all three can be deleted together or which objects need to be retained.

[0075] Each deletion task records the task number, deletion level, parent task number, current list of semantic units to be deleted, cumulative list of deleted semantic units, list of retained semantic units, list of affected relationships, relationship reference status, target failure maintenance chain, relationship retention entries, and subsequent task numbers for conditions. Relationship retention entries are formed based on the target failure maintenance chain and the affected relationships in traffic relations. Specifically, they record the core traffic participants that need to continue existing after deleting the current scene semantic units, the failure location, core actions, occlusion relationships, passage relationships, and the order of major events. The current list of semantic units to be deleted represents the objects to be added or deleted in this task. The cumulative list of deleted semantic units represents all objects to be jointly deleted from the task tree starting point to the current task plan. The list of retained semantic units is obtained by subtracting the cumulative deleted semantic units from all scene semantic units. S2 pre-forms a conditional task tree, with the original driving simulation scenario as the root node for the first deletion layer tasks. For any cumulative deletion task node, a separate deletion sub-task is formed for each remaining unverified scene semantic unit of that node, and combined deletion sub-tasks are formed for scene semantic units that meet the combination conditions. When the parent task fails to reproduce the target, S4 activates its corresponding subtask; if the parent task fails to reproduce the target or is judged to have a relationship mismatch in S3, its subsequent subtasks remain inactive. Thus, the parent-child relationship in the task tree represents candidate elimination paths, and whether a specific path is executed is determined by the closed-loop simulation results of S4.

[0076] After task generation, each semantic unit to be deleted is identified based on the original driving simulation scenario, ensuring that its corresponding entity node, action node, trigger condition node, and control configuration node can be located. It is also confirmed that each affected relationship and relationship retention entry can be located to a specific reference object, action object, road area, and scene event. The located tasks are written into a hierarchical deletion task package according to deletion hierarchy, parent-child relationship, combination relationship, and conditional activation relationship. The hierarchical deletion task package fully preserves the target failure scenario baseline package formed in S1 and adds a target failure retention chain, conditional task tree, cumulative list of deleted semantic units for each task, list of retained semantic units, list of affected relationships, relationship reference state references, and relationship retention entries. This hierarchical deletion task package serves as input to S3, used to replicate the original driving simulation scenario, perform overall semantic unit deletion, handle changes in trigger criteria, and generate candidate scenarios for relationship retention.

[0077] S3: Based on the hierarchical task reduction package, establish candidate scene files, remove scene semantic units, and determine pending triggering conditions. Convert the pending triggering conditions into new triggering criteria according to the relationship reference state. Based on the traffic relationships of the candidate scenes according to the hold chain core, establish candidate event mappings for the candidate scene files. Write the candidate scene files, new triggering criteria, event mappings, and traffic relationship verification results into the candidate scene package, specifically including:

[0078] S3 receives the hierarchical deletion task package output by S2 and uses all the information stored within—the target failure scenario baseline package, target failure hold chain, task tree, task number, parent task number, subsequent task number, current list of semantic units to be deleted, cumulative list of deleted semantic units, list of retained semantic units, list of affected relationships, and relationship reference status—to generate candidate driving simulation scenarios. The system reads each deletion task according to the processing order in the task tree, copies the original driving simulation scenario through the scenario file management interface, and establishes a unique correspondence between the candidate scenario file and the deletion task using the current task number. Simultaneously, the parent task number, subsequent task number, and cumulative list of deleted semantic units are written to the candidate scenario record. The copied scenario file continues to use the original road structure, test vehicle configuration, driving task conditions, and scenario termination conditions, ensuring that the differences between different candidate scenarios are concentrated on the scenario semantic units explicitly recorded in the deletion task and their affected relationships. The current list of semantic units to be deleted is used to determine the newly added deletion objects in this task; the cumulative list of deleted semantic units is used to determine all objects that have been jointly deleted from the start of the task tree to the current task; and the list of retained semantic units is used to verify the traffic participants, actions, and scenario events that should continue to exist in the candidate scenario.

[0079] Based on the cumulative list of deleted semantic units, the system uses the virtual traffic participant number, scene event number, and scene configuration location established by S1 to locate the corresponding traffic participant entity, initialization configuration, behavior action, action completion condition, dedicated control configuration, and triggering conditions that only serve that traffic participant in the copied scene file. During deletion, the system first removes the behavior action and action completion condition executed by the traffic participant to be deleted, then removes the initialization configuration and dedicated control configuration, and finally removes the traffic participant entity, ensuring that the configuration content within the same scene semantic unit is processed as a whole. Events, actions, and traffic participants belonging to retained semantic units continue to exist in the candidate scenes; when the triggering condition of a retained event references a traffic participant in a cumulatively deleted semantic unit, the condition is registered as a pending triggering condition according to the affected relationship list. For example, if a pedestrian scene semantic unit is retained, and the pedestrian crossing action was originally triggered by a vehicle to be deleted arriving at the designated road area, the system retains the pedestrian entity, crossing action, and crossing termination condition, and registers the crossing initiation condition as a triggering basis affected relationship, with subsequent relationship processing determining its expression in the candidate scene.

[0080] The system reads the list of affected relationships item by item and determines the corresponding processing content based on the object affected by the relationship and the actual execution status. The actions, conditions, and control configurations of the traffic participant to be deleted are removed along with its scene semantic unit; the trigger references formed by the retained event for the traffic participant to be deleted are processed as trigger conditions; the occupancy, lane occupation, yielding, right-of-way changes, or core traffic conflict effects undertaken by the traffic participant to be deleted are judged as traffic relationship maintenance. For trigger condition processing, the system reads the status of the retained object when the event was actually started in the baseline closed-loop simulation from the relationship reference status based on the scene event number in the affected relationship. This includes the positional relationship between the test vehicle and the fixed road area, the positional relationship between the retained traffic participant and the fixed road area, the execution status of the retained scene event, and the completion status of the preceding events in the target failure maintenance chain. The system prioritizes selecting objects with the same road meaning as the original trigger event and that persist in the candidate scene as new trigger criteria. When the original trigger condition is that the traffic participant to be deleted arrives at the designated road area, the system converts it to a test vehicle or a retained traffic participant arriving at the corresponding road relationship in the relational reference state and then triggers the event. When the original trigger condition is that the traffic participant to be deleted completes an action, the system selects the retained preceding event state corresponding to that action in the relational reference state as the trigger basis. When the original trigger condition also includes a retained object state, the retained object state is used, and the condition content corresponding to the deleted object is replaced. The processed event continues to use the original scene event number, and the correspondence between the original triggering object, the replaced triggering object, the relational reference state, and the triggered action is recorded.

[0081] Taking a driving simulation scenario where a bus obstructs a pedestrian's path as an example, the pedestrian's crossing is originally triggered by a virtual vehicle entering a designated road area from a distance. This virtual vehicle is added to the cumulative deletion semantic unit list in S2. The relational reference state formed in S1 records the positional relationship between the test vehicle and the crossing area when the pedestrian actually begins to cross, the execution state of the bus stopping event, and the pedestrian's direction of travel. After deleting the virtual vehicle and its associated actions from the candidate scenario, the system rewrites the pedestrian crossing condition to the test vehicle reaching the recorded road relationship state, and continues to use the precondition that the bus stopping event is in the corresponding execution state. The candidate scenario thus maintains the event sequence of the test vehicle approaching the crossing area, the bus continuously forming an obstruction, and the pedestrian starting to cross. For scenarios where the action of a distant vehicle triggers the entry of an adjacent vehicle, the system can, based on the relational reference state, change the entry action to be executed after the test vehicle reaches the road relationship corresponding to the original entry action, while retaining the entry vehicle, target lane, and entry action, so that the event initiation role of the object to be deleted is expressed by the retained road relationship in the candidate scenario.

[0082] After completing the trigger condition processing, the system checks the traffic conflict mechanism in the candidate scenarios based on the target failure maintenance chain and relationship maintenance entries. The check includes whether core traffic participants continue to exist, whether the driving intentions of core traffic participants are maintained, whether the failure area still corresponds to the original road area, whether the main events in the target failure maintenance chain have corresponding execution objects and actions, and whether occlusion relationships, passage relationships, and event sequence relationships have actual carrying objects. When a traffic participant to be deleted only plays a triggering role, and this triggering role has been re-expressed through the state of the retained object, the corresponding relationship is recorded as maintained. When a traffic participant to be deleted directly plays a necessary occlusion, lane occupation, yielding, right-of-way change, or core conflict role in the target failure, the system records the corresponding deletion task as a relationship mismatch task and records the mismatched scenario event, road area, and traffic relationship. For example, when a parked bus actually plays an occlusion role for pedestrians crossing, deleting the bus will cause the occlusion relationship in the target failure maintenance chain to lose its carrying object; when an adjacent vehicle actually enters the lane where the test vehicle is located and forms lane occupation, deleting that vehicle will cause the conflict relationship to lose its execution object. The above relationship mismatch results are used to stop the corresponding deletion branch in S4.

[0083] For candidate scenarios for maintaining traffic relationships, the system checks the traffic participant number, action execution object, trigger condition reference object, road area reference, and scenario event succession relationship through the scenario parsing interface. It then loads the candidate scenario file through the simulation platform's scenario initialization interface, reading the initial position, lane, direction of travel, and initial event state of the retained traffic participants. All retained events in the candidate scenario should be able to enter a predetermined waiting state or initial execution state, and the traffic participants, road areas, and scenario events referenced by the trigger conditions should be recognizable by the simulation platform. The system then establishes a candidate event mapping according to the target failure maintenance chain, recording the original scenario event number, the corresponding event number in the candidate scenario, the event execution object, the action content, the trigger condition source, the road area, and the preceding and following event relationships. When the original trigger condition continues to be used, the trigger condition source is recorded as the original scenario configuration; after the trigger condition is processed by the relationship reference state, the trigger condition source is recorded as the corresponding relationship reference state and the alternative trigger object. The candidate event mapping is used by S4 to compare the actual event sequence in the closed-loop simulation with the target failure maintenance chain item by item.

[0084] The combined deletion task and its corresponding individual subtasks generate candidate driving simulation scenarios in the same way. The combined deletion task uses its cumulative deleted semantic unit list to generate a combined candidate scenario, and the individual subtasks use their respective cumulative deleted semantic unit lists to generate individual candidate scenarios. Each candidate driving simulation scenario carries a task number, parent task number, subsequent task number, cumulative deleted semantic unit list, and retained semantic unit list, enabling S4 to arrange closed-loop simulation according to the task hierarchy determined by S2 and accurately map each test result to the specific deletion content. The system writes the candidate driving simulation scenario file, trigger condition processing record, candidate event mapping, traffic relationship maintenance result, target failure maintenance chain, and target failure into the relationship maintenance candidate scenario package after scenario parsing and initialization processing. At the same time, it writes the task number, cumulative deleted semantic unit list, mismatch scenario event, mismatch traffic relationship, and corresponding road area of ​​the relationship mismatch task into this data package. S4 uses the relationship maintenance candidate scenario package as input, loads the candidate driving simulation scenario, executes autonomous driving closed-loop simulation, and determines the deletion result of each scenario semantic unit based on the task hierarchy, candidate event mapping, and target failure maintenance chain.

[0085] S4: Based on the candidate scenario package, restore the connection relationship of driving simulation scenarios in the hierarchical reduction task, add the effective driving simulation scenarios to the closed-loop simulation queue for simulation, compare the simulation results with the target failure item by item according to the candidate event mapping, and determine the minimum reproducible failure scenario to complete the autonomous driving simulation test, specifically including:

[0086] S4 receives the relationship-preserving candidate scenario package output by S3 and reads the candidate driving simulation scenario file, task number, parent task number, subsequent task number, cumulative deleted semantic unit list, retained semantic unit list, trigger condition processing record, candidate event mapping, traffic relationship preservation result, target failure preservation chain, target failure, and relationship mismatch task record. The system restores the hierarchical elimination relationship of each candidate driving simulation scenario in the hierarchical elimination task based on the task number, parent task number, and subsequent task number. Candidate driving simulation scenarios with valid traffic relationship preservation results are added to the closed-loop simulation queue, and the elimination direction corresponding to the relationship mismatch task is registered as the termination direction. The closed-loop simulation queue is arranged in the order of parent task before child task, and combined elimination task before corresponding split task. The cumulative deleted semantic unit list is used to determine all traffic participants and their associated configurations that have been removed in the current candidate scenario. The retained semantic unit list is used to verify the traffic participants, behaviors, and scene events that should continue to exist in the current candidate scenario. The trigger condition processing record is used to identify the basis for the replacement of events in the candidate scenario. The candidate event mapping is used to establish a correspondence between the actual events in the candidate scenario and the original events in the target failure maintenance chain. The relationship mismatch task record is used to indicate the deletion direction that cannot continue to be executed due to the lack of necessary occlusion relationships, passage relationships, core event execution objects, or effective trigger paths.

[0087] The system imports candidate driving simulation scenario files from the closed-loop simulation queue sequentially into the same simulation platform via the scenario loading interface. It then initializes the scenario according to the road file, test vehicle configuration, vehicle dynamics configuration, virtual sensor configuration, communication interface configuration, simulation step size, traffic participant behavior model version, and the version of the autonomous driving system under test corresponding to the original driving simulation scenario. When the baseline package records a random seed or noise configuration, the candidate scenario synchronously adopts that random seed or noise configuration. The scenario object management interface generates the test vehicle and other virtual traffic participants based on the reserved semantic unit list. The scenario event execution interface loads the behavioral actions, triggering conditions, and scenario termination conditions from the candidate scenarios. The virtual sensor interface sends road environment and surrounding traffic participant information to the autonomous driving system under test. The vehicle status interface sends the current operating status of the test vehicle. The autonomous driving system under test outputs steering, braking, and driving commands through the vehicle control interface. The simulation platform updates the test vehicle status according to the control commands and drives other traffic participants to perform corresponding actions according to the event configurations in the candidate driving simulation scenarios. During closed-loop simulation, the system records the initiation status, completion status, and actual sequence of events related to the target failure chain based on the candidate event mapping record. It records the location, movement state, driving direction, and action state of core traffic participants at the occurrence of critical events through the scene object management interface; records the road area, lane, and relationship with the failure area of ​​core traffic participants through the road query interface; records the event location of core traffic participants entering the target list through the virtual sensor interface; records the main braking, avoidance, or lane-changing behaviors performed by the tested autonomous driving system before failure through the vehicle control interface; and records test results such as collision, exiting the road, violating traffic signals, or task incompleteness through the failure determination interface. The candidate driving simulation scenario continues to run until failure occurs, the driving task is completed, or the scenario termination conditions are met. The system then reconstructs the actual traffic conflict process of the candidate scenario based on the records from the aforementioned interfaces.

[0088] After the simulation, the system compares the actual test results of the candidate driving simulation scenarios with the target failure item by item. The termination reason output by the failure determination interface is used to determine the actual failure type; the collision object number, violation-related object number, or task failure-related object number is used to determine the actual core traffic participants; the road area output by the road query interface is used to determine the actual failure location; and the candidate event mapping and scenario event execution record are used to determine the actual main traffic conflict process. When the actual failure type, core traffic participants, failure location, and main traffic conflict process are all consistent with the target failure, the current candidate driving simulation scenario is registered as a target failure reproduction scenario; if any of these elements change, the current candidate driving simulation scenario is registered as a target failure non-reproduced scenario. For example, if the target failure hold chain records the bus remaining stopped, the test vehicle approaching the crossing area, the pedestrian starting to cross, the pedestrian leaving the occlusion area, the test vehicle starting to brake, and the test vehicle colliding with the pedestrian, and the same collision still occurs in the above sequence after removing the distant triggering vehicle from the candidate scenario, then this candidate scenario belongs to the target failure reproduction scenario. If the pedestrian in the candidate scenario has already entered the virtual sensor target list before the bus forms an occlusion, and even if a pedestrian collision still occurs, the main traffic conflict process has changed, then this candidate scenario belongs to the target failure non-reproduction scenario. The trigger condition processing record is also used to confirm that the changed event is still initiated by the alternative triggering basis determined by S3, thereby accurately associating the actual simulation results with the corresponding scene deletion and relationship processing process.

[0089] After a candidate driving simulation scenario is registered as a target failure reproduction scenario, the system registers its cumulative deleted semantic unit list as a valid deletion result in that task branch and activates individual deletion subtasks and combined deletion subtasks with the current task as the parent task. After a candidate driving simulation scenario is registered as a target failure non-reproducible scenario, the system stops activating subsequent deletion tasks with that task as the parent task and searches for other subtasks under the same parent task based on the parent task number. When the target failure is not reproduced in a combined deletion scenario, the system executes the individual deletion scenarios corresponding to the combined task respectively; the results of each individual deletion scenario form independent task branches, and when multiple individual deletion scenarios reproduce the target failure, their corresponding valid deletion branches are retained respectively. Only when a cumulative deletion candidate scenario containing multiple scenario semantic units undergoes closed-loop simulation and reproduces the target failure are the multiple scenario semantic units written together into the same valid deletion result. Taking the combined task of simultaneously deleting oncoming vehicles, following vehicles, and non-motorized vehicles on the roadside as an example, if the combined candidate scenario does not reproduce the target failure, but the candidate scenarios of deleting only oncoming vehicles and only deleting non-motorized vehicles on the roadside reproduce the target failure, the system retains two task branches: "deleting oncoming vehicles" and "deleting non-motorized vehicles on the roadside," respectively, and continues to activate separate deletion sub-tasks for the remaining scene semantic units under the corresponding branches. When the candidate scenario of deleting only following vehicles changes the target failure retention chain, the following vehicles are registered as necessary semantic units in the deletion path corresponding to the parent task. The deletion task in the relation mismatch task record serves as the termination node of the corresponding path, and the retention basis of the corresponding scene semantic units is determined according to the specific mismatch relationship recorded therein.

[0090] When each remaining semantic unit of a target failure reproduction scenario has a separate deletion subtask, and these separate deletion subtasks have all obtained results indicating that the target failure has not been reproduced or that the relationship is mismatched, the current scenario is registered as a scenario that cannot be further deleted. When there are multiple scenarios that cannot be further deleted, within the task scope covered by the hierarchical deletion task package, the final reproduction test order is determined according to the number of retained semantic units from smallest to largest; when the number of retained semantic units is the same, they are retained as candidate results under different deletion paths. The system imports the scenarios that cannot be further deleted back into the simulation platform through the scenario loading interface, re-executes the complete closed-loop simulation, and re-acquires the actual failure type, core traffic participant records, actual failure occurrence area, and actual main traffic conflict process. When the final reproduction test still yields the same target failure, the corresponding candidate driving simulation scenario is determined as the minimum reproducible failure scenario; when the final reproduction test does not yield the same target failure, the candidate scenario is registered as a reproducible unstable scenario, and the final reproduction test continues to be performed on the next scenario that cannot be further deleted. The final output includes a minimum reproducible failure scenario package and a reduced verification record. The minimum reproducible failure scenario package includes the driving simulation scenario file that passed the final reproduction test, a list of retained semantic units, a list of cumulatively deleted semantic units, trigger condition processing records, candidate event mappings, target failure holding chains, target failures, and closed-loop simulation results. The reduced verification record includes the test results corresponding to each task number, the actual failure content, the target failure reproduction conclusion, the reason for relationship mismatch, the parent-child task inheritance relationship, and the basis for retaining each remaining scenario semantic unit. The minimum reproducible failure scenario file, along with road references, traffic participant configurations, event scripts, and scenario termination conditions, is written into the autonomous driving simulation test case library. The system for implementing the above methods includes a scene loading interface, a scene object management interface, a scene event execution interface, a road query interface, a virtual sensor interface, a vehicle status interface, a vehicle control interface, a failure determination interface, a scene file management interface, a task package storage unit, and a test case library. The task package storage unit is used to store the target failure scene baseline package, the hierarchical reduction task package, and the relationship-preserving candidate scene package. Each interface and storage unit executes the above baseline construction, task generation, candidate scene generation, closed-loop simulation, and result output processes, respectively.

[0091] refer to Figure 2 As shown, another aspect of this application embodiment also proposes an autonomous driving simulation test system based on driving simulation scenarios, including:

[0092] The baseline package construction module is used to import driving simulation scenarios into the simulation platform and perform simulation tests until the failure determination interface outputs failure results. Based on the failure results, a conflict process is constructed. Based on the event sequence of the conflict process, scenario semantic units are constructed. According to the actual occurrence order and execution status of the scenario semantic units, the relationship between each semantic unit is established, and the relationship reference status when cross-unit events are started is extracted. Based on the conflict process, scenario semantic units, relationships, and relationship reference status, the target failure scenario baseline package is constructed.

[0093] The task package construction module is used to form a holding chain according to the conflict process, determine the semantic unit of the scenario to be verified based on the holding chain, determine the deletion level and the affected relationship according to the relationship between the semantic unit of the scenario to be verified and the holding chain, combine the independent units within the same level that do not point to the same event and have no direct relationship into a combined deletion task, pre-build a conditional task tree based on all combined deletion tasks, and construct a hierarchical deletion task package.

[0094] The scene package construction module establishes candidate scene files, removes scene semantic units, and determines pending trigger conditions based on the hierarchical task package. It converts the pending trigger conditions into new trigger criteria according to the relationship reference state. Based on the traffic relationship of the candidate scenes according to the holding chain core, it establishes candidate event mappings for the candidate scene files. The module then writes the candidate scene files, new trigger criteria, event mappings, and traffic relationship verification results into the candidate scene package.

[0095] The simulation test module is used to recover the connection relationship of driving simulation scenarios in the hierarchical reduction task based on the candidate scenario package, add the effective driving simulation scenarios to the closed-loop simulation queue for simulation, compare the simulation results with the target failure item by item according to the candidate event mapping, and determine the minimum reproducible failure scenario to complete the autonomous driving simulation test.

[0096] The above embodiments are merely descriptions of preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made by those skilled in the art to the technical solutions of the present invention without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.

Claims

1. An autonomous driving simulation testing method based on driving simulation scenarios, characterized in that, include: The driving simulation scenario is imported into the simulation platform and simulation test is performed until the failure judgment interface outputs the failure result. Based on the failure result, a conflict process is constructed. Based on the event sequence of the conflict process, a scenario semantic unit is constructed. According to the actual occurrence order and execution status of the scenario semantic units, the relationship between each semantic unit is established, and the relationship reference state when the cross-unit event is started is extracted. Based on the conflict process, scenario semantic units, relationship and relationship reference state, a target failure scenario baseline package is constructed. A hold chain is formed based on the conflict process. The semantic unit of the scene to be verified is determined based on the hold chain. The deletion level and the affected relationship are determined according to the relationship between the semantic unit of the scene to be verified and the hold chain. Units that are independent of each other at the same level, do not point to the same event, and have no direct relationship are combined into a combined deletion task. A conditional task tree is pre-built based on all combined deletion tasks, and a hierarchical deletion task package is constructed. Based on the hierarchical task package, candidate scene files are created, scene semantic units are removed, and pending triggering conditions are determined. The pending triggering conditions are converted into new triggering criteria according to the relationship reference state. Based on the traffic relationship of the candidate scenes according to the holding chain core, candidate event mapping of the candidate scene files is established. The candidate scene files, new triggering criteria, event mapping, and traffic relationship verification results are written into the candidate scene package. Based on the candidate scenario package, the connection relationship between the driving simulation scenario and the hierarchical reduction task is restored, and the effective driving simulation scenario is added to the closed-loop simulation queue for simulation. The simulation results are compared with the target failure item by item according to the candidate event mapping, and the minimum reproducible failure scenario is determined to complete the autonomous driving simulation test.

2. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The process of importing the driving simulation scenario into the simulation platform and executing simulation tests until the failure determination interface outputs a failure result specifically includes: When a collision occurs between traffic participants, the virtual number of the direct collision is read from the collision detection results, and the road area where the collision occurred is determined according to the road query interface; When a vehicle leaves the road, violates a traffic signal, or fails to complete a driving task, the type of failure, the road area involved, and whether there are any directly related traffic participants are determined from the corresponding road status record, traffic signal record, or task status record. When consecutive abnormal results occur in the same simulation, the earliest abnormal result that caused the original driving task to fail is selected as the failure result.

3. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The scene semantic unit includes virtual traffic participants, the initial state of virtual traffic participants, the actions performed by virtual traffic participants, the triggering conditions for initiating control actions, the termination conditions for actions, and control configurations specifically for virtual traffic participants. When the pending trigger condition involves multiple traffic participants, the pending trigger condition is assigned to the semantic unit of the scene where the virtual traffic participant actually performs the action, and the reference relationship to other virtual traffic participants is recorded.

4. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The relationships between the semantic units include: Entity reference relationships indicate that a triggering condition or action configuration in a scene semantic unit references another traffic participant; Event triggering relationships indicate that the start or completion state of one event determines the start of another event; Occlusion relationship indicates that the virtual traffic participant is actually located between the test vehicle and the core traffic participant during the target failure process, and affects the timing when the core virtual traffic participant enters the virtual sensor target list; Traffic relationship indicates that the virtual traffic participant actually changed the lane occupancy, yielding status, or cross-traffic status of the test vehicle or core traffic participant.

5. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The determination of the pruning level and affected relationships based on the relationship between the unit to be verified and the holding chain specifically includes: Sentence units of scenarios that are in a waiting state before the target fails and are not referenced by valid events in the holding chain are classified into the first pruning layer. Scene semantic units that have performed actions but have not recorded valid entity reference relationships, event triggering relationships, occlusion relationships, or passage relationships related to the target failure hold chain are classified into the second pruning layer; Scene semantic units that are referenced by other valid events as triggering criteria, but do not form a valid occlusion relationship or passage relationship, are classified into the third deletion layer; The semantic units of scenarios that form effective occupancy relationships, lane occupation relationships, yielding relationships, right-of-way change relationships, or core traffic conflict relationships are classified into the fourth deletion layer; When a semantic unit in the same scenario corresponds to multiple relationships, it is processed according to the deletion level that is ranked last in the target failure holding chain.

6. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The determination of the pruning level and affected relationships based on the relationship between the unit to be verified and the holding chain specifically includes: The entity configuration, initial state, behavior and control configuration that belong only to virtual traffic participants will be recorded as deleted content. The triggering conditions that reference the traffic participant in the remaining events are recorded as the triggering basis affected relationship. The remaining events refer to the scene events that are still retained in the original driving simulation scene after a certain scene semantic unit is deleted and belong to other retained semantic units. Effective occlusion relationships and passage relationships related to virtual traffic participants are recorded as traffic relationship affected relationships.

7. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The establishment of the candidate event mapping for the candidate scene file specifically includes: The candidate scene file is loaded through the scene initialization interface, and the initial position, lane, driving direction and initial state of the event of the participants are read and preserved. Traverse each original scene event in the retention chain, find the corresponding retained event in the candidate scene, establish a mapping relationship between the original event number and the candidate event number, and record the event execution object, action content, trigger condition source, road area and the relationship between the preceding and following events for each event.

8. The autonomous driving simulation testing method based on driving simulation scenarios according to claim 1, characterized in that, The step of comparing the simulation results with the target failure item by item based on the candidate event mapping and determining the minimum reproducible failure scenario specifically includes: When the simulation results are consistent with the target failure, it is registered as a reproducible scenario and the child task with the current task as the parent task is activated; When the simulation results are inconsistent with the target failure, it is registered as a non-reproducible scenario and subsequent tasks are stopped from being activated. When each remaining unverified semantic unit corresponding to the reproduced scenario has a separate deletion subtask and has obtained non-reproducible or mismatched results, it is registered as a scenario that cannot be further deleted. If the simulation is re-executed for the scenario that cannot be further reduced, and the same target still fails, then it is determined to be the minimum reproducible failure scenario.

9. The autonomous driving simulation test method based on driving simulation scenarios according to claim 1, characterized in that, The step of re-executing the simulation of the scenario that cannot be further deleted specifically includes: Candidate scenarios are imported into the simulation platform through the scenario loading interface. Scenario initialization is completed according to the road file, test vehicle configuration, vehicle dynamics configuration, virtual sensor configuration, communication interface configuration, simulation step size, traffic participant behavior model version, and the version of the autonomous driving system to be tested corresponding to the original driving simulation scenario. The scene object management interface generates test vehicles and other virtual traffic participants based on the list of retained scene semantic units, while the scene event execution interface loads behavior actions, triggering conditions, and scene termination conditions. During the simulation, the test results are recorded through the failure determination interface based on the candidate event mapping record, the event initiation status, completion status, and actual sequence of events related to the target failure maintenance chain.

10. An autonomous driving simulation testing system based on driving simulation scenarios, characterized in that, include: The baseline package construction module is used to import driving simulation scenarios into the simulation platform and perform simulation tests until the failure determination interface outputs failure results. Based on the failure results, a conflict process is constructed. Based on the event sequence of the conflict process, scenario semantic units are constructed. According to the actual occurrence order and execution status of the scenario semantic units, the relationship between each semantic unit is established, and the relationship reference status when cross-unit events are started is extracted. Based on the conflict process, scenario semantic units, relationships, and relationship reference status, the target failure scenario baseline package is constructed. The task package construction module is used to form a holding chain according to the conflict process, determine the semantic unit of the scenario to be verified based on the holding chain, determine the deletion level and the affected relationship according to the relationship between the semantic unit of the scenario to be verified and the holding chain, combine the independent units within the same level that do not point to the same event and have no direct relationship into a combined deletion task, pre-build a conditional task tree based on all combined deletion tasks, and construct a hierarchical deletion task package. The scene package construction module establishes candidate scene files, removes scene semantic units, and determines pending trigger conditions based on the hierarchical task package. It converts the pending trigger conditions into new trigger criteria according to the relationship reference state. Based on the traffic relationship of the candidate scenes according to the holding chain core, it establishes candidate event mappings for the candidate scene files. The module then writes the candidate scene files, new trigger criteria, event mappings, and traffic relationship verification results into the candidate scene package. The simulation test module is used to recover the connection relationship of driving simulation scenarios in the hierarchical reduction task based on the candidate scenario package, add the effective driving simulation scenarios to the closed-loop simulation queue for simulation, compare the simulation results with the target failure item by item according to the candidate event mapping, and determine the minimum reproducible failure scenario to complete the autonomous driving simulation test.