Driving adversarial system, method, device and storage medium

Through the driving simulation system, passengers drive virtual vehicles in virtual reality devices and compete against real drivers, solving the problem that passengers cannot experience the joy of driving and increasing the interactivity between passengers and drivers.

CN116795084BActive Publication Date: 2026-01-06WUHU AUTOMOBILE ADVANCED TECHNOLOGY INSTITUTE +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310919159.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2026-01-06
Estimated Expiration
2043-07-24

AI Technical Summary

Technical Problem

Passengers cannot experience the joy of driving while the vehicle is in motion, resulting in poor interaction with the driver.

Method used

The driving confrontation system utilizes cloud servers, virtual reality devices, and control equipment to generate a virtual driving environment and navigation map. Passengers drive virtual vehicles in the virtual environment to compete against real vehicles driven by drivers in the real environment, and the confrontation results are generated based on driving data.

Benefits of technology

Passengers can experience the joy of driving through virtual reality devices, increasing the interaction between passengers and drivers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116795084B_ABST
    Figure CN116795084B_ABST
Patent Text Reader

Abstract

The application discloses a driving confrontation system, method, device and storage medium, and belongs to the technical field of vehicles. In the system, a control device sends environment data in a vehicle driving process to a cloud server, the cloud server generates a first navigation map based on the environment data and map data, and sends the first navigation map to a virtual reality device. The virtual reality device generates a first virtual driving environment based on the first navigation map. The cloud server acquires first driving data of a driver and second driving data of a passenger, and determines a driving confrontation result of the driver and the passenger based on the first driving data and the second driving data. As can be seen, in the vehicle driving process, the passenger can drive a virtual vehicle through the virtual reality device, so that the passenger can also experience the driving fun. Moreover, the passenger drives the virtual vehicle to confront the driver driving the real vehicle, and the interactivity between the passenger and the driver is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a driving countermeasure system, method, device and storage medium. Background Technology

[0002] In recent years, with rapid economic development, people's travel habits are changing, and the number of vehicles is increasing rapidly year by year. Currently, while drivers can experience the joy of driving, passengers in the front passenger seat or rear seats generally alleviate the boredom of the journey by listening to music or the radio, thus failing to experience the joy of driving and resulting in poor interaction between passengers and drivers. Therefore, how to enable passengers to also experience the joy of driving and increase interaction between passengers and drivers has become an urgent problem to be solved. Summary of the Invention

[0003] This application provides a driving confrontation system, method, device, and storage medium that allows passengers to also experience the joy of driving and increases the interaction between passengers and the driver. The technical solution is as follows:

[0004] On one hand, a driving confrontation system is provided, the system comprising: a cloud server, a virtual reality device, and a control device; the virtual reality device and the control device are both electrically connected to the cloud server;

[0005] The control device is used to generate a navigation path based on the vehicle's starting point and ending point; based on the navigation path, it acquires environmental data of the vehicle during its journey and sends the environmental data to the cloud server.

[0006] The cloud server is used to generate a first navigation map based on the environmental data and pre-stored map data, and send the first navigation map to the virtual reality device;

[0007] The virtual reality device is used to generate a first virtual driving environment based on the first navigation map; the first virtual driving environment includes a virtual vehicle.

[0008] The control device is further configured to acquire first driving data of the driver in the vehicle and send the first driving data to the cloud server; wherein, the first driving data is obtained by the driver driving the vehicle based on the environmental data;

[0009] The virtual reality device is further configured to acquire second driving data of passengers in the vehicle and send the second driving data to the cloud server; wherein the second driving data is obtained by the passengers driving the virtual vehicle in the first virtual driving environment;

[0010] The cloud server is further configured to generate a first driving result for the driver and a second driving result for the passenger based on the first driving data and the second driving data; and to determine the driving confrontation result between the driver and the passenger based on the first driving result and the second driving result.

[0011] In one possible implementation, the cloud server is further configured to determine the first virtual resource corresponding to the driver based on the first driving data;

[0012] A first arrival time and a second arrival time are determined, and based on the first arrival time and the second arrival time, a second virtual resource corresponding to the driver is determined; wherein, the first arrival time is the time when the driver drives the vehicle to the destination, and the second arrival time is the time when the passenger drives the virtual vehicle to the destination;

[0013] Based on the first virtual resource and the second virtual resource, the driver's first driving result is generated.

[0014] In another possible implementation, the cloud server is also used to determine the driver's first driving behavior based on the first driving data;

[0015] Based on the correspondence between driving behavior and virtual resources, the first virtual resource corresponding to the first driving behavior is determined.

[0016] In another possible implementation, the cloud server is further configured to sort the arrival order of the driver and the passenger based on the first arrival time and the second arrival time;

[0017] The second virtual resource is determined based on the driver's position in the sorting results.

[0018] In another possible implementation, the cloud server is further configured to determine a first location and a second location, wherein the first location is the current location of the vehicle and the second location is the current location of the virtual vehicle;

[0019] If the second position is located in front of the first position in the direction of travel, determine the distance between the first position and the second position;

[0020] Based on the distance, a third virtual resource is determined, and the third virtual resource is transferred to the account corresponding to the passenger.

[0021] In another possible implementation, the cloud server is further configured to send a first control command to the virtual reality device when the distance is greater than a preset distance, the first control command being used to reduce the driving speed of the virtual vehicle;

[0022] The virtual reality device is further configured to reduce the speed of the virtual vehicle based on the first control command until the distance is no greater than the preset distance.

[0023] In another possible implementation, the cloud server is further configured to generate a second navigation map based on the map data when the distance is greater than a preset distance, and send the second navigation map to the virtual reality device; wherein the passenger is configured to control the virtual vehicle to drive based on the second navigation map.

[0024] On the other hand, a driving countermeasure method is provided, the method comprising:

[0025] The control device generates a navigation path based on the vehicle's starting point and ending point; based on the navigation path, it acquires environmental data of the vehicle during its journey and sends the environmental data to the cloud server.

[0026] The cloud server generates a first navigation map based on the environmental data and pre-stored map data, and sends the first navigation map to the virtual reality device.

[0027] The virtual reality device generates a first virtual driving environment based on the first navigation map;

[0028] The control device acquires first driving data from the driver in the vehicle and sends the first driving data to the cloud server; wherein, the first driving data is obtained by the driver driving the vehicle based on the environmental data;

[0029] The virtual reality device acquires second driving data of the passenger in the vehicle and sends the second driving data to the cloud server; wherein, the second driving data is obtained by the passenger driving a virtual vehicle in the first virtual driving environment;

[0030] The cloud server generates a first driving result for the driver and a second driving result for the passenger based on the first driving data and the second driving data; and determines the driving confrontation result between the driver and the passenger based on the first driving result and the second driving result.

[0031] In one possible implementation, the process by which the cloud server generates the driver's first driving result based on the first driving data includes:

[0032] The cloud server determines the first virtual resource corresponding to the driver based on the first driving data;

[0033] A first arrival time and a second arrival time are determined, and based on the first arrival time and the second arrival time, a second virtual resource corresponding to the driver is determined; wherein, the first arrival time is the time when the driver drives the vehicle to the destination, and the second arrival time is the time when the passenger drives the virtual vehicle to the destination;

[0034] Based on the first virtual resource and the second virtual resource, the driver's first driving result is generated.

[0035] In another possible implementation, the process by which the cloud server determines the first virtual resource based on the first driving data includes:

[0036] The cloud server determines the driver's first driving behavior based on the first driving data;

[0037] Based on the correspondence between driving behavior and virtual resources, the first virtual resource corresponding to the first driving behavior is determined.

[0038] In another possible implementation, the process by which the cloud server determines the second virtual resource corresponding to the driver based on the first arrival time and the second arrival time includes:

[0039] The cloud server sorts the arrival order of the driver and the passenger based on the first arrival time and the second arrival time;

[0040] The second virtual resource is determined based on the driver's position in the sorting results.

[0041] In another possible implementation, the method further includes:

[0042] The cloud server determines a first location and a second location, where the first location is the current location of the vehicle and the second location is the current location of the virtual vehicle.

[0043] If the second position is located in front of the first position in the direction of travel, determine the distance between the first position and the second position;

[0044] Based on the distance, a third virtual resource is determined, and the third virtual resource is transferred to the account corresponding to the passenger.

[0045] In another possible implementation, the method further includes:

[0046] When the distance is greater than a preset distance, the cloud server sends a first control command to the virtual reality device, the first control command being used to reduce the driving speed of the virtual vehicle;

[0047] Based on the first control command, the virtual reality device reduces the speed of the virtual vehicle until the distance is no greater than the preset distance.

[0048] In another possible implementation, the method further includes:

[0049] When the distance is greater than a preset distance, the cloud server generates a second navigation map based on the map data and sends the second navigation map to the virtual reality device; wherein, the passenger controls the virtual vehicle to drive based on the second navigation map.

[0050] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one piece of program code, which is loaded and executed by the processor to implement the driving confrontation method described in any of the control devices, cloud servers, or virtual reality devices described above.

[0051] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored therein, the at least one piece of program code being loaded and executed by a processor to implement the driving countermeasure method described in any of the preceding claims.

[0052] On the other hand, a computer program product is provided, wherein at least one piece of program code is stored therein, the at least one piece of program code being loaded and executed by a processor to implement the driving countermeasure method described in any of the preceding claims.

[0053] This application provides a driving confrontation system. In this system, a control device sends environmental data of the vehicle's driving process to a cloud server. Based on this environmental data and map data, the cloud server generates a first navigation map and sends it to a virtual reality device. The virtual reality device then generates a first virtual driving environment based on the first navigation map. The control device acquires first driving data from the driver in the vehicle and sends it to the cloud server. The virtual reality device acquires second driving data from the passengers in the vehicle and sends it to the cloud server. Based on the first and second driving data, the cloud server determines the driving confrontation result between the driver and the passenger. Therefore, during vehicle operation, passengers can drive a virtual vehicle through a virtual reality device, allowing them to experience the joy of driving. Furthermore, the interaction between passengers driving virtual vehicles and drivers driving real vehicles increases the interactivity between them.

[0054] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this disclosure. Attached Figure Description

[0055] Figure 1 This is a schematic diagram of a driving combat system provided in an embodiment of this application;

[0056] Figure 2 This is a schematic diagram illustrating a driving confrontation between a driver and a passenger through a control device, a virtual reality device, and a cloud server, provided in an embodiment of this application.

[0057] Figure 3 This is a flowchart of a driving confrontation method provided in an embodiment of this application;

[0058] Figure 4 This is a structural block diagram of a cloud server provided in an embodiment of this application. Detailed Implementation

[0059] To make the technical solution and advantages of this application clearer, the embodiments of this application will be described in further detail below.

[0060] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0061] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, environmental data, driving data, map data, account data, etc. involved in this application were all obtained with full authorization.

[0062] Figure 1 This is a schematic diagram of a driving combat system provided in an embodiment of this application. See also... Figure 1 The system includes: a cloud server 101, a virtual reality device 102, and a control device 103; both the virtual reality device 102 and the control device 103 are electrically connected to the cloud server 101.

[0063] The control device 103 is used to generate a navigation path based on the vehicle's starting point and ending point; and based on the navigation path, to acquire environmental data of the vehicle during its journey and send the environmental data to the cloud server 101.

[0064] Cloud server 101 is used to generate a first navigation map based on environmental data and pre-stored map data, and send the first navigation map to virtual reality device 102;

[0065] Virtual reality device 102 is used to generate a first virtual driving environment based on a first navigation map; the first virtual driving environment includes a virtual vehicle;

[0066] The control device 103 is also used to acquire the first driving data of the driver in the vehicle and send the first driving data to the cloud server 101; wherein, the first driving data is obtained by the driver driving the vehicle based on vehicle condition data and road condition data;

[0067] The virtual reality device 102 is also used to acquire second driving data of passengers in the vehicle and send the second driving data to the cloud server 101; wherein, the second driving data is obtained by the passengers driving the virtual vehicle in the first virtual driving environment;

[0068] The cloud server 101 is also used to generate the driver's first driving result and the passenger's second driving result based on the first driving data and the second driving data; and to determine the driving confrontation result between the driver and the passenger based on the first driving result and the second driving result.

[0069] In the embodiments of this application, the electrical connection can be a circuit connection or a wireless connection, without specific limitation. If the electrical connection is a circuit connection, the connection method can be a cable connection; if the electrical connection is a wireless connection, the connection method can be a wireless network connection. Furthermore, the vehicle can be a fuel-powered vehicle, an electric vehicle, or a hybrid vehicle, without specific limitation.

[0070] The control device 103 can be an audio host or a domain controller. If the control device 103 is a domain controller, then the domain controller can be a cockpit domain controller. The virtual reality device 102 includes VR (Virtual Reality) glasses and a controller, which can be connected via wired or wireless means. Passengers can wear VR glasses and manipulate the controller to simulate driving a virtual vehicle. The cloud server 101 can be at least one of the following: a single server, a server cluster consisting of multiple servers, a cloud server 101, a cloud computing platform, and a virtualization center.

[0071] In this embodiment, the number of virtual reality devices 102 can be one or more. If there is one passenger racing against the driver in the vehicle, the number of virtual reality devices 102 is one; if there are multiple passengers racing against the driver in the vehicle, the number of virtual reality devices 102 is multiple.

[0072] This application provides a driving confrontation system. In this system, a control device 103 sends environmental data during vehicle operation to a cloud server 101. Based on this environmental data and map data, the cloud server 101 generates a first navigation map and sends it to a virtual reality device 102. The virtual reality device 102 then generates a first virtual driving environment based on the first navigation map. The control device 103 acquires first driving data from the driver in the vehicle and sends it to the cloud server 101. The virtual reality device 102 acquires second driving data from the passengers in the vehicle and sends it to the cloud server 101. Based on the first and second driving data, the cloud server 101 determines the driving confrontation result between the driver and the passenger. Therefore, during vehicle operation, passengers can drive a virtual vehicle through the virtual reality device 102, allowing them to experience the joy of driving. Furthermore, the interaction between passengers driving virtual vehicles and drivers driving real vehicles increases the interactivity between them.

[0073] In this embodiment, the control device 103 acquires real-time environmental data such as road conditions and vehicle speed, and then sends the environmental data to the cloud server 101. The cloud server 101 stores offline rendered navigation scene units, such as zebra crossings, pedestrians, traffic lights, and buildings, and matches them with the environmental data sent by the control device 103 to generate a three-dimensional navigation map, which is then transmitted downlink to the virtual reality device 102. The virtual reality device 102 receives the navigation data from the navigation map sent by the cloud server 101, and, combined with the passenger's driving operations, drives a virtual vehicle in a virtual driving environment, racing against a real vehicle driven by a driver in a real environment. See [link to relevant documentation]. Figure 2 .

[0074] The process of generating the first virtual driving environment using the virtual reality device 102 will be described below.

[0075] During this process, the control device 103 can generate a navigation path based on the vehicle's starting point and ending point, and obtain environmental data of the vehicle during the driving process based on the navigation path.

[0076] The control device 103 can first acquire environmental data around the starting point and send the environmental data around the starting point to the cloud server 101. After the vehicle starts driving according to the navigation path, it can then acquire environmental data during the driving process and send the environmental data during the driving process to the cloud server 101. Among these, the control device 103 can acquire environmental data outside the vehicle in real time through sensors and cameras outside the vehicle.

[0077] Based on the environmental data sent by the control device 103 and the pre-stored map data, the cloud server 101 generates a three-dimensional first navigation map and sends the first navigation map to the virtual reality device 102.

[0078] In addition, the control device 103 can also send vehicle data and real-time navigation data to the cloud server 101. Accordingly, the cloud server 101 generates a three-dimensional first navigation map based on environmental data, vehicle data, navigation data and map data.

[0079] The virtual reality device 102 generates a first virtual driving environment based on a first navigation map. This virtual driving environment includes a virtual vehicle, and the environmental data outside the virtual vehicle is identical to that of a real vehicle. The passenger acts as the driver of this virtual vehicle and can simulate driving the virtual vehicle and racing against a real vehicle driven by a human driver.

[0080] A driver operates a real vehicle, while a passenger simulates driving a virtual vehicle. During this process, control device 103 acquires the driver's initial driving data and sends it to cloud server 101. Virtual reality device 102 acquires the passenger's second driving data and sends it to cloud server 101. The initial driving data is obtained by the driver based on environmental data, while the second driving data is obtained by the passenger driving the virtual vehicle in the first virtual driving environment. Virtual reality device 102 can acquire the second driving data through the passenger's manipulation of the control handle.

[0081] Cloud server 101 generates first driving results and second driving results based on the first driving data and the second driving data. The process of cloud server 101 generating the first driving results is described below.

[0082] Based on the first driving data, cloud server 101 determines the first virtual resource corresponding to the driver; determines the first arrival time and the second arrival time; based on the first arrival time and the second arrival time, determines the second virtual resource corresponding to the driver; and based on the first virtual resource and the second virtual resource, generates the driver's first driving result.

[0083] In this implementation, the cloud server 101 can determine the driver's first driving behavior based on the first driving data; and determine the first virtual resource corresponding to the first driving behavior based on the correspondence between the driving behavior and the virtual resource.

[0084] The first driving behavior refers to the driver's actions during driving. This behavior may or may not meet the preset behaviors. For example, stopping at a red light meets the preset behaviors; proceeding through a red light does not. Using the turn signal when changing lanes meets the preset behaviors; not using the turn signal when changing lanes does not.

[0085] Cloud server 101 determines the first virtual resource corresponding to the first driving behavior based on the correspondence between driving behavior and virtual resources. For example, referring to Table 1, it can be seen from Table 1 that: one driving behavior corresponds to one virtual resource, and the virtual resource corresponding to the driving behavior that meets the preset behavior is a positive value, while the virtual resource corresponding to the driving behavior that does not meet the preset behavior is a negative value.

[0086] Table 1

[0087]

[0088]

[0089] It should be noted that during the driver's journey from the starting point to the destination, there will be multiple first driving actions, each corresponding to a first virtual resource. The cloud server 101 can determine the first virtual resource corresponding to each first driving action. Alternatively, the cloud server 101 can determine the multiple first driving actions during the journey and the corresponding first virtual resource after the driver has reached the destination.

[0090] In this embodiment, the cloud server 101 can also determine the second virtual resource based on the arrival times of the driver and passengers at their destination. This process can be as follows: the cloud server 101 sorts the arrival order of the driver and passengers based on the first and second arrival times; and determines the second virtual resource based on the driver's position in the sorting result.

[0091] The cloud server 101 sorts the arrival order of the driver and passengers according to the first arrival time and the second arrival time from earliest to latest; based on the correspondence between the driver's location and the virtual resource, it determines the virtual resource corresponding to the driver's location in the sorting result, and obtains the second virtual resource.

[0092] For example, the first person to reach the destination has a second virtual resource value of 5; the second person has a value of 4; the third person has a value of 3, and so on. If the driver is the first to reach the destination, the second virtual resource value is 5.

[0093] After obtaining the first and second virtual resources, cloud server 101 can determine the sum of the first and second virtual resources to obtain a fourth virtual resource, which is then used as the driver's first driving result. Alternatively, cloud server 101 can determine the average of the first and second virtual resources and use this average as the driver's first driving result. Alternatively, cloud server 101 can obtain a first weight and a second weight, determine the product of the first weight and the first virtual resource to obtain a first product value; determine the product of the second weight and the second virtual resource to obtain a second product value; and determine the sum of the first and second product values, using this sum as the driver's first driving result.

[0094] The following explanation uses the example of using the fourth virtual resource as the first driving result. If the fourth virtual resource is positive, the cloud server 101 transfers the fourth virtual resource to the driver's account; if the fourth virtual resource is negative, the cloud server 101 transfers the fourth virtual resource out of the driver's account. The fourth virtual resource can be in the form of account points or other forms; no specific limitation is made.

[0095] In this embodiment, the cloud server 101 determines the fifth virtual resource corresponding to the passenger based on the second driving data; determines the sixth virtual resource based on the passenger's position in the sorting results; and determines the passenger's second driving result based on the fifth and sixth virtual resources.

[0096] The process by which cloud server 101 determines the second driving result is the same as the process by which it determines the first driving result, and will not be repeated here.

[0097] In this embodiment, because different users operate vehicles in different ways and with different habits, the driving speed of the real vehicle driven by the driver and the virtual vehicle driven by the passenger may be different. Therefore, at the same time, the positions of the real vehicle and the virtual vehicle may be different. Accordingly, the cloud server 101 determines a first position and a second position, where the first position is the current position of the vehicle and the second position is the current position of the virtual vehicle.

[0098] Since the environmental data of the virtual vehicle that the passenger is simulating is derived from the environmental data around the real vehicle driven by the driver, if the first position is ahead of the second position in the direction of travel, the cloud server 101 can store the environmental data around the real vehicle offline and then send it to the virtual reality device 102. The passenger can still simulate driving the virtual vehicle based on the environmental data presented by the virtual reality device 102.

[0099] The first position being located in front of the second position could be due to the driver committing a traffic violation while the passenger did not. For example, the driver might run a red / yellow light while the passenger stops before the yellow light; or the driver might be controlling the vehicle at a higher speed while the passenger is controlling it at a lower speed. In either case, the virtual reality device 102 can acquire real-world environmental data, and the passenger's driving actions remain unaffected.

[0100] If the second position is ahead of the first position in the driving direction, the cloud server 101 determines the distance between the first and second positions; based on this distance, it determines a third virtual resource and transfers the third virtual resource to the passenger's corresponding account. Accordingly, the cloud server 101 determines the passenger's second driving result based on the fifth, sixth, and third virtual resources.

[0101] In one possible implementation, different distances correspond to different virtual resources. Based on the correspondence between distance and virtual resources, cloud server 101 determines the virtual resource corresponding to the distance and obtains the third virtual resource.

[0102] For example, if a virtual vehicle is 20 meters in front of a real vehicle, the third virtual resource is 1; if a virtual vehicle is 30 meters in front of a real vehicle, the third virtual resource is 3.

[0103] In another possible implementation, different distance ranges correspond to different virtual resources. The cloud server 101 determines the distance range in which the distance is located, and then, based on the correspondence between the distance range and the virtual resources, determines the virtual resources corresponding to the distance range, thus obtaining the third virtual resource.

[0104] In this embodiment of the application, the second position is located in front of the first position. This may be due to the driver not violating any rules, but the passenger violating driving rules. For example, the passenger runs a red light / yellow light, while the driver stops before the yellow light; or the passenger controls the virtual vehicle to drive at a faster speed, while the driver controls the real vehicle to drive at a slower speed.

[0105] If the second position being located ahead of the first position is due to a passenger's illegal driving behavior, then the cloud server 101 will no longer execute the step of determining the third virtual resource. This process can be as follows: the cloud server 101 obtains the third driving data of the passenger within the distance, determines the second driving behavior based on the third driving data, and if the second driving behavior is not illegal driving behavior, then determines the third virtual resource based on the distance; if the second driving behavior is illegal driving behavior, then the following steps will not be executed.

[0106] It should be noted that since external cameras and sensors can acquire environmental data within a certain range, when the distance between the real vehicle and the virtual vehicle is less than a preset distance, the control device 103 can acquire environmental data around the real vehicle through cameras and sensors and send it to the cloud server 101. However, when the distance is greater than the preset distance, the environmental data cannot be acquired. In this case, the cloud server 101 can generate a 3D second navigation map based on pre-stored map data and send the second navigation map to the virtual reality device 102. Passengers can then control the virtual vehicle's movement based on the second navigation map.

[0107] During the driving process, the cloud server 101 can send a first control command to the virtual reality device 102. The first control command is used to reduce the driving speed of the virtual vehicle. Based on the first control command, the virtual reality device 102 reduces the driving speed of the virtual vehicle until the distance is no greater than a preset distance.

[0108] The virtual reality device 102 can control the virtual vehicle to reduce its speed based on the first control command. Alternatively, the virtual reality device 102 can output a voice message based on the first control command to prompt passengers to reduce the speed of the virtual vehicle.

[0109] In this embodiment of the application, by reducing the driving speed of the virtual vehicle, the distance between the virtual vehicle and the real vehicle is shortened, so that the virtual reality device 102 can obtain real environmental data around the vehicle, so that passengers can obtain the driving experience of real roads when driving the virtual vehicle.

[0110] In another possible implementation, cloud server 101 determines the duration for which the distance is greater than a preset distance, determines the ratio of the duration for which the distance is greater than the preset distance, and determines the third virtual resource based on the ratio.

[0111] In this implementation, cloud server 101 can determine the start and end times when the distance is greater than a preset distance. Based on the start and end times, it determines the duration of the hold, and then determines the ratio of the hold duration to the preset duration. Different ratios correspond to different virtual resources. Based on the correspondence between the ratio and the virtual resources, it determines the virtual resource corresponding to the ratio, thus obtaining the third virtual resource.

[0112] For example, if the distance between the virtual vehicle driven by the passenger and the real vehicle driven by the driver is 20 meters, which is greater than the preset distance, and this situation is maintained for 4 seconds, while the preset duration is 2 seconds, then the ratio of the maintenance duration to the preset duration is 2. Wherein, a ratio of 2 corresponds to 2 virtual resources, and therefore the third virtual resource is 2.

[0113] In this embodiment of the application, after the cloud server 101 determines the first driving result and the second driving result, it can determine the driving confrontation result between the driver and the passenger based on the value of the virtual resource corresponding to the first driving result and the value of the virtual resource corresponding to the second driving result. The one with the largest virtual resource value is the winner.

[0114] Referring to Table 2, which shows two passengers competing against the driver, the data in Table 2 represents the driving behaviors and corresponding scores of the driver and passengers on a real road segment. As can be seen from Table 2, passenger b has the highest score; therefore, passenger b wins.

[0115] Table 2

[0116]

[0117]

[0118] After obtaining the driving confrontation results, the cloud server 101 can send the driving confrontation results to the control device 103. The control device 103 can display the driving confrontation results on the vehicle's in-vehicle display screen or output the driving confrontation results via voice through the vehicle's voice device.

[0119] If the control device 103 displays the driving competition results through the vehicle's in-vehicle display screen, the control device 103 can also display the driver's first driving result and each passenger's second driving result through the in-vehicle display screen. Each driving result corresponds to a viewing option. In response to a trigger operation that activates any viewing option, the in-vehicle display screen displays the driving result corresponding to that viewing option. When displaying the driving results, the in-vehicle display screen can also show the driver's or passenger's ranking upon reaching the destination, whether the driver's or passenger's driving behavior conforms to preset behaviors, and the virtual resources corresponding to the driving behavior. This helps drivers and passengers to understand their shortcomings in a timely manner and improve their driving behavior.

[0120] In this embodiment, a virtual driving environment is simulated using real navigation and environmental data to generate virtual vehicles. Passengers can drive these virtual vehicles and compete against real drivers on a real navigation track within the virtual driving environment. Drivers and all passengers can participate in the competition simultaneously, comparing their driving awareness and operational skills to earn corresponding points. The driver with the highest score at the finish line wins.

[0121] Figure 3 This is a flowchart of a driving confrontation method provided in an embodiment of this application. See also... Figure 3 The method includes:

[0122] Step 301: The control device generates a navigation path based on the vehicle's starting point and ending point; based on the navigation path, it acquires environmental data of the vehicle during its journey and sends the environmental data to the cloud server.

[0123] Step 302: The cloud server generates a first navigation map based on environmental data and pre-stored map data, and sends the first navigation map to the virtual reality device.

[0124] Step 303: The virtual reality device generates a first virtual driving environment based on the first navigation map.

[0125] Step 304: The control device acquires the first driving data of the driver in the vehicle and sends the first driving data to the cloud server.

[0126] The first driving data is obtained by the driver based on environmental data when driving the vehicle.

[0127] Step 305: The virtual reality device acquires the second driving data of the passengers in the vehicle and sends the second driving data to the cloud server.

[0128] The second driving data is obtained by passengers driving virtual vehicles in the first virtual driving environment.

[0129] Step 306: The cloud server generates the driver's first driving result and the passenger's second driving result based on the first driving data and the second driving data; based on the first driving result and the second driving result, the driving confrontation result between the driver and the passenger is determined.

[0130] In one possible implementation, the process by which the cloud server generates the driver's first driving result based on the first driving data includes:

[0131] The cloud server determines the first virtual resource corresponding to the driver based on the initial driving data;

[0132] Determine the first arrival time and the second arrival time, and based on the first arrival time and the second arrival time, determine the second virtual resource corresponding to the driver; wherein, the first arrival time is the time when the driver arrives at the destination with the vehicle, and the second arrival time is the time when the passenger arrives at the destination with the virtual vehicle.

[0133] Based on the first virtual resource and the second virtual resource, the driver's first driving result is generated.

[0134] In another possible implementation, the process by which the cloud server determines the first virtual resource based on the first driving data includes:

[0135] The cloud server determines the driver's initial driving behavior based on the initial driving data;

[0136] Based on the correspondence between driving behavior and virtual resources, the first virtual resource corresponding to the first driving behavior is determined.

[0137] In another possible implementation, the process by which the cloud server determines the second virtual resource corresponding to the driver based on the first and second arrival times includes:

[0138] The cloud server sorts the arrival order of drivers and passengers based on the first and second arrival times;

[0139] The second virtual resource is determined based on the driver's position in the ranking results.

[0140] In another possible implementation, the method also includes:

[0141] The cloud server determines the first location and the second location. The first location is the current location of the vehicle, and the second location is the current location of the virtual vehicle.

[0142] If the second position is ahead of the first position in the direction of travel, determine the distance between the first position and the second position;

[0143] Based on distance, a third virtual resource is identified and transferred to the passenger's corresponding account.

[0144] In another possible implementation, the method also includes:

[0145] When the distance is greater than a preset distance, the cloud server sends a first control command to the virtual reality device. The first control command is used to reduce the speed of the virtual vehicle.

[0146] The virtual reality device reduces the speed of the virtual vehicle based on the first control command until the distance is no greater than the preset distance.

[0147] In another possible implementation, the method also includes:

[0148] When the distance is greater than the preset distance, the cloud server generates a second navigation map based on the map data and sends the second navigation map to the virtual reality device; the passenger uses the second navigation map to control the virtual vehicle's movement.

[0149] This application provides a driving confrontation method. In this method, a control device sends environmental data from the vehicle's driving process to a cloud server. Based on this environmental data and map data, the cloud server generates a first navigation map and sends it to a virtual reality device. The virtual reality device then generates a first virtual driving environment based on the first navigation map. The control device acquires first driving data from the driver in the vehicle and sends it to the cloud server. The virtual reality device acquires second driving data from the passengers in the vehicle and sends it to the cloud server. Based on the first and second driving data, the cloud server determines the driving confrontation result between the driver and the passenger. Therefore, during vehicle operation, passengers can drive a virtual vehicle through a virtual reality device, allowing them to experience the joy of driving. Furthermore, the interaction between passengers driving virtual vehicles and drivers driving real vehicles increases the interactivity between them.

[0150] It should be noted that the driving confrontation method provided in this application embodiment belongs to the same concept as the above-described driving confrontation system embodiment. For details of the specific process, please refer to the driving confrontation system embodiment, which will not be repeated here.

[0151] For a structural diagram of a cloud server, please refer to [link / reference]. Figure 4 The cloud server 400 can vary considerably due to differences in configuration or performance. It may include a processor (central processing unit, CPU) 401 and a memory 402. The memory 402 stores at least one line of program code, which is loaded and executed by the processor 401 to implement the operations performed by the cloud server in the aforementioned driving countermeasure method. Of course, the cloud server 400 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The cloud server 400 may also include other components for implementing device functions, which will not be elaborated upon here.

[0152] The structural block diagrams of the control equipment and virtual reality equipment can also be found in [reference 1]. Figure 4 This will not be elaborated upon here.

[0153] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the driving countermeasure method in the above embodiments.

[0154] In an exemplary embodiment, a computer program product is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the driving countermeasure method in the above embodiments.

[0155] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0156] The above description is only for the purpose of enabling those skilled in the art to understand the technical solution of this application, and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A driving confrontation system characterized by comprising: The system comprises a cloud server, a virtual reality device and a control device; the virtual reality device and the control device are electrically connected with the cloud server; The control device is configured to generate a navigation path based on a starting point and an ending point of a vehicle; acquire environmental data of the vehicle in a driving process based on the navigation path, and send the environmental data to the cloud server; The cloud server is configured to generate a first navigation map based on the environmental data and pre-stored map data, and send the first navigation map to the virtual reality device; The virtual reality device is configured to generate a first virtual driving environment based on the first navigation map; the first virtual driving environment comprises a virtual vehicle; The control device is further configured to acquire first driving data of a driver in the vehicle, and send the first driving data to the cloud server; wherein the first driving data is obtained by the driver driving the vehicle based on the environmental data; The virtual reality device is further configured to acquire second driving data of a passenger in the vehicle, and send the second driving data to the cloud server; wherein the second driving data is obtained by the passenger driving the virtual vehicle in the first virtual driving environment; The cloud server is further configured to generate a first driving result of the driver and a second driving result of the passenger based on the first driving data and the second driving data, and determine a driving confrontation result of the driver and the passenger based on the first driving result and the second driving result; The cloud server is further configured to determine a first position and a second position; the first position is a current position of the vehicle, and the second position is a current position of the virtual vehicle; if the second position is in front of the first position in a driving direction, determine a distance between the first position and the second position; based on the distance, determine a third virtual resource, and transfer the third virtual resource to an account corresponding to the passenger; The cloud server is further configured to send a first control instruction to the virtual reality device when the distance is greater than a preset distance; the first control instruction is used to reduce the driving speed of the virtual vehicle; the virtual reality device is further configured to reduce the driving speed of the virtual vehicle based on the first control instruction until the distance is not greater than the preset distance; The cloud server is further configured to generate a second navigation map based on the map data when the distance is greater than a preset distance, and send the second navigation map to the virtual reality device; wherein the passenger is configured to control the virtual vehicle to drive based on the second navigation map.

2. The system of claim 1, wherein, The cloud server is further configured to determine a first virtual resource corresponding to the driver based on the first driving data. determine a first arrival time and a second arrival time, determine a second virtual resource corresponding to the driver based on the first arrival time and the second arrival time; the first arrival time is a time when the driver drives the vehicle to arrive at the destination, and the second arrival time is a time when the passenger drives the virtual vehicle to arrive at the destination; generate a first driving result of the driver based on the first virtual resource and the second virtual resource.

3. The system of claim 2, wherein, The cloud server is further configured to determine a first driving behavior of the driver based on the first driving data. determine a first virtual resource corresponding to the first driving behavior based on a correspondence between a driving behavior and a virtual resource.

4. The system of claim 2, wherein, The cloud server is further configured to sort the arrival order of the driver and the passenger based on the first arrival time and the second arrival time. determine the second virtual resource based on the position of the driver in the sorting result.

5. A driving confrontation method characterized by The method comprises: The control device generates a navigation path based on the starting point and the destination of the vehicle, acquires environmental data of the vehicle in the driving process based on the navigation path, and sends the environmental data to the cloud server; The cloud server generates a first navigation map based on the environmental data and pre-stored map data, and sends the first navigation map to the virtual reality device; The virtual reality device generates a first virtual driving environment based on the first navigation map; The control device acquires first driving data of a driver in the vehicle, and sends the first driving data to the cloud server; wherein the first driving data is obtained by the driver driving the vehicle based on the environmental data; The virtual reality device acquires second driving data of a passenger in the vehicle, and sends the second driving data to the cloud server; wherein the second driving data is obtained by the passenger driving a virtual vehicle in the first virtual driving environment; The cloud server generates a first driving result of the driver and a second driving result of the passenger based on the first driving data and the second driving data, and determines a driving confrontation result of the driver and the passenger based on the first driving result and the second driving result; The method further comprises: The cloud server determines a first position and a second position, the first position is a current position of the vehicle, and the second position is a current position of the virtual vehicle; if the second position is in front of the first position in the driving direction, a distance between the first position and the second position is determined; a third virtual resource is determined based on the distance, and the third virtual resource is transferred to an account corresponding to the passenger; When the distance is greater than a preset distance, the cloud server sends a first control instruction to the virtual reality device, the first control instruction is used to reduce the driving speed of the virtual vehicle; the virtual reality device reduces the driving speed of the virtual vehicle based on the first control instruction until the distance is not greater than the preset distance. When the distance is greater than the preset distance, the cloud server generates a second navigation map based on the map data and sends the second navigation map to the virtual reality device; and the passenger controls the virtual vehicle to travel based on the second navigation map.

6. An electronic device, comprising: The electronic device includes a processor and a memory, and the memory stores at least one program code, which is loaded and executed by the processor to implement the driving confrontation method as described in the control device, the cloud server, or the virtual reality device of claim 5.

7. A computer readable storage medium characterized by The computer readable storage medium stores at least one program code, which is loaded and executed by the processor to implement the driving confrontation method as described in claim 5.

Citation Information

Patent Citations

  • Virtual carrier control method, device and equipment and storage medium

    CN110876849A

  • Information display method and device, electronic equipment and storage medium

    CN114655240A