A vehicle end game processing method and apparatus
By acquiring local user identification data in the vehicle and verifying it with the cloud, the latest game progress and action mapping table are determined, game content is projected, and user interaction data is analyzed. This solves the problem of the inability of in-vehicle entertainment systems to provide continuous service, and enables a seamless cross-vehicle gaming experience and diversified entertainment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2026-03-27
AI Technical Summary
Existing in-vehicle entertainment systems cannot provide continuous service, preventing users from continuing previous game progress and enjoying entertainment with familiar actions in different vehicles, thus failing to meet the diverse needs of users.
By acquiring local user data with user identification, the latest motion mapping table data and game progress data are determined by comparing cloud verification codes. Game content is then projected inside or outside the vehicle. User interaction data is parsed based on the motion mapping table data to realize the game interaction process, and the coordinate system is updated and the motion mapping table is recorded when necessary.
It ensures that users can continue playing the game in different vehicles without affecting their progress, providing a diverse entertainment experience and avoiding any sense of incongruity. Through local and cloud data synchronization, it ensures that users can continue playing the game with familiar actions.
Smart Images

Figure CN115253269B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle-end game processing method and device. BACKGROUND
[0002] With the development of communication, chip and other scientific technologies, the automobile gradually evolves from a transportation tool into a "third space" integrating multiple scene elements such as travel, entertainment and office, after the office and the residence.
[0003] At present, users can enjoy music by using a car-mounted player and a car-mounted sound system, and can watch videos by using a car-mounted display screen, so as to improve the entertainment property of the vehicle as a "third space". However, these single car-mounted entertainment methods cannot meet the diversified needs of users. In addition, when the user is in different vehicles, the current car-mounted entertainment system cannot provide continuous services for the user, so that the user cannot continue to execute the previous game process and enjoy the entertainment with familiar actions. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application proposes, in a first aspect, a vehicle-end game processing method, comprising:
[0005] When receiving an opening instruction of a target game, a user identifier of a current user is acquired, and local user data corresponding to the user identifier is acquired; the user data at least includes action mapping table data and game progress data;
[0006] A local check code of the local user data is sent to a cloud end, so that the cloud end compares the local check code with a cloud end check code;
[0007] The latest action mapping table data and the latest game progress data are determined based on feedback information of the cloud end;
[0008] The game content is determined according to the latest game progress data, and a projection module is triggered to project the game content to a projection surface; the projection surface is located inside or outside the vehicle;
[0009] When receiving current interaction data of the user, the current interaction data is analyzed based on the latest action mapping table data, and a game interaction process is executed.
[0010] Optionally, after executing the game interaction process, the method further comprises:
[0011] When detecting that the projection surface position changes or the projection parameter of the projection module changes, a coordinate system calibration process is started;
[0012] According to the coordinate system calibration process, the projection module is triggered to play a first target image on the projection surface or the interaction module is triggered to play a first target voice, the first target image and the first target voice being used to guide the user to enter a target area;
[0013] When it is detected that the user is located in the target area, position information of the user is acquired;
[0014] Based on the position information, a game coordinate system is updated to obtain a new coordinate system;
[0015] Based on the new coordinate system, coordinate information corresponding to each element in a game picture is updated;
[0016] Information of the new coordinate system and the coordinate information corresponding to each element are stored in a local storage unit.
[0017] Optionally, after the local user data corresponding to the user identifier is acquired, the method further includes:
[0018] If it is detected that the local user data is empty, cloud user data corresponding to the user identifier is acquired from the cloud;
[0019] If it is detected that the cloud user data is empty, a second target image is played on the projection surface by the projection module, and / or a second target voice is played by the interaction module, the second target image and the second target voice being used to guide the user to wear a motion sensor;
[0020] When it is detected that the user wears the motion sensor, a third target image is played on the projection surface by the projection module, and / or a third target voice is played by the interaction module, the third target image and the third target voice being used to guide the user to repeatedly perform a sample action for multiple times;
[0021] Motion parameters of the sample action of the user are acquired from the motion sensor;
[0022] An average value of the motion parameters and a model of the motion sensor are recorded to obtain a motion mapping table of the user;
[0023] The motion mapping table is sent to the cloud.
[0024] Optionally, the current interaction data includes a current motion parameter and a current coordinate position, the current interaction data is parsed based on the latest motion mapping table data, and a game interaction process is performed, including:
[0025] A difference between the current motion parameter and a standard motion parameter in the motion mapping table is determined;
[0026] determining that the current action parameter matches the standard action parameter if the difference is less than a preset difference threshold value;
[0027] obtaining an action identifier corresponding to the standard action parameter;
[0028] determining an interaction result corresponding to the current interaction data based on the action identifier, the current coordinate position and a preset game logic;
[0029] triggering the projection module to play an image corresponding to the interaction result on the projection surface.
[0030] Optionally, after the game interaction process is executed, the method further comprises:
[0031] terminating the game process and sending a closing signal to the projection module when an end signal of the target game is received from the interaction module or a vehicle power low signal is obtained from the acquisition module;
[0032] obtaining current game progress information and sending the game progress information to the cloud.
[0033] Optionally, the determining of the latest action mapping table data and the latest game progress data based on the feedback information of the cloud comprises:
[0034] determining the local user data as the latest information when the feedback information of the cloud is that the local check code and the cloud check code are consistent;
[0035] when the feedback information of the cloud is that the local check code and the cloud check code are inconsistent and the user data update package sent by the cloud is received, updating the local user data according to the user data update package to obtain the latest action mapping table data and the latest game progress data.
[0036] The second aspect of the application provides a vehicle-end game processing device, which comprises:
[0037] a local user data acquisition module configured to obtain a user identifier of a current user and obtain local user data corresponding to the user identifier when an opening instruction of a target game is received; the user data at least comprises action mapping table data and game progress data;
[0038] a comparison module configured to send a local check code of the local user data to the cloud, so that the cloud compares the local check code with a cloud check code;
[0039] a latest data determination module configured to determine the latest action mapping table data and the latest game progress data based on feedback information of the cloud;
[0040] The first triggering module is configured to determine game content according to the latest game progress data, and trigger the projection module to project the game content to a projection surface; the projection surface is located inside or outside the vehicle.
[0041] The interaction module is configured to, when receiving current interaction data of the user, analyze the current interaction data based on the latest action mapping table data, and execute a game interaction process.
[0042] Optionally, the device further comprises:
[0043] The calibration process starting module is configured to, when detecting that the projection surface position changes or the projection parameter of the projection module changes, start a coordinate system calibration process.
[0044] The second triggering module is configured to, according to the coordinate system calibration process, trigger the projection module to play a first target image on the projection surface or trigger the interaction module to play a first target voice; the first target image and the first target voice are used to guide the user to enter a target area.
[0045] The position information acquisition module is configured to, when detecting that the user is located in the target area, acquire position information of the user.
[0046] The coordinate system updating module is configured to update a game coordinate system based on the position information to obtain a new coordinate system.
[0047] The coordinate information updating module is configured to update coordinate information corresponding to each element in a game picture based on the new coordinate system.
[0048] The local storage module is configured to store information of the new coordinate system and the coordinate information corresponding to each element in a local storage unit.
[0049] Optionally, the device further comprises:
[0050] The cloud user data acquisition module is configured to, if detecting that the local user data is empty, acquire cloud user data corresponding to the user identifier from a cloud.
[0051] The third triggering module is configured to, if detecting that the cloud user data is empty, trigger the projection module to play a second target image on the projection surface and / or trigger the interaction module to play a second target voice; the second target image and the second target voice are used to guide the user to wear an action sensor.
[0052] a fourth triggering module configured to trigger the projection module to play a third target image on the projection surface and / or trigger the interaction module to play a third target voice when the action sensor is detected, the third target image and the third target voice being used to guide the user to repeatedly perform the example action for multiple times;
[0053] an action parameter acquisition module configured to acquire an action parameter of the example action of the user from the action sensor;
[0054] a recording module configured to record an average value of the action parameter and a model of the action sensor to obtain an action mapping table of the user;
[0055] a mapping table sending module configured to send the action mapping table to the cloud.
[0056] Optionally, the interaction module is specifically configured to:
[0057] determine a difference between the current action parameter and a standard action parameter in the action mapping table;
[0058] if the difference is less than a preset difference threshold, determine that the current action parameter matches the standard action parameter;
[0059] acquire an action identifier corresponding to the standard action parameter;
[0060] determine an interaction result corresponding to the current interaction data based on the action identifier, the current coordinate position and a preset game logic;
[0061] trigger the projection module to play an image corresponding to the interaction result on the projection surface.
[0062] Optionally, the device further comprises:
[0063] a termination module configured to terminate a game process and send a closing signal to the projection module when an end signal of a target game is received from the interaction module or a low power signal of a vehicle is acquired from the acquisition module;
[0064] a progress information acquisition module configured to acquire current game progress information and send the game progress information to the cloud.
[0065] Optionally, the latest data determination module is specifically configured to:
[0066] when the feedback information of the cloud is consistent with the local check code and the cloud check code, determine the local user data as the latest information;
[0067] When the feedback information of the cloud is that the local check code and the cloud check code are inconsistent, and the user data update package sent by the cloud is received, the local user data is updated according to the user data update package, and the latest action mapping table data and the latest game progress data are obtained.
[0068] The third aspect of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the vehicle-side game processing method as described in the first aspect.
[0069] The fourth aspect of the present application provides a computer readable storage medium, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the vehicle-side game processing method as described in the first aspect.
[0070] According to the specific embodiments provided by the present application, the present application has the following technical effects:
[0071] The vehicle-side game processing method provided by the embodiments of the present application, when receiving an opening instruction of a target game, acquires a user identifier of a current user; sends a local check code of user data corresponding to the user identifier to a cloud, so that the cloud compares the local check code with a cloud check code, and the user data at least includes action mapping table data and game progress data; determines the latest action mapping table data and the latest game progress data based on feedback information of the cloud; determines game content according to the latest game progress data, and triggers a projection module to project the game content to a projection surface; the projection surface is located inside or outside a vehicle; when receiving current interaction data of the user, analyzes the current interaction data based on the latest action mapping table data, and executes a game interaction process. The present application provides a vehicle-mounted interactive game scheme that can be carried out inside and outside the vehicle, so that the user and the vehicle can effectively interact, diversified entertainment experience is provided for the user, and through synchronization of the user data between the local and the cloud, the game progress is not affected when the user plays across vehicles, familiar actions are used for entertainment, and discomfort is avoided.
[0072] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0073] In order to more clearly illustrate the technical solutions of the present application, the drawings required to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0074] Figure 1 The step flow chart of the first vehicle-end game processing method provided for the embodiment of the present application;
[0075] Figure 2 The step flow chart of the second vehicle-end game processing method provided for the embodiment of the present application;
[0076] Figure 3 The step flow chart of the third vehicle-end game processing method provided for the embodiment of the present application;
[0077] Figure 4 The step flow chart of the fourth vehicle-end game processing method provided for the embodiment of the present application;
[0078] Figure 5 The structural block diagram of the vehicle-end game processing device provided for the embodiment of the present application. DETAILED DESCRIPTION
[0079] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0080] The present specification provides the method operation steps as described in the embodiments or flow charts, but more or less operation steps can be included based on conventional or non-creative labor. In actual system or server product execution, the methods shown in the embodiments or drawings can be executed in sequence or in parallel (for example, in parallel processor or multi-thread processing environment).
[0081] Figure 1 The step flow chart of the first vehicle-end game processing method provided for the embodiment of the present application. The method comprises the following steps:
[0082] Step 101, when receiving the opening instruction of the target game, obtaining the user identifier of the current user, and obtaining the local user data corresponding to the user identifier; the user data at least includes action mapping table data and game progress data.
[0083] In the embodiment of the present application, the vehicle-end game system comprises a game processing module, a projection module, an interaction module, a collection module and a cloud module. The projection module comprises a projector and the like, and the interaction module comprises an interaction screen and a voice playing device. The user can interact with the game processing module through the interaction screen, which can receive voice input, touch input and key input of the user, and the voice playing device can play voice. The projection module can project game images on a projection surface.
[0084] The execution subject of the vehicle-end game processing method in the present application is the game processing module.
[0085] When the user conveys the starting instruction of the target game to the interaction screen through voice input, touch input or key input and the like, the interaction module transmits the starting instruction to the game processing module. The game processing module analyzes the user identifier from the starting instruction.
[0086] After the user identifier is analyzed, the user data corresponding to the user identifier is obtained from the local storage unit.
[0087] The action mapping table data refers to the mapping relationship table of the action identifier and the action parameter pre-recorded by the user before playing the game according to the prompt of the interaction module. In the game process, the game processing module can judge the standard degree of the user game action based on the action mapping table. The vehicle-end game system stores the action mapping table data in the local storage unit according to the user identifier, and simultaneously uploads it to the cloud module. The vehicle-end game system can guide the user to re-record the action mapping table data every certain period of time to maintain the latest action parameter.
[0088] Meanwhile, after the game is finished, the vehicle-end game system also stores the game progress data in the local storage unit, and simultaneously uploads it to the cloud module.
[0089] In addition, the user data can also include game version data.
[0090] Step 102, the local check code of the local user data is sent to the cloud end, so that the cloud end compares the local check code with the cloud check code, and the user data at least includes the action mapping table data and the game progress data.
[0091] When the starting instruction of the target game of the user is received, in order to ensure that the action mapping table data and the game progress data in the current local storage unit are in the latest state, the local check code of the action mapping table data and the game progress data of the local storage unit can be sent to the cloud end after the local check code is obtained, and the cloud end is requested to compare the cloud check code of the action mapping table data and the game progress data with the local check code.
[0092] Specifically, the local check code is a check code of the local user data, including an action mapping table check code and a game progress check code. The cloud check code is a check code of the cloud user data. The check code can be specifically a hash value of the corresponding data, and the check code is different when the data content is different.
[0093] Step 103, determining the latest action mapping table data and the latest game progress data based on the feedback information of the cloud.
[0094] Specifically, the cloud checks the local check code with the current cloud check code, if the local check code and the cloud check code are consistent after the check, it is determined that there is no need for synchronization and download, and the feedback information of the latest version is returned to the local game processing module; if the cloud check finds that the local needs synchronization and download, the cloud starts to send the difference package or the complete package of the latest information to the local game processing module, and the local completes the content update after receiving.
[0095] When the user plays the target game on multiple vehicles, the game progress of the user recorded in different vehicles is different, and through the synchronization of the game progress data between the local and the cloud, it can be ensured that the user can smoothly play the game according to the progress in any vehicle, and the game progress is not affected when the user plays across vehicles. In addition, if the user enters a new vehicle to play, the local storage module of the new vehicle has no action mapping table data of the user, and through the synchronization of the action mapping table data between the local and the cloud, it can be ensured that the user can quickly start the game on the new vehicle, without the need for the user to re-enter the action mapping table data, so that the user can play the game with familiar actions, and the sense of discomfort is avoided.
[0096] It should be noted that the action mapping table data and the game progress data can be updated asynchronously, that is, for the action mapping table data and the game progress data, only the data that has changed is updated, and the two kinds of data do not need to be updated at the same time each time.
[0097] In a possible implementation, the determining of the latest action mapping table data and the latest game progress data based on the feedback information of the cloud includes:
[0098] When the feedback information of the cloud is that the local check code and the cloud check code are consistent, the local user data is determined as the latest information;
[0099] When the feedback information of the cloud is that the local check code and the cloud check code are inconsistent, and the user data update package sent by the cloud is received, the local user data is updated according to the user data update package to obtain the latest action mapping table data and the latest game progress data.
[0100] In the embodiment of the present application, when the local check code and the cloud check code fed back by the cloud are consistent, the information that the local user data is the latest data is determined, and the action mapping table data and the game progress data stored locally are determined as the latest information; when the local check code and the cloud check code fed back by the cloud are inconsistent, and the user data update package sent by the cloud is received, the local user data is updated according to the user data update package, so as to ensure that the local stored data is in the latest state.
[0101] In addition, when the cloud finds through the check that the local user data is the updated version compared with the cloud user data, the cloud updates the cloud user data according to the local user data, so as to ensure that the cloud user data is in the latest state.
[0102] Step 104, determining game content according to the latest game progress data, and triggering a projection module to project the game content to a projection surface; the projection surface is located inside or outside the vehicle.
[0103] When it is determined that the local stored data is in the latest state, the game content to be presented is determined according to the latest game progress data. The game content is sent to the projection module as projection information, and the projection module is triggered to project the game content to the projection surface.
[0104] The projection module is located in the vehicle, and the user can set the position of the projection surface in the projection module in advance. The projection surface can be set inside the vehicle, or on the body of the vehicle or an object near the vehicle.
[0105] Step 105, when the current interaction data of the user is received, the current interaction data is analyzed based on the latest action mapping table data, and a game interaction process is executed.
[0106] The projection surface displays the game content, and the user plays the game in the projection surface. The collection module of the vehicle-side game system reads the data of the collection devices such as the three-dimensional camera, the motion sensor and the microphone, and obtains the real-time position, motion and sound of the user.
[0107] Based on the created coordinate system and the latest action mapping table data, the position coordinate of the user, the motion made by the user and the sound emitted by the user are analyzed, the accuracy of the position, the motion and the sound of the user is judged, and the corresponding game interaction logic is executed.
[0108] Then, the screen corresponding to the game interaction logic to be displayed is transmitted to the projection module, the projection module refreshes the projection content, and the whole system completes one interaction cycle with the user. The above steps are repeated to realize the continuous game interaction of the user.
[0109] In a possible implementation, the current interaction data includes a current action parameter and a current coordinate position, the current interaction data is parsed based on the latest action mapping table data, and a game interaction process is performed, including the following steps 1051-1055.
[0110] Step 1051, determining a difference between the current action parameter and a standard action parameter in the action mapping table.
[0111] Step 1052, if the difference is less than a preset difference threshold, determining that the current action parameter matches the standard action parameter.
[0112] Step 1053, obtaining an action identifier corresponding to the standard action parameter.
[0113] Step 1054, determining an interaction result corresponding to the current interaction data based on the action identifier, the current coordinate position, and a preset game logic.
[0114] Step 1055, triggering the projection module to play an image corresponding to the interaction result on the projection surface.
[0115] In steps 1051-1055, when the difference between the current action parameter of the user and the standard action parameter is less than the difference threshold, it can be considered that the user is making the action, and the corresponding action identifier, i.e., action id, can be parsed.
[0116] Based on the current coordinate position (x, y, z) of the user and the action id of the user, the preset game logic is matched, and the interaction result is determined according to the matching result. The game processing module performs corresponding logic based on the user behavior. For example, if the user steps on a coordinate (x, y, z) of a mouse, a score can be obtained.
[0117] In summary, in the embodiment of the present application, when the opening instruction of the target game is received, the user identifier of the current user is acquired; the local check code of the user data corresponding to the user identifier is sent to the cloud end, so that the cloud end compares the local check code with the cloud check code, and the user data at least includes the action mapping table data and the game progress data; the latest action mapping table data and the latest game progress data are determined based on the feedback information of the cloud end; the game content is determined according to the latest game progress data, and the projection module is triggered to project the game content to the projection surface; the projection surface is located inside or outside the vehicle; when the current interaction data of the user is received, the current interaction data is analyzed based on the latest action mapping table data, and the game interaction process is executed. The scheme provides a vehicle-mounted interactive game scheme that can be carried out inside and outside the vehicle, enables effective interaction between the user and the vehicle, provides diversified entertainment experience for the user, and realizes that the game progress is not affected when the user plays the game across vehicles, the user can enjoy the game with familiar actions, and the sense of discomfort is avoided.
[0118] In a possible implementation manner, as shown in Figure 2 After the game interaction process is executed, the following steps are further included:
[0119] Step 201, when the position of the projection surface changes or the projection parameter of the projection module changes, a coordinate system calibration process is started.
[0120] When the projection surface is moved or the projection surface is an inclined surface, the position of the projection surface changes and the projection parameter of the projection module changes, which further causes the original coordinate system to be inaccurate. At this time, the original coordinate system cannot adapt to the new game, and the coordinate system needs to be repositioned and initialized.
[0121] At this time, prompt information for starting coordinate system calibration can be displayed on the projection surface. The user can confirm to start coordinate system calibration by performing an action, or freely select the timing of coordinate system calibration.
[0122] Step 202, according to the coordinate system calibration process, the projection module is triggered to play a first target image on the projection surface or the interaction module is triggered to play a first target voice, and the first target image and the first target voice are used to guide the user to enter a target area.
[0123] The target area generally refers to an area facing the projection surface and located in a preset range of the projection surface. When the user is located in the target area, the image of the user can be captured by the three-dimensional camera.
[0124] The first target image can be an image including text, and the text content can guide the user to enter the target area; the content of the first target voice can also guide the user to enter the target area. The user entering the target area can facilitate the game processing module to initialize the coordinate system.
[0125] In step 203, when it is detected that the user is located in the target area, the position information of the user is acquired.
[0126] The target area is a specific area range. When the user is located in the target area, the acquisition module further acquires the specific coordinate position information of the user through the three-dimensional camera, and transmits the coordinate position information to the game processing module.
[0127] In step 204, based on the position information, the game coordinate system is updated to obtain a new coordinate system.
[0128] The game processing module can set the position coordinate of the user as the origin of the coordinate system, and update the game coordinate system according to the origin of the coordinate system to obtain a new coordinate system.
[0129] In step 205, based on the new coordinate system, the coordinate information corresponding to each element in the game picture is updated.
[0130] The elements in the game picture refer to the function buttons of the game or the control elements in the game picture. The function buttons include up, down, left and right buttons, start and exit buttons, etc., and the control elements include objects that the user needs to hit or avoid, etc.
[0131] The coordinate positions of the above elements can be updated based on the new origin of the coordinate system.
[0132] In step 206, the information of the new coordinate system and the coordinate information corresponding to each element are stored in the local storage unit.
[0133] The coordinate system information is generated for the vehicle and the current environment, and the environments of each vehicle are different, so the coordinate system information does not need to be sent to the cloud for saving and updating. Therefore, the latest coordinate information can be saved in the local storage unit for direct use in the subsequent game process.
[0134] In steps 201-206, when the projection surface position changes or the projection parameter of the projection module changes, the coordinate system calibration process is started, and the user is guided to enter the target area. The coordinate system is calibrated according to the position of the user, so that the game coordinate system can be kept accurate at any time, which is beneficial to accurately judge the action standard degree of the user in the game process, reduces the probability of misjudgment, and improves the game experience of the user.
[0135] In one possible implementation, as Figure 3As shown, after the local user data corresponding to the user identifier is acquired, the following steps are further included:
[0136] Step 301: If the local user data is detected as empty, the cloud user data corresponding to the user identifier is acquired from the cloud.
[0137] In the embodiment of the application, if the local user data is found to be empty, the user data is acquired from the cloud, which mainly includes the action mapping table data and the game progress data of the user.
[0138] Step 302: If the cloud user data is detected as empty, the projection module is triggered to play a second target image on the projection surface, and / or the interaction module is triggered to play a second target voice, the second target image and the second target voice being used to guide the user to wear the action sensor.
[0139] When the cloud user data is also empty, it indicates that the action mapping table of the user has not been recorded before. In order to provide the user with a better game experience, the action mapping table of the user can be recorded before the game starts.
[0140] Specifically, the game processing module triggers the projection module to play a second target image on the projection surface, and at the same time, the interaction module can also be triggered to play a second target voice, the second target image and the second target voice both being used to guide the user to wear the action sensor. The second target image can include corresponding guide text.
[0141] The action sensor can include a smart glove, a smart leg band and the like wearable devices.
[0142] Step 303: When the user is detected to wear the action sensor, the projection module is triggered to play a third target image on the projection surface, and / or the interaction module is triggered to play a third target voice, the third target image and the third target voice being used to guide the user to repeatedly perform an example action multiple times.
[0143] When the game processing module receives the image of the user wearing the action sensor and receives the sensing signal sent by the action sensor, it is confirmed that the user has worn the action sensor. At this time, the game processing module triggers the projection module to play a third target image on the projection surface, and at the same time, the interaction module can also be triggered to play a third target voice. The third target image and the third target voice are both used to guide the user to repeatedly perform an example action multiple times. The third target image can include corresponding images and text of the example action, and the third target voice can include an action method explanation of the example action.
[0144] The reason why the user needs to repeatedly perform the example action multiple times is to balance the error of a single action and facilitate the grasping of the user's action habits.
[0145] Step 304, acquiring the action parameters of the example action of the user from the action sensor.
[0146] The action parameters of the user are acquired by the action sensor and transmitted to the game processing module, which processes the action parameters. The action parameters can include the force, angle, and other parameters of the action.
[0147] Step 305, recording the average value of the action parameters and the model of the action sensor to obtain the action mapping table of the user.
[0148] The game processing module records the average value of the action parameters of various different actions and creates the action mapping table of the user according to the action content, action identifier, and sensor model.
[0149] An action mapping table can be created and recorded for each action sensor model identified for each user to facilitate the user's use when wearing different action sensor devices for gaming.
[0150] The action mapping table can be as shown in Table 1:
[0151] Table 1 Action mapping table
[0152]
[0153] Step 306, sending the action mapping table to the cloud.
[0154] The game processing module stores the created action mapping table locally while also sending a copy to the cloud to facilitate the user's use when gaming across vehicles.
[0155] In steps 301-306, when it is detected that the local user data and the cloud user data are both empty, the user is guided to wear the action sensor, and the action mapping table is recorded, which can facilitate the user's use in subsequent games; the action mapping table is sent to the cloud, which can facilitate the user's use when gaming across vehicles.
[0156] In one possible implementation, as shown in Figure 4 After executing the game interaction process, steps 401-402 are further included:
[0157] Step 401, when receiving an end signal of the target game from the interaction module or acquiring a low vehicle power signal from the acquisition module, terminating the game process and sending a closing signal to the projection module;
[0158] Step 402, acquiring the current game progress information and sending the game progress information to the cloud.
[0159] In steps 401-402, the user can trigger the game end signal by corresponding actions, or the user can trigger the game end signal by touching the corresponding button on the interaction module, and at the same time, the game processing module itself can also trigger the game end signal when reading the signal of low vehicle power.
[0160] When the game end signal is triggered, the game processing module ends the current game process and sends a closing signal to the projection module.
[0161] The game processing module saves the game progress in the local storage unit and at the same time sends the game progress information to the cloud for use by the user next time.
[0162] Figure 5 A structural block diagram of a vehicle-end game processing device provided for an embodiment of the application is provided.
[0163] As shown in Figure 5 The vehicle-end game processing device 500 includes:
[0164] A local user data acquisition module 501 is configured to acquire the user identifier of the current user and acquire the local user data corresponding to the user identifier when receiving the opening instruction of the target game; the user data at least includes the action mapping table data and the game progress data;
[0165] A comparison module 502 is configured to send the local check code of the local user data to the cloud end, so that the cloud end compares the local check code with the cloud check code;
[0166] A latest data determination module 503 is configured to determine the latest action mapping table data and the latest game progress data based on the feedback information of the cloud end;
[0167] A first trigger module 504 is configured to determine the game content according to the latest game progress data, and trigger the projection module to project the game content to the projection surface; the projection surface is located inside or outside the vehicle;
[0168] An interaction module 505 is configured to analyze the current interaction data based on the latest action mapping table data when receiving the current interaction data of the user, and execute the game interaction process.
[0169] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0170] In yet another embodiment provided by the present application, an apparatus is provided, which comprises a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by the processor to implement the vehicle-end game processing method described in the embodiments of the present application.
[0171] In yet another embodiment provided by the present application, a computer readable storage medium is provided, which stores at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by a processor to implement the vehicle-end game processing method described in the embodiments of the present application.
[0172] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media sets. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk (SSD)) and the like.
[0173] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0174] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0175] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for processing games on a vehicle, characterized in that, The method includes: When a command to start the target game is received, the user identifier of the current user is obtained, and the local user data corresponding to the user identifier is obtained; the user data includes at least action mapping table data and game progress data; The local user data's local verification code is sent to the cloud so that the cloud can compare the local verification code with the cloud verification code; The latest motion mapping table data and the latest game progress data are determined based on the feedback information from the cloud. The game content is determined based on the latest game progress data, and the projection module is triggered to project the game content onto a projection surface; the projection surface is located inside or outside the vehicle. When the user's current interaction data is received, the current interaction data is parsed based on the latest action mapping table data, and the game interaction process is executed; After executing the game interaction process, it also includes: When a change in the position of the projection surface or a change in the projection parameters of the projection module is detected, the coordinate system calibration process is initiated. According to the coordinate system calibration process, the projection module is triggered to play a first target image on the projection surface or the interaction module is triggered to play a first target voice. The first target image and the first voice are used to guide the user into the target area. When the user is detected to be in the target area, the user's location information is obtained; Based on the location information, update the game coordinate system to obtain a new coordinate system; Update the coordinate information of each element in the game screen based on the new coordinate system; The information of the new coordinate system and the coordinate information corresponding to each element are stored in the local storage unit.
2. The method according to claim 1, characterized in that, After obtaining the local user data corresponding to the user identifier, the process also includes: If the local user data is detected to be empty, then the cloud user data corresponding to the user identifier is retrieved from the cloud. If the cloud user data is detected to be empty, the projection module is triggered to play a second target image on the projection surface, and / or the interaction module is triggered to play a second target voice. The second target image and the second target voice are used to guide the user to wear the motion sensor. When the user's wearable motion sensor is detected, the projection module is triggered to play a third target image on the projection surface, and / or the interaction module is triggered to play a third target voice. The third target image and the third target voice are used to guide the user to repeatedly perform the example action. Obtain motion parameters of the user's example action from the motion sensor; Record the average value of the motion parameters and the model of the motion sensor to obtain the user's motion mapping table; The action mapping table is sent to the cloud.
3. The method according to claim 1, characterized in that, The current interaction data includes current action parameters and current coordinates. Parsing the current interaction data based on the action mapping table and executing the game interaction process includes: Determine the difference between the current action parameters and the standard action parameters in the action mapping table; If the difference is less than a preset difference threshold, then it is determined that the current action parameter matches the standard action parameter; Obtain the action identifier corresponding to the standard action parameters; Based on the action identifier, the current coordinate position, and the preset game logic, determine the interaction result corresponding to the current interaction data; The projection module is triggered to play the image corresponding to the interaction result on the projection surface.
4. The method according to claim 1, characterized in that, After executing the game interaction process, it also includes: When the game ends upon receiving a signal from the interaction module or a signal indicating low vehicle battery from the acquisition module, the game process is terminated, and a shutdown signal is sent to the projection module. Obtain the current game progress information and send the game progress information to the cloud.
5. The method according to claim 1, characterized in that, The process of determining the latest motion mapping data and the latest game progress data based on the feedback information from the cloud includes: When the feedback information from the cloud indicates that the local verification code and the cloud verification code match, the local user data is determined to be the latest information; When the feedback information from the cloud indicates that the local verification code and the cloud verification code are inconsistent, and a user data update package sent by the cloud is received, the local user data is updated according to the user data update package to obtain the latest action mapping table data and the latest game progress data.
6. A vehicle-mounted game processing device, characterized in that, The device includes: The local user data acquisition module is used to acquire the user identifier of the current user and the local user data corresponding to the user identifier when a start command for the target game is received; the user data includes at least action mapping table data and game progress data; The comparison module is used to send the local verification code of the local user data to the cloud, so that the cloud can compare the local verification code and the cloud verification code; The latest data determination module is used to determine the latest action mapping table data and the latest game progress data based on the feedback information from the cloud. The first trigger module is used to determine the game content based on the latest game progress data and trigger the projection module to project the game content onto a projection surface; the projection surface is located inside or outside the vehicle. The interaction module is used to parse the current interaction data based on the latest action mapping table data and execute the game interaction process when it receives the user's current interaction data; The device further includes: The calibration process initiation module is used to initiate the coordinate system calibration process when a change in the position of the projection surface or a change in the projection parameters of the projection module is detected. The second triggering module is used to trigger the projection module to play a first target image on the projection surface or trigger the interaction module to play a first target voice according to the coordinate system calibration process. The first target image and the first target voice are used to guide the user into the target area. The location information acquisition module is used to acquire the user's location information when the user is detected to be located in the target area; The coordinate system update module is used to update the game coordinate system based on the location information to obtain a new coordinate system; The coordinate information update module is used to update the coordinate information of each element in the game screen based on the new coordinate system. The local storage module is used to store the information of the new coordinate system and the coordinate information corresponding to each element in the local storage unit.
7. The apparatus according to claim 6, characterized in that, The device further includes: The cloud user data acquisition module is used to acquire cloud user data corresponding to the user identifier from the cloud if the local user data is detected to be empty. The third trigger module is used to trigger the projection module to play a second target image on the projection surface if the cloud user data is detected to be empty, and / or to trigger the interaction module to play a second target voice, wherein the second target image and the second target voice are used to guide the user to wear the motion sensor; The fourth trigger module is used to trigger the projection module to play a third target image on the projection surface and / or trigger the interaction module to play a third target voice when the user wears the motion sensor. The third target image and the third target voice are used to guide the user to repeatedly perform the example action. An action parameter acquisition module is used to acquire action parameters of an example action of the user from the action sensor; A recording module is used to record the average value of the motion parameters and the model of the motion sensor to obtain the user's motion mapping table; The mapping table sending module is used to send the action mapping table to the cloud.
8. The apparatus according to claim 6, characterized in that, The current interaction data includes current action parameters and current coordinate position. The interaction module is specifically used for: Determine the difference between the current action parameters and the standard action parameters in the action mapping table; If the difference is less than a preset difference threshold, then it is determined that the current action parameter matches the standard action parameter; Obtain the action identifier corresponding to the standard action parameters; Based on the action identifier, the current coordinate position, and the preset game logic, determine the interaction result corresponding to the current interaction data; The projection module is triggered to play the image corresponding to the interaction result on the projection surface.
9. The apparatus according to claim 6, characterized in that, The device further includes: The termination module is used to terminate the game process and send a shutdown signal to the projection module when it receives an end signal from the interaction module or a low vehicle battery signal from the acquisition module. The progress information acquisition module is used to acquire the current game progress information and send the game progress information to the cloud.
10. The apparatus according to claim 6, characterized in that, The latest data determination module is specifically used for: When the feedback information from the cloud indicates that the local verification code and the cloud verification code match, the local user data is determined to be the latest information; When the feedback information from the cloud indicates that the local verification code and the cloud verification code are inconsistent, and a user data update package sent by the cloud is received, the local user data is updated according to the user data update package to obtain the latest action mapping table data and the latest game progress data.
11. An electronic device, characterized in that, The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the vehicle-mounted game processing method as described in any one of claims 1-5.
12. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or instruction set is loaded and executed by a processor to implement the vehicle-mounted game processing method as described in any one of claims 1-5.
Citation Information
Patent Citations
Data synchronization method, device and system
CN109714420A
Interactive method and device, electronic equipment and computer readable storage medium
CN110288992A
Vehicle end game method, device, system and equipment and storage medium
CN112891937A