Test case configuration method and device
By introducing basic road network, scenario and linkage strategy configuration interactive parts into the simulation software, the problem of insufficient configuration in vehicle-road collaborative testing of existing simulation software is solved, and flexible and accurate test case generation is achieved, meeting the multi-scenario testing needs of vehicle-road collaborative traffic control strategy.
Patent Information
- Application Number
- CN202311834332.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-08
AI Technical Summary
In the testing of vehicle-road collaborative traffic control strategy, existing simulation software has problems such as incomplete components of simulation scenarios, inability to cover the entire link of collaborative traffic control strategy test cases, and insufficient custom configuration functions, resulting in inflexible and accurate configuration of test cases.
A test case configuration method is proposed. By triggering basic road network configuration, basic scene configuration and scene linkage policy configuration, combined with RSU information broadcast configuration, it provides interactive components to facilitate custom policy configuration, and supports the configuration of multiple simulation scenario types and parameters.
It realizes flexible and accurate test case configuration, improves the efficiency of test case generation, and meets the multi-scenario testing needs of vehicle-road collaborative traffic control strategy.
Smart Images

Figure CN120277852A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent transportation, and particularly to a test case configuration method and a computer-readable storage medium. Background Art
[0002] The virtual-real combined simulation technology can, to the greatest extent, get rid of the limitations of test sites, test equipment, vehicles and other resources. It is a new and important test technology developed. The key point of this technology is that any component in the simulation scenario can be simulated, and the attributes of the components can be customized according to different test contents. It can receive traffic flow data with natural movement characteristics in the real physical world and fully integrate with the virtual data in the simulation scenario, so that the integrated scenario data can simulate the characteristics of the real-world scenario to the greatest extent, and can well support the research on traffic control strategies and emergency plan strategies in the macro scenario as test case data.
[0003] With the research on vehicle-road collaborative related technologies, in the current technical solutions for formulating test cases for vehicle-road collaborative traffic control strategy tests, generally, commercial simulation software is used. However, there are several disadvantages in directly using the functions provided by existing simulation software for vehicle-road collaborative control scenario tests: First, the components of the simulation scenario generated by a single simulation software are incomplete (maps, devices, vehicles, events, etc.), and cannot fully cover the test requirements; Second, a single simulation software cannot cover all links of the test case configuration for collaborative control strategies, including the application logic of virtual devices, the influence logic of devices or events on the simulation traffic flow, the internal action mechanism of the simulation traffic flow, etc.; Third, regarding the custom configuration function of vehicle-road collaborative control strategies, a single simulation software is more based on the secondary development of the software to implant strategies through background programs, and rarely can directly face the vehicle-road collaborative scenario, and cannot well provide a convenient custom strategy configuration service. Summary of the Invention
[0004] The purpose of the present invention is to propose a test case configuration method to solve the problem of flexibly and accurately configuring test cases and ensuring the generation efficiency of test cases.
[0005] The present invention proposes a test case configuration method, including: Trigger the basic road network configuration, and in the road area on the test field map, at least one routing scheme is displayed separately; the start and end points of the routing scheme correspond to configurable departure point interaction components; Trigger the basic scenario configuration, and display the scenario type configuration interaction component and the configuration interaction component for the corresponding scenario parameters; Trigger the scenario linkage strategy configuration, and display the scenario linkage parameter configuration interaction component to configure the scenario linkage.
[0006] In one optional embodiment, the method further includes: triggering the RSU information broadcast configuration and displaying an interactive component for event parameter configuration of various V2X broadcast events to be added in the test task.
[0007] In one optional embodiment, triggering the basic scenario configuration, displaying an interactive component for scenario type configuration and an interactive component for corresponding scenario parameter configuration, including: during the basic scenario configuration, the routing path on the map remains displayed, and the departure point is no longer displayed.
[0008] In one optional embodiment, triggering the basic scenario configuration also displays an interactive component for scenario range configuration.
[0009] In one optional embodiment, the method further includes: dragging the interactive component for scenario range configuration to configure the scenario range.
[0010] In one optional embodiment, different configurable simulation scenario type interactive components are divided on one side of the configuration interface of the basic scenario. When the interactive component is in an active state, it represents that the corresponding scenario parameters can be configured currently.
[0011] In one optional embodiment, only 1 scenario can be activated each time, and all corresponding scenario parameters in the test field map become editable states.
[0012] In one optional embodiment, the basic scenario configuration further includes a vehicle formation scenario configuration.
[0013] In one optional embodiment, the basic scenario configuration further includes an interactive component for simulation mode configuration, which is used to configure the simulation mode of the scenario.
[0014] In one optional embodiment, the simulation modes include: random and all. Among them, the random means that the configured events will take effect in a random manner after the simulation starts, and only 1 event will take effect each time. All configured scenario events will take effect in a random round-robin manner, and the cycle of the round-robin is the scenario replacement cycle; the all means that all the configured events will take effect immediately after the simulation starts.
[0015] In one optional embodiment, the method further includes: after the basic scenario configuration is completed, triggering the preview of the scenario, and previewing and viewing the driving trajectory of the simulated traffic flow after the basic scenario configuration is completed.
[0016] In one optional embodiment, the method further includes: before the triggered linkage function, it is also necessary to configure the theoretical traffic flow speed and the ratio of the actual traffic flow to the theoretical traffic flow speed. Among them, the ratio of the actual traffic flow to the theoretical traffic flow speed provides n percentage options, and the selection of each percentage can configure the corresponding linkage function, corresponding to the traffic control strategies of n stages in the test service.
[0017] In one optional embodiment, in the RSU information broadcast configuration, the scenarios already configured in the basic scenario configuration are retained and displayed in this interface, but the scenarios involved in the basic scenario configuration cannot be configured in the RSU information broadcast configuration.
[0018] In one optional embodiment, in the RSU information broadcast configuration, the position of the RSU device and the position of the already configured V2X broadcast event are highlighted in the interface.
[0019] In one optional embodiment, the list information of the already configured V2X events for all RSU devices is displayed below the interface.
[0020] The present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the method proposed in any embodiment of the present invention is implemented.
[0021] A test case configuration method proposed by the present invention includes: triggering the basic road network configuration, and in the road area on the test field map, at least one routing scheme is distinguished and displayed; the start and end points of the routing scheme correspond to configurable departure point interaction components; triggering the basic scenario configuration, displaying the scenario type configuration interaction component and the configuration interaction component of the corresponding scenario parameters; triggering the scenario linkage strategy configuration, displaying the scenario linkage parameter configuration interaction component to configure the scenario linkage. In the display interface, the basic road network can be configured through the interaction component of the basic road network configuration. It can be considered to set this interaction component in the upper left corner of the user interface. In addition, since the configuration of the present invention is classified and hierarchically guides the user to operate, the configurations of each large category can be uniformly set in the upper left corner to facilitate the user to operate on them in sequence and avoid missing operations. Brief Description of the Drawings
[0022] The drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings: Figure 1 It is a schematic diagram of a state of the platform user interface in an embodiment of the present invention; Figure 2 It is a schematic diagram of a state of the platform user interface in an embodiment of the present invention; Figure 3 Schematic diagram of the configuration pop-up window for the departure point in an embodiment of the present invention; Figure 4 Schematic diagram of a state of the platform user interface in an embodiment of the present invention; Figure 5 Schematic diagram of the ramp control configuration window in an embodiment of the present invention; Figure 6 State diagram of the configuration of the main road speed limit scenario in an embodiment of the present invention; Figure 7 Configuration effect diagram of the main road speed limit scenario in an embodiment of the present invention; Figure 8 Configuration effect diagram of the emergency lane control scenario in an embodiment of the present invention; Figure 9 Configuration effect diagram of the dedicated lane control scenario in an embodiment of the present invention; Figure 10 Configuration effect diagram of the construction area scenario in an embodiment of the present invention; Figure 11 Configuration effect diagram of the accident area scenario in an embodiment of the present invention; Figure 12 Configuration effect diagram of the bad weather scenario in an embodiment of the present invention; Figure 13 Configuration effect diagram of the vehicle formation in an embodiment of the present invention; Figure 14 Configuration effect diagram of the bad weather scenario in an embodiment of the present invention; Figure 15 Schematic diagram of a state of the platform user interface in an embodiment of the present invention; Figure 16 Schematic diagram of the structure of the terminal in an embodiment of the present invention. Detailed implementation manners
[0023] It should be noted that, without conflict, the embodiments and features in the embodiments of the present invention may be combined with each other. The present invention will be described in detail below with reference to the drawings and in combination with the embodiments.
[0024] It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0025] The present invention proposes a test case configuration method, which is applied to a test platform. The test platform has a display device, and the user configures test cases through a user interface displayed on the display device. When implementing the test case configuration method of the present invention, the display interface is as follows Figures 1-15 shown, including a test site map, interactive components for basic road network configuration, interactive components for basic scenario configuration, and interactive components for scenario linkage strategy configuration. In this application, an interactive component refers to a virtual button or information input area where the user can interact in the user interface, and its specific form is adaptively designed based on the information input requirements. The test case configuration method of this application includes: triggering the basic road network configuration, and in the road area on the test site map, at least one routing scheme is displayed separately; the starting and ending points of the routing scheme correspond to configurable departure point interactive components.
[0026] Trigger the basic scenario configuration, display the scenario type configuration interactive component and the configuration interactive component for the corresponding scenario parameters; trigger the scenario linkage strategy configuration, and display the scenario linkage parameter configuration interactive component to configure the scenario linkage.
[0027] The test case configuration method of this embodiment guides the user to input information of different types and levels by distinguishing the test site map, interactive components for basic road network configuration, interactive components for basic scenario configuration, and interactive components for scenario linkage strategy configuration, which can standardize the generation of test cases to a certain extent and ensure the generation efficiency of test cases.
[0028] The simulation scenario configuration of the test tasks of the test platform of this application can be mainly docked with the SUMO simulation platform through interface configuration.
[0029] In another embodiment, trigger the RSU information broadcast configuration, and display the interactive components for event parameter configuration of various V2X broadcast events that need to be added in the test task. At this time, the test platform can be docked with the V2X Server platform.
[0030] The functions of the test case configuration device of this application will be described in detail below through a complete test case configuration process. For a smoother understanding of the solution, this embodiment describes the implementation of the solution in a more comprehensive manner. However, each function configuration mentioned in this embodiment can be independently selected and implemented within a reasonable logical range. To save space, the present invention will not repeat the explanations of the split functions.
[0031] When implementing the test case configuration method of the present invention, first display the test site map on the user interface. In this embodiment, a WEBGL map is used as an example. The WEBGL map supports operations such as zooming in, zooming out, and rotating the map view through interface operations, and clicks on the relevant interactive components in the interface to perform operations.
[0032] In the display interface, the interactive component configured through the basic road network for the basic road network configuration can be considered to be set in the upper left corner of the user interface. Additionally, since the configuration of the present invention is classified and hierarchically induces the user to operate, therefore, the configurations of each major category can be uniformly set in the upper left corner to facilitate the user to operate on them in sequence and avoid missed operations.
[0033] The following details the configuration method after triggering the basic road network configuration, specifically as follows: See Figure 1 , for the basic road network configuration, first select and configure the routing scheme on which the driving trajectory of the simulated traffic flow depends, and the interface selects the routing scheme to be executed for the test task through the selection of the routing scheme.
[0034] The platform will first preset several routing schemes for selection. Click on "Custom Routing Scheme" in the drop-down box to support adding a new routing scheme, and the new routing scheme supports scheme naming and preview of the routing file.
[0035] Click on "Edit" to delete the previously added routing scheme.
[0036] See Figure 2 , after selecting a specific routing scheme, based on WEBGL, the specific routing files involved in the routing scheme can be visually displayed in the interface. Each routing file represents 1 trajectory path, and at the same time, each routing file shows the starting and ending positions of the trajectory, the trajectory direction, and the departure point position. Different trajectory paths are represented by different colors.
[0037] The departure point of each routing file can support configuring the departure quantity and type of the departure point. Click on "Configure Departure Point" to pop up the configuration window for the departure point. See Figure 3 .
[0038] After the content configuration related to the basic road network is completed, click on the "Save" button on the left side of the interface to save the current road network scheme configuration.
[0039] After configuring the basic road network, the user can trigger the corresponding basic scenario configuration.
[0040] The following details the configuration method after triggering the basic scenario configuration, specifically as follows: See Figure 4 , for the basic scenario configuration, it is to configure the scenario type, scenario range, and scenario parameters for various sub-simulated scenarios that need to be added in the test task. Optionally, in order to simplify the interface elements and better process useful information, in the basic scenario configuration, the routing paths on the map are retained for display, and the departure points are no longer displayed.
[0041] The scenario option button can be floatingly set on the right side of the interface in the form of a button icon.Figure 4 On the right side of the basic scenario configuration interface, different configurable simulation scenario type labels are divided. When the label is in the "activated" state, it means that the corresponding scenario parameters can be configured currently. Only 1 scenario can be activated at a time, and all corresponding scenarios in the map will become in the state of "editable". When the label is in the "not activated" state, the current scenario cannot be configured, and only the status of the configured scenarios can be viewed in the map.
[0042] Continue to refer to Figures 4-5 , for example, to configure the ramp control scenario, click the "Ramp Control" button on the right side of the interface to make this button in the "activated state". In the WEBGL interface, the position of this ramp control scenario is fixed, and the label is always displayed. The scenario parameter "theoretical traffic flow" of the ramp control scenario can be configured in the activated state. After the configuration is completed, click the "Save" button on the left side of the interface to save the configuration status of the current scenario.
[0043] If this scenario is in the "not activated" state, only the position label and parameter configuration of the ramp control scenario can be displayed in the map, and the parameters cannot be edited. At this time, the area range of the ramp control scenario cannot be deleted. Optionally, after the content configuration related to the ramp control scenario is completed, click the "Save" button on the left side of the interface to save the current scenario parameter configuration.
[0044] Refer to Figure 4 , similarly, the main road speed limit scenario can be configured in a similar way. Click the "Main Road Speed Limit" button to make this button in the "activated state". At this time, a draggable icon will appear on the left side of the button. At this time, in the user interface, several speed limit signs will be fixedly displayed, and these speed limit signs represent the configurable area range of the main road speed limit scenario. The main road speed limit scenario cannot be configured in the area where the speed limit signs do not exist.
[0045] Optionally, the main road speed limit scenario is default associated with the area range of 5 speed limit signs. In this embodiment, the icon of the corresponding element is used to represent the speed limit sign at the central position among the 5 speed limit signs. Hold down the button at the central position of the speed limit sign and drag it to configure the scenario range of the main road speed limit. At this time, the positions where the speed limit sign can be dragged to are only the following: Refer to Figure 6, after the dragging is completed, position labels for the main road speed limit will be displayed on the corresponding 5 gantries, representing the scene area range of the main road speed limit. At the same time, the speed limit sign on the middle gantry will be automatically set to the position of "local bad weather", and the type of bad weather configuration and the scene parameters of the main road speed limit will be prompted. Local bad weather configuration: Select the weather type; Main road speed limit scene parameters: maximum speed limit (which also represents the configuration of the daily speed limit value when the main road speed limit control strategy is not enabled), minimum speed limit. The maximum and minimum speed limits represent the boundary values of the "V-shaped speed funnel" when the main road speed limit control strategy is enabled; For the effect after the main road speed limit scene configuration is completed, see Figure 7 . Optionally, the scene area range of the main road speed limit can be deleted. After the content configuration related to the main road speed limit scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration. It should be noted that the 5 in this application is only an example, and it can be flexibly set based on actual situations in actual requirements.
[0046] See Figure 4 , similarly, the emergency lane scene can be configured in a similar manner: Click the "Emergency Lane" button to make this button in the "activated state". At this time, a draggable icon will appear on the left side of the button. The emergency lane scene is default set in the scene area range of the main road speed limit. Hold down the position button of the emergency lane scene and drag it to configure the scene range of the emergency lane. After the dragging is completed, position labels for the emergency lane will be superimposed and displayed on the corresponding gantries of the main road speed limit scene area range, representing the scene area range of the emergency lane. For the effect after the emergency lane control configuration is completed, as Figure 8 shown, the scene area range of the emergency lane can be deleted. After the content configuration related to the emergency lane scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration.
[0047] See Figure 4 , similarly, the dedicated lane scene can be configured in a similar manner. Click the "Dedicated Lane" button to make this button in the "activated state". At this time, a draggable icon will appear on the left side of the button. The dedicated lane scene is default set in the scene area range of the main road speed limit. Hold down the position button of the dedicated lane scene and drag it to configure the scene range of the dedicated lane. After the dragging is completed, position labels for the dedicated lane will be superimposed and displayed on the corresponding gantries of the main road speed limit scene area range, representing the scene area range of the dedicated lane. For the effect after the dedicated lane control configuration is completed, as Figure 9 shown, the scene area range of the dedicated lane can be deleted. After the content configuration related to the dedicated lane scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration.
[0048] See Figure 4, Similarly, the construction area scene can be configured in a similar manner. Click the "Construction Area" button to make this button in the "activated state". By interactively calibrating "two points" on the map, a line can be formed. The length of this line represents the "length of the construction area", and the position of this line represents the "lane it adheres to". When the set construction area range line crosses multiple lanes, the interface should prompt "This setting is invalid", and at the same time clear the operation of this construction area event. Only when the setting is legal, the map will retain the current configuration. The effect after the construction area configuration is completed is as Figure 10 shown. The construction area scene supports configuring multiple locations, and the area range of each construction area scene can be deleted. After the content configuration related to the construction area scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration.
[0049] See Figure 4 , Similarly, the accident area scene can be configured in a similar manner. Click the "Accident Area" button to make this button in the "activated state". By interactively calibrating "two points" on the map, a line can be formed. The length of this line represents the "length of the accident area", and the position of this line represents the "lane it adheres to". When the set accident area range line crosses multiple lanes, the interface should prompt "This setting is invalid", and at the same time clear the operation of this accident area event. Only when the setting is legal, the map will retain the current configuration. The effect after the accident area configuration is completed is as Figure 11 shown. The accident area scene supports configuring multiple locations, and the area range of each accident area scene can be deleted. After the content configuration related to the accident area scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration.
[0050] See Figure 4 , Similarly, the bad weather area scene can be configured in a similar manner. Click the "Bad Weather" button to make this button in the "activated state". The position of the bad weather is adsorbed to other selectable gantry position areas except for the main road speed limit scene area (outside 5 gantries of the main road speed limit). Bad weather areas cannot be configured in other areas except gantries. By interacting with the interface to select the gantry position that the bad weather area adheres to, after selection, the scene type of the bad weather scene and the general speed limit value are prompted. The general speed limit value represents the speed limit value that the speed limit sign corresponding to the gantry needs to display. The effect after the bad weather configuration is completed is as Figure 12 shown. The bad weather scene can be deleted. After the content configuration related to the bad weather scene is completed, click the "Save" button on the left side of the interface to save the current scene parameter configuration.
[0051] See Figure 4, Similarly, when vehicle platooning configuration is available, the vehicle platooning scenario can be configured in a similar manner. There is no separate scenario editing activation icon for the vehicle platooning scenario. At the bottom of the interface, it is possible to directly configure whether the vehicle platooning scenario needs to be "activated" or "deactivated". Activating means adding the vehicle platooning scenario, and deactivating means deleting the vehicle platooning scenario. After activation, the departure point positions of the platooned vehicles are displayed on the map. The effect of vehicle platooning configuration is as Figure 13 shown. After the content configuration related to the vehicle platooning scenario is completed, click the "Save" button on the left side of the interface to save the current scenario parameter configuration.
[0052] In addition, the basic scenario configuration also includes the simulation method and the scenario replacement period. The corresponding scenario types include: construction areas, accident areas, and adverse weather areas (excluding adverse weather within the main road speed limit scenario).
[0053] Optionally, the simulation method is divided into 2 methods: "Random" and "All". "Random" means that the above 3 configured events will, after the simulation starts, take effect randomly, with only 1 event taking effect each time, and all configured scenario events will take effect in a random round-robin manner. The cycle of the round-robin is the "scenario replacement period". "All" means that the above 3 configured events will all take effect immediately after the simulation starts, and the "scenario replacement period" parameter is meaningless at this time.
[0054] It should be noted that for all configured scenarios in the basic scenario configuration, the visual presentation of the scenarios will be retained on the map.
[0055] After the basic scenario configuration is completed and the content configuration is completed, click the "Save" button on the left side of the interface to save the current scenario parameter configuration. Click "End Configuration", and all simulation scenario type labels will change to the "Inactive" state.
[0056] Optionally, after the basic scenario configuration is completed, scenario preview is supported. The preview mainly checks the driving trajectories of the simulated traffic flow after the basic scenario configuration is completed. There are no excessive requirements for the visualization of other scenario elements in the WEBGL map. Click the "Preview" button to enter the preview state of the scenario configuration. Click "Exit Preview" to exit the preview state of the scenario configuration.
[0057] The following uses specific embodiments to illustrate the solution after triggering the scenario linkage strategy: See Figure 4 , The scenario linkage strategy configuration specifically configures the scenario linkage strategy parameters for the 3 scenarios of "main road speed limit", "emergency lane", and "dedicated lane" in the basic scenario configuration.
[0058] Continuing with the above embodiments, the five gantries shown in the scenario linkage policy configuration are the five gantries associated with the main road speed limit scenario. Each gantry can be configured with "dedicated lane control light linkage function", "emergency lane control light linkage function", and "main road lane speed limit sign linkage function". Before configuring the linkage functions of different devices, two scenario parameters need to be configured in the interface, one is "theoretical traffic flow speed" and the other is "actual traffic flow relative to theoretical traffic flow speed ratio". Among them, "actual traffic flow relative to theoretical traffic flow speed ratio" provides four percentage options, and the selection of each percentage can configure the corresponding linkage function, corresponding to the traffic control strategies in four stages in the test service.
[0059] After selecting a specific percentage, start configuring the linkage policy under this percentage. In fact, it is to configure whether the linkage functions of the three devices on each gantry are enabled. Here, it is necessary to explain the actual business significance of each linkage function switch. See Figure 14 : Emergency lane control light: When it is turned on, it represents the emergency lane control light on this gantry. When the virtual traffic flow reaches XX% of the theoretical traffic flow, the light state of the control light is "on" (off when not turned on), allowing some vehicles of the virtual traffic flow to occupy the emergency lane for driving; Main road lane speed limit sign: When it is turned on, it represents the main road lane speed limit sign on this gantry. When the virtual traffic flow reaches XX% of the theoretical traffic flow, the speed limit value of the speed limit sign is the speed limit value under the control strategy (the maximum speed limit value set in the basic scenario configuration when not turned on); Dedicated lane control light: When it is turned on, it represents the dedicated lane control light on this gantry. When the virtual traffic flow reaches XX% of the theoretical traffic flow, the light state of the control light is "on" (off when not turned on), allowing some ordinary vehicles of the virtual traffic flow to occupy the dedicated lane for driving (only allowing autonomous driving vehicles of the virtual traffic flow to occupy the dedicated lane when not turned on).
[0060] In addition, when the system supports RSU information broadcast configuration, the solution after triggering the RSU information broadcast configuration can be as described below. See Figure 15 : RSU information broadcast configuration is to configure the event parameters for various V2X broadcast events that need to be added in the test task (reusing the V2X Server background interface) to meet the V2X event broadcast requirements in the test scenario.
[0061] In the RSU information broadcast configuration, the scenarios already configured in the basic scenario configuration are retained and displayed in this interface, but the scenarios involved in the basic scenario configuration cannot be edited in the RSU information broadcast configuration.
[0062] In the RSU information broadcast configuration, the positions of the RSU devices and the configured V2X broadcast events are highlighted in the interface. The list information of the configured V2X events for all RSU devices is displayed below the interface.
[0063] When clicking on a specific RSU device, a prompt "Add RSI event" appears at the icon. At the same time, the list below the interface switches to the V2X event information added for this RSU device. The added V2X events support the editing and deletion of information. The "RSU information broadcast setting" function is overall in a configurable state. Optionally, in the map, the positions of the selected RSU device and its corresponding added V2X events can also be highlighted visually. Optionally, for the "Add" and "Edit" of V2X broadcast events, the event parameters that need to be configured include: RSI event type, event classification, event name, description, event location, and associated path, broadcast timing, broadcast duration, and custom voice broadcast content.
[0064] A test case configuration device provided by an embodiment of the present invention. In this embodiment, each module included in the information display device is used to execute each step in the corresponding embodiment of the present invention. For specific details, please refer to the relevant descriptions in the corresponding embodiments. For the sake of convenience, only the parts related to this embodiment are shown. A test case configuration device includes: an instruction generation module for generating various interaction instructions; a display module for, after triggering the basic road network configuration, differentiating and displaying at least one routing scheme in the road area on the test field map; the start and end points of the routing scheme correspond to configurable departure point interaction components; after triggering the basic scenario configuration, displaying scenario type configuration interaction components and configuration interaction components for the corresponding scenario parameters; after triggering the scenario linkage strategy configuration, displaying scenario linkage parameter configuration interaction components to configure the scenario linkage.
[0065] For the more specific functions or supplementary functions of each module of the device in this embodiment, flexible configuration can be referred to the method embodiments above, and details will not be elaborated here.
[0066] Figure 16 It is a schematic structural diagram of a terminal device provided by an embodiment of the present invention. As Figure 16 shown, the terminal device 700 of this embodiment includes: a processor 710, a memory 720, and a computer program 730 stored in the memory 720 and executable on the processor 710, such as a program for the point cloud rendering method. When the processor 710 executes the computer program 730, it implements the steps in each of the above-mentioned test case configuration method embodiments, such as Figure 1 shown in S101 to S103. Or, when the processor 710 executes the computer program 730, it implements the functions of each module in the above Figure 16 corresponding embodiments, for example,Figure 3 For the functions of the respective modules shown, please refer specifically to Figure 3 the relevant descriptions in the corresponding embodiments.
[0067] Exemplarily, the computer program 730 may be divided into one or more modules. One or more modules are stored in the memory 720 and executed by the processor 710 to implement the test case configuration method provided by the embodiments of the present invention. One or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 730 in the terminal device 700. For example, the computer program 730 may implement the test case configuration method provided by the embodiments of the present invention.
[0068] The terminal device 700 may include, but is not limited to, a processor 710 and a memory 720. Those skilled in the art can understand that Figure 16 merely examples of the terminal device 700 do not constitute a limitation on the terminal device 700, and it may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.
[0069] The so-called processor 710 may be a central processing unit, or may also be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0070] The memory 720 may be an internal storage unit of the terminal device 700, such as the hard disk or memory of the terminal device 700. The memory 720 may also be an external storage device of the terminal device 700, such as a plug-in hard disk, a smart memory card, a flash memory card, etc. equipped on the terminal device 700. Further, the memory 720 may also include both the internal storage unit and the external storage device of the terminal device 700.
[0071] The embodiments of the present invention provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the test case configuration method in the above respective embodiments.
[0072] The embodiments of the present invention provide a computer program product, and when the computer program product runs on a terminal device, the terminal device is enabled to execute the test case configuration method in the above respective embodiments.
[0073] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.
[0074] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A test case configuration method, characterized in that, Including: Trigger the basic road network configuration, and in the road area on the test field map, at least one routing scheme is displayed separately. The start and end points of the routing scheme correspond to configurable departure point interaction components. Trigger the basic scenario configuration, and display the scenario type configuration interaction component and the configuration interaction component for the corresponding scenario parameters. Trigger the scenario linkage strategy configuration, and display the scenario linkage parameter configuration interaction component to configure the scenario linkage.
2. The method according to claim 1, wherein The method further includes: Trigger the RSU information broadcast configuration, and display the interaction component for configuring the event parameters of various V2X broadcast events that need to be added in the test task.
3. The method according to claim 1, wherein Trigger the basic scenario configuration, and display the scenario type configuration interaction component and the configuration interaction component for the corresponding scenario parameters, including: during the basic scenario configuration, the routing path on the map remains displayed, and the departure point is no longer displayed.
4. The method according to claim 1, wherein Trigger the basic scenario configuration, and also display the scenario range configuration interaction component.
5. The method according to claim 4, wherein The method further includes: dragging the scenario range configuration interaction component to configure the scenario range.
6. The method according to claim 1, characterized in that, On one side of the configuration interface of the basic scenario, different and configurable simulation scenario type interaction components are divided. When the interaction component is in the active state, it represents that the corresponding scenario parameters can be configured currently.
7. The method according to claim 6, wherein Only 1 scenario can be activated each time, and all corresponding scenario parameters in the test field map become editable states.
8. The method according to claim 1, characterized in that, The basic scenario configuration further includes the vehicle formation scenario configuration.
9. The method according to claim 1, characterized in that, The basic scenario configuration further includes a simulation mode configuration interaction component for configuring the simulation mode of the scenario.
10. The method according to claim 1, characterized in that, The simulation modes include: random and all. Among them, the random means that the configured events will take effect in a random manner after the simulation starts, and only 1 event will take effect each time. All configured scenario events will take effect in a random round-robin manner, and the round-robin period is the scenario replacement period; the all means that all the configured events will take effect immediately after the simulation starts.
11. The method according to claim 1, characterized in that The method further includes: after the basic scenario configuration is completed, trigger the preview of the scenario, and preview and view the driving trajectory of the simulated traffic flow after the basic scenario configuration is completed.
12. The method according to claim 1, wherein The method further includes: before triggering the linkage function, it is also necessary to configure the theoretical traffic flow speed and the ratio of the actual traffic flow speed to the theoretical traffic flow speed. Among them, the ratio of the actual traffic flow speed to the theoretical traffic flow speed provides n percentage options, and the selection of each percentage can configure the corresponding linkage function, corresponding to n stages of traffic control strategies in the test service.
13. The method according to claim 2, wherein In the RSU information broadcast configuration, the scenarios configured in the basic scenario configuration are still displayed in this interface, but the scenarios involved in the basic scenario configuration cannot be configured in the RSU information broadcast configuration.
14. The method according to claim 2, characterized in that, In the RSU information broadcast configuration, the positions of the RSU devices and the positions of the configured V2X broadcast events are highlighted in the interface.
15. The method according to claim 2, characterized in that The list information of the configured V2X events for all RSU devices is displayed below the interface.
16. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 15.