Game display method and device, vehicle and storage medium
By simultaneously displaying the virtual game and the real environment image in front of the vehicle in the display interface of the wearable device, the problem of driver's perspective occlusion during virtual game operation is solved, and the safety of virtual games in the car is improved.
Patent Information
- Application Number
- CN202510373432.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-06-10
AI Technical Summary
When running virtual games, the driver's perspective may be obscured by the wearable device, resulting in reduced safety in the vehicle driving.
By acquiring the connection method of the wearable device and the vehicle central control system and the current status of the vehicle, when the virtual game running conditions are met, the virtual game is run in the wearable device, and the external image and the game screen of the virtual game are displayed simultaneously in the display interface. The external image is the real environment image in front of the vehicle collected by the image acquisition device.
When displaying the game screen of the virtual game, you can also display the real environment image in front of the vehicle, improving the safety of vehicle driving while playing virtual games in the vehicle.
Smart Images

Figure CN120114834A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of vehicles, and particularly relates to a game display method, device, vehicle, and storage medium. Background Art
[0002] With the continuous progress of technology, the concept of metaverse games has begun to migrate to the in-vehicle field. By applying metaverse game technology to the in-vehicle system, a richer, safer, and more entertaining driving experience can be provided for drivers and passengers. For example, by using augmented reality technology, navigation instructions and real-time traffic information can be projected onto the windshield, eliminating the need for the driver to take their eyes off the road. In addition, virtual reality technology can also be used in the in-vehicle entertainment system to provide passengers with immersive entertainment experiences, such as virtual tours and virtual reality movies. However, when running virtual games, the driver's view is blocked by wearable devices, so the safety of driving the vehicle still needs to be improved. Summary of the Invention
[0003] In view of the above problems, this application proposes a game display method, device, vehicle, and storage medium to address these issues.
[0004] In a first aspect, an embodiment of this application provides a game display method, which includes: obtaining the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the vehicle's central control system; based on the connection method and the current state of the vehicle, when it is determined that the operating conditions for the virtual game are met, running the virtual game on the wearable device; when the virtual game is running, displaying an external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is a real environment image of the front of the vehicle collected by an image acquisition device.
[0005] In a second aspect, an embodiment of this application provides a game display device, which includes: an obtaining unit for obtaining the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the vehicle's central control system; a running unit for running the virtual game on the wearable device when it is determined that the operating conditions for the virtual game are met based on the connection method and the current state of the vehicle; a display unit for displaying an external image and the game screen of the virtual game on the display interface of the wearable device when the virtual game is running, where the external image is a real environment image of the front of the vehicle collected by an image acquisition device.
[0006] In a third aspect, an embodiment of the present application provides a wearable device, including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program code is stored, and wherein the above-mentioned method is executed when the program code runs.
[0008] An embodiment of the present application provides a game display method, device, vehicle, and storage medium. First, obtain the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the vehicle's central control system, and then, based on the connection method and the current state of the vehicle, when it is determined that the operating conditions of the virtual game are met, run the virtual game on the wearable device. When the virtual game is running, display an external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is a real environment image in front of the vehicle collected by an image acquisition device. By the above method, the real environment image in front of the vehicle can also be displayed when the game screen of the virtual game is displayed, which can improve the safety of vehicle driving when playing virtual games in the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0010] Figure 1 Shows a flowchart of a game display method proposed in an embodiment of the present application;
[0011] Figure 2 Shows a flowchart of a game display method proposed in another embodiment of the present application;
[0012] Figure 3 Shows a schematic diagram of displaying an external image in the form of an independent window in the game screen in another embodiment of the present application;
[0013] Figure 4 Shows a flowchart of a game display method proposed in yet another embodiment of the present application;
[0014] Figure 5 Shows a structural block diagram of a game display device proposed in an embodiment of the present application;
[0015] Figure 6 The block diagram of a game display device proposed by an embodiment of the present application is shown;
[0016] Figure 7 The block diagram of a vehicle for executing the game display method according to an embodiment of the present application in an embodiment of the present application is shown;
[0017] Figure 8 The storage unit for storing or carrying the program code for implementing the game display method according to an embodiment of the present application in an embodiment of the present application is shown. Detailed implementation manners
[0018] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0019] An embodiment of the present application proposes a game display method, device, vehicle, and storage medium. First, obtain the current connection method of the wearable device and the current state of the vehicle. The connection method is the connection method between the wearable device and the vehicle's central control system. Then, based on the connection method and the current state of the vehicle, when it is determined that the operating conditions for the virtual game are met, run the virtual game on the wearable device. When the virtual game is running, display the external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is the real environment image in front of the vehicle collected by the image acquisition device. By the above method, the real environment image in front of the vehicle can also be displayed when displaying the game screen of the virtual game, which can improve the safety of vehicle driving when playing virtual games in the vehicle.
[0020] Next, each embodiment of the present application will be specifically described in conjunction with the accompanying drawings.
[0021] Please refer to Figure 1 , a game display method provided by an embodiment of the present application, the method includes:
[0022] Step S110: Obtain the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the vehicle's central control system.
[0023] In the embodiments of the present application, the wearable device is a device that can run virtual games. The wearable device can be integrated into a vehicle and is equipped with a corresponding display device and an operation handle. Among them, the display device can be used to display game screens and other screens that need to be displayed in real time. In the embodiments of the present application, the wearable device can be a game helmet, game glasses, etc., which are not specifically limited herein. The current connection method of the wearable device refers to the connection method between the wearable device and the vehicle's central control system, including wired connection and wireless connection. If it is a wired connection, it means that the wearable device can access the vehicle's control system; if it is a wireless connection, it means that the wearable device may not occupy the system resources inside the vehicle (such as the computing power of the main control chip, operation devices such as the steering wheel and pedals in the vehicle).
[0024] The current state of the vehicle includes whether the vehicle is in a driving state, whether the battery power in the vehicle is sufficient, etc.
[0025] Step S120: Based on the connection method and the current state of the vehicle, when it is determined that the operating conditions for the virtual game are met, run the virtual game in the wearable device.
[0026] In the embodiments of the present application, the virtual game can be a metaverse game. The metaverse game is a brand-new game form based on virtual reality and augmented reality. It integrates the real world and the virtual world, providing players with a virtual space with infinite possibilities. The metaverse game relies on powerful computing power and graphics processing technology to achieve highly realistic virtual scenes and interactive experiences.
[0027] The operating conditions for the virtual game are the conditions that the wearable device and the vehicle need to meet when the virtual game can be run in the vehicle, which are preset.
[0028] In the embodiments of the present application, a safety assistance program is set in the vehicle. The safety assistance program can monitor the states of the vehicle and the wearable device in real time. When it detects that both the connection method and the current state of the vehicle meet the operating conditions for the virtual game, the safety assistance program can allow the virtual game in the wearable device to run.
[0029] Step S130: When the virtual game is running, display the external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is a real environment image in front of the vehicle collected by an image acquisition device.
[0030] In the embodiments of the present application, the display interface of the wearable device refers to the display interface of the display device of the wearable device. The external image is a real environment image in front of the vehicle collected by the image acquisition device in real time. The image acquisition device can be a camera set in the vehicle.
[0031] It can be known that when the driver runs a virtual game in the vehicle, the driver's view may be blocked by the wearable device. At this time, the external environmental conditions can be fed back through the images collected by the image acquisition device. Specifically, during the operation of the virtual game, the external images can be displayed on the display interface of the wearable device, and the external images can reflect the environmental conditions of the real world.
[0032] When the wearable device starts to run a virtual game, the external images collected by the image acquisition device and the real-time game screen of the virtual game can be simultaneously displayed on the display interface of the wearable device.
[0033] A game display method provided by the present application first obtains the current connection method of the wearable device and the current state of the vehicle. The connection method is the connection method between the wearable device and the vehicle's central control system. Then, based on the connection method and the current state of the vehicle, when it is determined that the operating conditions of the virtual game are met, the virtual game is run on the wearable device. When the virtual game is running, the external images and the game screen of the virtual game are displayed on the display interface of the wearable device, where the external images are real environment images in front of the vehicle collected by the image acquisition device. Through the above method, the real environment images in front of the vehicle can also be displayed when the game screen of the virtual game is displayed, which can improve the safety of vehicle driving when playing virtual games in the vehicle.
[0034] Please refer to Figure 2 , a game display method provided by an embodiment of the present application, the method includes:
[0035] Step S210: Obtain the current working state of the wearable device.
[0036] In the embodiment of the present application, obtaining the current working state of the wearable device is to avoid the operation of the wearable device affecting the working state of the vehicle's central control system. If the wearable device consumes a large amount of power, or the voltage fluctuations caused during operation are relatively frequent, or large voltage jumps occur, the operation of the wearable device is stopped to avoid the wearable device affecting the normal operation of the vehicle's control system.
[0037] Therefore, obtaining the current working state of the wearable device in the embodiment of the present application refers to obtaining the current power consumption of the wearable device, whether voltage fluctuations and voltage jumps are caused, etc.
[0038] Step S220: If the working state is a preset working state, obtain the current connection method of the wearable device and the current state of the vehicle, where the preset working state is a working state that does not affect the normal operation of the vehicle's central control system.
[0039] In an embodiment of the present application, before determining whether the current working state of the wearable device is a preset working state, corresponding thresholds can be set in advance for the parameters in the wearable device that cause the vehicle's central control system to operate. The threshold for each parameter can be set to the minimum value when the vehicle's central control system is operating normally. Furthermore, when the current working state of the wearable device is obtained, the obtained parameters can be compared with their corresponding thresholds to determine whether the working state of the wearable device is the preset working state.
[0040] Step S230: Based on the connection method and the current state of the vehicle, determine whether the operating conditions of the virtual game are satisfied.
[0041] In an embodiment of the present application, after obtaining the current connection method of the wearable device and the current state of the vehicle, it can be determined whether to run the virtual game in the wearable device according to the current connection method of the host and the current state of the vehicle.
[0042] As a method, if the connection method is a wired connection and the current state of the vehicle is a stopped state, it is determined that the operating conditions of the virtual game are satisfied; or, if the connection method is a wireless connection and the current state of the vehicle is a fully charged state, it is determined that the operating conditions of the virtual game are satisfied.
[0043] Generally, if the wearable device is wired-connected to the vehicle and the vehicle is currently in a stopped state, the virtual game in the wearable device is allowed to run; if the wearable device is wirelessly connected to the vehicle and the vehicle's current power is sufficient, the virtual game in the wearable device is allowed to run.
[0044] That is to say, in an embodiment of the present application, after obtaining the current connection method of the wearable device and the current state of the vehicle, if the current connection method of the wearable device is a wired connection and the vehicle is in a stopped state, it can be determined that the operating conditions of the virtual game are satisfied; or, if the current connection method of the wearable device is a wireless connection and the vehicle's power is sufficient, it can be determined that the operating conditions of the virtual game are satisfied.
[0045] As a method, different connection identifiers can be set in advance for different connection methods, and then the current connection state of the wearable device can be determined through the currently obtained connection identifier; similarly, different state identifiers can be set in advance for different states of the vehicle, and then the current state of the vehicle can be determined through the currently obtained state identifier. Among them, the connection identifier is the unique identifier of the connection method, and the state identifier is the unique identifier of the vehicle state.
[0046] Step S240: When it is determined that the operating conditions of the virtual game are satisfied, run the virtual game in the wearable device.
[0047] In an embodiment of the present application, when it is determined that the operating conditions of the virtual game are met through the above method, the virtual game is run on the wearable device.
[0048] Step S250: When the virtual game is running, an external image and a game screen of the virtual game are displayed on the display interface of the wearable device, where the external image is a real environment image in front of the vehicle collected by the image acquisition device.
[0049] In an embodiment of the present application, when an external image and a game screen of the virtual game are displayed on the display interface of the wearable device, the external image can be displayed in a partial display area of the display interface, and the game screen of the virtual game can be displayed in another partial display area. Among them, in order not to affect the user's gaming experience, the display area for displaying the game screen of the virtual game can be much larger than the display area for displaying the external image.
[0050] Alternatively, the game screen of the virtual game is displayed full-screen or partially on the display interface of the wearable device, and the external image is floatingly displayed on the game screen. Among them, when the external image is floatingly displayed on the game screen, the external image can be displayed in the form of an independent window.
[0051] As a way, the game screen is displayed on the display interface of the wearable device, and the external image is displayed in the form of an independent window in the display interface.
[0052] Among them, displaying the external image in the form of an independent window in the display interface includes displaying the game screen full-screen or in a partial display area in the display interface, and displaying the external image in the form of an independent window in the game screen, or displaying the external image in the form of an independent window in the display area outside the game screen.
[0053] Specifically, the external image can be displayed in the form of an independent small window on the display interface of the display device; or, the external image can be displayed in the form of an independent small window in the game screen. Among them, the size of the independent window can be preset. Exemplarily, a schematic diagram of displaying the external image in the form of an independent window in the game screen can be as Figure 3 shown.
[0054] Optionally, when the external image is displayed in the form of an independent window, in order to avoid the independent window affecting the gaming experience of the virtual game, the independent window can be semi-transparently displayed or faded.
[0055] Among them, displaying the external image in the form of an independent window includes: if it is detected that the vehicle is in the autonomous driving state, displaying the external image in the form of an independent window; or, if it is detected that the vehicle is in the stopped state, in response to a window opening instruction, displaying the external image in the form of an independent window.
[0056] In the embodiment of the present application, after the virtual game runs, it will first determine whether to open an independent window to display the external image.
[0057] Specifically, if the vehicle is in a driving state, it is determined whether the vehicle is in the autonomous driving state. If the vehicle is in the autonomous driving state, an independent window is started to display the external image; if the autonomous driving is not enabled, the operation of the wearable device is blocked, and a prompt that the current state is not suitable for playing the game is issued.
[0058] If the vehicle is in the stopped state, the connection between the driving components on the vehicle and the vehicle master control is determined, and the player is allowed to select whether to open an independent window to display the external image. If the player selects to open the independent window, in response to the window opening instruction, the independent window is opened to display the external image.
[0059] Step S260: Monitor the driving road conditions of the vehicle based on the external image.
[0060] In the embodiment of the present application, the safety assistance program will monitor the images collected by the image acquisition device in real time, give early warnings of possible dangerous states, and remind the driver to switch to manual operation in a timely manner when necessary.
[0061] Step S270: If it is monitored that the driving road conditions change, give a risk warning.
[0062] As a method, when monitoring the driving road conditions of the vehicle, the external images within the time periods T1 and T2 can be compared. If the images of the road area change greatly, it indicates that the road conditions have changed, and it is possible that there are more vehicles. At this time, a risk warning is given.
[0063] This method determines the traffic conditions based on the changes in the number and position of vehicles in the road image. Specifically, the images within the time periods T1 and T2 are compared. If the images of the road area change greatly, it indicates that the road conditions have changed, and it may be due to the increase in the number of vehicles, resulting in a large difference in the images between the two time periods before and after. At this time, the system can give a risk warning. Through the image recognition and processing program, the road image can be analyzed and processed, and the road area and the vehicle information therein can be extracted, so as to be able to judge whether the road conditions have changed.
[0064] This method can achieve real-time monitoring and timely reflect changes in road traffic conditions. Secondly, it can automatically monitor road conditions, reducing the need for manual intervention, improving the accuracy and efficiency of monitoring, and making it possible to conduct virtual games in the case of autonomous driving.
[0065] As another method, a vehicle or pedestrian recognition is performed on external images in real time through an image recognition program. If a change in the number of vehicles or pedestrians is recognized, a risk warning is issued.
[0066] The image recognition program can perform vehicle or pedestrian recognition. If the number of vehicles or pedestrians in front changes, a risk warning is issued. This method has better accuracy compared to simply detecting differences between images. Moreover, with the development of machine learning technology, the accuracy of image recognition relying on artificial intelligence algorithms is relatively high. Also, if the installed camera itself has an image recognition program, it can monitor the number of vehicles and pedestrians on the road in real time without occupying the computing resources of the host or the vehicle's central control.
[0067] Optionally, the number and driving conditions of surrounding vehicles are judged through wireless communication. If there is a risk of collision with the nearest vehicle, a risk warning is issued.
[0068] This method involves communication between vehicles. Each vehicle is equipped with a wireless communication device and can exchange information with surrounding vehicles in real time. By receiving signals sent by other vehicles, a vehicle can learn information such as the number, speed, and driving direction of surrounding vehicles. At the same time, the vehicle also sends its own information to surrounding vehicles so that other vehicles can accurately judge their relative positions. When a vehicle judges that there is a risk of collision with the nearest vehicle, the system will immediately issue a risk warning. The warning can also be conveyed to the driver in various other ways, such as sound alerts, vibration warnings, or warning messages on the display screen.
[0069] Through this method, early warnings can be given, effectively reducing the occurrence of traffic accidents. On roads with heavy traffic such as highways, the distance between vehicles is often very close. Once a collision occurs, the consequences will be very serious. With the popularization of intelligent driving technology, the number of vehicles capable of in-vehicle communication will gradually increase. Therefore, through this method, vehicles can timely perceive the driving conditions of surrounding vehicles, avoiding the risks brought by blind driving.
[0070] A game display method provided by this application automatically monitors road conditions, reduces the need for manual intervention, improves the accuracy and efficiency of monitoring, and makes it possible to conduct virtual games in the case of autonomous driving.
[0071] Please refer to Figure 4, a game display method provided by an embodiment of the present application, the method comprising:
[0072] Step S310: Obtain the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the central control system of the vehicle.
[0073] Step S320: Based on the connection method and the current state of the vehicle, when it is determined that the operating conditions for the virtual game are met, run the virtual game on the wearable device.
[0074] Step S330: When the virtual game is running, display an external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is a real environment image in front of the vehicle collected by an image acquisition device.
[0075] Step S340: Obtain a pre-stored security policy from the wearable device or the control system of the vehicle, where the security policy is used to ensure the safety of the vehicle when the virtual game is running on the wearable device.
[0076] In the embodiment of the present application, the security policy of the virtual game is pre-stored in the storage areas of both the wearable device and the control system of the vehicle. The security policy of the virtual game refers to some prohibited policies to ensure the safety of the vehicle. For example, when the vehicle is driving, if the wearable device is connected to the vehicle by a wired connection method, it is prohibited for the wearable device to run the virtual game while the vehicle is running to avoid the operation of the wearable device affecting the normal driving of the vehicle; or, if the wearable device is connected to the vehicle by a wireless access method, if the wearable device occupies a large amount of network resources and affects the normal use of the vehicle network, the wearable device's occupancy of network resources is suspended, etc.
[0077] Step S350: Start the security policy when running the virtual game.
[0078] In the embodiment of the present application, the security policy is started simultaneously when the wearable device starts running the virtual game.
[0079] Step S360: If it is detected that the security policy is triggered, stop running the virtual game or disconnect the connection between the wearable device and the vehicle.
[0080] In the embodiment of the present application, if it is detected that the current operating condition of the wearable device meets the prohibited parameters in the security policy, it is determined that the security policy is triggered, and the wearable device is stopped from running, or further, the connection between the wearable device and the vehicle is disconnected. Wherein, the operating condition refers to the network resource occupancy situation of the wearable device, the connection method of the wearable device, etc., which are not specifically limited herein.
[0081] A game display method provided by this application can also display a real - environment image in front of the vehicle when displaying the game screen of a virtual game, which can improve the safety of vehicle driving when playing a virtual game in the vehicle. Moreover, during the operation of the virtual game, the wearable device and the vehicle are managed through a security policy, further improving the safety of vehicle driving.
[0082] Please refer to Figure 5 , a game display device 400 provided by an embodiment of this application, the device 400 includes:
[0083] An acquisition unit 410, configured to acquire the current connection method of the wearable device and the current state of the vehicle, where the connection method is the connection method between the wearable device and the vehicle's central control system.
[0084] As a way, the acquisition unit 410 is specifically configured to acquire the current working state of the wearable device; if the working state is a preset working state, acquire the current connection method of the wearable device and the current state of the vehicle, and the preset working state is a working state that does not affect the normal operation of the vehicle's central control system.
[0085] An operation unit 420, configured to, based on the connection method and the current state of the vehicle, when it is determined that the operating conditions of the virtual game are met, run the virtual game on the wearable device.
[0086] As a way, the operation unit 420 is specifically configured to, based on the connection method and the current state of the vehicle, determine whether the operating conditions of the virtual game are met; when it is determined that the operating conditions of the virtual game are met, run the virtual game on the wearable device.
[0087] As another way, the operation unit 420 is specifically configured to: if the connection method is a wired connection and the current state of the vehicle is a stopped state, determine that the operating conditions of the virtual game are met; or, if the connection method is a wireless connection and the current state of the vehicle is a fully - charged state, determine that the operating conditions of the virtual game are met.
[0088] A display unit 430, configured to, when the virtual game is running, display an external image and the game screen of the virtual game on the display interface of the wearable device, where the external image is a real - environment image in front of the vehicle collected by an image acquisition device.
[0089] As a way, the display unit 430 is specifically configured to display the game screen on the display interface of the wearable device, and display the external image in the form of an independent window on the display interface.
[0090] Further, the display unit 430 is specifically configured to display the external image in the form of an independent window if it is detected that the vehicle is in the autonomous driving state; or, if it is detected that the vehicle is in the stopped state, in response to a window opening instruction, display the external image in the form of an independent window.
[0091] Please refer to Figure 6 , the device 400 may further include:
[0092] A safety monitoring unit 440, configured to obtain a pre-stored safety policy from the wearable device or the vehicle control system, where the safety policy is used to ensure the safety of the vehicle when the virtual game is running on the wearable device; start the safety policy when the virtual game is running; if it is detected that the safety policy is triggered, stop running the virtual game or disconnect the wearable device from the vehicle.
[0093] A warning unit 450, configured to monitor the driving road conditions of the vehicle based on the external image; if it is monitored that the driving road conditions change, issue a risk warning.
[0094] It should be noted that the device embodiments in this application correspond to the foregoing method embodiments. The specific principles in the device embodiments can be referred to the content in the foregoing method embodiments and will not be elaborated here.
[0095] Next, a vehicle provided by this application will be described in conjunction with Figure 7 a vehicle provided by this application will be described.
[0096] Please refer to Figure 7 , based on the foregoing game display method and device, another vehicle 800 provided in the embodiments of this application that can execute the foregoing game display method. The vehicle 800 includes one or more (only one is shown in the figure) processors 802, a memory 804, a millimeter wave radar 806, and a network module 806 that are coupled to each other. Among them, a program that can execute the content in the foregoing embodiments is stored in the memory 804, and the processor 802 can execute the program stored in the memory 804.
[0097] Among them, the processor 802 may include one or more processing cores. The processor 802 is connected to various parts within the entire vehicle 800 through various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 804, and by invoking the data stored in the memory 804, it performs various functions of the vehicle 800 and processes data. Optionally, the processor 802 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 802 may integrate one or a combination of several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for the rendering and drawing of display content; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 802 and may be implemented separately through a communication chip.
[0098] The memory 804 may include random access memory (RAM) and may also include read-only memory. The memory 804 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 804 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the vehicle 800 (such as phone books, audio and video data, chat record data), etc.
[0099] The network module 806 is used to receive and transmit electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as communicating with a vehicle. The network module 806 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, subscriber identity module (SIM) cards, memories, and so on. The network module 806 can communicate with various networks such as the Internet, enterprise intranets, wireless networks or communicate with other devices through a wireless network. The above wireless network may include a cellular phone network, a wireless local area network or a metropolitan area network. For example, the network module 806 can interact with a base station.
[0100] Please refer to Figure 8 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable storage medium 900, and the program code can be called by a processor to execute the method described in the above method embodiment.
[0101] The computer-readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has a storage space for the program code 910 that executes any method step in the above method. These program codes can be read out from or written into one or more computer program products. The program code 910 can be compressed in an appropriate form, for example.
[0102] A game display method, device, vehicle and storage medium provided by the present application first obtain the current connection method of the wearable device and the current state of the vehicle. The connection method is the connection method between the wearable device and the vehicle's central control system. Then, based on the connection method and the current state of the vehicle, when it is determined that the operating conditions of the virtual game are met, the virtual game is run on the wearable device. When the virtual game is running, an external image and a game screen of the virtual game are displayed on the display interface of the wearable device, where the external image is a real environment image in front of the vehicle collected by an image acquisition device. By the above method, the real environment image in front of the vehicle can also be displayed when the game screen of the virtual game is displayed, which can improve the safety of vehicle driving when playing a virtual game in the vehicle.
[0103] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative rather than restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose of the present invention and the scope protected by the claims, and all of them fall within the protection scope of the present invention.
Claims
1. A game display method, characterized in that: The method comprises: Obtaining a current connection mode of the wearable device and a current state of the vehicle, wherein the connection mode is a connection mode between the wearable device and a central control system of the vehicle; Based on the connection mode and the current state of the vehicle, when it is determined that the running condition of the virtual game is met, running the virtual game in the wearable device; When the virtual game is running, an external image and a game screen of the virtual game are displayed in the display interface of the wearable device, wherein the external image is an image of the real environment in front of the vehicle captured by an image acquisition device.
2. The method according to claim 1, characterized in that The displaying of the external image and the game screen of the virtual game on the display interface of the wearable device includes: The game screen is displayed on the display interface of the wearable device, and the external image is displayed in the display interface in the form of an independent window.
3. The method according to claim 2, characterized in that The displaying of the external image in the form of an independent window includes: If it is detected that the vehicle is in an automatic driving state, displaying the external image in a separate window; or, If it is detected that the vehicle is in a stopped state, the external image is displayed in the form of an independent window in response to a window opening instruction.
4. The method according to claim 1, characterized in that The obtaining of the current connection mode of the wearable device and the current state of the vehicle includes: Obtaining the current working status of the wearable device; If the working state is a preset working state, obtaining the current connection mode of the wearable device and the current state of the vehicle, wherein the preset working state is a working state that does not affect the normal operation of the central control system of the vehicle; The step of running the virtual game in the wearable device based on the connection mode and the current state of the vehicle includes: Based on the connection mode and the current state of the vehicle, determining whether a running condition of the virtual game is met; When it is determined that the running condition of the virtual game is met, the virtual game is run in the wearable device.
5. The method according to claim 4, characterized in that The determining whether the running condition of the virtual game is met based on the connection mode and the current state of the vehicle includes: If the connection mode is a wired connection and the current state of the vehicle is a stopped state, it is determined that the running conditions of the virtual game are met; or, If the connection mode is a wireless connection and the current state of the vehicle is a sufficient power state, it is determined that the running conditions of the virtual game are met.
6. The method according to claim 1, characterized in that The method further comprises: Acquiring a pre-stored safety policy from the wearable device or the control system of the vehicle, wherein the safety policy is used to ensure the safety of the vehicle when the virtual game is run in the wearable device; When running the virtual game, starting the security policy; If it is detected that the safety policy is triggered, the virtual game is stopped or the wearable device is disconnected from the vehicle.
7. The method according to claim 1, characterized in that After displaying the external image and the game screen of the virtual game on the display interface of the wearable device, the method further includes: Based on the external image, monitoring the driving condition of the vehicle; If the monitored driving conditions change, a risk warning is issued.
8. A game display device, characterized in that: The device comprises: an acquisition unit, configured to acquire a current connection mode of the wearable device and a current state of the vehicle, wherein the connection mode is a connection mode between the wearable device and a central control system of the vehicle; an operating unit, configured to operate the virtual game in the wearable device when it is determined that the operating conditions of the virtual game are met based on the connection mode and the current state of the vehicle; The display unit is used to display an external image and a game screen of the virtual game in the display interface of the wearable device when the virtual game is running, wherein the external image is a real environment image in front of the vehicle captured by the image acquisition device.
9. A wearable device, characterized in that: The method comprises one or more processors and a memory; one or more programs are stored in the memory and are configured so that the one or more processors execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 7 is executed.