Driving scene information processing method, device, electronic device and readable storage medium

By obtaining and configuring the virtual object behavior identifiers and parameter values ​​in the driving scene information, the problem of poor program scalability in the traditional method is solved, the driving scene and behavior are configurable, the development cost is reduced, and the realism of the simulation environment is improved. ity and applicability.

CN113574530BActive Publication Date: 2024-09-20SHENZHEN DEEPROUTE AI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080003160.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-12
Publication Date
2024-09-20
Estimated Expiration
2040-02-12

AI Technical Summary

Technical Problem

The traditional driving scene information processing method has the problem of poor program scalability, which results in the modules corresponding to each driving scene being independent of each other, increased duplication of code, high development and maintenance costs, and each time new functions are developed, they need to be built and designed from scratch. , It is difficult to meet the complex needs of autonomous driving technology for simulation testing.

Method used

By obtaining the driving scene configuration information, including virtual object behavior identification, type and behavior parameter values, virtual object behavior operations are determined and executed based on this information to achieve configurable scenarios and behaviors. Different identifications and parameter values ​​can be executed simply by modifying the identification and parameter values. operations to improve the scalability of the program.

Benefits of technology

It achieves flexible configuration of driving scene information and convenient management of virtual object behavior, reduces repeated code and compilation time, reduces development and maintenance costs, and improves the authenticity and applicability of simulating the driving environment of unmanned vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113574530B
    Figure CN113574530B
Patent Text Reader

Abstract

A method for processing driving scene information includes: obtaining driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type (step 202); determining a corresponding virtual object behavior operation according to the virtual object behavior identifier (step 204); and executing the virtual object behavior operation according to the virtual object type and the behavior parameter value (step 206).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, electronic device and readable storage medium for processing driving scene information. Background Art

[0002] Currently, the simulation of intelligent objects in virtual scenes is primarily designed based on the virtual scenarios stipulated in existing laws and regulations. Traditional methods for processing driving scene information design a separate file to meet the requirements of each virtual driving scene. However, these traditional methods suffer from poor program scalability. Summary of the Invention

[0003] According to various embodiments of the present application, a driving scene information processing method, device, electronic device and readable storage medium are provided.

[0004] A method for processing driving scene information comprises: obtaining driving scene configuration information, the driving scene configuration information including a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; determining a corresponding virtual object behavior operation according to the virtual object behavior identifier; and executing the virtual object behavior operation according to the virtual object type and the behavior parameter value.

[0005] A driving scene information processing device comprises: an acquisition module for acquiring driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; a determination module for determining a corresponding virtual object behavior operation based on the virtual object behavior identifier; and an execution module for executing the virtual object behavior operation based on the virtual object type and the behavior parameter value.

[0006] An electronic device includes a memory and a processor, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor performs the following operations: obtaining driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; determining a corresponding virtual object behavior operation based on the virtual object behavior identifier; and performing the virtual object behavior operation based on the virtual object type and the behavior parameter value.

[0007] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following operations: obtaining driving scene configuration information, the driving scene configuration information including a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; determining a corresponding virtual object behavior operation based on the virtual object behavior identifier; and executing the virtual object behavior operation based on the virtual object type and the behavior parameter value.

[0008] The embodiment of the present application obtains behavior scenario configuration information, wherein the behavior scenario configuration information includes a virtual object behavior identifier and a behavior parameter value corresponding to the virtual object type. The virtual object behavior operation to be performed can be determined based on the virtual object identifier, and the virtual object behavior operation can be performed based on the virtual object type and the corresponding behavior parameter value. That is, the behavior scenario configuration information describes the virtual object behavior operation to be performed and the parameter value corresponding to the virtual object behavior operation. This can realize the configurability of scenes and behaviors. Different virtual object behavior operations can be performed by simply modifying the virtual object behavior identifier and the behavior parameter value. This makes it more convenient to use and the program has high scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0010] Figure 1 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment.

[0011] Figure 2 Flowchart of a method for processing driving scene information in one embodiment.

[0012] Figure 3 Schematic diagram of a flow chart of a method for processing driving scene information in another embodiment.

[0013] Figure 4 A flowchart of an operation for determining a virtual object behavior in one embodiment is shown.

[0014] Figure 5 A schematic diagram of the relationship between basic behavior identifiers in an embodiment.

[0015] Figure 6 A flowchart of an operation for determining a virtual object behavior in one embodiment is shown.

[0016] Figure 72 is a structural block diagram of a driving scene information processing device in one embodiment. DETAILED DESCRIPTION

[0017] In one embodiment, Figure 1 As shown, a schematic diagram of the internal structure of an electronic device is provided. Figure 1 The electronic device in the embodiment can specifically be a personal computer, a laptop computer, a smart phone, a tablet computer and a portable wearable device. The electronic device includes a processor, a memory and a display screen connected via a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory is used to store data, programs, and / or instruction codes, etc., and at least one computer program is stored on the memory, which can be executed by the processor to implement the memory processing method applicable to the electronic device provided in the embodiment of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a database and a computer program. The database stores data related to a driving scene information processing method provided in each of the above embodiments, such as virtual object behavior operations, etc. The computer program can be executed by the processor to implement a driving scene information processing method provided in each of the embodiments of the present application. The internal memory provides a high-speed cached operating environment for operating systems, databases, and computer programs stored in non-volatile storage media. The display screen can be a touch screen, such as a capacitive screen or an electronic screen, used to display the driving scene. It can also be used to detect touch operations on the display screen and generate corresponding instructions, such as instructions for switching between foreground and background applications. The display screen can be a liquid crystal display or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or it can be a button, trackball, or touchpad provided on the electronic device housing, or it can be an external keyboard, touchpad, or mouse.

[0018] Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the electronic device to which the solution of the present application is applied. For example, the electronic device may be a server, and the server may be implemented by an independent server or a server cluster composed of multiple servers. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. If the electronic device also includes a network interface connected via a system bus, the network interface may be an Ethernet card or a wireless network card, etc., for communicating with external electronic devices, such as being used to communicate with a server. For another example, there is no display connected via a system bus on the electronic device, or an external display device may be connected.

[0019] In one embodiment, Figure 2 As shown, a driving scene information processing method is provided. This embodiment applies the method to Figure 1 The electronic device shown in FIG. 1 is used as an example for explanation. The driving scene information processing method includes:

[0020] Step 202 : Acquire driving scene configuration information, where the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type.

[0021] Among them, the driving scene refers to the virtual driving scene of the virtual vehicle. The driving scene may include different virtual object types. Among them, the virtual object types include road type, vehicle type and traffic light type, and may also include pedestrian type, zebra crossing type, tree type, building type and at least one of the above. The virtual object (smart agent) may be a road, a vehicle or a traffic light, and may also be at least one of pedestrians, zebra crossings, trees or buildings. The number of virtual objects is not limited. For example, 2 pedestrians, 3 pedestrians, etc. may appear in the driving scene at the same time. For example, the driving scene may be a speed limit sign recognition and response scene, a stop and yield sign and marking recognition and response scene, a lane line recognition and response scene or a crosswalk line recognition and response scene, etc., but are not limited thereto. The driving scene may be a virtual scene specified in existing laws and regulations.

[0022] A virtual object behavior identifier is an identifier used to uniquely identify the behavior of a virtual object. A virtual object behavior identifier can consist of at least one of a number, a letter, a text, or a symbol. For example, a virtual object behavior identifier can be a constant speed straight-line driving identifier, or an identifier of 1, and is not limited thereto. Virtual object behavior identifiers can be divided into basic behavior identifiers and abnormal behavior identifiers. Virtual object behavior identifiers are used to determine the behavior operation of the virtual object. A behavior parameter value is a parameter value of a behavior parameter implemented by the virtual object. A behavior parameter value is a value corresponding to a variable. For example, if the virtual object type is a vehicle, the behavior parameter value can be a parameter related to lane changes, such as the distance from the target vehicle at which lane changes can be made, whether multiple lane changes are required, and the required time to stay in each lane during consecutive lane changes. Alternatively, when following a vehicle, the safe distance from the preceding vehicle, the maximum acceleration value in the event of a rear-end collision, and other parameters, are not limited to these. If the virtual object type is a traffic light, the corresponding behavior parameter value can be a red light duration, a green light duration, and other parameters, and is not limited to these. If the virtual object type is a pedestrian, the corresponding behavior parameter value can be a walking speed parameter, and is not limited to these.

[0023] Each virtual object behavior identifier has a corresponding virtual object type and a behavior parameter value corresponding to the virtual object type.

[0024] Specifically, driving scenario configuration information can be stored in a driving scenario configuration file. The driving scenario configuration information includes a virtual object behavior identifier, a virtual object type, and a behavior parameter value corresponding to the virtual object type. For example, if the virtual object behavior identifier is a uniform straight-line driving identifier and the virtual object type is a vehicle, then the behavior parameter corresponding to the virtual object type includes a speed parameter, and the corresponding behavior parameter value is a speed parameter value. The behavior parameter may also include a vehicle direction parameter, and the corresponding behavior parameter value is not limited to the vehicle direction parameter value.

[0025] In this embodiment, the driving scenario configuration information may also include a behavior parameter corresponding to the behavior parameter value. A behavior parameter represents a variable. A behavior parameter may also be referred to as a behavior parameter name. For example, the behavior parameter is A and the behavior parameter value is 1.

[0026] Step 204: Determine the corresponding virtual object behavior operation according to the virtual object behavior identifier.

[0027] A virtual object behavior operation can be considered a virtual object behavior program module. A program module is used to implement a function. In other words, a program module is used to perform a behavior. A virtual object behavior identifier corresponds to a virtual object behavior operation. Each virtual object behavior identifier has a corresponding virtual object behavior operation.

[0028] Specifically, the electronic device determines a corresponding virtual object behavior operation from a driving scene operation program according to the virtual object identifier, wherein the driving scene operation program may include at least one virtual object behavior operation.

[0029] Step 206: Execute a virtual object behavior operation according to the virtual object type and the corresponding behavior parameter value.

[0030] The virtual object behavior operation includes a virtual object type parameter and behavior parameters corresponding to the virtual object type. The behavior parameters in the driving scenario configuration information correspond to the behavior parameters in the virtual object behavior operation. The behavior parameter values ​​in the driving scenario configuration information are used to assign values ​​to the corresponding behavior parameters in the virtual object behavior operation.

[0031] Specifically, the electronic device inputs the driving scenario configuration file into the simulator executable file to control the virtual objects corresponding to the virtual object types to implement corresponding behaviors. That is, the electronic device configures the behavior parameter values ​​corresponding to the virtual object types in the driving scenario operation program. The simulator executable file includes the program code corresponding to the virtual object behavior operations.

[0032] In this embodiment, the electronic device may assign values ​​to the behavior parameters in the virtual object behavior operation according to the order of the behavior parameter values ​​corresponding to the virtual object types.

[0033] In the above-mentioned driving scene information processing method, the behavior scene configuration information includes the virtual object behavior identifier and the behavior parameter value corresponding to the virtual object type. The virtual object behavior operation to be executed can be determined according to the virtual object identifier, and the virtual object behavior operation can be executed according to the virtual object type and the corresponding behavior parameter value. That is, the behavior scene configuration information describes the virtual object behavior operation to be executed and the parameter value corresponding to the virtual object behavior operation, which can realize the configurability of scenes and behaviors. Different virtual object behavior operations can be executed by modifying the virtual object behavior identifier and the behavior parameter value. It is more convenient to use and the program has high scalability. Although the modules corresponding to each driving scene in the traditional method are independent of each other, it is obvious that there must be some similar or even completely identical modules. As the number of driving scenes increases, the repeated code will increase. The method in the embodiment of the present application is less likely to have repeated virtual object behavior operations, thereby reducing program compilation time and reducing development and maintenance costs.

[0034] In addition, it is more difficult to implement complex functions with traditional methods. Under the traditional design model, every time a new function is developed and a new scenario is implemented, it needs to be built and designed from scratch. As autonomous driving technology continues to mature, the requirements for simulation testing are getting higher and higher, and the complexity and closeness of the scenarios to reality will only get higher and higher. If new functions are completely redeveloped every time, it will be very time-consuming and labor-intensive. However, by adopting the method in the embodiment of the present application, the behavior of virtual objects can be easily changed by simply changing the driving scene configuration information each time. This avoids the creation of too many virtual object classes, reduces the time for program compilation, and also reduces the cost of subsequent development and maintenance.

[0035] In one embodiment, Figure 3 The figure shows a flow chart of a method for processing driving scene information in another embodiment. The driving scene configuration file corresponding to the driving scene configuration information can be a text document. The text document can be edited according to the specified protocol buffers file format. If the format of the driving scene configuration file is incorrect, it will be impossible to parse and the program will not run normally. The electronic device transmits the driving scene configuration file as input to the simulator executable file. The simulator runs in the back end and sends the scene status to the scene visualization tool in real time and displays it on the screen. Among them, the simulator executable file includes at least one virtual object behavior operation.

[0036]

[0037] Objects are virtual objects. Intelligence levels can also be expressed as levels. Higher levels indicate greater intelligence. Parameter 1 has the same name as the parameter in virtual object behavior operations.

[0038] In one embodiment, the driving scene information processing method further includes: detecting an execution identifier corresponding to the virtual object behavior identifier; and when the execution identifier is an executable identifier, executing an operation of determining a corresponding virtual object behavior operation according to the virtual object behavior identifier.

[0039] The execution flag can be used to determine whether to execute a virtual object behavior operation. The execution flag can include an executable flag and a non-executable flag. The execution flag can be a Boolean variable. A Boolean variable can be used in the driving scenario configuration information to determine the virtual object behavior operation to be executed. For example, the executable flag is 1, the non-executable flag is 0; the executable flag is true, and the non-executable flag is false.

[0040] Specifically, the electronic device detects an execution identifier corresponding to the virtual object behavior identifier. When the execution identifier is an executable identifier, the electronic device determines a corresponding virtual object behavior operation according to the virtual object. When the execution identifier is a non-executable identifier, the electronic device does not execute the virtual object behavior operation.

[0041] In this embodiment, the behavior scenario configuration information may only include an executable identifier. When the execution identifier corresponding to the virtual object behavior identifier is an executable identifier, the corresponding virtual object behavior operation is determined according to the virtual object behavior identifier.

[0042] The above-mentioned driving scene information processing method detects the execution identifier corresponding to the virtual object behavior identifier; when the execution identifier is an executable identifier, the operation of determining the corresponding virtual object behavior operation according to the virtual object behavior identifier is executed, and then by modifying the execution identifier, it can be determined which virtual object behavior operations are to be executed, thereby improving the scalability of the program.

[0043] In one embodiment, the virtual object behavior identifier includes a basic behavior identifier; the basic behavior identifier includes at least one of a uniform straight line driving identifier, a speed control identifier, a lane line driving identifier, and a lane change driving identifier. Figure 4 FIG. 1 is a flow chart of determining a virtual object behavior operation in one embodiment. When the execution identifier is an executable identifier, the operation of determining the corresponding virtual object behavior operation according to the virtual object behavior identifier is performed, including:

[0044] Step 402 : When the execution flag corresponding to the uniform speed straight-line driving flag is an executable flag, the corresponding operation is determined to be a uniform speed straight-line driving operation according to the uniform speed straight-line driving flag.

[0045] Among them, basic behavior refers to the behavior of a vehicle when driving on the road. For example, driving in a straight line at a constant speed, changing lanes, accelerating, decelerating, etc. Specifically, it can be driving in a straight line at a constant speed along the current lane, changing to an adjacent lane, slowing down and stopping at the stop line when a red light is detected at an intersection, paying attention to the distance and relative speed to the vehicle in front when following a vehicle, and adjusting the speed of the vehicle according to the speed limit of the current lane. The constant speed straight driving mark can be composed of at least one of numbers, words, symbols, and letters. For example, the constant speed straight driving mark can be A. The constant speed straight driving operation refers to the operation of the virtual vehicle moving in a straight line at a preset speed.

[0046] Specifically, the electronic device determines whether the execution identifier corresponding to the uniform speed and straight line driving identifier is an executable identifier. When the execution identifier corresponding to the uniform speed and straight line driving identifier is an executable identifier, the electronic device determines that the corresponding operation is a uniform speed and straight line driving operation based on the uniform speed and straight line driving identifier in the driving scenario configuration file. For example, if the uniform speed and straight line driving identifier is A, the electronic device determines that the corresponding operation is an A operation based on the A identifier. The electronic device executes the uniform speed and straight line driving operation based on the vehicle type and the corresponding behavior parameter value. For example, the behavior parameter value includes a speed parameter value. The electronic device executes the uniform speed and straight line driving operation based on the vehicle type and the corresponding speed parameter value.

[0047] Step 404: When the execution identifier corresponding to the speed control identifier is an executable identifier, the corresponding operation is determined to be a speed control operation according to the speed control identifier.

[0048] The speed control identifier may be composed of at least one of numbers, words, symbols, and letters. For example, the speed control identifier may be B. The speed control operation may be used to control the acceleration or deceleration of the virtual vehicle.

[0049] Specifically, the electronic device determines whether the execution flag corresponding to the speed control flag is an executable flag. When the execution flag corresponding to the speed control flag is an executable flag, the electronic device determines that the corresponding operation is a speed control operation based on the speed control flag in the driving scenario file. The electronic device may execute the speed control operation based on the vehicle type and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value. The electronic device executes the speed control operation based on the vehicle type and the corresponding acceleration parameter value.

[0050] Step 406 : When the execution flag corresponding to the driving along the lane line flag is an executable flag, the corresponding operation is determined as a driving along the lane line operation according to the driving along the lane line flag.

[0051] The lane marking indicator can be composed of at least one of numbers, words, symbols, and letters. For example, the lane marking indicator can be C. The lane marking operation refers to the operation of the virtual vehicle moving along a preset lane line at a preset speed. For example, the lane line can be the lane edge line or the lane center line.

[0052] Specifically, the electronic device determines whether the execution flag corresponding to the driving along the lane line flag is an executable flag. When the execution flag corresponding to the driving along the lane line flag is an executable flag, the electronic device determines that the corresponding operation is a driving along the lane line operation based on the driving along the lane line flag in the driving scenario file. The electronic device can perform the driving along the lane line operation based on the vehicle type and the corresponding behavior parameter value. For example, the behavior parameter value includes a driving along the lane line parameter value. The behavior parameter value can also include a non-driving along the lane line parameter value. The electronic device performs the driving along the lane line operation based on the vehicle type and the corresponding driving along the lane line parameter value.

[0053] Step 408 : When the execution flag corresponding to the lane-changing driving flag is an executable flag, a lane-changing driving operation is determined according to the lane-changing driving flag.

[0054] The lane change indicator can be composed of at least one of numbers, words, symbols, and letters. For example, the lane change indicator can be D. A lane change operation refers to the operation of a virtual vehicle changing lanes. For example, the virtual vehicle changes from lane 1 to lane 2.

[0055] Specifically, the electronic device determines whether the execution flag corresponding to the lane-changing indicator is an executable flag. If the execution flag corresponding to the lane-changing indicator is an executable flag, the electronic device determines that the corresponding operation is a lane-changing operation based on the lane-changing indicator in the driving scenario file. The electronic device may execute the lane-changing operation based on the vehicle type and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value. The electronic device executes the lane-changing operation based on the vehicle type and the corresponding acceleration parameter value.

[0056] The above-mentioned driving scene information processing method can determine the corresponding virtual object behavior operation according to the execution identifiers corresponding to the uniform straight-line driving identifier, the speed control identifier, the lane line driving identifier, and the lane change driving identifier. By modifying the virtual object behavior identifier, the virtual vehicle can implement the corresponding virtual object behavior operation, obtain different driving scenes, and improve the scalability of the program.

[0057] In one embodiment, the speed control indicator includes at least one of a red light deceleration sub-indicator, a speed limit deceleration sub-indicator, a distance-based deceleration sub-indicator, and an acceleration sub-indicator. The speed control operation includes at least one of a red light deceleration sub-operation, a speed limit deceleration sub-operation, a distance-based deceleration sub-operation, and an acceleration sub-operation. When the execution indicator corresponding to the speed control is an executable indicator, determining the corresponding speed control operation according to the speed control includes:

[0058] Step (a1): when the execution flag corresponding to the red light slow down sub-flag is an executable flag, determining the corresponding sub-operation as the red light slow down sub-operation according to the red light slow down sub-flag.

[0059] The red light slow down sub-identifier can be composed of at least one of numbers, words, symbols, and letters. For example, the red light slow down sub-identifier can be B1. The red light slow down sub-operation is the sub-operation corresponding to when the virtual vehicle detects that the traffic light ahead is red.

[0060] Specifically, the electronic device determines whether the execution identifier corresponding to the red light deceleration sub-identifier is an executable identifier. When the execution identifier corresponding to the red light deceleration sub-identifier is an executable identifier, the electronic device determines that the corresponding operation is a red light deceleration sub-operation based on the red light deceleration sub-identifier in the driving scenario file. The electronic device can execute the red light deceleration sub-operation according to the vehicle type and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value and an execution parameter value corresponding to the traffic light detection operation. When the execution parameter value corresponding to the traffic light detection operation is an executable parameter value, the electronic device executes the red light deceleration sub-operation according to the vehicle type and the corresponding acceleration parameter value.

[0061] In this embodiment, when the execution flag corresponding to the speed control flag is an executable flag, the electronic device determines whether the execution flag corresponding to the red light slowdown sub-flag is an executable flag. If the execution flag corresponding to the red light slowdown sub-flag is an executable flag, the electronic device determines that the corresponding operation is a red light slowdown sub-operation based on the red light slowdown sub-flag in the driving scenario file.

[0062] Step (a2): when the execution flag corresponding to the deceleration due to exceeding speed limit sub-flag is an executable flag, the corresponding sub-operation is determined as the deceleration due to exceeding speed limit sub-operation according to the deceleration due to exceeding speed limit sub-flag.

[0063] The speed limit refers to the maximum speed limit on the road. For example, the speed limit can be 40 km / h or 60 km / h, but is not limited thereto. The "decelerate when exceeding speed limit" sub-indicator can consist of at least one of numbers, text, symbols, and letters. For example, the "decelerate when exceeding speed limit" sub-indicator can be B2. The "decelerate when exceeding speed limit" sub-operation refers to the sub-operation corresponding to deceleration when the virtual vehicle detects that its current speed exceeds the speed limit set by the road.

[0064] Specifically, the electronic device determines whether the execution identifier corresponding to the "deceleration due to exceeding speed limit value" sub-identifier is an executable identifier. When the execution identifier corresponding to the "deceleration due to exceeding speed limit value" sub-identifier is an executable identifier, the electronic device determines that the corresponding operation is the "deceleration due to exceeding speed limit value" sub-operation based on the "deceleration due to exceeding speed limit value" sub-identifier in the driving scenario file. The electronic device can execute the "deceleration due to exceeding speed limit value" sub-operation based on the vehicle and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value and a speed limit value. When the speed value of the virtual vehicle exceeds the speed limit value, the electronic device executes the "deceleration due to exceeding speed limit value" sub-operation based on the acceleration parameter value corresponding to the vehicle.

[0065] In this embodiment, when the execution flag corresponding to the speed control flag is an executable flag, the electronic device determines whether the execution flag corresponding to the deceleration due to exceeding speed limit sub-flag is an executable flag. When the execution flag corresponding to the deceleration due to exceeding speed limit sub-flag is an executable flag, the electronic device determines that the corresponding operation is the deceleration due to exceeding speed limit sub-operation based on the deceleration due to exceeding speed limit sub-flag in the driving scenario file.

[0066] Step (a3): when the execution flag corresponding to the deceleration based on distance sub-flag is an executable flag, determining the corresponding sub-operation as the deceleration based on distance sub-operation according to the deceleration based on distance sub-flag.

[0067] The distance refers to the distance between the virtual vehicle and the preceding vehicle. The deceleration based on distance sub-identifier can consist of at least one of numbers, text, symbols, and letters. For example, the deceleration based on distance sub-identifier can be B3. The deceleration based on distance sub-operation refers to the sub-operation corresponding to deceleration when the distance between the virtual vehicle and the preceding vehicle reaches a preset distance.

[0068] Specifically, the electronic device determines whether the execution identifier corresponding to the deceleration based on distance sub-identifier is an executable identifier. When the execution identifier corresponding to the deceleration based on distance sub-identifier is an executable identifier, the electronic device determines that the corresponding operation is the deceleration based on distance sub-operation based on the deceleration based on distance sub-identifier in the driving scenario file. The electronic device can perform the deceleration based on distance sub-operation based on the vehicle and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value and a distance parameter value between the virtual vehicle and the preceding vehicle. Among them, the distance parameter value is greater than a reference distance value. The reference distance value refers to a safe distance value between the virtual vehicle and the preceding vehicle. The reference distance value can be determined based on the current speed value of the virtual vehicle. When the distance between the virtual vehicle and the preceding vehicle is equal to or less than the distance parameter value, the electronic device performs the deceleration based on distance sub-operation based on the acceleration parameter value corresponding to the vehicle.

[0069] In this embodiment, when the execution flag corresponding to the speed control flag is an executable flag, the electronic device determines whether the execution flag corresponding to the distance-based deceleration sub-flag is an executable flag. When the execution flag corresponding to the distance-based deceleration sub-flag is an executable flag, the electronic device determines that the corresponding operation is a distance-based deceleration sub-operation based on the distance-based deceleration sub-flag in the driving scenario file.

[0070] Step (a4): when the execution identifier corresponding to the accelerator sub-identifier is an executable identifier, determining the corresponding sub-operation as an acceleration sub-operation according to the accelerator sub-identifier.

[0071] The acceleration sub-identifier can be composed of at least one of numbers, words, symbols, and letters. For example, the acceleration sub-identifier can be B4. The acceleration sub-operation refers to the operation of accelerating the virtual vehicle, or the operation of accelerating the virtual vehicle to a preset speed.

[0072] Specifically, the electronic device determines whether the execution flag corresponding to the accelerator sub-identifier is an executable flag. If the execution flag corresponding to the accelerator sub-identifier is an executable flag, the electronic device determines that the corresponding operation is an acceleration sub-operation based on the accelerator sub-identifier in the driving scenario file. The electronic device may execute the acceleration sub-operation based on the vehicle and the corresponding behavior parameter value. For example, the behavior parameter value includes an acceleration parameter value. Therefore, when the acceleration parameter value is positive, the virtual vehicle accelerates; when the acceleration parameter value is negative, the virtual vehicle decelerates.

[0073] In this embodiment, when the execution flag corresponding to the speed control flag is an executable flag, the electronic device determines whether the execution flag corresponding to the accelerator sub-flag is an executable flag. When the execution flag corresponding to the accelerator sub-flag is an executable flag, the electronic device determines that the corresponding operation is an accelerator sub-operation based on the accelerator sub-flag in the driving scenario file.

[0074] The above-mentioned driving scene information processing method can determine the corresponding speed control operation based on at least one of the red light deceleration sub-indicator, the speed limit deceleration sub-indicator, the distance deceleration sub-indicator, and the acceleration sub-indicator, which can improve the accuracy of speed control and thus improve the authenticity of the simulated unmanned vehicle driving environment.

[0075] In one embodiment, the lane change indicator includes at least one of a lane change sub-indicator according to a preset route, a lane change sub-indicator for overtaking, and an emergency avoidance sub-indicator. The lane change operation includes at least one of a lane change sub-operation according to a preset route, a lane change sub-operation for overtaking, and an emergency avoidance sub-operation. When the execution indicator corresponding to the lane change is an executable indicator, determining the lane change operation based on the lane change includes:

[0076] Step (b1): when the execution flag corresponding to the lane changing according to the preset route sub-flag is an executable flag, determining the corresponding operation as the lane changing according to the preset route sub-flag as a lane changing according to the preset route sub-operation.

[0077] The "Change Lanes According to Preset Route" sub-indicator can be composed of at least one of numbers, text, symbols, and letters. For example, the "Change Lanes According to Preset Route" sub-indicator can be D1. The "Change Lanes According to Preset Route" sub-operation refers to the sub-operation corresponding to when the virtual vehicle changes lanes according to a preset route. A preset route refers to a virtual vehicle changing lanes according to a pre-set route.

[0078] Specifically, the electronic device determines whether the execution flag corresponding to the "Change lanes according to the preset route" sub-flag is an executable flag. When the execution flag corresponding to the "Change lanes according to the preset route" sub-flag is an executable flag, the electronic device determines, based on the "Change lanes according to the preset route" sub-flag in the driving scenario file, that the corresponding operation is a "Change lanes according to the preset route" sub-operation. The electronic device may execute the "Change lanes according to the preset route" sub-operation based on the vehicle and the corresponding behavior parameter value. For example, the behavior parameter value includes an execution parameter value corresponding to "Change lanes according to the preset route." When the execution parameter value corresponding to "Change lanes according to the preset route" is an executable parameter value, the electronic device executes the "Change lanes according to the preset route" sub-operation.

[0079] In this embodiment, when the execution flag corresponding to the lane change driving flag is an executable flag, the electronic device determines whether the execution flag corresponding to the lane change according to the preset route sub-flag is an executable flag. If the execution flag corresponding to the lane change according to the preset route sub-flag is an executable flag, the electronic device determines that the corresponding operation is the lane change according to the preset route sub-operation based on the lane change according to the preset route sub-flag in the driving scenario file.

[0080] Step (b2): when the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, determining the corresponding sub-operation as the overtaking lane-changing sub-operation according to the overtaking lane-changing sub-flag.

[0081] The overtaking lane-changing sub-identifier can consist of at least one of numbers, text, symbols, and letters. For example, the overtaking lane-changing sub-identifier can be D2. The overtaking lane-changing sub-operation refers to the sub-operation corresponding to the virtual vehicle overtaking and changing lanes. The overtaking lane-changing sub-operation refers to the sub-operation when a vehicle changes lanes, overtakes the preceding vehicle, and then merges back into the original lane.

[0082] Specifically, the electronic device determines whether the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag. If the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, the electronic device determines the corresponding operation as an overtaking lane-changing sub-operation based on the overtaking lane-changing sub-flag in the driving scenario file. The electronic device may execute the overtaking lane-changing sub-operation based on the vehicle and corresponding behavior parameter values. For example, the behavior parameter values ​​include a lane identification value for lane changing and an overtaking speed value. The electronic device executes the overtaking lane-changing sub-operation based on the lane identification value and the overtaking speed value.

[0083] In this embodiment, when the execution flag corresponding to the lane-changing driving flag is an executable flag, the electronic device determines whether the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag. If the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, the electronic device determines that the corresponding operation is a overtaking lane-changing sub-operation based on the overtaking lane-changing sub-flag in the driving scenario file.

[0084] Step (b3): ​​when the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier, determining the corresponding sub-operation as the emergency avoidance sub-operation according to the emergency avoidance sub-identifier.

[0085] Emergency avoidance refers to the avoidance of a vehicle in an emergency. Emergency avoidance sub-operations refer to the corresponding sub-operations of the virtual vehicle in an emergency. For example, if a virtual vehicle encounters a special vehicle, such as a fire truck or ambulance, it must avoid the special lane to allow the special vehicle to pass smoothly. The emergency avoidance sub-identifier can consist of at least one of numbers, text, symbols, and letters. For example, the emergency avoidance sub-identifier can be D3.

[0086] Specifically, the electronic device determines whether the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier. When the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier, the electronic device determines that the corresponding operation is an emergency avoidance sub-operation based on the emergency avoidance sub-identifier in the driving scenario file. The electronic device can execute the emergency avoidance sub-operation based on the vehicle and the corresponding behavior parameter value. For example, the behavior parameter value includes a lane identification value for lane change, a vehicle type value for avoidance, etc. The electronic device executes the emergency avoidance sub-operation based on the lane identification value for lane change and the vehicle type value for avoidance.

[0087] In this embodiment, when the execution flag corresponding to the lane change driving flag is an executable flag, the electronic device determines whether the execution flag corresponding to the emergency avoidance sub-flag is an executable flag. If the execution flag corresponding to the emergency avoidance sub-flag is an executable flag, the electronic device determines that the corresponding operation is an emergency avoidance sub-operation based on the emergency avoidance sub-flag in the driving scenario file.

[0088] The above-mentioned driving scene information processing method can determine the corresponding lane change driving operation based on at least one of the lane change sub-markers according to the preset route, the overtaking lane change sub-marker, and the emergency avoidance sub-marker, which can improve the accuracy of lane changes and thus improve the authenticity of the simulated unmanned vehicle driving environment.

[0089] In one embodiment, Figure 5As shown, it is a schematic diagram of the relationship between basic behavior identifiers in one embodiment. The basic behavior identifiers include at least one of a speed control identifier, a uniform straight-line driving identifier, a lane-driving identifier, and a lane-changing identifier. The speed control identifier includes at least one of a red light deceleration sub-identifier, a speed limit deceleration sub-identifier, a distance-based deceleration sub-identifier, and an acceleration sub-identifier. The lane-changing identifier includes at least one of a lane-changing sub-identifier according to a preset route, a lane-changing sub-identifier after overtaking, and an emergency avoidance sub-identifier. The uniform straight-line driving identifier may correspond to an operation of moving forward in a uniform straight line at the current speed. The lane-driving identifier may correspond to an operation of moving forward at a uniform speed along the lane centerline curve, etc., and is not limited thereto. Virtual object behavior operations can be directly added to the class of the virtual object (smart agent) by adding member functions. At the same time, we can classify virtual object behavior operations into Figure 5 Then add some logic judgment code, such as Figure 6 As shown, it is used to determine when this function needs to be executed. Accordingly, the execution flag corresponding to the virtual object behavior flag needs to be added to the configuration file to indicate whether the virtual object behavior operation is enabled. This makes the program more scalable.

[0090] An agent class contains the agent's definition, its basic properties, its functional capabilities, and other potentially useful information. Simply put, a vehicle class might include properties such as the vehicle's current position, speed, size, and color. Its functionality might include determining the desired distance to travel, slowing down and stopping when pedestrians cross the road ahead, and slowing down and stopping at a red light at an intersection ahead. Within a class, each attribute is described by a variable, and each function is implemented by a member function. In other words, each virtual object behavior operation can be implemented using a member function. Member functions can change the state of class attributes at runtime, such as by changing their position. For each additional functional module, a corresponding member function must be added to the class. This means writing a function's code to add a virtual object behavior operation.

[0091] In one embodiment, Figure 6 FIG. 1 is a flow chart of an operation for determining a virtual object behavior in an embodiment.

[0092] Step 602: Obtain a driving scenario configuration file.

[0093] Step 604 , determine whether the execution flag corresponding to the uniform speed straight driving flag is an executable flag?

[0094] Step 606: If yes, execute the uniform speed straight driving operation.

[0095] Step 608: Determine whether the execution flag corresponding to the speed control flag is an executable flag.

[0096] If yes, step 610 is performed, determining whether the execution flag corresponding to the red light slow down sub-flag is an executable flag. If the execution flag corresponding to the red light slow down sub-flag is not an executable flag, step 614 is performed.

[0097] Step 612: If the execution flag corresponding to the red light slow down sub-flag is an executable flag, the red light slow down sub-operation is executed.

[0098] Step 614 , determining whether the execution flag corresponding to the "deceleration due to exceeding speed limit value" sub-flag is an executable flag. If the execution flag corresponding to the "deceleration due to exceeding speed limit value" sub-flag is not an executable flag, executing step 618 .

[0099] Step 616: If the execution flag corresponding to the deceleration due to exceeding the speed limit value sub-flag is an executable flag, the deceleration due to exceeding the speed limit value sub-operation is executed.

[0100] Step 618 , determining whether the execution flag corresponding to the distance deceleration sub-flag is an executable flag. If the execution flag corresponding to the distance deceleration sub-flag is not an executable flag, executing step 622 .

[0101] Step 620 : If the execution flag corresponding to the deceleration-based-distance sub-flag is an executable flag, the deceleration-based-distance sub-operation is executed.

[0102] Step 622: Determine whether the execution identifier corresponding to the accelerator sub-identifier is an executable identifier. If the execution identifier corresponding to the accelerator sub-identifier is not an executable identifier, execute step 626.

[0103] Step 624: If the execution identifier corresponding to the accelerator identifier is an executable identifier, the accelerator operation is executed.

[0104] Step 626 , determining whether the execution flag corresponding to the driving along lane mark flag is an executable flag. If the execution flag corresponding to the driving along lane mark flag is not an executable flag, proceed to step 630 .

[0105] Step 628: If the execution flag corresponding to the accelerator sub-flag is an executable flag, the operation of driving along the lane line is executed.

[0106] Step 630: Determine whether the execution flag corresponding to the lane-changing driving flag is an executable flag. If the execution flag corresponding to the lane-changing driving flag is not an executable flag, then the process ends, or determines whether the execution flag corresponding to another basic behavior flag is an executable flag.

[0107] In step 632, if the execution flag corresponding to the lane change driving flag is an executable flag, determine whether the execution flag corresponding to the lane change according to the preset route sub-flag is an executable flag. If the execution flag corresponding to the lane change according to the preset route sub-flag is not an executable flag, proceed to step 636.

[0108] Step 634 : If the execution flag corresponding to the lane-changing according to the preset route sub-flag is an executable flag, the lane-changing according to the preset route sub-operation is executed.

[0109] Step 636 , determining whether the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag. If the execution flag corresponding to the overtaking lane-changing sub-flag is not an executable flag, proceed to step 640 .

[0110] Step 638 : If the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, the overtaking lane-changing sub-operation is executed.

[0111] Step 640: Determine whether the execution flag corresponding to the emergency avoidance sub-flag is an executable flag. If the execution flag corresponding to the emergency avoidance sub-flag is not an executable flag, then the process ends, or determines whether the execution flag corresponding to another basic behavior flag is an executable flag.

[0112] Step 642: If the execution flag corresponding to the emergency avoidance sub-flag is an executable flag, the emergency avoidance sub-operation is executed.

[0113] The above-mentioned driving scene information processing method can determine the virtual object behavior operation that needs to be executed in the end through a series of judgment conditions, thereby realizing the configurability of the virtual object behavior operation.

[0114] In one embodiment, the virtual object behavior identifier includes an abnormal behavior identifier; the behavior parameter value includes an abnormal behavior parameter value; the virtual object behavior operation includes an abnormal behavior operation. Executing the virtual object behavior operation according to the virtual object type and the behavior parameter value includes executing the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value.

[0115] Among them, the abnormal behavior identifier is different from the basic behavior identifier. The abnormal behavior identifier can refer to behavior that does not comply with laws and regulations or behavior that causes a malfunction. The abnormal behavior parameter value can refer to a parameter value corresponding to the vehicle that is not within the range specified by laws and regulations. For example, the speed parameter value is 150 kilometers per hour, the distance to the vehicle in front is less than the reference distance value, etc. The abnormal behavior identifiers corresponding to different virtual object types are different. For example, the abnormal behavior of a traffic light can be a red light that is always on and does not switch to green, or a yellow light that is always on, etc., but is not limited to this.

[0116] Specifically, the abnormal behavior operation may be, but is not limited to, speeding, driving on the line, not stopping at an intersection, not yielding to pedestrians, etc. The electronic device performs the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value.

[0117] In the above-mentioned driving scene information processing method, the virtual object behavior identification includes the abnormal behavior identification, the behavior parameter value includes the abnormal behavior parameter value, the virtual object behavior operation includes the abnormal behavior operation, and the abnormal behavior operation is performed according to the virtual object type and the abnormal behavior parameter value. Since some prescribed driving scenarios have special requirements, for example, it is necessary to add some vehicles that perform abnormal behaviors to the driving scene, and use the scene corresponding to the abnormal behavior to test whether the algorithm of the unmanned vehicle can play a role in the scene, thereby improving the authenticity of the driving scene simulation; and by changing the abnormal parameter value, etc., the driving scene can be modified, thereby improving the scalability of the program.

[0118] In one embodiment, the abnormal behavior indicator is a driving-on-the-line indicator; the virtual object type is a vehicle type. An abnormal behavior operation is performed based on the virtual object type and the abnormal behavior parameter value, including: performing a driving-on-the-line operation corresponding to the driving-on-the-line indicator based on the vehicle type and the corresponding initial position and initial speed, thereby controlling the virtual vehicle to drive on the line.

[0119] Driving on a lane line refers to driving in the opposite lane or in the same lane. For example, regardless of whether the lane line is solid or dashed, the vehicle is driving in the lane. The initial position refers to the coordinate position of the virtual vehicle in the driving scene. Specifically, the initial position can be the position where the virtual vehicle is driving on the lane line.

[0120] Specifically, the initial speed is a fixed speed value. Based on the initial position and initial speed of the virtual vehicle, the electronic device executes a driving-on-the-line operation corresponding to the driving-on-the-line indicator to control the virtual vehicle to drive on the line. The virtual vehicle may drive with constant acceleration or deceleration, or with variable speeds, without limitation.

[0121] The above-mentioned driving scene information processing method performs a line-crossing driving operation according to the initial position and initial speed of the virtual vehicle to control the virtual vehicle to drive on the line. It can simulate the driving scene of the vehicle during actual driving, improve the authenticity of the driving scene simulation, and test whether the unmanned vehicle algorithm is applicable in this scenario, thereby improving the applicability of the unmanned vehicle algorithm.

[0122] In one embodiment, the abnormal behavior indicator is a no-stop at intersection indicator; the virtual object type is a vehicle type; and the abnormal behavior parameter value includes an execution parameter value of a traffic light detection operation as a non-executable parameter value. Executing an abnormal behavior operation based on the virtual object type and the abnormal behavior parameter value includes: executing a no-stop at intersection operation corresponding to the no-stop at intersection indicator based on the vehicle type and the corresponding non-executable parameter value, thereby controlling the virtual vehicle to maintain driving at the intersection.

[0123] Among them, "no stopping at an intersection" means that when a vehicle arrives at an intersection, it should slow down according to traffic regulations, stop at a red light, or give way to pedestrians, but the virtual vehicle does not stop in any of the above situations. The "no stopping at an intersection" sign can be composed of at least one of numbers, text, symbols, and letters. The detection operations corresponding to vehicle types include traffic light detection operations, sidewalk detection operations, pedestrian detection operations, etc., but are not limited to these. The traffic light detection operation is used to detect the color of the traffic light and determine whether it is passable. The non-executable parameter value is used to disable the traffic light detection operation. The executable parameter value can be 1, true, etc., but are not limited to these. The non-executable parameter value can be 0, false, etc., but are not limited to these.

[0124] Specifically, the electronic device executes the non-stop operation at the intersection corresponding to the no-stop sign at the intersection according to the vehicle type and the non-executable parameter value corresponding to the vehicle type, where the non-executable parameter value is the execution parameter value of the traffic light detection operation, and controls the virtual vehicle to keep moving at the intersection.

[0125] The above-mentioned driving scene information processing method executes the no-stop operation at the intersection corresponding to the no-stop sign at the intersection according to the vehicle type and the corresponding non-executable parameter value, and controls the virtual vehicle to keep driving at the intersection, that is, the electronic device does not execute the traffic light detection operation corresponding to the virtual vehicle. It is equivalent to an unmanned vehicle encountering a vehicle that does not drive according to traffic lights during driving, so as to detect whether the unmanned vehicle's algorithm works in this scenario, thereby improving the authenticity of the driving scene simulation.

[0126] In one embodiment, the abnormal behavior identifier is a merging ahead identifier for a target vehicle; the virtual object type is a vehicle type; and the abnormal behavior parameter value includes a distance parameter value between the virtual vehicle and the target vehicle, the distance parameter value being less than a reference distance value. Performing an abnormal behavior operation based on the virtual object type and the abnormal behavior parameter value includes: performing a merging operation corresponding to the merging ahead identifier for the target vehicle based on the vehicle type and the corresponding distance parameter value, thereby controlling the virtual vehicle to merge ahead of the target vehicle.

[0127] The reference distance value refers to the safe distance between the virtual vehicle and the target vehicle. The reference distance value can be determined based on the virtual vehicle's current speed. The greater the virtual vehicle's speed, the greater the reference distance value; the smaller the virtual vehicle's speed, the smaller the reference distance value. The target vehicle refers to the virtual unmanned vehicle.

[0128] Specifically, the marker for merging in front of the target vehicle can be composed of at least one of numbers, words, symbols, and letters. A merging operation can involve the virtual vehicle merging into the target vehicle's lane from in front of the target vehicle, even though the virtual vehicle and the target vehicle are not in the same lane. The distance parameter value refers to the distance parameter value between the virtual vehicle and the target vehicle. For example, the electronic device performs a merging operation based on a reference distance value corresponding to the virtual vehicle, such as 5 meters, to control the virtual vehicle to merge in front of the target vehicle when the virtual vehicle is 5 meters away from the target vehicle. At this point, the target vehicle should apply emergency braking.

[0129] In the above-mentioned driving scene information processing method, when the distance parameter value is less than the reference distance value, the virtual vehicle performs a merging operation, which is likely to cause a traffic accident, i.e., a rear-end collision or side collision. The virtual vehicle simulates the abnormal behavior encountered by the unmanned vehicle while driving on the road, thereby detecting whether the unmanned vehicle's algorithm works in this scenario, and also improving the authenticity of the driving scene simulation.

[0130] In one embodiment, the number of virtual object behavior identifiers is at least two. Executing a virtual object behavior operation according to the virtual object type and the behavior parameter value includes: executing the at least two virtual object behavior operations corresponding to the virtual object type and the behavior parameter value corresponding to each virtual object behavior identifier in an order of the at least two virtual object behavior identifiers.

[0131] The number of virtual object behavior indicators may be at least two. For example, if the virtual object behavior indicators include a constant speed straight line indicator and a lane line driving indicator, the virtual vehicle may drive at a constant speed straight line along the lane line. If the virtual object behavior indicators include a speed control indicator and a lane line driving indicator, the virtual vehicle may accelerate along the lane line, and the like are not limited thereto.

[0132] Specifically, the order of the at least two virtual object behavior identifiers can be the order in which they appear in the driving scene configuration information, or the time order corresponding to the virtual object behavior identifiers. The electronic device executes the virtual object behavior operation corresponding to each virtual object behavior identifier according to the order in which the at least two virtual object behavior identifiers appear, or the corresponding time order, and the virtual object type and behavior parameter value corresponding to each virtual object behavior identifier, that is, executes at least two virtual object behavior operations. For example, the electronic device controls the virtual vehicle to first execute the uniform speed straight line driving operation corresponding to the uniform speed straight line driving identifier, and then executes the speed control operation corresponding to the speed control identifier. Alternatively, the electronic device controls the virtual vehicle to execute the uniform speed straight line driving operation, and when it detects that the speed of the preceding vehicle is less than the speed of the virtual vehicle, executes the lane change operation.

[0133] The above-mentioned driving scene information processing method executes at least two corresponding virtual object behavior operations according to the order of at least two virtual object behavior identifiers, as well as the virtual object type and behavior parameter value corresponding to each virtual object behavior identifier. It can simulate the actual driving scene of the unmanned vehicle, and different virtual object behavior operations can be executed by only modifying the virtual object behavior identifier and behavior parameter value. It is more convenient to use and the program has high scalability.

[0134] In one embodiment, the driving scene configuration information includes initial state information corresponding to the virtual object type. Executing a virtual object behavior operation according to the virtual object type and the behavior parameter value includes: executing the virtual object behavior operation according to the virtual object type, the initial state information corresponding to the virtual object type, and the behavior parameter value.

[0135] Initial state information refers to the state information of a virtual object when it is activated. Different types of virtual objects may have different initial state information. For example, the initial state information corresponding to a vehicle type may include an initial position and initial speed. The initial state information corresponding to a traffic light type may include the color of the traffic light, etc. The initial state information corresponding to a pedestrian type may include an initial position and initial speed, etc.

[0136] Specifically, the electronic device performs a corresponding virtual object behavior operation based on the virtual object type, the initial state information corresponding to the type, and the behavior parameter value. For example, based on the vehicle and its corresponding initial position and initial velocity, where the initial velocity is 40 kilometers per second, and the parameter value for changing to lane 2, the electronic device performs a virtual object behavior operation to control the virtual vehicle to change to lane 2 at a speed of 40 kilometers per second.

[0137] The above-mentioned driving scene information processing method performs virtual object behavior operations according to the virtual object type, the initial state information and behavior parameter values ​​corresponding to the virtual object type, and can configure different initial state information and behavior parameter values ​​for different types to execute corresponding virtual behavior operations, thereby improving the scalability of the program.

[0138] In one embodiment, the driving scene configuration information includes virtual object attribute information. The driving scene information processing method further includes: configuring corresponding virtual object attribute information for virtual object attributes.

[0139] Specifically, virtual object attribute information refers to information about the virtual object itself. For example, the color, size, and model of a virtual vehicle, the height and model of a traffic light, or the hairstyle and clothing of a pedestrian, among other things. A virtual object attribute parameter is a variable and is unassigned. The virtual object attribute parameters can be stored in the simulator executable file. The electronic device obtains the virtual object attribute information and configures the virtual object attribute parameters with the corresponding virtual object attribute information.

[0140] The above-mentioned driving scene information processing method configures corresponding virtual object attribute information for virtual object attributes, can modify the attributes of virtual objects, meet different driving needs, and improve the interactivity of driving scenes.

[0141] It should be understood that although Figure 2 、 Figure 4 and Figure 6 The operations in the flowchart are shown in sequence as indicated by the arrows, but these operations are not necessarily performed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction on the execution of these operations, and these operations can be performed in other orders. In addition, Figure 2 、 Figure 4 and Figure 6 At least part of the operations may include multiple sub-operations or multiple stages. These sub-operations or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these sub-operations or stages is not necessarily sequential, but can be performed in turn or alternately with other operations or at least part of the sub-operations or stages of other operations.

[0142] In one embodiment, Figure 7 As shown, a driving scene information processing device is provided, which is a structural block diagram of the driving scene information processing device in one embodiment, including an acquisition module 702, a determination module 704 and an execution module 706, wherein:

[0143] An acquisition module 702 is configured to acquire driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type;

[0144] A determination module 704 is configured to determine a corresponding virtual object behavior operation according to the virtual object behavior identifier;

[0145] The execution module 706 is used to execute the virtual object behavior operation according to the virtual object type and the behavior parameter value.

[0146] The above-mentioned driving scene information processing device, the behavior scene configuration information includes the virtual object behavior identifier and the behavior parameter value corresponding to the virtual object type, then the virtual object behavior operation to be executed can be determined according to the virtual object identifier, and the virtual object behavior operation can be executed according to the virtual object type and the corresponding behavior parameter value, that is, the behavior scene configuration information describes the virtual object behavior operation to be executed and the parameter value corresponding to the virtual object behavior operation, which can realize the configurability of scenes and behaviors. Only the virtual object behavior identifier and the behavior parameter value need to be modified to execute different virtual object behavior operations, which is more convenient to use and the program has high scalability. Although the modules corresponding to each driving scene in the traditional method are independent of each other, it is obvious that there must be some similar or even completely identical modules. As the number of driving scenes increases, the repeated code will increase. The method in the embodiment of the present application is less likely to have repeated virtual object behavior operations, thereby reducing program compilation time and reducing development and maintenance costs.

[0147] In one embodiment, the determination module 704 is configured to detect an execution identifier corresponding to the virtual object behavior identifier; when the execution identifier is an executable identifier, an operation of determining a corresponding virtual object behavior operation according to the virtual object behavior identifier is executed.

[0148] The above-mentioned driving scene information processing device detects the execution identifier corresponding to the virtual object behavior identifier; when the execution identifier is an executable identifier, it executes the operation of determining the corresponding virtual object behavior operation according to the virtual object behavior identifier, then by modifying the execution identifier, it can be determined which virtual object behavior operations to execute, thereby improving the scalability of the program.

[0149] In one embodiment, the virtual object behavior identifier includes a basic behavior identifier; the basic behavior identifier includes at least one of a uniform straight-line driving identifier, a speed control identifier, a lane-driving identifier, and a lane-changing driving identifier. The determination module 704 is used to determine that the corresponding operation is a uniform straight-line driving operation according to the uniform straight-line driving identifier when the execution identifier corresponding to the uniform straight-line driving identifier is an executable identifier. The determination module 704 is used to determine that the corresponding operation is a speed control operation according to the speed control identifier when the execution identifier corresponding to the speed control identifier is an executable identifier. The determination module 704 is used to determine that the corresponding operation is a lane-driving operation according to the lane-driving identifier when the execution identifier corresponding to the lane-driving identifier is an executable identifier. The determination module 704 is used to determine that the corresponding operation is a lane-changing operation according to the lane-changing driving identifier when the execution identifier corresponding to the lane-changing driving identifier is an executable identifier.

[0150] The above-mentioned driving scene information processing device can determine the corresponding virtual object behavior operation according to the execution identifiers corresponding to the uniform straight-line driving identifier, the speed control identifier, the lane line driving identifier, and the lane change driving identifier. By modifying the virtual object behavior identifier, the virtual vehicle can implement the corresponding virtual object behavior operation to obtain different driving scenes, thereby improving the scalability of the program.

[0151] In one embodiment, the speed control identifier includes at least one of a red light deceleration sub-identifier, a deceleration sub-identifier due to exceeding the speed limit, a deceleration based on distance, and an acceleration sub-identifier. The speed control operation includes at least one of a red light deceleration sub-operation, a deceleration sub-operation due to exceeding the speed limit, a deceleration based on distance, and an acceleration sub-operation. The determination module 704 is configured to, when the execution identifier corresponding to the red light deceleration sub-identifier is an executable identifier, determine the corresponding sub-operation as a red light deceleration sub-operation based on the red light deceleration sub-identifier. The determination module 704 is configured to, when the execution identifier corresponding to the deceleration sub-identifier due to exceeding the speed limit is an executable identifier, determine the corresponding sub-operation as a deceleration sub-operation based on exceeding the speed limit sub-identifier. The determination module 704 is configured to, when the execution identifier corresponding to the deceleration sub-identifier due to exceeding the speed limit is an executable identifier, determine the corresponding sub-operation as a deceleration sub-operation based on exceeding the speed limit. The determination module 704 is configured to, when the execution identifier corresponding to the deceleration sub-identifier due to exceeding the distance is an executable identifier, determine the corresponding sub-operation as a deceleration sub-operation based on distance. The determination module 704 is configured to, when the execution identifier corresponding to the acceleration sub-identifier is an executable identifier, determine the corresponding sub-operation as an acceleration sub-operation based on the acceleration sub-identifier.

[0152] The above-mentioned driving scene information processing device can determine the corresponding speed control operation based on at least one of the red light deceleration sub-indicator, the speed limit deceleration sub-indicator, the distance deceleration sub-indicator, and the acceleration sub-indicator, thereby improving the accuracy of speed control and thus improving the authenticity of the simulated unmanned vehicle driving environment.

[0153] In one embodiment, the lane change driving identifier includes at least one of a lane change sub-identifier according to a preset route, a lane change sub-identifier after overtaking, and an emergency avoidance sub-identifier. The lane change driving operation includes at least one of a lane change sub-operation according to a preset route, a lane change sub-operation after overtaking, and an emergency avoidance sub-operation. The determination module 704 is used to determine that the corresponding operation is a lane change sub-operation according to the lane change sub-identifier according to the preset route when the execution identifier corresponding to the lane change sub-identifier according to the preset route is an executable identifier. The determination module 704 is used to determine that the corresponding sub-operation is an overtaking lane change sub-operation according to the lane change sub-identifier after overtaking when the execution identifier corresponding to the lane change sub-identifier after overtaking is an executable identifier. The determination module 704 is used to determine that the corresponding sub-operation is an emergency avoidance sub-operation according to the emergency avoidance sub-identifier when the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier.

[0154] The above-mentioned driving scene information processing device can determine the corresponding lane change driving operation based on at least one of the lane change sub-markers according to the preset route, the overtaking lane change sub-marker, and the emergency avoidance sub-marker, which can improve the accuracy of lane change and thus improve the authenticity of the simulated unmanned vehicle driving environment.

[0155] In one embodiment, the virtual object behavior identifier includes an abnormal behavior identifier; the behavior parameter value includes an abnormal behavior parameter value; and the virtual object behavior operation includes an abnormal behavior operation. The execution module 706 is configured to execute the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value.

[0156] In the above-mentioned driving scene information processing device, the virtual object behavior identifier includes an abnormal behavior identifier, the behavior parameter value includes an abnormal behavior parameter value, and the virtual object behavior operation includes an abnormal behavior operation. The abnormal behavior operation is performed according to the virtual object type and the abnormal behavior parameter value. Since some prescribed driving scenes have special requirements, for example, it is necessary to add some vehicles that perform abnormal behaviors to the driving scene, and use the scene corresponding to the abnormal behavior to test whether the algorithm of the unmanned vehicle can function in the scene, thereby improving the authenticity of the driving scene simulation; and by changing the abnormal parameter value, etc., the driving scene can be modified, thereby improving the scalability of the program.

[0157] In one embodiment, the abnormal behavior indicator is a driving-on-the-line indicator; the virtual object type is a vehicle type. The execution module 706 is configured to execute a driving-on-the-line operation corresponding to the driving-on-the-line indicator based on the vehicle type and the corresponding initial position and initial speed, thereby controlling the virtual vehicle to drive on the line.

[0158] The above-mentioned driving scene information processing device performs a line-driving operation according to the initial position and initial speed of the virtual vehicle to control the virtual vehicle to drive on the line. It can simulate the driving scene of the vehicle during actual driving, improve the authenticity of the driving scene simulation, and test whether the algorithm of the unmanned vehicle is applicable in the scenario, thereby improving the applicability of the unmanned vehicle algorithm.

[0159] In one embodiment, the abnormal behavior indicator is a no-stop at intersection indicator; the virtual object type is a vehicle type; and the abnormal behavior parameter value includes an execution parameter value of a traffic light detection operation as a non-executable parameter value. Execution module 706 is configured to execute the no-stop at intersection operation corresponding to the no-stop at intersection indicator based on the vehicle type and the corresponding non-executable parameter value, thereby controlling the virtual vehicle to maintain its movement at the intersection.

[0160] The above-mentioned driving scene information processing device executes the no-stop operation at the intersection corresponding to the no-stop sign at the intersection according to the vehicle type and the corresponding non-executable parameter value, and controls the virtual vehicle to keep driving at the intersection, that is, the electronic device does not execute the traffic light detection operation corresponding to the virtual vehicle. It is equivalent to an unmanned vehicle encountering a vehicle that does not drive according to traffic lights during driving, so as to detect whether the unmanned vehicle's algorithm works in this scenario, thereby improving the authenticity of the driving scene simulation.

[0161] In one embodiment, the abnormal behavior indicator is an indicator in front of the merging target vehicle; the virtual object type is a vehicle type; and the abnormal behavior parameter value includes a distance parameter value between the virtual vehicle and the target vehicle, where the distance parameter value is less than a reference distance value. Execution module 706 is configured to execute a merging operation corresponding to the indicator in front of the merging target vehicle based on the vehicle type and the corresponding distance parameter value, thereby controlling the virtual vehicle to merge in front of the target vehicle.

[0162] In the above-mentioned driving scene information processing device, when the distance parameter value is less than the reference distance value, the virtual vehicle performs a merging operation, which is likely to cause a traffic accident, i.e., a rear-end collision or side collision. The virtual vehicle simulates the abnormal behavior encountered by the unmanned vehicle while driving on the road, thereby detecting whether the unmanned vehicle's algorithm works in this scenario, and also improving the authenticity of the driving scene simulation.

[0163] In one embodiment, the number of virtual object behavior identifiers is at least two. The execution module 706 is configured to execute the corresponding at least two virtual object behavior operations according to the order of the at least two virtual object behavior identifiers and the virtual object type and behavior parameter value corresponding to each virtual object behavior identifier.

[0164] The above-mentioned driving scene information processing device executes at least two corresponding virtual object behavior operations according to the order of at least two virtual object behavior identifiers, as well as the virtual object type and behavior parameter value corresponding to each virtual object behavior identifier. It can simulate the actual driving scene of the unmanned vehicle, and different virtual object behavior operations can be executed by only modifying the virtual object behavior identifier and behavior parameter value. It is more convenient to use and the program has high scalability.

[0165] In one embodiment, the driving scene configuration information includes initial state information corresponding to the virtual object type. The execution module 706 is configured to execute a virtual object behavior operation according to the virtual object type, the initial state information corresponding to the virtual object type, and the behavior parameter value.

[0166] The above-mentioned driving scene information processing device performs virtual object behavior operations according to the virtual object type, the initial state information and behavior parameter values ​​corresponding to the virtual object type, and can configure different initial state information and behavior parameter values ​​for different types to execute corresponding virtual behavior operations, thereby improving the scalability of the program.

[0167] In one embodiment, the driving scene configuration information includes virtual object attribute information. The driving scene information processing device further includes a configuration module. The configuration module is used to configure corresponding virtual object attribute information for virtual object attributes.

[0168] The above-mentioned driving scene information processing device configures corresponding virtual object attribute information for virtual object attributes, can modify the attributes of virtual objects, meet different driving needs, and improve the interactivity of driving scenes.

[0169] The division of the various modules in the above-mentioned driving scene information processing device is only for illustration. In other embodiments, the driving scene information processing device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned driving scene information processing device.

[0170] The specific definition of the driving scene information processing device can be found in the definition of the driving scene information processing method above and will not be repeated here. The various modules in the above-mentioned driving scene information processing device can be implemented in whole or in part through software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of the above-mentioned modules.

[0171] The various modules in the driving scene information processing device provided in the embodiments of this application may be implemented in the form of a computer program. This computer program may be executed on an electronic device such as a terminal or server. The program modules comprising this computer program may be stored in a memory of the electronic device. When executed by a processor, this computer program implements the operations of the driving scene information processing method described in the embodiments of this application.

[0172] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the operations of the driving scene information processing method provided in the above-mentioned embodiments are implemented.

[0173] In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed on a processor, the operation of the driving scene information processing method described in each embodiment of the present application is implemented.

[0174] In one embodiment, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the driving scene information processing method described in each embodiment of the present application.

[0175] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM).

[0176] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A method for processing driving scene information, comprising: Acquire driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; the virtual object type includes a road type, a vehicle type, and a traffic light type, the number of the virtual object behavior identifiers is at least two, and the virtual object behavior identifier includes at least one of a basic behavior identifier and an abnormal behavior identifier; Determining a corresponding virtual object behavior operation according to the virtual object behavior identifier; Execute the virtual object behavior operation according to the virtual object type and the behavior parameter value; The driving scene configuration information includes virtual object attribute information; the method further includes: The virtual object attribute parameters are configured with corresponding virtual object attribute information, where the virtual object attribute information refers to information of the virtual object itself, and the virtual object attribute parameters refer to unassigned variables.

2. The method according to claim 1, characterized in that: The method further comprises: Detecting an execution identifier corresponding to the virtual object behavior identifier; When the execution identifier is an executable identifier, the operation of determining a corresponding virtual object behavior operation according to the virtual object behavior identifier is performed.

3. The method according to claim 2, characterized in that The basic behavior mark includes at least one of a uniform straight-line driving mark, a speed control mark, a lane line driving mark, and a lane change driving mark; When the execution identifier is an executable identifier, performing the operation of determining the corresponding virtual object behavior operation according to the virtual object behavior identifier includes: When the execution flag corresponding to the uniform speed straight-line driving flag is an executable flag, determining the corresponding operation as a uniform speed straight-line driving operation according to the uniform speed straight-line driving flag; When the execution identifier corresponding to the speed control identifier is an executable identifier, determining the corresponding operation as a speed control operation according to the speed control identifier; When the execution mark corresponding to the driving along the lane mark mark is an executable mark, determining the corresponding operation as the driving along the lane mark operation according to the driving along the lane mark mark; When the execution flag corresponding to the lane-changing driving flag is an executable flag, a lane-changing driving operation is determined according to the lane-changing driving flag.

4. The method according to claim 3, characterized in that: The speed control sign includes at least one of a red light deceleration sub-sign, an over speed limit deceleration sub-sign, a distance deceleration sub-sign, and an acceleration sub-sign; When the execution mark corresponding to the speed control is an executable mark, determining the corresponding speed control operation according to the speed control includes: When the execution identifier corresponding to the red light deceleration sub-identifier is the executable identifier, determining the corresponding sub-operation as the red light deceleration sub-operation according to the red light deceleration sub-identifier; When the execution identifier corresponding to the deceleration sub-identifier of exceeding the speed limit value is the executable identifier, determining, according to the deceleration sub-identifier of exceeding the speed limit value, that the corresponding sub-operation is the deceleration sub-operation of exceeding the speed limit value; When the execution identifier corresponding to the deceleration according to distance sub-identifier is the executable identifier, determining the corresponding sub-operation as the deceleration according to distance sub-operation according to the deceleration according to distance sub-identifier; When the execution identifier corresponding to the acceleration sub-identifier is the executable identifier, the corresponding sub-operation is determined as the acceleration sub-operation according to the acceleration sub-identifier.

5. The method according to claim 3, characterized in that: The lane change driving sign includes at least one of a lane change sub-sign according to a preset route, a lane change sub-sign for overtaking, and an emergency avoidance sub-sign; When the execution mark corresponding to the lane-changing driving is an executable mark, determining the lane-changing driving operation according to the lane-changing driving includes: When the execution flag corresponding to the lane changing according to the preset route sub-flag is an executable flag, determining the corresponding operation as the lane changing according to the preset route sub-flag according to the preset route sub-operation; When the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, determining the corresponding sub-operation as the overtaking lane-changing sub-operation according to the overtaking lane-changing sub-flag; When the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier, the corresponding sub-operation is determined as an emergency avoidance sub-operation according to the emergency avoidance sub-identifier.

6. The method according to claim 1, characterized in that When the virtual object behavior identifier includes an abnormal behavior identifier, the behavior parameter value includes an abnormal behavior parameter value, and the virtual object behavior operation includes an abnormal behavior operation; The performing the virtual object behavior operation according to the virtual object type and the behavior parameter value includes: The abnormal behavior operation is performed according to the virtual object type and the abnormal behavior parameter value.

7. The method according to claim 6, characterized in that The abnormal behavior mark is a driving on the line mark; the virtual object type is a vehicle type; The performing the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value includes: According to the vehicle type and the corresponding initial position and initial speed, the line-crossing driving operation corresponding to the line-crossing driving mark is executed to control the virtual vehicle to run on the line.

8. The method according to claim 6, characterized in that The abnormal behavior mark is a no-stop mark at an intersection; the virtual object type is a vehicle type; the abnormal behavior parameter value includes an execution parameter value of a traffic light detection operation as a non-executable parameter value; The performing the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value includes: According to the vehicle type and the corresponding non-executable parameter value, the no-stop operation at the intersection corresponding to the no-stop sign at the intersection is executed to control the virtual vehicle to keep moving at the intersection.

9. The method according to claim 6, characterized in that The abnormal behavior mark is a mark for merging into the front of the target vehicle; the virtual object type is a vehicle type; the abnormal behavior parameter value includes a distance parameter value between the virtual vehicle and the target vehicle, and the distance parameter value is less than a reference distance value; The performing the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value includes: According to the vehicle type and the corresponding distance parameter value, a merging operation corresponding to the mark in front of the merging target vehicle is performed to control the virtual vehicle to merge in front of the target vehicle.

10. The method according to any one of claims 1 to 9, characterized in that: The performing the virtual object behavior operation according to the virtual object type and the behavior parameter value includes: According to the order of at least two virtual object behavior identifiers and the virtual object type and the behavior parameter value corresponding to each virtual object behavior identifier, at least two corresponding virtual object behavior operations are performed.

11. The method according to any one of claims 1 to 9, characterized in that: The driving scene configuration information includes initial state information corresponding to the virtual object type; The performing the virtual object behavior operation according to the virtual object type and the behavior parameter value includes: The virtual object behavior operation is performed according to the virtual object type, the initial state information corresponding to the virtual object type, and the behavior parameter value.

12. The method according to claim 11, characterized in that The initial state information refers to the state information when the virtual object is started.

13. A driving scene information processing device, characterized in that: The device comprises: an acquisition module, configured to acquire driving scene configuration information, wherein the driving scene configuration information includes a virtual object behavior identifier, a virtual object type corresponding to the virtual object behavior identifier, and a behavior parameter value corresponding to the virtual object type; the virtual object type includes a road type, a vehicle type, and a traffic light type; the number of the virtual object behavior identifiers is at least two, and the virtual object behavior identifier includes at least one of a basic behavior identifier and an abnormal behavior identifier; A determination module, used to determine a corresponding virtual object behavior operation according to the virtual object behavior identifier; An execution module, used for executing the virtual object behavior operation according to the virtual object type and the behavior parameter value; The driving scene configuration information includes virtual object attribute information; The configuration module is used to configure corresponding virtual object attribute information for virtual object attributes, wherein the virtual object attribute information refers to information of the virtual object itself, and the virtual object attribute parameter refers to an unassigned variable.

14. The device according to claim 13, characterized in that The determination module is used to detect an execution identifier corresponding to the virtual object behavior identifier; the determination module is used to determine a corresponding virtual object behavior operation according to the virtual object behavior identifier when the execution identifier is an executable identifier.

15. The device according to claim 14, characterized in that The virtual object behavior identifier includes a basic behavior identifier; the basic behavior identifier includes at least one of a uniform straight-line driving identifier, a speed control identifier, a lane line driving identifier, and a lane change driving identifier; The determination module is used for determining that the corresponding operation is a uniform speed straight-line driving operation according to the uniform speed straight-line driving identifier when the execution identifier corresponding to the uniform speed straight-line driving identifier is an executable identifier; The determination module is used to determine that the corresponding operation is a speed control operation according to the speed control identifier when the execution identifier corresponding to the speed control identifier is an executable identifier; The determination module is used to determine that the corresponding operation is a driving along the lane line operation according to the driving along the lane line mark when the execution mark corresponding to the driving along the lane line mark is an executable mark; The determining module is used to determine a lane-changing driving operation according to the lane-changing driving sign when the execution sign corresponding to the lane-changing driving sign is an executable sign.

16. The device according to claim 15, characterized in that The speed control sign includes at least one of a red light deceleration sub-sign, an over speed limit deceleration sub-sign, a distance deceleration sub-sign, and an acceleration sub-sign; The determining module is used for determining, when the execution identifier corresponding to the red light deceleration sub-identifier is the executable identifier, that the corresponding sub-operation is a red light deceleration sub-operation according to the red light deceleration sub-identifier; The determining module is used for determining, when the execution identifier corresponding to the deceleration sub-identifier of exceeding the speed limit value is the executable identifier, the corresponding sub-operation as the deceleration sub-operation of exceeding the speed limit value according to the deceleration sub-identifier of exceeding the speed limit value; The determining module is used for determining, when the execution identifier corresponding to the deceleration according to distance sub-identifier is the executable identifier, that the corresponding sub-operation is a deceleration according to distance sub-operation according to the deceleration according to distance sub-identifier; The determination module is used for determining, when the execution identifier corresponding to the acceleration sub-identifier is the executable identifier, that the corresponding sub-operation is an acceleration sub-operation according to the acceleration sub-identifier.

17. The device according to claim 15, characterized in that The lane change driving sign includes at least one of a lane change sub-sign according to a preset route, a lane change sub-sign for overtaking, and an emergency avoidance sub-sign; The determining module is used for determining, when the execution flag corresponding to the lane changing according to the preset route sub-flag is an executable flag, that the corresponding operation is a lane changing according to the preset route sub-flag as a lane changing according to the preset route sub-operation; The determining module is used for determining, when the execution flag corresponding to the overtaking lane-changing sub-flag is an executable flag, the corresponding sub-operation as the overtaking lane-changing sub-operation according to the overtaking lane-changing sub-flag; The determining module is used for determining, when the execution identifier corresponding to the emergency avoidance sub-identifier is an executable identifier, that the corresponding sub-operation is an emergency avoidance sub-operation according to the emergency avoidance sub-identifier.

18. The device according to claim 13, characterized in that The virtual object behavior identifier includes an abnormal behavior identifier; the behavior parameter value includes an abnormal behavior parameter value; the virtual object behavior operation includes an abnormal behavior operation; The execution module is used to execute the abnormal behavior operation according to the virtual object type and the abnormal behavior parameter value.

19. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the operations of the method according to any one of claims 1 to 12.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program, when executed by a processor, implements the operations of the method according to any one of claims 1 to 12.