Intelligent traffic simulation method and system, server, device and storage medium

By receiving the traffic role simulation selection request of the physical traffic simulation equipment on the server, generating virtual traffic simulation objects and establishing simulation correspondence relationships, the problem of insufficient authenticity of traffic scenes in the prior art is solved, and the real-time and accuracy of traffic simulation tests are improved.

CN117828857BActive Publication Date: 2025-04-25KINGFAR INTERNATIONAL INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311844111.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-04-25
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

The existing technology is difficult to simulate more realistic traffic scenarios, which affects the effectiveness and accuracy of traffic simulation tests.

Method used

By receiving the traffic role simulation selection request sent by the physical traffic simulation device on the server, a virtual traffic simulation object is generated, and a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device is established to achieve the coordination of the virtual simulation scenario.

Benefits of technology

It improves the real-time nature of the traffic simulation test interactive process, meets users' requirements for traffic simulation tests, and provides more realistic and accurate traffic simulation scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117828857B_ABST
    Figure CN117828857B_ABST
Patent Text Reader

Abstract

The present application provides a traffic simulation method and system, server, device and storage medium, in which at least one traffic role simulation selection request sent by at least one physical traffic simulation device is received; each virtual traffic simulation object corresponding to each traffic role simulation selection request is generated in a virtual intelligent traffic simulation scene; a simulation correspondence is established; the state and / or control information sent by at least one physical traffic simulation device is obtained; according to the state and / or control information, the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene is determined; and the simulation correspondence and the state and / or interaction data in the virtual intelligent traffic simulation scene are sent to at least one physical traffic simulation device, so as to realize the coordination of the virtual simulation scene between the server and at least one physical traffic simulation device. The present application simulates a more realistic traffic scene and improves the effect of the virtual traffic simulation test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent traffic simulation, and specifically to a traffic simulation method and system, server, device and storage medium. Background Art

[0002] Traffic simulation is an important application of computer technology in the field of traffic engineering. It can reproduce the spatiotemporal changes of traffic flow, provide a technical basis for traffic road design and planning, and evaluate relevant traffic environment parameters based on the simulation results. How to simulate more realistic traffic scenes has become a problem that needs to be solved. Summary of the invention

[0003] The present application provides a traffic simulation method and system, a server, a device and a storage medium to solve at least one technical problem existing in the prior art.

[0004] In the first aspect, the present application provides a traffic simulation method, applied to a server, comprising: receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device; generating each virtual traffic simulation object corresponding to each traffic role simulation selection request in a virtual intelligent traffic simulation scene; establishing a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device; obtaining status and / or control information sent by at least one physical traffic simulation device; determining the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene based on the status and / or control information sent by at least one physical traffic simulation device; and sending the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to at least one physical traffic simulation device, so as to realize the coordination of the virtual simulation scene between the server and at least one physical traffic simulation device.

[0005] By adopting the above method, the server can receive a role simulation selection request and generate a virtual traffic simulation object in a virtual intelligent traffic simulation scene to satisfy the relationship between the virtual traffic simulation object and the intelligent traffic simulation scene in the traffic simulation test; and according to the relationship between the virtual traffic simulation object and the physical traffic simulation device, a simulation correspondence is established. After determining the state and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, the virtual simulation scene corresponding to the physical traffic simulation device can be quickly coordinated to improve the real-time performance of the traffic simulation test interaction process, thereby meeting the user's requirements for traffic simulation testing.

[0006] Optionally, at least one physical traffic simulation device includes multiple physical traffic simulation devices; sending simulation correspondences and status and / or interaction data in a virtual intelligent traffic simulation scene to at least one physical traffic simulation device to achieve collaboration of virtual simulation scenes between the server and at least one physical traffic simulation device, including: sending respective simulation correspondences to each of the multiple physical traffic simulation devices, and status and / or interaction data of virtual traffic simulation objects corresponding to each physical traffic simulation device in the virtual intelligent traffic simulation scene to achieve collaboration of virtual simulation scenes between the server and each physical traffic simulation device.

[0007] By adopting the above method, the server can receive multiple traffic role simulation selection requests, and simulate multiple virtual traffic simulation objects according to the traffic role simulation selection requests, so that multiple users can interact in the traffic simulation test, thereby improving the authenticity of the traffic simulation test results.

[0008] Optionally, at least one physical traffic simulation device includes multiple physical traffic simulation devices; obtaining status and / or control information sent by at least one physical traffic simulation device, and determining the status and / or interaction data of at least one virtual traffic simulation object in the virtual intelligent traffic simulation scene based on the status and / or control information, including: determining the time-space relative relationship of multiple virtual traffic simulation objects corresponding to the multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determining the status and / or interaction data of multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene based on the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

[0009] By adopting the above method, the server determines the influence of the state and / or control information on multiple virtual traffic simulation objects according to the relative temporal and spatial relationship of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene, which can improve the user's experience during the traffic simulation test and improve the accuracy of the influence of various traffic factors on various types of pedestrians in the traffic simulation test results.

[0010] Optionally, the multiple physical traffic simulation devices include: physical traffic simulation devices of different types, and / or, multiple physical traffic simulation devices of the same type.

[0011] By adopting the above method, the server does not limit the type of physical traffic simulation equipment connected, and can provide users with more virtual traffic simulation objects, thereby meeting users' diverse traffic simulation test needs.

[0012] Optionally, at least one role in the traffic role simulation selection request is any role in the traffic simulation roles, including: pedestrians, buses, cars, trucks, and motorcycles; at least one physical traffic simulation device is any device in the traffic simulation devices, including: pedestrian simulators, bus simulators, car simulators, train simulators, and motorcycle simulators.

[0013] By adopting the above method, the server receives multiple traffic role simulation selection requests through various types of physical traffic simulation devices, and simulates multiple types of virtual traffic simulation objects according to the received traffic role simulation selection requests to better meet the requirements of traffic simulation testing.

[0014] Optionally, before generating each virtual traffic simulation object corresponding to each traffic role simulation selection request in the virtual intelligent traffic simulation scene, it also includes: obtaining scene setting information, and generating a virtual traffic simulation scene according to the scene information; or, obtaining event setting information, and generating a virtual traffic simulation scene according to the event information; or, obtaining scene setting information and event setting information, and generating a virtual traffic simulation scene according to the scene setting information and the event setting information.

[0015] By adopting the above method, the server generates a virtual intelligent traffic simulation scene according to the scene setting information and event setting information set by the user, which can better meet the user's scene requirements for traffic simulation testing.

[0016] Optionally, the scene setting information includes: at least one of road conditions, weather, traffic time periods, and traffic congestion levels; the event setting information includes: at least one of truck collision, road collapse, and landslide.

[0017] By adopting the above method, the server sets one or more scene setting information and event setting information according to the user's traffic simulation test requirements, generates a scene that better meets the traffic simulation test requirements, and makes the results of the traffic simulation test more in line with user needs.

[0018] Optionally, a traffic simulation test scene is displayed, and the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the virtual intelligent traffic simulation scene is displayed in the displayed traffic simulation test scene.

[0019] By adopting the above method, based on the traffic simulation test scenario, it is convenient for users to know the real-time status of the virtual traffic simulation object in the traffic simulation test.

[0020] Optionally, monitor whether a traffic accident is simulated in the traffic simulation test scenario; if a traffic accident occurs, update the accident information table based on the accident information of the traffic accident, and the accident information table is used to record the number of occurrences and information of various types of traffic accidents.

[0021] By adopting the above method, the server records the number and information of various accidents, which can facilitate users to analyze in what traffic scenarios they are prone to accidents and the causes of accidents after completing the traffic simulation experience, thereby reducing the risk of accidents in actual travel.

[0022] Optionally, before receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device, it also includes: obtaining a preset instruction rule, the preset instruction rule is used to determine the meaning of the control instruction code sent by at least one physical traffic simulation device, so as to respond to at least one physical traffic simulation device according to the determined meaning.

[0023] By adopting the above method, the server does not need to parse the status and / or control information sent by the first physical traffic simulation device, and can directly update the status of the first virtual traffic simulation object according to the preset instruction rules to improve the real-time response to user operations.

[0024] Optionally, before receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device, it also includes: in response to an operation instructing access to at least one physical traffic simulation device, detecting whether a connection is established with at least one physical traffic simulation device, and when it is detected that the connection with at least one physical traffic simulation device fails, instructing a user to set interface parameters for connection with at least one physical traffic simulation device according to the type of at least one physical traffic simulation device; when the interface parameters are set successfully, establishing a connection with at least one physical traffic simulation device to obtain at least one traffic role simulation selection request.

[0025] By adopting the above method, the server detects whether the connection with the physical traffic simulation device is successful, and determines whether to instruct the user to set the interface parameters of the interface according to the type of physical traffic simulation device, so that the physical traffic simulation device can promptly identify various types of physical traffic simulation devices and promptly provide users with multiple types of simulatable traffic simulation roles, thereby improving the efficiency of completing traffic simulation tests.

[0026] In a second aspect of the present application, a traffic simulation method is provided, which is applied to a physical traffic simulation device, including: responding to a virtual simulation instruction issued by a user, sending a traffic role simulation selection request to a server; responding to the user's manipulation of itself, generating a first state and / or control information and sending it to the server, so that the server can drive the state and / or interaction of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information; receiving and displaying the virtual traffic simulation environment sent by the server and the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual traffic simulation environment.

[0027] By adopting the above method, the corresponding physical traffic simulation device can be selected according to the virtual traffic simulation object selected by the user, and the simulation test process can be displayed to the user through communication with the server, thereby improving the authenticity of the user when performing traffic simulation testing and further improving the authenticity of the traffic simulation test results.

[0028] Optionally, the status and / or interaction data of other virtual traffic simulation objects in the virtual traffic simulation environment sent by the server are received and displayed.

[0029] By adopting the above method, the physical traffic simulation device can realize the interaction of multiple users by synchronizing the corresponding control information of other physical traffic simulation devices, which can better meet the needs of traffic simulation testing.

[0030] Optionally, before responding to the virtual simulation instruction issued by the user and sending the first traffic role simulation selection request to the server, it also includes: setting a control instruction code for the physical traffic simulation device according to a preset instruction rule.

[0031] By adopting the above method, the speed at which the server feeds back information according to virtual simulation instructions can be improved, further ensuring the authenticity and accuracy of traffic simulation test results.

[0032] In the third aspect of the present application, a server is provided, comprising: a receiving module for receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device; a generating module for generating each virtual traffic simulation object corresponding to each traffic role simulation selection request in a virtual intelligent traffic simulation scene; an establishing module for establishing a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device; an acquiring module for acquiring the status and / or control information sent by at least one physical traffic simulation device; a determining module for determining the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the status and / or control information sent by at least one physical traffic simulation device; and a collaboration module for sending the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to at least one physical traffic simulation device, so as to realize the collaboration of the virtual simulation scene between the server and at least one physical traffic simulation device.

[0033] In the fourth aspect of the present application, a physical traffic simulation device is provided, including: a first response module, which is used to respond to a virtual simulation instruction issued by a user and send a traffic role simulation selection request to a server; a second response module, which is used to respond to the user's manipulation of itself, generate a first state and / or control information and send it to the server, so that the server can drive the state and / or interaction of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information; a display module, which receives and displays the virtual traffic simulation environment sent by the server and the state and / or interaction data of its corresponding virtual traffic simulation object in the virtual traffic simulation environment.

[0034] In the fifth aspect of the present application, an intelligent traffic simulation control system is provided, including: a server and at least one physical traffic simulation device, the server is used to receive an access request from at least one physical traffic simulation device, establish a simulation correspondence between a virtual traffic simulation object and the physical traffic simulation device, obtain the status and / or control information sent by at least one physical traffic simulation device, determine the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the status and / or control information sent by at least one physical traffic simulation device, and send the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to at least one physical traffic simulation device, so as to realize the coordination of the virtual simulation scene between the server and at least one physical traffic simulation device.

[0035] Optionally, when there are multiple at least one physical traffic simulation devices, the server is also used to synchronize the status and / or control information of any physical traffic simulation device in the virtual traffic simulation scene to other physical traffic simulation devices, so as to realize collaborative simulation or testing of each physical traffic simulation device in the virtual traffic simulation scene.

[0036] Optionally, the system also includes a display control screen for displaying the virtual traffic simulation test scene, and showing the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the virtual intelligent traffic simulation scene in the displayed virtual traffic simulation test scene.

[0037] In the sixth aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the intelligent traffic simulation method as any one of the first aspect or the second aspect.

[0038] In a seventh aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the intelligent traffic simulation method as described in any one of the first aspect or the second aspect is executed.

[0039] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0040] 1. The server generates a simulation scene that is more in line with the actual traffic test needs based on the traffic role simulation selection request sent by the user, as well as the set scene setting information and event setting information. This can better meet the user's scene requirements for traffic simulation tests and obtain the actual required traffic simulation test results.

[0041] 2. The server receives multiple traffic role simulation selection requests, and simulates multiple virtual traffic simulation objects according to the traffic role simulation selection requests, so that the multiple virtual traffic simulation objects can interact collaboratively in the traffic simulation test, providing participating users with more realistic traffic scenarios, thereby improving the accuracy of the traffic simulation test.

[0042] 3. The server records the number and information of various accidents, so that after completing the traffic simulation experience, it can analyze the traffic scenarios in which accidents are prone to occur and the causes of accidents, thereby reducing the risk of accidents in actual traffic scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic architecture diagram of the traffic simulation system provided in an embodiment of the present application.

[0044] Figure 2 It is a flow chart of a traffic simulation method disclosed in an embodiment of the present application.

[0045] Figure 3 It is a schematic diagram of an accident simulation scenario in an embodiment of the present application.

[0046] Figure 4 It is a schematic diagram of a server structure disclosed in an embodiment of the present application.

[0047] Figure 5 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0049] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0050] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0051] The traffic simulation system provided in the embodiment of the present application can be applied to scenarios where users experience intelligent transportation. Figure 1 , Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 The application scenario shown includes a server, two physical traffic simulation devices, and a switch. The server and the two physical traffic simulation devices can establish communication through the switch. Optionally, the server and the two physical traffic simulation devices can also establish wired communication through a physical connection line, which is not specifically limited in this application. It can be understood that the traffic simulation system 100 shown in the embodiment of the present application may include more (such as 3) or fewer (such as 1) physical traffic simulation devices. The embodiment of the present application does not specifically limit the number of physical traffic simulation devices, which is set based on the needs of the application scenario. The following description is based on the example of a traffic simulation system 100 including a service, two physical traffic simulation devices, and a switch.

[0052] For ease of description, users are divided into terminal users and server users in the following examples, where terminal users are users corresponding to the physical traffic simulation device and server users are users corresponding to the server.

[0053] Server 110: can provide computing or application services for other devices in the network. In the embodiment of the present application, based on the established simulation correspondence, after receiving the traffic role simulation selection request, a virtual intelligent traffic simulation scene including a virtual traffic simulation object is sent to the physical traffic simulation device 120 and the physical traffic simulation device 130, and a traffic simulation test scene is displayed. After sending the virtual intelligent traffic simulation scene including the virtual traffic simulation object, the state and / or control information sent by the physical traffic simulation device 120 and the physical traffic simulation device 130 is also received, and the virtual simulation scene is coordinated according to the state and / or control information.

[0054] Physical traffic simulation device 120: a device that can change the sensor directly connected to the operating component according to the corresponding operating component manipulated by the terminal user, thereby causing the change of the electrical signal. In the embodiment of the present application, it is used to send state and / or manipulation information to the server 110 according to the manipulation of the terminal user, and to display the third simulation scene to the terminal user.

[0055] The purpose of the physical traffic simulation device 130 is as described in the physical traffic simulation device 120 and will not be repeated here.

[0056] The switch 140 can provide an exclusive electrical signal path for any two network nodes connected to the switch. In the embodiment of the present application, the switch 140 is used for two-to-two communication between the server 110, the physical traffic simulation device 120 and the physical traffic simulation device 130.

[0057] In the virtual reality model-based traffic simulation system 100 provided in the embodiment of the present application, the terminal user sends a traffic role simulation selection request to the server 110 through the physical traffic simulation device 120 and the physical traffic simulation device 130. The server 110 generates corresponding virtual traffic simulation objects in the virtual intelligent traffic simulation scene based on the received traffic role simulation selection request, and then coordinates the virtual simulation scenes corresponding to the physical traffic simulation device 120 and the physical traffic simulation device 130 based on the received status and / or control information, as well as the simulation correspondence, so as to dynamically synchronize the traffic simulation test scenes between the server and each physical traffic simulation device, and realize a more realistic traffic test scene simulation.

[0058] based on Figure 1 Please continue to refer to the application scenarios shown in Figure 2 , Figure 2 This is a process 200 of a traffic simulation method provided in an embodiment of the present application. The traffic simulation method is applied to Figure 1 In the traffic simulation system 100 shown.

[0059] The following, combined Figure 2A traffic simulation method according to an embodiment of the present application is described in detail.

[0060] Step S201: receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device.

[0061] It is easy to understand that at least one physical traffic simulation device is used to represent one or more physical traffic simulation devices; at least one traffic role simulation selection request is used to represent one or more physical traffic simulation devices.

[0062] The traffic role simulation selection request is a virtual role that the user needs to experience. For example, when the traffic role simulation selection request is a bus, the user performs a traffic simulation test from the perspective of the bus.

[0063] Optionally, the role selected in the first traffic role simulation request is any role in the traffic simulation roles, including: pedestrians, buses, cars, trucks, motorcycles, bicycles, etc.; the first physical traffic simulation device is any device in the traffic physics simulation devices, including: pedestrian simulators, bus simulators, car simulators, train simulators, motorcycle simulators, bicycle simulators, etc.

[0064] It should be understood that the traffic simulation role may include more roles, and the traffic simulation device may include more types of simulators, which are not specifically limited in this application. For example, the simulation role may include a person riding a bicycle, intercity passenger transport, a tourist bus, and a car, and accordingly, the traffic simulation device may also include a bicycle simulator, an intercity passenger transport simulator, a tourist bus simulator, and a car simulator.

[0065] Optionally, the physical traffic simulation device may also be connected to six degrees of freedom, so that the physical traffic simulation device can obtain spatial parameters of the traffic simulation character through the six degrees of freedom, thereby improving the realism of the user's traffic simulation experience.

[0066] In this embodiment, the server receives multiple traffic role simulation selection requests through various types of physical traffic simulation devices, and simulates multiple types of virtual traffic simulation objects according to the received traffic role simulation selection requests to better meet the traffic simulation test requirements.

[0067] Optionally, before receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device, it also includes: in response to an operation instructing access to at least one physical traffic simulation device, detecting whether a connection is established with at least one physical traffic simulation device, and when it is detected that the connection with at least one physical traffic simulation device fails, instructing a user to set interface parameters for connection with at least one physical traffic simulation device according to the type of at least one physical traffic simulation device; when the interface parameters are set successfully, establishing a connection with at least one physical traffic simulation device to obtain at least one traffic role simulation selection request.

[0068] Exemplarily, when the server detects that it is connected to a physical traffic simulation device, it obtains parameter information of the connected physical traffic simulation device and establishes communication with the physical traffic simulation device based on the parameter information of the physical traffic simulation device. If the parameter information of the physical traffic simulation device cannot be obtained, the server-side user is instructed to set the interface parameters of the server according to the type of the physical traffic simulation device so that the interface parameters of the server and the type of the physical traffic simulation device can match, thereby identifying the physical traffic simulation device and establishing a connection with the physical traffic simulation device.

[0069] In this example, multiple physical traffic simulation device connection interfaces and multiple customizable physical traffic simulation device connection interfaces can be pre-set on the server. The server-side user can select one of the multiple physical traffic simulation device connection interfaces to access according to the type of the connected physical traffic simulation device. If the physical traffic simulation device does not have an interface corresponding to the connected physical traffic simulation device, the server-side user is instructed to select one of the multiple customizable physical traffic simulation device connection interfaces and set the interface parameters of the interface, so that the server can identify multiple types of physical traffic simulation devices.

[0070] In this embodiment, the server detects whether the connection with the physical traffic simulation device is successful, and determines whether to instruct the user to set the interface parameters of the interface according to the type of physical traffic simulation device, so that the physical traffic simulation device can promptly identify various types of physical traffic simulation devices and promptly provide users with multiple types of simulatable traffic simulation roles, thereby improving the efficiency of completing traffic simulation tests.

[0071] Step S202: Generate virtual traffic simulation objects corresponding to the traffic role simulation selection requests in the virtual intelligent traffic simulation scene.

[0072] The virtual intelligent traffic simulation scene represents the simulation scene that the user needs to experience. The virtual traffic simulation object is the traffic participant object in the virtual intelligent traffic simulation scene. Each created virtual traffic simulation object corresponds to a virtual camera, which is equivalent to the "eyes" of the virtual traffic simulation object in the virtual intelligent traffic simulation scene. The field of view of the virtual camera is equivalent to the field of view of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene.

[0073] Optionally, before the server generates each virtual traffic simulation object corresponding to each traffic role simulation selection request in the virtual intelligent traffic simulation scene, it also includes: obtaining scene setting information, and generating a virtual traffic simulation scene according to the scene information; or, obtaining event setting information, and generating a virtual traffic simulation scene according to the event information; or, obtaining scene setting information and event setting information, and generating a virtual traffic simulation scene according to the scene setting information and the event setting information.

[0074] The scene setting information is the simulation scene that the user needs to experience; the event setting information is the unexpected event that occurs in the simulation scene. Optionally, the event setting information also includes information such as the time, location, and severity of the unexpected event.

[0075] It is easy to understand that the user can set the virtual traffic simulation scene according to the traffic simulation test requirements. For example, when the user only sends the scene setting information, the server generates the virtual traffic simulation scene required by the user according to the scene setting information; when the user only sends the event setting information, the server generates an unexpected event in the virtual traffic simulation scene according to the event setting information; when the user sends the scene setting information and the event setting information, the server generates the simulation scene required by the user and the unexpected event that occurs in the simulation scene.

[0076] The following takes the case where a user sends scene setting information and event setting information at the same time as an example.

[0077] In an optional implementation, the scene setting information includes: at least one of road conditions, weather, traffic time period, and traffic congestion level; the event setting information includes: at least one of truck collision, road collapse, and landslide.

[0078] In the embodiment of the present application, the user can input multiple scene setting information and multiple event setting information according to the traffic simulation test requirements. For example, the information input by the user can be [scene setting information (road conditions: Road B intersects Road A and Road C, traffic congestion level: medium), event setting information (truck collision at the intersection of Road B and Road C)].

[0079] In this implementation, the server sets one or more scene setting information and event setting information according to the user's traffic simulation test requirements to generate a scene that better meets the traffic simulation test requirements, so that the results of the traffic simulation test better meet the user's needs.

[0080] In another optional implementation, the user can also set a virtual intelligent traffic simulation scene based on the actual traffic scene according to the traffic simulation test requirements. For example, the information input by the user can be [scene setting information (road conditions: Chengdong-West Road, City A, traffic congestion level: medium), event setting information (truck collision in the middle section of Chengdong-West Road, City A)].

[0081] It should be understood that users can also combine actual traffic scenarios with virtual scenarios provided by the traffic simulation system according to actual traffic simulation test requirements (e.g., adding a C Road to Chengdong-West Road in City A), and this application does not make specific limitations on this.

[0082] In this implementation, the server generates a virtual intelligent traffic simulation scene according to the scene setting information and event setting information set by the user, which can better meet the user's scene requirements for traffic simulation testing.

[0083] For example, Figure 3 As shown, the virtual intelligent traffic simulation scene is [scene setting information (road conditions: Road B intersects Road A and Road C, traffic congestion level: medium), event setting information (truck collision at the intersection of Road B and Road C)], and the traffic role simulation selection request sent by the terminal user is [ID: 001, simulation object: car, initial position: 100 meters south of Road B]. After receiving [ID: 001, simulation object: car, initial position: 100 meters south of Road B], the server determines the field of view of the car in the virtual intelligent traffic simulation scene according to the virtual camera of the created virtual traffic simulation object (car), such as determining the virtual intelligent traffic simulation scene in the perspective when the car is 100 meters south of Road B, which may specifically include but is not limited to the brightness of street lights, the height of street lights, the clarity of the accident scene, etc. in the perspective. This information will be synchronously presented on the server and the physical traffic simulator corresponding to the virtual traffic simulation object (car), thereby realizing the coordination of the status and / or interaction information of the server and the physical traffic simulator in the virtual intelligent traffic simulation scene.

[0084] Optionally, the server also displays the traffic simulation test scene, and shows the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the virtual intelligent traffic simulation scene in the displayed traffic simulation test scene.

[0085] For example, the traffic simulation test scenario can be as follows Figure 3Therefore, based on the traffic simulation test scenario, it is convenient for users to know the real-time status of the virtual traffic simulation object in the traffic simulation test.

[0086] Optionally, monitor whether a traffic accident is simulated in the traffic simulation test scenario; if a traffic accident occurs, update the accident information table based on the accident information of the traffic accident, and the accident information table is used to record the number of occurrences and information of various types of traffic accidents.

[0087] After monitoring whether a traffic accident is simulated in the traffic simulation test scenario, the server records [Number of traffic accidents: 1, Collision roles: truck, motorcycle, Severity level: Level 2, Location of occurrence: intersection of Road B and Road C] in the accident information table according to the type of traffic accident.

[0088] Alternatively, if Figure 3 As shown, after monitoring whether a traffic accident is simulated in the traffic simulation test scenario, the server can also display part of the accident information at the location where the traffic accident occurs in the traffic simulation test scenario.

[0089] It should be understood that the accident information table may include more or less information, and this application does not make any specific limitation on this.

[0090] In this embodiment, the server records the number and information of various accidents, so that users can analyze in which traffic scenarios they are prone to accidents and the causes of accidents after completing the traffic simulation experience, thereby reducing the risk of accidents in actual travel.

[0091] Step S203: establishing a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device.

[0092] The simulation correspondence is used to determine the relationship between the virtual traffic simulation object and the physical traffic simulation device. After generating the simulation scene, the server can send the simulation scene to the corresponding physical traffic simulation device according to the simulation correspondence.

[0093] Exemplarily, the simulation correspondence may be [first virtual traffic simulation object, ID: 001]. After generating the simulation scene, the server sends the simulation scene to the physical traffic simulation device coded as 001 according to the simulation correspondence.

[0094] Optionally, when inputting information, the user may input the device code of the first physical traffic simulation device used, or after the user sends the information, the device code may be added to the information sent by the user. This application does not make specific limitations on this.

[0095] Step S204: Acquire status and / or control information sent by at least one physical traffic simulation device.

[0096] Step S205: Determine the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information sent by at least one physical traffic simulation device.

[0097] The state and / or manipulation information is used to indicate the parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object. In an embodiment of the present application, if the physical traffic simulation device is a wearable device, the physical traffic simulation device sends state information, and when the physical traffic simulation device is a manipulation device, the physical traffic simulation device sends manipulation information. For example, when the virtual traffic simulation object is a pedestrian, the physical traffic simulation device sends state information to the server based on the user's real-time posture; when the physical traffic simulation device is a car, the manipulation information is sent to the server based on the user's manipulation of the car.

[0098] The state data in the state and / or interaction data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the impact of other objects in the virtual simulation scene on itself. Figure 3 As shown, the virtual traffic simulation object is a truck operated by user B, and its corresponding state data is [direction: right, position: intersection of Road B and Road C, speed: 0, truck collision volume: level one], and the interaction data is [car light intensity: level two].

[0099] by Figure 3 Taking the car operated by user A as an example, the state of the car is [position: 100 meters south of Road B, speed: 60KM / H]. Based on the simulation scene displayed by the physical traffic simulation device, user A finds a truck collision in front of him, and adjusts the speed to 30KM / H by manipulating the car simulation model. The physical traffic simulation device sends state and / or control information [ID: 001, speed: 30KM / H] to the server. After receiving the state and / or control information, the server determines that the state and / or interaction data of the car is [position: 80 meters south of Road B, direction: front of the car facing left, speed: 30KM / H, truck collision volume: level two].

[0100] Step S206: Send the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to at least one physical traffic simulation device to achieve collaboration of the virtual simulation scene between the server and at least one physical traffic simulation device.

[0101] Collaboration is used to indicate that the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the status and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects.

[0102] The traffic simulation method provided in the embodiment of the present application can generate a virtual traffic simulation object in a virtual intelligent traffic simulation scene in response to a traffic role simulation selection request, so as to satisfy the relationship between the virtual traffic simulation object and the intelligent traffic simulation scene in the traffic simulation test; and establish a simulation correspondence relationship based on the relationship between the virtual traffic simulation object and the physical traffic simulation device. After determining the state and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, the virtual simulation scene corresponding to the physical traffic simulation device can be quickly coordinated to improve the real-time performance of the traffic simulation test interaction process, thereby meeting the user's requirements for the traffic simulation test.

[0103] Optionally, at least one physical traffic simulation device includes multiple physical traffic simulation devices; sending simulation correspondences and status and / or interaction data in a virtual intelligent traffic simulation scene to at least one physical traffic simulation device to achieve collaboration of virtual simulation scenes between a server and at least one physical traffic simulation device, including: sending respective simulation correspondences to each of the multiple physical traffic simulation devices, and status and / or interaction data of virtual traffic simulation objects corresponding to each physical traffic simulation device in the virtual intelligent traffic simulation scene to achieve collaboration of virtual simulation scenes between the server and each physical traffic simulation device.

[0104] Optionally, at least one physical traffic simulation device includes multiple physical traffic simulation devices; obtaining status and / or control information sent by at least one physical traffic simulation device, and determining the status and / or interaction data of at least one virtual traffic simulation object in the virtual intelligent traffic simulation scene based on the status and / or control information, including: determining the time-space relative relationship of multiple virtual traffic simulation objects corresponding to the multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determining the status and / or interaction data of multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene based on the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

[0105] For example, Figure 3As shown, the traffic simulation scene includes three physical traffic simulation devices, namely a truck, a motorcycle, and a car. The truck and the motorcycle operated by the user collide at the intersection of Road B and Road C. The server determines the status and / or interaction data of the truck, the motorcycle, and the car according to the relative time and space relationship between the truck, the motorcycle, and the car, respectively [direction: right, position: intersection of Road B and Road C, speed: 0, car light intensity: level 2, truck collision volume: level 1], [direction: left, position: intersection of Road B and Road C, speed: 0, car light intensity: level 1, truck collision volume: level 1], [direction: left, position: 80 meters south of Road B, speed: 30KM / H, truck collision volume: level 2]. When the server performs virtual simulation scene collaboration, it sends the truck to the The virtual simulation scene sent by the corresponding physical traffic simulation device is that itself is stationary at the intersection of Road B and Road C, the volume of the truck collision heard is level one, it is facing the front of the motorcycle, the car is driving towards itself at 30KM / H, and it is illuminated by the second-level brightness light emitted by the car; the virtual simulation scene sent to the physical traffic simulation device corresponding to the motorcycle is that itself is stationary at the intersection of Road B and Road C, the volume of the truck collision heard is level one, it is facing the front of the truck, the car is driving behind itself at 30KM / H, and it is illuminated by the first-level brightness light emitted by the car; the virtual simulation scene sent to the physical traffic simulation device corresponding to the car is that itself is driving forward at 30KM / H 80 meters south of Road B, the volume of the truck collision heard is level one, and it is facing the front of the truck and the rear of the motorcycle.

[0106] In this embodiment, the server determines the impact of the status and / or control information on multiple virtual traffic simulation objects based on the relative temporal and spatial relationship of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene, which can improve the user's experience during the traffic simulation test, and improve the accuracy of the impact of various traffic factors on various types of pedestrians in the traffic simulation test results.

[0107] It should be understood that the server can also establish communications with more physical traffic simulation devices and coordinate virtual simulation scenes corresponding to multiple physical traffic simulation devices based on a larger number of status and / or interaction data. This application does not make specific limitations on this.

[0108] In this embodiment, the server can receive multiple traffic role simulation selection requests, and simulate multiple virtual traffic simulation objects according to the traffic role simulation selection requests, so that multiple users can interact in the traffic simulation test, thereby improving the authenticity of the traffic simulation test results.

[0109] Optionally, the multiple physical traffic simulation devices include: different types of physical traffic simulation devices, and / or multiple physical traffic simulation devices of the same type. In this embodiment, the server does not limit the type of physical traffic simulation device connected, and can provide users with more virtual traffic simulation objects, thereby meeting the user's diverse traffic simulation test needs.

[0110] Optionally, before receiving at least one traffic role simulation selection request sent by at least one physical traffic simulation device, it also includes: obtaining a preset instruction rule, the preset instruction rule is used to determine the meaning of the control instruction code sent by at least one physical traffic simulation device, so as to respond to at least one physical traffic simulation device according to the determined meaning.

[0111] In combination with the above, the preset instruction rules are [(car turns right-00), (acceleration 1m / s-01), (turn left-03)]. When the first virtual traffic simulation object (car) turns right, the status and / or control information sent to the server is

[00] . After the server receives

[00] , there is no need to parse the status and / or control information sent by the first physical traffic simulation device. The status of the first virtual traffic simulation object can be directly updated according to the preset instruction rules to improve the real-time response to user operations.

[0112] like Figure 3 As shown, the virtual intelligent traffic simulation scene including the virtual traffic lights is divided into three groups, and the update order is group 1, group 2, and group 3.

[0113] Exemplarily, because a traffic accident is simulated at the intersection of Road B and Road C, the color of the virtual traffic lights at the intersection of Road B and Road C is set to red, the color of the traffic lights in Group 1 is set to green, and the colors of the traffic lights in Groups 2 and 3 are set to red. When the server updates the simulation scene, it first updates the color of the traffic lights in Group 1 to green, and the colors of the traffic lights in Groups 2 and 3 remain unchanged. The updated simulation scene is sent to the first physical traffic simulation device, and then a traffic simulation scene is generated in which the color of the traffic lights in Group 1 is green, the color of the traffic lights in Group 2 is red, and the color of the traffic lights in Group 3 remains unchanged. The generated traffic simulation scene is sent to the physical traffic simulation device, and then a traffic simulation scene is generated in which the color of the traffic lights in Group 1 is green, and the color of the traffic lights in Group 2 is red, and the color of the traffic lights in Group 3 remains unchanged. The generated traffic simulation scene is sent to the physical traffic simulation device, thereby completing the update of the traffic simulation scene from the perspective of the physical traffic simulation device.

[0114] In this embodiment, by setting an update order for virtual traffic signals, etc., the display parameters corresponding to the virtual traffic signals that need to be calculated each time the server updates can be reduced, thereby increasing the speed at which the server updates the traffic simulation model and the panoramic simulation model.

[0115] Optionally, the physical traffic simulation device can also enhance the three-dimensional simulation effect of the virtual character by connecting to six degrees of freedom and VRKAT, for example, the vehicle state of the car when it is bumpy, uphill or downhill.

[0116] It is easy to understand that when the physical traffic simulation device sends user status parameters to the physical traffic simulation device through multiple sensors, some user postures may not be captured, resulting in incomplete user status parameters obtained by the server, causing the virtual character's posture to be unrealistic.

[0117] Optionally, the inverse function in the Finak IK technology can be used to determine the posture of the virtual character when the virtual traffic simulation object is a pedestrian.

[0118] In some embodiments, the server also stores status data of the user during the simulation.

[0119] The state data can be understood as the physiological data of the user during the traffic simulation test. For example, the state data can be the user's heart rate, breathing rate, blood pressure, body temperature, etc. during the experience.

[0120] In this embodiment, the server stores the user's status data during the simulation process, so that the user can determine whether to adjust the travel mode according to whether the status data is normal.

[0121] Optionally, when the user clicks to view the virtual character information in the traffic simulation test scene, the information of the clicked virtual character can be displayed to the user.

[0122] The above describes an embodiment of an intelligent traffic simulation method applied to a server provided by the present application. Below, the present application provides an embodiment of a traffic simulation method applied to a physical traffic simulation device.

[0123] The implementation process is: responding to the virtual simulation instruction issued by the user, sending a traffic role simulation selection request to the server; responding to the user's own manipulation, generating a first state and / or control information and sending it to the server, so that the server can drive the state and / or interaction of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information; receiving and displaying the virtual traffic simulation environment sent by the server and the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual traffic simulation environment.

[0124] By adopting the above method, the corresponding physical traffic simulation device can be selected according to the virtual traffic simulation object selected by the user, and the simulation test process can be displayed to the user through communication with the server, thereby improving the authenticity of the user when performing traffic simulation testing and further improving the authenticity of the traffic simulation test results.

[0125] Optionally, the status and / or interaction data of other virtual traffic simulation objects in the virtual traffic simulation environment sent by the server are received and displayed.

[0126] By adopting the above method, the physical traffic simulation device can realize the interaction of multiple users by synchronizing the corresponding control information of other physical traffic simulation devices, which can better meet the needs of traffic simulation testing.

[0127] Optionally, before responding to the virtual simulation instruction issued by the user and sending the first traffic role simulation selection request to the server, it also includes: setting a control instruction code for the physical traffic simulation device according to a preset instruction rule.

[0128] By adopting the above method, the speed at which the server feeds back information according to virtual simulation instructions can be improved, further ensuring the authenticity and accuracy of traffic simulation test results.

[0129] It is understandable that the server needs to implement Figure 2 The functions described include hardware and / or software modules that perform the corresponding functions. In combination with the steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0130] In this embodiment, the terminal device can be divided into functional modules according to the above method example. For example, different functional modules can be divided according to different functions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0131] In the case of dividing each functional module into corresponding functional modules, Figure 4A possible schematic diagram of the server 400 involved in the above embodiment is shown, and the server 400 includes: a receiving module 401, which is used to receive at least one traffic role simulation selection request sent by at least one physical traffic simulation device; a generating module 402, which is used to generate each virtual traffic simulation object corresponding to each traffic role simulation selection request in the virtual intelligent traffic simulation scene; an establishing module 403, which is used to establish a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device; an acquiring module 404, which is used to acquire the state and / or control information sent by at least one physical traffic simulation device; a determining module 405, which is used to determine the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information sent by at least one physical traffic simulation device; and a coordination module 406, which is used to send the simulation correspondence and the state and / or interaction data in the virtual intelligent traffic simulation scene to at least one physical traffic simulation device, so as to realize the coordination of the virtual simulation scene between the server and at least one physical traffic simulation device.

[0132] In an optional implementation method of the embodiment of the present application, at least one physical traffic simulation device includes multiple physical traffic simulation devices; sending simulation correspondences and status and / or interaction data in a virtual intelligent traffic simulation scene to at least one physical traffic simulation device to achieve collaboration of the virtual simulation scene between the server and at least one physical traffic simulation device, including: sending respective simulation correspondences to each of the multiple physical traffic simulation devices, and status and / or interaction data of the virtual traffic simulation objects corresponding to each physical traffic simulation device in the virtual intelligent traffic simulation scene to achieve collaboration of the virtual simulation scene between the server and each physical traffic simulation device.

[0133] In an optional implementation method of the embodiment of the present application, at least one physical traffic simulation device includes multiple physical traffic simulation devices; obtaining status and / or control information sent by at least one physical traffic simulation device, and determining the status and / or interaction data of at least one virtual traffic simulation object in the virtual intelligent traffic simulation scene based on the status and / or control information, including: determining the time-space relative relationship of multiple virtual traffic simulation objects corresponding to the multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determining the status and / or interaction data of multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene based on the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

[0134] In an optional implementation of the embodiment of the present application, the multiple physical traffic simulation devices include: physical traffic simulation devices of different types, and / or multiple physical traffic simulation devices of the same type.

[0135] In an optional implementation method of the embodiment of the present application, at least one role of the traffic role simulation selection request is any role in the traffic simulation roles, and the traffic simulation roles include: pedestrians, buses, cars, trucks, and motorcycles; at least one physical traffic simulation device is any device in the traffic simulation devices, and the traffic simulation devices include: pedestrian simulators, bus simulators, car simulators, train simulators, and motorcycle simulators.

[0136] In an optional implementation method of the embodiment of the present application, the generation module 402 obtains scene setting information and generates a virtual traffic simulation scene based on the scene information; or obtains event setting information and generates a virtual traffic simulation scene based on the event information; or obtains scene setting information and event setting information, and generates a virtual traffic simulation scene based on the scene setting information and event setting information.

[0137] In an optional implementation of the embodiment of the present application, the scene setting information includes: at least one of road conditions, weather, traffic time period, and traffic congestion level; the event setting information includes: at least one of truck collision, road collapse, and landslide.

[0138] In an optional implementation method of the embodiment of the present application, a traffic simulation test scene is displayed, and the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the virtual intelligent traffic simulation scene is displayed in the displayed traffic simulation test scene.

[0139] In an optional implementation method of the embodiment of the present application, whether a traffic accident is simulated in the traffic simulation test scenario is monitored; if a traffic accident occurs, the accident information table is updated according to the accident information of the traffic accident, and the accident information table is used to record the number of occurrences and information of various types of traffic accidents.

[0140] In an optional implementation of the embodiment of the present application, the receiving module 401 is also used to obtain preset instruction rules, which are used to determine the meaning of the control instruction code sent by at least one physical traffic simulation device, so as to respond to at least one physical traffic simulation device according to the determined meaning.

[0141] In an optional implementation of the embodiment of the present application, the receiving module 401 is also used to respond to an operation instructing access to at least one physical traffic simulation device, detect whether a connection is established with at least one physical traffic simulation device, and when it is detected that the connection with at least one physical traffic simulation device fails, instruct the user to set interface parameters for connection with at least one physical traffic simulation device according to the type of at least one physical traffic simulation device; when the interface parameters are set successfully, establish a connection with at least one physical traffic simulation device to obtain at least one traffic role simulation selection request.

[0142] The present application also discloses an electronic device. Figure 5 , Figure 5 The electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .

[0143] The communication bus 502 is used to realize the connection and communication between these components.

[0144] The user interface 503 may include a display screen (Display) and a camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.

[0145] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0146] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.

[0147] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. Refer to Figure 5 , the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a multi-core cable testing method.

[0148] exist Figure 5 In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 501 can be used to call the application program storing a multi-core cable testing method in the memory 505, and when executed by one or more processors 501, the electronic device 500 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0149] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0150] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0153] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0154] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0155] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not disclosed in the present application. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present application are defined by the claims.

Claims

1. An intelligent traffic simulation method, characterized in that: Applicable to servers, including: receiving at least one traffic role simulation selection request sent by a plurality of physical traffic simulation devices; Generating virtual traffic simulation objects corresponding to the traffic role simulation selection requests in a virtual intelligent traffic simulation scene; Establishing the simulation correspondence between virtual traffic simulation objects and physical traffic simulation equipment; Acquiring state and / or control information sent by the plurality of physical traffic simulation devices; the state and / or control information is used to represent parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object; Determine the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information sent by the multiple physical traffic simulation devices; the state data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the influence of other objects in the virtual simulation scene on itself; Sending the simulation correspondence and the states and / or interaction data in the virtual intelligent traffic simulation scene to the multiple physical traffic simulation devices, so as to realize the coordination of the virtual simulation scene between the server and the multiple physical traffic simulation devices; Collaboration is used to indicate that the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the state and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects; Obtaining status and / or control information sent by the multiple physical traffic simulation devices, and determining the status and / or interaction data of at least one virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the status and / or control information, including: determining the time-space relative relationship of the multiple virtual traffic simulation objects respectively corresponding to the multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determining the status and / or interaction data of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene according to the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

2. The method according to claim 1, characterized in that The simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene are sent to the multiple physical traffic simulation devices to achieve coordination of the virtual simulation scene between the server and the multiple physical traffic simulation devices, including: sending the respective simulation correspondence and the status and / or interaction data of the virtual traffic simulation objects corresponding to each physical traffic simulation device in the virtual intelligent traffic simulation scene to each physical traffic simulation device in the multiple physical traffic simulation devices to achieve coordination of the virtual simulation scene between the server and each physical traffic simulation device.

3. The method according to claim 2, characterized in that The multiple physical traffic simulation devices include: physical traffic simulation devices of different types, and / or multiple physical traffic simulation devices of the same type.

4. The method according to claim 1, characterized in that: The role of the at least one traffic role simulation selection request is any role in traffic simulation roles, and the traffic simulation roles include: pedestrian, bus, car, truck, motorcycle; The multiple physical traffic simulation devices are any of the traffic simulation devices, and the traffic simulation devices include: a pedestrian simulator, a bus simulator, a car simulator, a train simulator, and a motorcycle simulator.

5. The method according to claim 1, characterized in that Before generating each virtual traffic simulation object corresponding to each traffic role simulation selection request in the virtual intelligent traffic simulation scene, the method further includes: Acquire scene setting information, and generate the virtual traffic simulation scene according to the scene setting information; or, Acquiring event setting information, and generating the virtual traffic simulation scene according to the event setting information; or, Acquire scene setting information and event setting information, and generate the virtual traffic simulation scene according to the scene setting information and event setting information.

6. The method according to claim 5, characterized in that The scene setting information includes: at least one of road conditions, weather, traffic time period, and traffic congestion degree; The event setting information includes at least one of truck collision, road collapse, and landslide.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: The traffic simulation test scene is displayed, and the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the displayed traffic simulation test scene are displayed.

8. The method according to claim 7, characterized in that Also includes: Monitoring whether a traffic accident is simulated in the traffic simulation test scenario; If the traffic accident occurs, the accident information table is updated according to the accident information of the traffic accident, and the accident information table is used to record the number of occurrences and information of various types of traffic accidents.

9. The method according to claim 1, characterized in that: Before receiving at least one traffic role simulation selection request sent by a plurality of physical traffic simulation devices, the method further includes: Acquire a preset instruction rule, wherein the preset instruction rule is used to determine the meaning of the control instruction codes sent by the multiple physical traffic simulation devices, so as to respond to the multiple physical traffic simulation devices according to the determined meaning.

10. The method according to claim 1, characterized in that Before receiving at least one traffic role simulation selection request sent by a plurality of physical traffic simulation devices, the method further includes: In response to an operation instructing access to the multiple physical traffic simulation devices, it is detected whether a connection is established with the multiple physical traffic simulation devices. When it is detected that the connection with the multiple physical traffic simulation devices fails, it is instructed that the user set interface parameters for connecting with the multiple physical traffic simulation devices according to the types of the multiple physical traffic simulation devices; when the interface parameters are set successfully, a connection is established with the multiple physical traffic simulation devices to obtain the at least one traffic role simulation selection request.

11. An intelligent traffic simulation method, characterized in that: Applied to physical traffic simulation devices, including: In response to the virtual simulation instruction issued by the user, a traffic role simulation selection request is sent to the server; In response to the user's manipulation of the virtual traffic simulation object, a first state and / or manipulation information is generated and sent to the server, so that the server drives the state and / or interaction of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or manipulation information; the state and / or manipulation information is used to indicate the parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object; Receive and display the virtual traffic simulation environment sent by the server and the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual traffic simulation environment; the status data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the impact of other objects in the virtual simulation scene on itself; wherein, the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the status and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects; the server determines the time-space relative relationship of multiple virtual traffic simulation objects corresponding to multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determines the status and / or interaction data of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene according to the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

12. The method according to claim 11, characterized in that Also includes: Receive and display the status and / or interaction data of other virtual traffic simulation objects in the virtual traffic simulation environment sent by the server.

13. The method according to claim 11, characterized in that Before responding to the virtual simulation instruction issued by the user and sending the first traffic role simulation selection request to the server, the method further includes: According to preset instruction rules, a control instruction code is set for the physical traffic simulation device.

14. A server, characterized in that: include: A receiving module, configured to receive at least one traffic role simulation selection request sent by a plurality of physical traffic simulation devices; A generation module, used to generate each virtual traffic simulation object corresponding to each traffic role simulation selection request in a virtual intelligent traffic simulation scene; Establishing a module for establishing a simulation correspondence between a virtual traffic simulation object and a physical traffic simulation device; an acquisition module, used to acquire the state and / or control information sent by the plurality of physical traffic simulation devices; the state and / or control information is used to represent the parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object; A determination module, used to determine the state and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information sent by the multiple physical traffic simulation devices; the state data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the influence of other objects in the virtual simulation scene on itself; A collaboration module, used for sending the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to the multiple physical traffic simulation devices, so as to realize the collaboration of the virtual simulation scene between the server and the multiple physical traffic simulation devices; collaboration is used to indicate that the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the status and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects; The determination module is configured to: determine the time-space relative relationship of multiple virtual traffic simulation objects corresponding to the multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determine the status and / or interaction data of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene based on the time-space relative relationship and the status and / or control information of the multiple physical traffic simulation devices.

15. A physical traffic simulation device, characterized in that: include: A first response module, used to respond to a virtual simulation instruction issued by a user and send a traffic role simulation selection request to a server; A second response module is used to respond to the user's manipulation of the virtual traffic simulation object, generate a first state and / or manipulation information and send it to the server, so that the server can drive the state and / or interaction of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or manipulation information; the state and / or manipulation information is used to represent the parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object; A display module receives and displays the virtual traffic simulation environment sent by the server and the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual traffic simulation environment; the status data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the impact of other objects in the virtual simulation scene on itself; Among them, the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the state and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects; the server determines the time-space relative relationship of multiple virtual traffic simulation objects corresponding to multiple physical traffic simulation devices in the virtual intelligent traffic simulation scene; determines the state and / or interaction data of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene according to the time-space relative relationship and the state and / or control information of the multiple physical traffic simulation devices.

16. An intelligent traffic simulation control system, characterized in that: include: Server and multiple physical traffic simulation devices, The server is used to receive access requests from the multiple physical traffic simulation devices, establish a simulation correspondence between the virtual traffic simulation object and the physical traffic simulation device, obtain the status and / or control information sent by the multiple physical traffic simulation devices, determine the status and / or interaction data of the corresponding virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the status and / or control information sent by the multiple physical traffic simulation devices, and send the simulation correspondence and the status and / or interaction data in the virtual intelligent traffic simulation scene to the multiple physical traffic simulation devices, so as to realize the coordination of the virtual simulation scene between the server and the multiple physical traffic simulation devices; the status and / or control information is used to represent the parameters input for adjusting the virtual traffic simulation object when the user changes the current posture of the virtual traffic simulation object; the status data is used to represent the data of the virtual traffic simulation object itself, and the interaction data is used to represent the influence of other objects in the virtual simulation scene on itself; Collaboration is used to indicate that the server updates the virtual simulation scene of the corresponding physical traffic simulation device according to the state and / or interaction data of the virtual traffic simulation object in the virtual intelligent traffic simulation scene, and simultaneously updates the virtual simulation scenes of other physical traffic simulation devices according to the relationship between the virtual traffic simulation object and other virtual traffic simulation objects; Acquiring the state and / or control information sent by the plurality of physical traffic simulation devices, and determining the state and / or interaction data of at least one virtual traffic simulation object in the virtual intelligent traffic simulation scene according to the state and / or control information, including: determining the time-space relative relationship of the plurality of virtual traffic simulation objects respectively corresponding to the plurality of physical traffic simulation devices in the virtual intelligent traffic simulation scene; According to the time-space relative relationship and the states and / or control information of the multiple physical traffic simulation devices, the states and / or interaction data of the multiple virtual traffic simulation objects in the virtual intelligent traffic simulation scene are determined.

17. The system according to claim 16, characterized in that The server is also used to synchronize the status and / or control information of any physical traffic simulation device in the virtual traffic simulation scene to other physical traffic simulation devices, so as to realize the collaborative simulation or testing of each physical traffic simulation device in the virtual traffic simulation scene.

18. The system according to claim 16 or 17, characterized in that Also includes: The display control screen is used to display the virtual traffic simulation test scene, and to show the real-time status, interaction status and / or event triggering related status of each virtual traffic simulation object in the displayed virtual intelligent traffic simulation scene.

19. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the intelligent traffic simulation method as described in any one of claims 1 to 10 or executes the intelligent traffic simulation method as described in any one of claims 11 to 13.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the intelligent traffic simulation method according to any one of claims 1 to 10 or the intelligent traffic simulation method according to any one of claims 11 to 13 is executed.

Citation Information

Patent Citations

  • Real-time microscopic traffic simulation system and method based on virtuality and reality mixing

    CN108492666A

  • Multi-terminal in-loop virtual-real combined traffic comprehensive scene simulation test system and method

    CN111859618A