Vehicle game playing method and device, computer device and readable storage medium
The server-generated virtual game scene allows parents and children to interact on the same network, solving the problem of poor parent-child interaction and improving the parent-child play experience and fun.
Patent Information
- Application Number
- CN202211092363.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-08
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2042-09-08
AI Technical Summary
When children are playing on amusement park rides, parents can only watch from a distance, resulting in poor parent-child interaction and a lack of participation.
The game scene is generated by the server, using real-world images captured by user terminals and vehicle cameras to create a virtual game scene, allowing parents and children to interact in the same game network, and providing options for in-account online network and multi-account online network.
It enhances parent-child interaction, increases parents' sense of participation, and improves the play experience for both parents and children. The interactive behavior is virtualized and safe, and players have the freedom to choose game modes.
Smart Images

Figure CN115634447B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of games, in particular to a playing method and device of a vehicle game, a computer device and a readable storage medium. BACKGROUND
[0002] Due to environmental, target population and cost factors, the amusement vehicles in the shopping mall or amusement park are usually only for children to play.
[0003] When children play the amusement vehicles, parents can only watch from a distance, and the interaction between children and parents is poor, and parents have no sense of participation. SUMMARY
[0004] Therefore, the present application provides a playing method and device of a vehicle game, a computer device and a readable storage medium, which are used to improve the current situation that parents can only watch from a distance when children play the amusement vehicles, and the interaction between children and parents is poor, and parents have no sense of participation.
[0005] In a first aspect, the present application provides a playing method of a vehicle game, applied to a server, the server is used to generate a game scene according to a received image, and the method comprises the following steps:
[0006] receiving vehicle use information sent by a first user terminal, wherein the vehicle use information comprises account information of the first user terminal and vehicle information of at least one target vehicle, the user terminal and the vehicle are both provided with a camera and a display screen, and the display screen is used to display a picture of a game scene;
[0007] binding the vehicle information and the account information, and sending game network selection information to the first user terminal;
[0008] determining a game network of the first user terminal according to game network selection result information sent by the first user terminal, wherein the game network of the first user terminal is consistent with a game network of the target vehicle, and the game network comprises an account online network and a multi-account online network;
[0009] if the game network is the account online network, generating a local game network corresponding to the first user terminal, and controlling the first user terminal and the target vehicle to join the local game network;
[0010] if the game network is the multi-account online network, controlling the first user terminal and the target vehicle to join a pre-generated public game network;
[0011] Send game start information to the first user terminal and the target vehicle, wherein both the first user terminal and the target vehicle are used to capture images using cameras and send the images to the server when they receive the game start information;
[0012] A game scene is generated based on the game network and the received images, and the game scene is sent to the first user terminal and the target vehicle. The user terminal and the vehicle, which are on a public game network or on the same local area game network, display the same game scene.
[0013] In the vehicle game playing method provided by this embodiment of the invention, when the server receives vehicle usage information sent by the user through the first user terminal, that is, when the server receives vehicle usage information sent by the user through the terminal, it determines the corresponding first user terminal and target vehicle based on the account information and the vehicle information of the target vehicle in the vehicle usage information; then, it binds the vehicle information with the account information, that is, it binds the first user terminal and the target vehicle, and sends game network selection information to the first user terminal to determine the game mode of the first user terminal and the vehicle bound to the first user terminal; subsequently, based on the game network selection result information fed back by the first user terminal, it determines the game network of the first user terminal and the target vehicle; when the game network is an in-account online network, the server will generate a corresponding game network for the first user terminal. The server establishes a local area network (LAN) and controls the first user terminal and the target vehicle to join the LAN, so that the players corresponding to the first user terminal and the target vehicle can participate in the same game. When the game network is a multi-account online network, the server controls the first user terminal and the target vehicle to join a pre-generated public game network, so that all users who choose the multi-account online network can participate in the same game. Then, the server sends a game start message to the first user terminal and the target vehicle, so that the cameras of the first user terminal and the target vehicle can capture images of the real world and send the images to the server. Finally, the server generates a corresponding game scene based on the received images and the game network in which the first user terminal and the target vehicle are located, and sends the game scene to the first user terminal and the target vehicle.
[0014] Based on this, embodiments of the present invention enable parents to participate in the vehicle games using a terminal while children are playing on the amusement vehicles. This allows for interaction between parents and children, ensuring parental involvement and enhancing the overall gaming experience for both. Furthermore, because the interaction is conducted through games, the interactive behaviors are virtualized, resulting in high engagement and minimal impact on the real world, thus ensuring the safety of the interaction. Moreover, embodiments of the present invention provide two game networks to choose from, allowing players to select the desired game mode according to their needs, ensuring player freedom of choice and a superior gaming experience.
[0015] Optionally, in one feasible embodiment of the present invention, after receiving the vehicle usage information sent by the first user terminal, the method further includes:
[0016] Receive first name information sent by the first user terminal, wherein the first name information includes the name of the first user terminal and the name of the target vehicle;
[0017] The server saves the first name information and generates a game scene that includes the name of the first user terminal and the name of the target vehicle based on the first name information.
[0018] Under this feasible approach, the beneficial effects that the embodiments of the present invention can achieve are: enabling players to display / represent themselves through customized game names, thereby allowing them to be more immersed in the game and ensuring the player's gaming experience.
[0019] Optionally, in one feasible embodiment of the present invention, the vehicle usage information is generated by the first user terminal sequentially scanning the coded patterns of the at least one target vehicle and then generating the vehicle information of the at least one target vehicle.
[0020] If the game network is an in-account online network, then a local area network (LAN) corresponding to the first user terminal is generated, and the first user terminal and the target vehicle are controlled to join the LAN, including:
[0021] If the game network is an in-account online network, then a local area game network corresponding to the first user terminal is generated;
[0022] The system controls the first user terminal to join the local area game network and controls the at least one target vehicle to join the local area game network in a corresponding order, wherein the order represents the sequence in which the first user terminal scans the encoding patterns of the at least one target vehicle.
[0023] Optionally, in one feasible embodiment of the present invention, after controlling the first user terminal to join the local area game network and controlling the at least one target vehicle to join the local area game network in a corresponding order, the method further includes;
[0024] The system receives second name information sent by the first user terminal, wherein the second name information includes the name of the first user terminal and the name of the at least one target vehicle, and the name of the at least one target vehicle is generated by the first user terminal one by one based on the order corresponding to the at least one target vehicle;
[0025] The server saves the second name information, and further uses the server to generate a game scene that includes the name of the first user terminal and the name of the target vehicle based on the second name information.
[0026] Optionally, in one feasible embodiment of the present invention, after generating a local area network corresponding to the first user terminal and controlling the first user terminal and the target vehicle to join the local area network if the game network is an in-account online network, the method further includes:
[0027] Receive account information and game joining information sent by the second user terminal;
[0028] A player joining notification message is generated based on the account information sent by the second user terminal, and the player joining notification message is sent to the first user terminal;
[0029] In response to the player joining confirmation message sent by the first user terminal, the system controls the second user terminal to join the local area network.
[0030] Under this feasible approach, the beneficial effects that the embodiments of the present invention can achieve are: enabling other players to join the game after the player has started the game, thereby satisfying the gaming needs of each player.
[0031] Optionally, in one feasible embodiment of the present invention, the method further includes:
[0032] In response to the first stop playing information sent by the first user terminal, determine the playing time of any of the target vehicles;
[0033] Based on the play time and the number of target vehicles, the first play fee information is determined and sent to the first user terminal.
[0034] Under this feasible approach, the beneficial effects that the embodiments of the present invention can achieve are as follows: when multiple target vehicles are stopped from use at the same time, and multiple target vehicles are all bound to the same user terminal, the usage time of only one of the multiple target vehicles is obtained, which reduces the resource consumption of the server and the target vehicle, thereby improving the vehicle usage efficiency.
[0035] Optionally, in one feasible embodiment of the present invention, the method further includes:
[0036] In response to the second stop-play information sent by the first user terminal, determine the stop-play vehicle corresponding to the second stop-play information among the at least one target vehicle;
[0037] Based on the play time of the stopped vehicle, the second play fee information is determined and sent to the first user terminal.
[0038] Under this feasible approach, the beneficial effects achieved by the embodiments of the present invention are: avoiding the situation where billing can only be performed after all players have finished playing, thus ensuring the players' gaming experience.
[0039] Secondly, embodiments of the present invention provide a device for playing a vehicle game, applied to a server, the server being used to generate a game scene based on received images, the device comprising:
[0040] The receiving module is used to receive vehicle usage information sent by the first user terminal. The vehicle usage information includes the account information of the first user terminal and the vehicle information of at least one target vehicle. Both the user terminal and the vehicle are equipped with a camera and a display screen. The display screen is used to display the game scene.
[0041] The binding module is used to bind the vehicle information to the account information and send game network selection information to the first user terminal;
[0042] The determining module is used to determine the game network of the first user terminal based on the game network selection result information sent by the first user terminal, wherein the game network of the first user terminal is consistent with the game network of the target vehicle, and the game network includes an in-account online network and a multi-account online network.
[0043] The first joining module is used to generate a local area game network corresponding to the first user terminal if the game network is an in-account online network, and control the first user terminal and the target vehicle to join the local area game network.
[0044] The second joining module is used to control the first user terminal and the target vehicle to join the pre-generated public game network if the game network is a multi-account online network;
[0045] The sending module is used to send game start information to the first user terminal and the target vehicle, wherein both the first user terminal and the target vehicle are used to capture images using cameras and send the images to the server when they receive the game start information;
[0046] The generation module is used to generate a game scene based on the game network and the received image, and send the game scene to the first user terminal and the target vehicle, wherein the user terminal and the vehicle in the public game network or in the same local area game network display the same game scene.
[0047] Thirdly, embodiments of the present invention provide a computer device, including a memory and a processor, wherein the memory stores a computer program, and the computer program, when run on the processor, executes a method for playing a vehicle game as disclosed in any of the first aspects.
[0048] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when run on a processor, executes a method for playing a vehicle game as disclosed in any of the first aspects. Attached Figure Description
[0049] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope of protection of the present invention. In the various drawings, similar components are numbered similarly.
[0050] Figure 1 A flowchart illustrating the first vehicle game gameplay method provided by an embodiment of the present invention is shown;
[0051] Figure 2 A flowchart illustrating the second vehicle game gameplay method provided in an embodiment of the present invention is shown;
[0052] Figure 3 A flowchart illustrating the third vehicle game gameplay method provided in this embodiment of the invention is shown.
[0053] Figure 4 A schematic diagram of the structure of the vehicle game playing device provided in an embodiment of the present invention is shown. Detailed Implementation
[0054] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0055] The components of the embodiments of the invention described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0056] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of the invention, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.
[0057] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0058] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the invention pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of the invention.
[0059] Example 1
[0060] Reference Figure 1 , Figure 1 The diagram illustrates a flowchart of a first method for playing a vehicle game according to an embodiment of the present invention. The method for playing a vehicle game according to an embodiment of the present invention is applied to a server, which is used to generate a game scene based on received images.
[0061] It should be noted that the vehicle game provided in this embodiment of the invention is a game implemented based on AR (Augmented Reality) technology. That is, the server is used to generate corresponding game / virtual screens based on real-world images / videos to form the game scene required for the vehicle game.
[0062] Therefore, in this embodiment of the invention, both the user terminal and the vehicle are equipped with a camera and a display screen. Both the user terminal and the vehicle capture images of the real world through the camera and send the images to the server. After the server generates the corresponding game scene based on the image, it sends the game scene screen to the user terminal and the vehicle so that the display screens of the user terminal and the vehicle can display the corresponding game screen respectively, so that the player can play the vehicle game based on the game screen.
[0063] It is understood that the way the server generates game scenes from real-world images is customizable and can be set according to actual circumstances; this embodiment of the invention does not limit this. Similarly, the specific gameplay of the vehicle game is also customizable and can be set according to actual circumstances.
[0064] Furthermore, in the game screens displayed on the user terminal and the vehicle respectively, both the user terminal and the vehicle will appear as virtual vehicles. It's easy to understand that the game screen can display the virtual vehicle in either a first-person or third-person perspective; the viewpoint can be selected based on the actual situation.
[0065] It should also be noted that, in order to improve the situation where parents cannot participate when children are playing on the amusement vehicle, resulting in poor parent-child interaction, the embodiments of the present invention will allow parents to participate in the vehicle game through a mobile terminal while the child is playing on the amusement vehicle.
[0066] Furthermore, this embodiment of the invention allows both children and parents to participate in the same game on the amusement park rides, enabling interaction within a virtual game environment. This enhances parent-child interaction, ensures parental involvement, and improves the overall gaming experience for both. Moreover, because the interaction is conducted through a game-like format, the virtualized interactions are highly engaging and have minimal impact on the real world, thus ensuring the safety of the interactive activities.
[0067] Furthermore, it should be understood that although the embodiments of the present invention describe the solution using a parent and child, that is, parents and children, these two parties are only preferred subjects for the embodiments of the present invention and are not intended to limit the applicable subjects / target groups of the embodiments of the present invention. In practical scenarios, the method provided by the embodiments of the present invention can also be applied to people with other relationships, such as friends, relatives, and strangers.
[0068] Based on this, the method for playing the vehicle game provided in this embodiment of the invention includes:
[0069] S110, receive vehicle usage information sent by the first user terminal, wherein the vehicle usage information includes the account information of the first user terminal and the vehicle information of at least one target vehicle, and both the user terminal and the vehicle are equipped with a camera and a display screen, the display screen being used to display the game scene.
[0070] Understandably, when a user sends vehicle usage information to the server via their terminal, it indicates that the user wishes to play the vehicle game with their child. It's easy to imagine that after the user, i.e., the parent, sends the vehicle usage information to the server via their terminal, the parent will play the vehicle game through their terminal, and the child will play the game using the target vehicle.
[0071] It is also understood that the account information in the embodiments of the present invention is used to enable the server to determine the user terminal, and the vehicle information is used to enable the server to determine the target vehicle.
[0072] Optionally, in one feasible approach, each vehicle is assigned a vehicle number, and the vehicle information includes the vehicle number.
[0073] It is also understood that, in the embodiments of the present invention, the specific process of the user terminal sending vehicle usage information to the server can be set according to the actual situation. For example, in one feasible way, each vehicle has a corresponding vehicle number. Then, after the user inputs the vehicle number into the user terminal, the user terminal generates vehicle usage information based on the vehicle number and account information, and sends the vehicle usage information to the server so that the server can determine the user terminal and the target vehicle.
[0074] In another feasible method provided by the embodiments of the present invention, each vehicle is equipped with a QR code. The QR code is used to store the vehicle number corresponding to the vehicle. Then, the user uses a user terminal to scan the QR code so that the user terminal obtains the vehicle number. The user terminal then generates vehicle usage information based on the vehicle number and sends the vehicle usage information to the server.
[0075] Furthermore, it is understandable that account information can be combined with the vehicle information of multiple target vehicles to form vehicle usage information, meaning that a player can participate in a game simultaneously with multiple other players.
[0076] It is also understandable that, since the server in this embodiment of the invention needs to use account information to determine the user terminal, the user needs to register an account before playing games with other users, so that the server can generate account information for the user's user terminal, and then the subsequent process can be carried out according to the account information when the user wants to play games.
[0077] Optionally, in one feasible embodiment of the present invention, when the server receives vehicle usage information, it will perform a preset legality check on the account information and vehicle information in the vehicle usage information to determine whether the account information can correctly identify a user terminal and whether the vehicle information can correctly identify a vehicle.
[0078] It's easy to imagine that the server will only proceed with other steps after both the account information and vehicle information have passed the legitimacy verification.
[0079] It is also understood that the specific verification steps for legality verification can be set according to the actual situation, and this embodiment of the invention does not impose any arbitrary limitations on them.
[0080] S120, bind the vehicle information with the account information, and send game network selection information to the first user terminal.
[0081] In other words, the embodiments of the present invention will bind the user terminal and the vehicle corresponding to the account information and vehicle information in the vehicle usage information respectively, that is, bind the first user terminal to the target vehicle. Then, the server can know the tools used by parents and children to play the vehicle game, and know the number of people participating in the vehicle game.
[0082] Furthermore, after the binding is completed, the server will send game network selection information to the user terminal to determine the play mode, i.e., the game network, for parents and children based on the feedback from the user terminal.
[0083] S130, based on the game network selection result information sent by the first user terminal, determine the game network of the first user terminal, wherein the game network of the first user terminal is consistent with the game network of the target vehicle, and the game network includes an in-account online network and a multi-account online network.
[0084] It's important to understand that when playing vehicle games via an intra-account network, the game played by parents and children only includes the parents and children. However, when playing vehicle games via a multi-account network, if multiple user terminals send game network selection results indicating a multi-account network, then the parents and children corresponding to those multiple user terminals will all play in the same game.
[0085] It's easy to understand that the game mode corresponding to an intra-account online network can be regarded as a LAN game mode, while the game mode corresponding to a multi-account online network can be regarded as a public network game mode.
[0086] It should also be understood that the game network corresponding to a vehicle is determined by the bound user terminal. Therefore, when the server determines the network that the user terminal will join based on the game network selection result information sent by the user terminal, the server will also control the vehicle bound to the user terminal to join the same network.
[0087] S140, if the game network is an in-account online network, then generate a local area game network corresponding to the first user terminal, and control the first user terminal and the target vehicle to join the local area game network.
[0088] In other words, when the game network selection result information corresponds to the in-account online network, the server will generate a local area network for the user terminal and the vehicle bound to the user terminal, so that the game participated in by the user terminal and the vehicle bound to the user terminal only includes the user terminal and the vehicle bound to the user terminal, that is, the players only include parents and children.
[0089] S150, if the game network is a multi-account online network, then control the first user terminal and the target vehicle to join the pre-generated public game network.
[0090] In other words, when it is a multi-account online network, the server will control the user terminal and the vehicle bound to the user terminal to join the pre-generated public game network. Furthermore, if the game network selection result information of other user terminals before or after the user terminal and the vehicle bound to the user terminal also corresponds to the multi-account online network, then the other user terminals will also be in or join the public game network.
[0091] It should be noted that the first user terminal in the embodiments of the present invention can be understood as the terminal of a user who wants to play vehicle games with his child, while the second user terminal mentioned in the embodiments of the present invention can be understood as the terminal of other users.
[0092] S160, send game start information to the first user terminal and the target vehicle, wherein the first user terminal and the target vehicle are both used to capture images using cameras and send the images to the server when they receive the game start information.
[0093] In other words, after the server determines the playing network, it will send a game start message to the parents' and children's devices—that is, to the user terminal and the vehicle linked to the user terminal. Upon receiving the game start message, both the user terminal and the vehicle will take pictures of the real world using their cameras and send the images to the server. After receiving the images, the server will generate the corresponding game scene based on a preset program / software / code / algorithm.
[0094] S170, a game scene is generated based on the game network and the received image, and the game scene is sent to the first user terminal and the target vehicle, wherein the user terminal and the vehicle located in the public game network or in the same local area game network display the same game scene.
[0095] It is understood that, in the embodiments of the present invention, different players in the same online game should be in the same game scene, but their positions / poses / angles in the real world are different, which makes the images captured by the game tools different. Therefore, the positions of different players in the game are also different, and thus, the game screens viewed by different players are different.
[0096] Therefore, if the players corresponding to the user terminal and the vehicle are participating in the same game, that is, if the user terminal and the vehicle are in the same local area network or in the same public game network, then the display screen of the user terminal and the display screen of the vehicle will both display the same game scene.
[0097] Furthermore, in one feasible embodiment of the present invention, if a parent and child playing a game on a public game network wish to change the game network / mode from a multi-account online network to an intra-account online network, the parent and child can send mode change information to the server through the user terminal. The server will then generate a corresponding local area game network for the parent and child and control the parent and child's game tools to join the local area game network.
[0098] It's not hard to imagine that servers could also use similar methods to control vehicles and / or user terminals in a local area network to join a public gaming network.
[0099] In the vehicle game playing method provided by this embodiment of the invention, when the server receives vehicle usage information sent by the user through the first user terminal, that is, when the server receives vehicle usage information sent by the user through the terminal, it determines the corresponding first user terminal and target vehicle based on the account information and the vehicle information of the target vehicle in the vehicle usage information; then, it binds the vehicle information with the account information, that is, it binds the first user terminal and the target vehicle, and sends game network selection information to the first user terminal to determine the game mode of the first user terminal and the vehicle bound to the first user terminal; subsequently, based on the game network selection result information fed back by the first user terminal, it determines the game network of the first user terminal and the target vehicle; when the game network is an in-account online network, the server will generate a corresponding game network for the first user terminal. The server establishes a local area network (LAN) and controls the first user terminal and the target vehicle to join the LAN, so that the players corresponding to the first user terminal and the target vehicle can participate in the same game. When the game network is a multi-account online network, the server controls the first user terminal and the target vehicle to join a pre-generated public game network, so that all users who choose the multi-account online network can participate in the same game. Then, the server sends a game start message to the first user terminal and the target vehicle, so that the cameras of the first user terminal and the target vehicle can capture images of the real world and send the images to the server. Finally, the server generates a corresponding game scene based on the received images and the game network in which the first user terminal and the target vehicle are located, and sends the game scene to the first user terminal and the target vehicle.
[0100] Based on this, embodiments of the present invention enable parents to participate in the vehicle games using a terminal while children are playing on the amusement vehicles. This allows for interaction between parents and children, ensuring parental involvement and enhancing the overall gaming experience for both. Furthermore, because the interaction is conducted through games, the interactive behaviors are virtualized, resulting in high engagement and minimal impact on the real world, thus ensuring the safety of the interaction. Moreover, embodiments of the present invention provide two game networks to choose from, allowing players to select the desired game mode according to their needs, ensuring player freedom of choice and a superior gaming experience.
[0101] Optionally, to improve the player's gaming experience, in one embodiment of the present invention, after step S110, the method further includes:
[0102] Receive first name information sent by the first user terminal, wherein the first name information includes the name of the user terminal and the name of the target vehicle;
[0103] The server saves the first name information and generates a game scene that includes the name of the first user terminal and the name of the target vehicle based on the first name information.
[0104] In other words, to enhance player immersion in the game, this embodiment of the invention provides a game name naming function. Specifically, once a user determines the gaming tool they wish to use, namely a first user terminal and at least one target vehicle, if the user wishes to display / represent themselves in the game using a game name, the user needs to input the names of the first user terminal and each target vehicle into the first user terminal. The first user terminal will then generate first name information based on the input names and send the first name information to the server.
[0105] After receiving the initial name information, the server saves it. Then, when generating the game scene, the server uses the name of the first user terminal and the name of the target vehicle from the initial name information to generate the game screen. In other words, the generated game screen includes the name. Therefore, players can identify each other by name in the game.
[0106] Optionally, in one feasible embodiment of the present invention, please refer to the following: Figure 2 The diagram illustrates a flowchart of a second method for playing a vehicle game according to an embodiment of the present invention. In this feasible method, the vehicle usage information is generated by the first user terminal sequentially scanning the coded patterns of at least one target vehicle and then generating the vehicle information based on the obtained information of the at least one target vehicle.
[0107] Furthermore, S140 includes:
[0108] S141, If the game network is an in-account online network, then generate a local area game network corresponding to the first user terminal;
[0109] S142, control the first user terminal to join the local area game network, and control the at least one target vehicle to join the local area game network in a corresponding order, wherein the order represents the order in which the first user terminal scans the encoding pattern of the at least one target vehicle.
[0110] It should be noted that in this feasible method, all vehicles are equipped with display devices for displaying coded patterns, or have fixed objects such as paper or tags containing coded patterns, so that the first user terminal can obtain the vehicle information after scanning the coded pattern.
[0111] It is understandable that the coded pattern can be one of the following: QR code, 3D code, barcode, etc.
[0112] It should also be noted that, in this feasible method, the user can control the first user terminal to scan the coded patterns of multiple target vehicles. While the first user terminal scans the coded patterns of multiple target vehicles, it will record the scanning order of each target vehicle.
[0113] Furthermore, since the first user terminal will record the scanning order, the generated vehicle usage information will also include / imply the scanning order.
[0114] In one feasible approach, the vehicle usage information includes a sequence information field describing the scanning order of each target vehicle. In another feasible approach, the first user terminal generates the vehicle usage information based on the scanning order and vehicle information of each target vehicle.
[0115] Furthermore, after receiving the vehicle usage information, the server will, according to a preset method, obtain the scanning order of all target vehicles and the vehicle information of each target vehicle from the vehicle usage information. Then, after generating the local area network (LAN) corresponding to the first user terminal, the server will first control the first user terminal to join the LAN, and then, according to the scanning order of all target vehicles, control each target vehicle to join the LAN sequentially.
[0116] Optionally, in one feasible embodiment of the present invention, after S142, the method further includes;
[0117] The system receives second name information sent by the first user terminal, wherein the second name information includes the name of the first user terminal and the name of the at least one target vehicle, and the name of the at least one target vehicle is generated by the first user terminal one by one based on the order corresponding to the at least one target vehicle;
[0118] The server saves the second name information, and further uses the server to generate a game scene that includes the name of the first user terminal and the name of the target vehicle based on the second name information.
[0119] In other words, under this feasible method, the naming order of the user as the first user terminal and the target vehicle must also be consistent with the scanning order.
[0120] Optionally, in one feasible approach, the first user terminal is pre-programmed with a program / code to display a vehicle naming window while scanning the vehicle's coded pattern to obtain vehicle information, allowing the user to enter the vehicle's name.
[0121] In another feasible approach, the user controls the first user terminal to scan all target vehicles, and when the preset scan completion operation is triggered in the first user terminal, the first user terminal will display a naming window so that the user can name the first user terminal and each target vehicle in turn.
[0122] Optionally, in one feasible embodiment of the present invention, after S140, the method further includes:
[0123] Receive account information and game joining information sent by the second user terminal;
[0124] A player joining notification message is generated based on the account information sent by the second user terminal, and the player joining notification message is sent to the first user terminal;
[0125] In response to the player joining confirmation message sent by the first user terminal, the system controls the second user terminal to join the local area network.
[0126] It is understandable that when both parents accompany their child to play with vehicles, if only one parent or the child can play with the vehicles, the other parent will still find it difficult to interact with the child.
[0127] To address this situation, embodiments of the present invention provide a player joining function, so that after one of the child and the parent starts playing the vehicle game, the other parent can also join the vehicle game.
[0128] Specifically, when the server receives the account information and game joining information sent by the second user terminal, it will determine the corresponding local area game network based on the game joining information.
[0129] Next, the server generates a player joining notification based on the account information of the second user terminal, and sends the player joining notification to the first user terminal corresponding to the local area network.
[0130] Finally, when the server receives the joining confirmation information from the first user terminal, it will control the second user terminal to join the local area game network.
[0131] It is easy to imagine that if the server receives a negative join message from the first user terminal, it will reject the join operation of the second user terminal and send a rejection message to the second user terminal.
[0132] Based on this, the embodiments of the present invention enable other players to join the game after the player has started the game, thereby satisfying the gaming needs of each player.
[0133] In addition, in one feasible approach, if the account information of the second user terminal has been bound to the vehicle information of multiple vehicles before sending the game joining information, the game joining information sent by the second user terminal may include device selection information, wherein the device selection information indicates what kind of gaming tool the user corresponding to the second user terminal will use to play the vehicle game.
[0134] As an example, assuming the second user terminal is bound to the first and second vehicles, the user corresponding to the second user terminal can play the game using any one of the following devices: the second user terminal, the first vehicle, or the second vehicle. Therefore, the game inclusion information includes device selection information, indicating the device the user corresponding to the second user terminal wishes to use.
[0135] It is also understandable that when the account information of the second user terminal is already bound to the vehicle information of multiple vehicles, the second user terminal and the multiple vehicles bound to the second user terminal can be added to the local area network together.
[0136] Optionally, in one feasible embodiment of the present invention, please refer to the following: Figure 3 This diagram illustrates a flowchart of a third method for playing a vehicle game according to an embodiment of the present invention. In this feasible mode, the method further includes:
[0137] S180, responding to the first stop playing information sent by the first user terminal, determine the playing time of any of the target vehicles;
[0138] S190, based on the play time and the number of target vehicles, determine the first play fee information and send the first play fee information to the first user terminal.
[0139] In other words, when parents and children want to end the game, the parent or child will control the first user terminal to send the first stop game information to the server.
[0140] After receiving the first stop playing information, the server will determine the corresponding first user terminal and target vehicle based on the first stop playing information, and determine the playing time of any target vehicle.
[0141] Subsequently, based on the play time and the number of target vehicles, the first play fee information is determined and sent to the user terminal corresponding to the first stop play information, i.e., the first user terminal.
[0142] Understandably, in this feasible method, all target vehicles bound to the first user terminal will be returned together. Therefore, the playtime for each target vehicle bound to the first user terminal is the same. Thus, the server will only determine the playtime of one target vehicle to subsequently determine the initial playtime fee based on the playtime and the number of target vehicles, and send this fee information to the first user terminal. Simultaneously, all target vehicles bound to the first user terminal will be stopped / locked to terminate the use of all target vehicles.
[0143] Based on this, the embodiments of the present invention address the situation where multiple target vehicles are simultaneously taken out of service and all target vehicles are bound to the same user terminal. By obtaining the usage time of only one of the multiple target vehicles, the resource consumption of the server and the target vehicle is reduced, thereby improving the vehicle usage efficiency.
[0144] Optionally, in one feasible embodiment of the present invention, the method further includes:
[0145] In response to the second stop-play information sent by the first user terminal, determine the stop-play vehicle corresponding to the second stop-play information among the at least one target vehicle;
[0146] Based on the play time of the stopped vehicle, the second play fee information is determined and sent to the first user terminal.
[0147] It should be noted that for multiple target vehicles bound to the same user terminal, if a player of one target vehicle wants to stop playing while players of other target vehicles want to continue playing, the player can send a second stop-play message to the server through the user terminal so that the server knows the target vehicle that wants to stop playing.
[0148] Next, the server determines the target vehicle to be stopped from playing. After the vehicle is stopped, it obtains the playing time of the stopped vehicle and calculates the fee based on the playing time. Then, it determines the second playing fee information and sends the second playing fee information to the second user terminal. At the same time, it controls the stopped vehicle to stop / lock, so as to end the use of the stopped vehicle.
[0149] Therefore, this embodiment of the invention avoids the situation where billing can only be performed after all players have finished playing, thus ensuring the player's gaming experience.
[0150] Example 2
[0151] Corresponding to the vehicle game playing method provided in Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a vehicle game playing device 200, referring to...Figure 4 , Figure 4 This diagram illustrates the structure of a vehicle game playing device according to an embodiment of the present invention. The vehicle game playing device 200 provided in this embodiment of the present invention is applied to a server, the server being used to generate a game scene based on received images, and the device includes:
[0152] The receiving module 210 is used to receive vehicle usage information sent by the first user terminal. The vehicle usage information includes the account information of the first user terminal and the vehicle information of at least one target vehicle. Both the user terminal and the vehicle are equipped with a camera and a display screen. The display screen is used to display the game scene.
[0153] Binding module 220 is used to bind the vehicle information to the account information and send game network selection information to the first user terminal;
[0154] The determining module 230 is used to determine the game network of the first user terminal based on the game network selection result information sent by the first user terminal, wherein the game network of the first user terminal is consistent with the game network of the target vehicle, and the game network includes an in-account online network and a multi-account online network.
[0155] The first joining module 240 is used to generate a local area game network corresponding to the first user terminal if the game network is an in-account online network, and control the first user terminal and the target vehicle to join the local area game network.
[0156] The second joining module 250 is used to control the first user terminal and the target vehicle to join the pre-generated public game network if the game network is a multi-account online network;
[0157] The sending module 260 is used to send game start information to the first user terminal and the target vehicle, wherein the first user terminal and the target vehicle are both used to take pictures with a camera and send the pictures to the server when they receive the game start information;
[0158] The generation module 270 is used to generate a game scene based on the game network and the received image, and send the game scene to the first user terminal and the target vehicle, wherein the user terminal and the vehicle located in the public game network or in the same local area game network display the same game scene.
[0159] Optionally, in one feasible embodiment of the present invention, the apparatus further includes:
[0160] The first name receiving module is configured to receive first name information sent by the first user terminal, wherein the first name information includes the name of the user terminal and the name of the target vehicle;
[0161] The first storage module stores the first name information, wherein the server is further configured to generate a game scene including the name of the first user terminal and the name of the target vehicle based on the first name information.
[0162] Optionally, in one feasible embodiment of the present invention, the vehicle usage information is generated by the first user terminal sequentially scanning the coded patterns of the at least one target vehicle and then generating the vehicle information of the at least one target vehicle.
[0163] Therefore, the first adding module includes:
[0164] A generation submodule is used to generate a local area game network corresponding to the first user terminal if the game network is an in-account online network.
[0165] The control submodule is used to control the first user terminal to join the local area game network and to control the at least one target vehicle to join the local area game network in a corresponding order, wherein the order represents the order in which the first user terminal scans the encoding patterns of the at least one target vehicle.
[0166] Optionally, in one feasible embodiment of the present invention, the device further includes;
[0167] The second name receiving module is used to receive second name information sent by the first user terminal, wherein the second name information includes the name of the user terminal and the name of the at least one target vehicle, and the name of the at least one target vehicle is generated by the first user terminal one by one based on the order corresponding to the at least one target vehicle;
[0168] The second storage module is used to store the second name information, wherein the server is also used to generate a game scene including the name of the first user terminal and the name of the target vehicle based on the second name information.
[0169] Optionally, in one feasible embodiment of the present invention, the apparatus further includes:
[0170] An information receiving module is added to receive account information and game joining information sent by the second user terminal;
[0171] The notification module is used to generate a player joining notification message based on the account information sent by the second user terminal, and send the player joining notification message to the first user terminal;
[0172] The response module is used to respond to the player joining confirmation information sent by the first user terminal and control the second user terminal to join the local area game network.
[0173] Optionally, in one feasible embodiment of the present invention, the apparatus further includes:
[0174] The first stop module is used to respond to the first stop playing information sent by the first user terminal and determine the playing time of any of the target vehicles;
[0175] The first information determination module is used to determine the first play fee information based on the play time and the number of target vehicles, and send the first play fee information to the first user terminal.
[0176] Optionally, in one feasible embodiment of the present invention, the apparatus further includes:
[0177] The second stop module is used to respond to the second stop playing information sent by the first user terminal and determine the stop playing vehicle corresponding to the second stop playing information among the at least one target vehicle;
[0178] The second information determination module is used to determine the second play fee information based on the play time of the stopped play vehicle, and send the second play fee information to the first user terminal.
[0179] The vehicle game playing device 200 provided in Embodiment 2 of this application can achieve Figure 1 The various processes of the vehicle game gameplay in the corresponding method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.
[0180] This invention also provides a computer device, including a memory and a processor. The memory stores a computer program, and the computer program executes a gameplay method for the vehicle game as described in Embodiment 1 when it runs on the processor.
[0181] This invention also provides a computer-readable storage medium storing a computer program, which, when run on a processor, executes a method for playing the vehicle game as described in Embodiment 1.
[0182] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0183] In addition, the functional modules or units in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0184] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0185] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for playing a vehicle game, characterized in that, Applied to a server, the server is used to generate a game scene based on a received image, the method comprising: The system receives vehicle usage information sent by a first user terminal, wherein the vehicle usage information includes the account information of the first user terminal and the vehicle information of at least one target vehicle. Both the user terminal and the vehicle are equipped with cameras and displays, and the displays are used to display the game scene. After both the account information and the vehicle information have passed the legality verification, the vehicle information is bound to the account information, and game network selection information is sent to the first user terminal. Based on the game network selection result information sent by the first user terminal, the game network of the first user terminal is determined, wherein the game network of the first user terminal is consistent with the game network of the target vehicle, and the game network includes an in-account online network and a multi-account online network; If the game network is an in-account online network, then a local area game network corresponding to the first user terminal is generated, and the first user terminal and the target vehicle are controlled to join the local area game network. If the game network is a multi-account online network, then control the first user terminal and the target vehicle to join the pre-generated public game network; Send game start information to the first user terminal and the target vehicle, wherein both the first user terminal and the target vehicle are used to capture images using cameras and send the images to the server when they receive the game start information; A game scene is generated based on the game network and the received images, and the game scene is sent to the first user terminal and the target vehicle. The user terminal and the vehicle, which are on a public game network or on the same local area game network, display the same game scene.
2. The method of playing the vehicle game according to claim 1, characterized in that, After receiving the vehicle usage information sent by the first user terminal, the method further includes: Receive first name information sent by the first user terminal, wherein the first name information includes the name of the first user terminal and the name of the target vehicle; The server saves the first name information and generates a game scene that includes the name of the first user terminal and the name of the target vehicle based on the first name information.
3. The method of playing the vehicle game according to claim 1, characterized in that, The vehicle usage information is generated by the first user terminal sequentially scanning the coded patterns of at least one target vehicle and then using the obtained vehicle information of the at least one target vehicle. If the game network is an in-account online network, then a local area network (LAN) corresponding to the first user terminal is generated, and the first user terminal and the target vehicle are controlled to join the LAN, including: If the game network is an in-account online network, then a local area game network corresponding to the first user terminal is generated; The system controls the first user terminal to join the local area game network and controls the at least one target vehicle to join the local area game network in a corresponding order, wherein the order represents the sequence in which the first user terminal scans the encoding patterns of the at least one target vehicle.
4. The method of playing the vehicle game according to claim 3, characterized in that, After controlling the first user terminal to join the local area game network and controlling the at least one target vehicle to join the local area game network in a corresponding order, the method further includes: The system receives second name information sent by the first user terminal, wherein the second name information includes the name of the first user terminal and the name of the at least one target vehicle, and the name of the at least one target vehicle is generated by the first user terminal one by one based on the order corresponding to the at least one target vehicle; The server saves the second name information, and further uses the server to generate a game scene that includes the name of the first user terminal and the name of the target vehicle based on the second name information.
5. The method of playing the vehicle game according to claim 1, characterized in that, If the game network is an in-account online network, then after generating a local area network corresponding to the first user terminal and controlling the first user terminal and the target vehicle to join the local area network, the method further includes: Receive account information and game joining information sent by the second user terminal; A player joining notification message is generated based on the account information sent by the second user terminal, and the player joining notification message is sent to the first user terminal; In response to the player joining confirmation message sent by the first user terminal, the system controls the second user terminal to join the local area network.
6. The method of playing the vehicle game according to claim 1, characterized in that, The method further includes: In response to the first stop playing information sent by the first user terminal, determine the playing time of any of the target vehicles; Based on the play time and the number of target vehicles, the first play fee information is determined and sent to the first user terminal.
7. The method of playing the vehicle game according to claim 1, characterized in that, The method further includes: In response to the second stop-play information sent by the first user terminal, determine the stop-play vehicle corresponding to the second stop-play information among the at least one target vehicle; Based on the play time of the stopped vehicle, the second play fee information is determined and sent to the first user terminal.
8. A vehicle game play device, characterized in that, An apparatus for use in a server, the server being used to generate a game scene based on a received image, the apparatus comprising: The receiving module is used to receive vehicle usage information sent by the first user terminal. The vehicle usage information includes the account information of the first user terminal and the vehicle information of at least one target vehicle. Both the user terminal and the vehicle are equipped with a camera and a display screen. The display screen is used to display the game scene. The binding module is used to bind the vehicle information to the account information after both the account information and the vehicle information have passed the legality verification, and to send game network selection information to the first user terminal. The determining module is used to determine the game network of the first user terminal based on the game network selection result information sent by the first user terminal, wherein the game network of the first user terminal is consistent with the game network of the target vehicle, and the game network includes an in-account online network and a multi-account online network. The first joining module is used to generate a local area game network corresponding to the first user terminal if the game network is an in-account online network, and control the first user terminal and the target vehicle to join the local area game network. The second joining module is used to control the first user terminal and the target vehicle to join the pre-generated public game network if the game network is a multi-account online network; The sending module is used to send game start information to the first user terminal and the target vehicle, wherein both the first user terminal and the target vehicle are used to capture images using cameras and send the images to the server when they receive the game start information; The generation module is used to generate a game scene based on the game network and the received image, and send the game scene to the first user terminal and the target vehicle, wherein the user terminal and the vehicle in the public game network or in the same local area game network display the same game scene.
9. A computer device, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when run on the processor, executes the method of playing the vehicle game as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the method of playing the vehicle game as described in any one of claims 1-7.
Citation Information
Patent Citations
Real and virtual combined networking game system and realizing method thereof
CN101732858A
Method and a system for realizing spatial interaction AR based on multi-user visual angle positioning
CN113342167A
KR1017831570000B1