Simulation method and system supporting full-automatic mixed operation of multiple virtual city scenes

By acquiring and switching virtual city maps in the autonomous driving simulation system, the problem that existing technology cannot effectively support the mixed operation of multiple virtual city scenes is solved, and the simulation verification efficiency and safety of the autonomous driving algorithm are improved.

CN118655797APending Publication Date: 2024-09-17NEOLIX TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410674694.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing autonomous driving simulation system cannot effectively support the mixed operation of multiple virtual city scenes, which limits the robustness and generalization simulation verification efficiency of the autonomous driving algorithm, leading to problems such as high cost, low efficiency, and inability to ensure safety.

Method used

By obtaining the city scene mixed simulation task and scene scheduling information, it is judged whether the target city operation scene has been scheduled. If it is not completed, the first virtual city map and the second virtual city map of the previous target city are obtained, and the simulation task is run based on these maps. And when necessary, map switching is performed to support simulation tasks in different map scenarios and improve simulation verification efficiency.

Benefits of technology

It achieves robustness and generalization simulation verification of autonomous driving algorithms in different map scenarios, improves the efficiency of simulation verification, reduces costs and ensures safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655797A
    Figure CN118655797A
Patent Text Reader

Abstract

The invention relates to a simulation method and system supporting full-automatic mixed operation of multiple virtual city scenes, and is applied to the technical field of automatic driving simulation, and the method comprises the steps: obtaining a city scene mixed simulation task and scene scheduling information, and the city mixed simulation task comprises a target city operation scene; judging whether the target city operation scene is scheduled or not based on the scene scheduling information; if the scheduling of the target operation scene is not completed, obtaining a first virtual city map of a previous target city operation scene and a second virtual city map of the target city operation scene; running the city scene hybrid simulation task based on the first city virtual map and the second city virtual map; and if the target operation scene scheduling is completed, ending the city scene hybrid simulation task. The method has the effect of improving the efficiency of simulation verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of autonomous driving simulation, and in particular to a simulation system and method that supports fully automatic hybrid operation of multiple virtual city scenes. Background Art

[0002] In order to ensure the safety of the delivery process, it is often necessary to conduct a large number of tests on unmanned delivery vehicles to verify the robustness and generalization of the unmanned delivery vehicle's autonomous driving algorithm.

[0003] Currently, the main method used for testing and verification is to conduct a large number of tests on different roads in different cities. Due to the high cost, low efficiency and lack of safety in testing on different real roads in different cities, it has gradually become an industry consensus to accelerate the development and verification of autonomous driving systems through autonomous driving simulation.

[0004] Autonomous driving simulation can accelerate the development and verification of autonomous driving systems and algorithms through analysis and research through simulation. However, the verification of autonomous driving algorithms for L4 unmanned delivery vehicles often requires running large-scale scenarios. These scenarios may be based on simulated high-precision maps of different cities. However, the existing simulation system can only run scenarios built on simulated high-precision maps of the same city at a time. Scenarios built based on high-precision maps of different cities need to be run separately, which greatly limits the simulation verification efficiency of the robustness and generalization of autonomous driving algorithms. Summary of the invention

[0005] In order to improve the efficiency of simulation verification, the present application provides a simulation system and method that supports fully automatic hybrid operation of multiple virtual city scenes.

[0006] In a first aspect, the present application provides a simulation method that supports fully automatic hybrid operation of multiple virtual city scenes, using the following technical solutions:

[0007] A simulation method supporting fully automatic mixed operation of multiple virtual city scenes, comprising:

[0008] Acquire a city scenario hybrid simulation task and scenario scheduling information, wherein the city hybrid simulation task includes a target city operation scenario;

[0009] Determining whether the target city operation scenario is scheduled based on the scenario scheduling information;

[0010] If the target operation scenario scheduling is not completed, obtaining a first virtual city map of the previous target city operation scenario and a second virtual city map of the target city operation scenario;

[0011] Running the city scene hybrid simulation task based on the first virtual city map and the second virtual city map;

[0012] If the target operation scenario scheduling is completed, the city scenario hybrid simulation task is terminated.

[0013] By adopting the above technical solution, scene scheduling is performed according to the mixed simulation tasks of urban scenes. By comparing and switching the current map information with the previous map information, different map scenes can be supported during operation to perform simulation tasks, and simulation verification of the robustness and generalization of the autonomous driving algorithm can be supported, thereby improving the verification efficiency of the simulation verification.

[0014] Optionally, running the city scene hybrid simulation task based on the first virtual city map and the second virtual city map includes:

[0015] Determining whether the second virtual city map is the same as the first virtual city map;

[0016] If the second virtual city map is the same as the first virtual city map, running the city scene hybrid simulation task;

[0017] If the second virtual city map is different from the first virtual city map, switching the city scene based on the target city operation scene;

[0018] The city scene hybrid simulation task is run based on the switched city scene.

[0019] Optionally, the switching of the city scene based on the target city operation scene includes:

[0020] Obtain the autonomous driving algorithm module and map interface object instance used in the urban scene hybrid simulation task;

[0021] Stop running the autonomous driving algorithm module and clean up the map interface object instance;

[0022] Establish a link between the high-precision map used by the autonomous driving algorithm module and the high-precision map of the second virtual city.

[0023] Optionally, running the city scene hybrid simulation task based on the switched city scene includes:

[0024] Creating a second map interface object instance of the second virtual city map;

[0025] restarting the autonomous driving algorithm module linked to the second virtual city map to generate map switching completion information;

[0026] The city scene hybrid simulation task is run based on the map switching completion information.

[0027] Optionally, the running of the city scene hybrid simulation task includes:

[0028] Determining whether the autonomous driving algorithm module has planned a vehicle driving trajectory;

[0029] If the autonomous driving algorithm module fails to plan a vehicle driving trajectory, then the city scene hybrid simulation task is terminated;

[0030] If the autonomous driving algorithm module plans a vehicle driving trajectory, the urban scene hybrid simulation task is run based on the vehicle driving trajectory.

[0031] Optionally, after running the city scene hybrid simulation task based on the vehicle driving trajectory, the method further includes:

[0032] Setting an evaluator for the target city operation scenario;

[0033] The evaluator collects task operation data;

[0034] Obtaining evaluation rules, and judging whether the running task data meets the evaluation end condition based on the evaluation rules;

[0035] If the running task data meets the evaluation end condition, then the city scene hybrid simulation task is ended;

[0036] If the task running data does not meet the evaluation end condition, the step of the evaluator collecting task running data is repeated.

[0037] Optionally, the method further includes:

[0038] Get the evaluation termination condition;

[0039] Determining whether the task running data satisfies the evaluation termination condition;

[0040] If the task operation data meets the evaluation termination condition, then the city scene hybrid simulation task is terminated;

[0041] If the task execution data does not satisfy the evaluation termination condition, the step of determining whether the task execution data satisfies the evaluation termination condition is repeated.

[0042] In the second aspect, the present application provides a simulation system that supports fully automatic hybrid operation of multiple virtual city scenes, using the following technical solutions:

[0043] A simulation system supporting fully automatic mixed operation of multiple virtual city scenes, comprising:

[0044] A simulation task acquisition module, used to acquire a city scenario hybrid simulation task and scenario scheduling information, wherein the city hybrid simulation task includes a target city operation scenario;

[0045] A scheduling completion judgment module, used to judge whether the operation scenario of the target city is scheduled based on the scenario scheduling information;

[0046] A map information acquisition module, used to acquire a first virtual city map of a previous target city operation scenario and a second virtual city map of the target city operation scenario;

[0047] A simulation task running module, used for running the city scene hybrid simulation task based on the first virtual city map and the second virtual city map;

[0048] The simulation task ending module is used to end the urban scene hybrid simulation task.

[0049] By adopting the above technical solution, scene scheduling is performed according to the mixed simulation tasks of urban scenes. By comparing and switching the current map information with the previous map information, different map scenes can be supported during operation to perform simulation tasks, and simulation verification of the robustness and generalization of the autonomous driving algorithm can be supported, thereby improving the verification efficiency of the simulation verification.

[0050] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:

[0051] An electronic device comprises a processor, wherein the processor is coupled to a memory;

[0052] The processor is used to execute the computer program stored in the memory, so that the electronic device executes the computer program of the simulation method supporting fully automatic hybrid operation of multiple virtual city scenes as described in any one of the first aspects.

[0053] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0054] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes the simulation method for supporting fully automatic mixed operation of multiple virtual city scenes as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flow chart of a simulation method supporting fully automatic hybrid operation of multiple virtual city scenes provided in an embodiment of the present application.

[0056] Figure 2 It is a structural block diagram of a simulation system supporting fully automatic mixed operation of multiple virtual city scenes provided in an embodiment of the present application.

[0057] Figure 3 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The present application is further described in detail below in conjunction with the accompanying drawings.

[0059] The embodiment of the present application provides a simulation method supporting fully automatic hybrid operation of multiple virtual city scenes, which can be executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.

[0060] In this embodiment, the method of the present application is executed by a multi-virtual city scene hybrid operation manager, which is set in a simulation system framework supporting full-automatic hybrid operation of multiple virtual city scenes. The simulation system framework supporting full-automatic hybrid operation of multiple virtual city scenes mainly consists of a scene development platform, a simulation automation execution engine, a simulator, a basic engine, a simulation bridge, and an autonomous driving algorithm stack to be verified. Each module is introduced in detail below.

[0061] (1) Scenario development platform: mainly composed of scenario editing tools, which are used to build autonomous driving simulation scenarios based on different virtual cities. Based on the scenario editing tools in the scenario development platform, it is possible to build a simulation scenario library covering different roads in different virtual cities, thereby supporting the simulation verification of the robustness and generalization of the autonomous driving algorithm.

[0062] (2) Simulation automation execution engine: It is mainly composed of a multi-virtual city scenario hybrid operation manager, runtime data collection, autonomous driving algorithm evaluation, and report generation modules. The multi-virtual city scenario operation manager is mainly used to support the operation of multi-virtual city scenarios and perform context switching between the two scenarios based on different virtual cities. The evaluator is generally used to process the following two modules. The runtime data collection module mainly collects key data of the autonomous driving algorithm operation process as the input of the autonomous driving algorithm evaluation module. The autonomous driving algorithm evaluation module analyzes and evaluates the behavior of the autonomous driving algorithm in the simulation scenario based on the data collected by the runtime data collection module, and outputs the analysis and evaluation data as the input of the report generation module. The report generation module outputs the simulation verification report based on the evaluation data output by the autonomous driving algorithm evaluation module.

[0063] (3) Simulator: Its core functions include scenario simulation, dynamics simulation, traffic participant simulation, sensor simulation, traffic flow simulation, and road environment simulation. After the simulator receives the scenario loaded by the simulation automation execution engine, it processes the scenario and renders it through the graphics rendering engine in the basic engine. The physics engine in the basic engine controls the movement and interaction of each traffic participant in the scenario in accordance with the laws of physics. Subsequently, each sensor model and the corresponding algorithm logic start to work to generate the status data of each traffic participant in the simulation scenario, such as size, speed, heading angle, etc. The simulation bridge and the simulation automation execution engine obtain the status data of each traffic participant in real time through the sensor data interface provided by the simulator.

[0064] (4) Basic engine: mainly includes graphics rendering engine and physics engine. The graphics rendering engine is used to render the scene. The physics engine mainly constrains the movement and interaction of each traffic participant in the scene based on the movement laws of objects in the real world, so that they conform to the basic laws of the real world.

[0065] (5) Simulation bridge: used to connect the autonomous driving algorithm to the simulation system and support data exchange between the autonomous driving algorithm and the simulation system. Data exchange has two meanings: The first meaning is mainly completed by the multi-channel data generation module in the simulation bridge. The multi-channel data generation module obtains the vehicle and surrounding environment data from the simulator and the high-level semantic information of the scene obtained from the simulation automation execution engine, such as the high-precision map information associated with the scene, and generates the channel data required by the autonomous driving algorithm to be verified after data processing, such as positioning channel information, chassis channel information, perceived obstacle information, route navigation information, traffic light channel information, etc. The data obtained from the simulator includes the position, speed, acceleration and other information of the vehicle, the perceived obstacle information, the traffic light information, etc.; the data obtained from the simulation automation execution engine is mainly about the high-level semantic information of the scene, such as the name of the simulation high-precision map associated with the scene, the waypoint information of the vehicle, etc. The second meaning is: the vehicle dynamics calculation model in the simulation bridge calculates the control commands of the vehicle such as throttle, brake and steering wheel angle calculated by the automatic driving control algorithm, calculates the posture and speed of the vehicle in real time, and sends it back to the simulator, positioning and chassis channel.

[0066] (6) Autonomous driving algorithm stack: mainly includes autonomous driving algorithm modules. Autonomous driving algorithm stack includes three forms: modular structure, end-to-end structure and partial end-to-end structure. The modular structure includes positioning, perception, mapping, prediction, planning and control modules. The modular structure is the main form of current application, and the other two are still in the exploration stage. The modules of autonomous driving algorithms usually communicate and interact with each other through the message publishing and subscription mechanism provided by the message middleware module in the autonomous driving system, such as CyberRT or ROS. The multi-channel data generation module in the simulation bridge mainly generates the channel data required by the modules of the autonomous driving algorithm, and publishes the channel data through the channel data publishing mechanism provided by the message middleware.

[0067] The following is an expanded description of the multi-virtual city scenario hybrid operation manager.

[0068] Figure 1 A flowchart of a simulation method supporting fully automatic hybrid operation of multiple virtual city scenes provided in an embodiment of the present application.

[0069] like Figure 1 As shown, the main process of the method is described as follows (steps S101 to S105):

[0070] Step S101, obtaining a city scene hybrid simulation task and scene scheduling information, where the city hybrid simulation task includes a target city operation scene.

[0071] In this embodiment, the urban scene hybrid simulation task is an operation task that needs to be simulated. When the task is obtained, it is necessary to schedule the target city operation scene in the urban scene hybrid simulation task. After the processing is completed, the task operation is performed. At the beginning, the scene scheduling information of the target city operation scene is collected, and the subsequent processing steps are determined according to the information results of the scene scheduling information.

[0072] Step S102, judging whether the operation scenario of the target city has been scheduled based on the scenario scheduling information.

[0073] In this embodiment, the scheduling status of the target city operation scene is determined according to the scene scheduling information, and the scene scheduling information is compared with the target city operation scene. A scene operation list is maintained internally and executed sequentially to check whether the scheduling completion scene in the scene scheduling information is consistent with the target city operation scene, that is, whether it is executed to the end of the list. If the scheduling completion scene is consistent with the target city operation scene, it is determined that the scheduling of the target city operation scene is completed. If the scheduling completion scene is inconsistent with the target city operation scene, it is determined that the scheduling of the target city operation scene is not completed.

[0074] Step S103, obtaining a first virtual city map of a previous target city operation scenario and a second virtual city map of a target city operation scenario.

[0075] In this embodiment, when it is determined that the target city operation scenario scheduling is not completed, it is necessary to obtain the virtual city map. The first virtual city map and the second virtual city map are both virtualized data created based on real urban road traffic information. The virtual city map can be extracted from the scenario description file. The scenario description file used in this application complies with the OpenScenar io standard and is a structured scenario description file.

[0076] Step S104, running a city scene hybrid simulation task based on the first virtual city map and the second virtual city map.

[0077] For step S104, determine whether the second virtual city map is the same as the first city virtual map; if the second virtual city map is the same as the first city virtual map, run the city scene hybrid simulation task; if the second virtual city map is different from the first city virtual map, switch the city scene based on the target city operation scene; run the city scene hybrid simulation task based on the switched city scene.

[0078] Furthermore, the autonomous driving algorithm module and map interface object instance used in the urban scene hybrid simulation task are obtained; the autonomous driving algorithm module is stopped and the map interface object instance is cleared; and a link is established between the high-precision map used by the autonomous driving algorithm module and the high-precision map of the second virtual city.

[0079] Furthermore, a second map interface object instance of a second virtual city map is created; the autonomous driving algorithm module linked to the second virtual city map is restarted to generate map switching completion information; and the city scene hybrid simulation task is run based on the map switching completion information.

[0080] In this embodiment, if the second virtual city map is the same as the first virtual city map, it means that the current target city operation scene and the previous target city operation scene use the same virtual city map, and the city virtual map can be directly operated. If the second virtual city map is different from the first virtual city map, it means that the current target city operation scene and the previous target city operation scene use different virtual city maps, and map switching processing is required. First, it is necessary to stop the operation of all autonomous driving algorithm modules. Since some of the current autonomous driving algorithm modules rely on the virtual city map, and different autonomous driving algorithm modules have certain timing dependencies, it is necessary to stop the operation of all autonomous driving algorithm modules to ensure the safety of the overall system. Then, the map interface object instance is cleaned up. Since the map interface instance on the simulation side corresponds to the virtual city map corresponding to the target city operation scenario, the map interface object instance on the simulation side is cleaned up and released first. After the virtual city map is switched, it can be recreated before the autonomous driving algorithm evaluation module is run in the simulation system, that is, a second map interface object instance of the second virtual city map is created. After that, the autonomous driving algorithm module linked to the second virtual city map is restarted to generate map switching completion information. The map switching completion information is used to characterize the second virtual city map switching completion event, thereby reminding that subsequent urban scene hybrid simulation task operations can be performed.

[0081] Step S105, ending the city scene hybrid simulation task.

[0082] If the target city operation scenario scheduling is completed, the current city scenario hybrid simulation task is terminated.

[0083] In this embodiment, it is determined whether the autonomous driving algorithm module has planned a vehicle driving trajectory; if the autonomous driving algorithm module has not planned a vehicle driving trajectory, the urban scene mixed simulation task is terminated; if the autonomous driving algorithm module has planned a vehicle driving trajectory, the urban scene mixed simulation task is run based on the vehicle driving trajectory.

[0084] When running the urban scene hybrid simulation task, if the autonomous driving algorithm module can plan the vehicle driving trajectory, the simulation operation can be directly carried out in the virtual scene map according to the planned vehicle driving trajectory. If the autonomous driving algorithm module fails to plan the vehicle driving trajectory, since there is no trajectory route that can be run, the urban scene hybrid simulation task will be directly ended.

[0085] In this embodiment, an evaluator of the target city operation scenario is set; the evaluator collects task operation data; an evaluation rule is obtained, and based on the evaluation rule, it is determined whether the operation task data meets the evaluation end condition; if the operation task data meets the evaluation end condition, the city scenario hybrid simulation task is ended; if the operation task data does not meet the evaluation end condition, the step of the evaluator collecting task operation data is repeated.

[0086] The core purpose of running the urban scene hybrid simulation task is to evaluate the performance of the autonomous driving algorithm when controlling the vehicle. Different categories of scenes may correspond to different evaluators, that is, different evaluation logics. It is necessary to bind the evaluator information of the scene category in the scene driver description file to the evaluator during actual runtime. During the scene operation, the evaluator continuously collects the key status data of the autonomous driving algorithm during runtime, that is, the task operation data, and performs real-time and fully automatic evaluation of the performance of the autonomous driving algorithm during the scene operation according to the evaluation rules designed in advance for the scene category. If the evaluation end conditions are met, the urban scene hybrid simulation task is terminated. If the evaluation end conditions are not met, it is necessary to repeat the collection and evaluation until the evaluation end conditions are met or the evaluation termination conditions occur.

[0087] In this embodiment, the evaluation termination condition is obtained; it is determined whether the task operation data meets the evaluation termination condition; if the task operation data meets the evaluation termination condition, the urban scene hybrid simulation task is terminated; if the task operation data does not meet the evaluation termination condition, the step of determining whether the task operation data meets the evaluation termination condition is repeated.

[0088] The evaluation termination conditions include collision, maximum scenario running time, lane change failure, detour failure, pull-over failure, etc. When the evaluation termination conditions occur, it means that further operation cannot be performed, thereby terminating the current urban scenario hybrid simulation task. If the evaluation termination conditions do not occur, repeated collection and evaluation are required until the evaluation end conditions are met or the evaluation termination conditions occur.

[0089] Figure 2 A structural block diagram of a simulation system 200 supporting fully automatic mixed operation of multiple virtual city scenes provided in an embodiment of the application.

[0090] like Figure 2 As shown, the simulation system 200 supporting fully automatic hybrid operation of multiple virtual city scenes mainly includes:

[0091] A simulation task acquisition module 201 is used to acquire a city scenario hybrid simulation task and scenario scheduling information, where the city hybrid simulation task includes a target city operation scenario;

[0092] The scheduling completion judgment module 202 is used to judge whether the operation scenario of the target city is scheduled based on the scenario scheduling information;

[0093] A map information acquisition module 203, used to acquire a first virtual city map of a previous target city operation scenario and a second virtual city map of a target city operation scenario;

[0094] A simulation task running module 204, used to run a city scene hybrid simulation task based on the first virtual city map and the second virtual city map;

[0095] The simulation task ending module 205 is used to end the city scene hybrid simulation task.

[0096] As an optional implementation of this embodiment, the simulation task running module 204 includes:

[0097] A map identical determination module, used to determine whether the second virtual city map is identical to the first virtual city map;

[0098] The first task running module is used to run the city scene hybrid simulation task;

[0099] A city scene switching module is used to switch city scenes based on the target city operation scene;

[0100] The second task running module is used to run the city scene hybrid simulation task based on the switched city scene.

[0101] In this optional implementation, the city scene switching module is specifically used to obtain the autonomous driving algorithm module and map interface object instance used for the city scene hybrid simulation task; stop running the autonomous driving algorithm module and clean up the map interface object instance; and establish a link between the high-precision map used by the autonomous driving algorithm module and the high-precision map of the second virtual city.

[0102] In this optional implementation, the second task running module is specifically used to create a second map interface object instance of a second virtual city map; restart the autonomous driving algorithm module linked to the second virtual city map to generate map switching completion information; and run the city scene hybrid simulation task based on the map switching completion information.

[0103] As an optional implementation of this embodiment, the simulation system 200 supporting fully automatic hybrid operation of multiple virtual city scenes includes:

[0104] The trajectory planning judgment module is used to determine whether the autonomous driving algorithm module has planned the vehicle's driving trajectory;

[0105] The task ending module is used to end the running of the city scene hybrid simulation task;

[0106] The scenario task running module is used to run urban scenario hybrid simulation tasks based on vehicle driving trajectories.

[0107] As an optional implementation of this embodiment, the simulation system 200 supporting fully automatic hybrid operation of multiple virtual city scenes further includes:

[0108] The scenario evaluation setting module is used to set the evaluator of the target city operation scenario;

[0109] The running data collection module is used by the evaluator to collect task running data;

[0110] The end condition judgment module is used to obtain the evaluation rules and judge whether the running task data meets the evaluation end condition based on the evaluation rules;

[0111] The first task ending module is used to end the city scene hybrid simulation task;

[0112] The running step repeating module is used to repeat the steps of the evaluator to collect task running data.

[0113] As an optional implementation of this embodiment, the simulation system 200 supporting fully automatic hybrid operation of multiple virtual city scenes further includes:

[0114] A termination condition acquisition module is used to obtain the evaluation termination condition;

[0115] The condition satisfaction judgment module is used to judge whether the task running data meets the evaluation termination condition;

[0116] The simulation task termination module is used to end the city scene hybrid simulation task;

[0117] The determination repetition module is used to repeatedly determine whether the task running data satisfies the evaluation termination condition.

[0118] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASIC), or, one or more digital signal processors (DSP), or, one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms.

[0119] For another example, when the modules in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).

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

[0121] Figure 3 This is a structural block diagram of an electronic device 300 provided in an embodiment of the present application.

[0122] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302 , and may further include an information input / information output (I / O) interface 303 , one or more of a communication component 304 , and a communication bus 305 .

[0123] The processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps of the simulation method for supporting fully automatic hybrid operation of multiple virtual city scenes; the memory 302 is used to store various types of data to support the operation of the electronic device 300, and these data may include, for example, instructions for any application or method used to operate on the electronic device 300, and data related to the application. The memory 302 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0124] The I / O interface 303 provides an interface between the processor 301 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 104 may include: Wi-Fi components, Bluetooth components, NFC components.

[0125] The electronic device 300 can be implemented by one or more application-specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components, and is used to execute the simulation method supporting fully automatic hybrid operation of multiple virtual city scenes given in the above embodiment.

[0126] The communication bus 305 may include a path to transmit information between the above components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industrial Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.

[0127] The electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be servers, etc.

[0128] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the simulation method for supporting fully automatic hybrid operation of multiple virtual city scenes are implemented.

[0129] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0130] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.

[0131] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.

Claims

1. A simulation method supporting fully automatic mixed operation of multiple virtual city scenes, characterized in that: include: Acquire a city scenario hybrid simulation task and scenario scheduling information, wherein the city hybrid simulation task includes a target city operation scenario; Determining whether the target city operation scenario is scheduled based on the scenario scheduling information; If the target operation scenario scheduling is not completed, obtaining a first virtual city map of the previous target city operation scenario and a second virtual city map of the target city operation scenario; Running the city scene hybrid simulation task based on the first virtual city map and the second virtual city map; If the target operation scenario scheduling is completed, the city scenario hybrid simulation task is terminated.

2. The method according to claim 1, characterized in that The running of the city scene hybrid simulation task based on the first virtual city map and the second virtual city map comprises: Determining whether the second virtual city map is the same as the first virtual city map; If the second virtual city map is the same as the first virtual city map, running the city scene hybrid simulation task; If the second virtual city map is different from the first virtual city map, switching the city scene based on the target city operation scene; The city scene hybrid simulation task is run based on the switched city scene.

3. The method according to claim 2, characterized in that The switching of the city scene based on the target city operation scene includes: Obtain the autonomous driving algorithm module and map interface object instance used in the urban scene hybrid simulation task; Stop running the autonomous driving algorithm module and clean up the map interface object instance; Establish a link between the high-precision map used by the autonomous driving algorithm module and the high-precision map of the second virtual city.

4. The method according to claim 2, characterized in that: The running of the city scene hybrid simulation task based on the switched city scene includes: Creating a second map interface object instance of the second virtual city map; restarting the autonomous driving algorithm module linked to the second virtual city map to generate map switching completion information; The city scene hybrid simulation task is run based on the map switching completion information.

5. The method according to claim 2 or 4, characterized in that: The running of the city scene hybrid simulation task includes: Determining whether the autonomous driving algorithm module has planned a vehicle driving trajectory; If the autonomous driving algorithm module fails to plan a vehicle driving trajectory, then the city scene hybrid simulation task is terminated; If the autonomous driving algorithm module plans a vehicle driving trajectory, the urban scene hybrid simulation task is run based on the vehicle driving trajectory.

6. The method according to claim 5, characterized in that After running the city scene hybrid simulation task based on the vehicle driving trajectory, the method further includes: Setting an evaluator for the target city operation scenario; The evaluator collects task operation data; Obtaining evaluation rules, and judging whether the running task data meets the evaluation end condition based on the evaluation rules; If the running task data meets the evaluation end condition, then the city scene hybrid simulation task is ended; If the running task data does not meet the evaluation end condition, the step of the evaluator collecting task running data is repeated.

7. The method according to claim 6, characterized in that The method further comprises: Get the evaluation termination condition; Determining whether the task running data satisfies the evaluation termination condition; If the task operation data meets the evaluation termination condition, then the city scene hybrid simulation task is terminated; If the task execution data does not satisfy the evaluation termination condition, the step of determining whether the task execution data satisfies the evaluation termination condition is repeated.

8. A simulation system that supports fully automatic mixed operation of multiple virtual city scenes, characterized in that: include: A simulation task acquisition module, used to acquire a city scenario hybrid simulation task and scenario scheduling information, wherein the city hybrid simulation task includes a target city operation scenario; A scheduling completion judgment module, used to judge whether the operation scenario of the target city is scheduled based on the scenario scheduling information; A map information acquisition module, used to acquire a first virtual city map of a previous target city operation scenario and a second virtual city map of the target city operation scenario; A simulation task running module, used for running the city scene hybrid simulation task based on the first virtual city map and the second virtual city map; The simulation task ending module is used to end the urban scene hybrid simulation task.

9. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.