Method, device, computer equipment and readable storage medium for calculating vehicle usage time

By recording and calculating the unlocking, starting and deactivating time points of amusement vehicles through the server, it solves the problem of unknown play duration when users leave, realizes reasonable use and billing of vehicles, and improves user experience and usage rate.

CN115100764BActive Publication Date: 2024-09-24ZHEJIANG XIAOZU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210681817.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-15
Publication Date
2024-09-24
Estimated Expiration
2042-06-15

AI Technical Summary

Technical Problem

Because the playing time of the amusement vehicles is not equal to the preset time when the user leaves, other users and staff cannot determine whether to end the play, causing the amusement vehicles to be idle and reducing the usage rate.

Method used

The server computer system records unlocking, start-up and deactivation time points, calculates the length of car use, and locks the vehicle at the end of the user's selection, ensuring that other users and staff can determine whether the vehicle is idle, improving usage and user experience.

Benefits of technology

It improves users' freedom of play, ensures reasonable billing, provides real vehicle data support, avoids illegal use and random parking, and improves user satisfaction and vehicle usage order.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115100764B
    Figure CN115100764B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, computer equipment and readable storage medium for calculating the length of vehicle use, which are applied to the field of vehicles. The method includes: when a server receives a vehicle use request, the server controls the vehicle to unlock and records the unlocking time point; if the vehicle start information is received, the start time point is recorded; when the first stop use information or vehicle deactivation request is received, the first deactivation time point is recorded; the vehicle use time is calculated according to the start time point and the first deactivation time point, and the vehicle is locked; and when the server does not receive the vehicle start information sent by the vehicle but receives the vehicle deactivation request, the server records the second deactivation time point; the vehicle use time is calculated using the unlocking time point and the second deactivation time point and the vehicle is locked. Therefore, the present invention enables users to stop playing or continue playing motor game vehicles at any time, thereby improving the user's playing freedom.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a method, device, computer equipment and readable storage medium for calculating vehicle usage time. Background Art

[0002] Children's play areas are often set up in large shopping malls or parks, and amusement vehicles for children to play are often set up in the children's play areas. At present, amusement vehicles are usually designed in a mode that users can play with the amusement vehicles within a preset time after paying a certain fee.

[0003] However, when the user's playing time is not equal to the preset time and the user suddenly leaves the amusement vehicle, it is impossible to determine whether the user has ended the play, so other users cannot play the vehicle and the staff cannot move the vehicle, resulting in the amusement vehicle being idle and reducing the utilization rate of the amusement vehicle. Summary of the invention

[0004] In view of this, the present invention provides a method and apparatus for calculating the usage time of an amusement vehicle, a computer device and a readable storage medium, so as to improve the current situation in which the amusement vehicle is idle and the utilization rate of the amusement vehicle is reduced because the playing time is not equal to the preset time when the user leaves the amusement vehicle, so other users and staff cannot determine whether the user has finished playing.

[0005] In a first aspect, an embodiment of the present invention provides a method for calculating vehicle usage time, which is applied to a server, and the method includes:

[0006] In response to a vehicle use request sent by a user terminal, controlling the unlocking of a motorized game vehicle corresponding to the vehicle use request, and recording the unlocking time point;

[0007] If the vehicle start information sent by the motorized game vehicle is received, the start time point is recorded, wherein the vehicle start information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the vehicle start instruction triggered by the user and controls the internal power supply module to start;

[0008] When receiving the first stop-use information sent by the motorized game vehicle or receiving the vehicle stop-use request sent by the user terminal, recording the first stop-use time point, wherein the first stop-use information is sent to the server by the motorized game vehicle when receiving the stop-use instruction triggered by the user and controlling the power supply module to stop;

[0009] Calculating the vehicle usage time using the start time point and the first stop time point, and controlling the motor game vehicle to be locked;

[0010] If the vehicle startup information is not received, but the vehicle deactivation request is received, recording the second deactivation time point;

[0011] The unlocking time point and the second deactivation time point are used to calculate the vehicle usage time, and the motor game vehicle is controlled to be locked.

[0012] In the method for calculating the vehicle usage time provided by the embodiment of the present invention, when the server receives a vehicle usage request sent by the user through the user terminal, it will control the unlocking of the motor vehicle corresponding to the vehicle usage request so that the user can play the motor vehicle, and record the unlocking time point at the same time to determine the time point when the user occupies the motor vehicle and is ready to start playing the motor vehicle; then, if the server receives the vehicle start information sent by the motor vehicle and determines that the user has started to control the movement of the motor vehicle, it will record the start time point, that is, the time point when the user actually starts playing the motor vehicle; then, when the server receives the information / request from the user to stop playing the vehicle, that is, receives the first stop use information sent by the motor vehicle, When the server receives the vehicle start information sent by the motor game vehicle, or receives the vehicle deactivation request sent by the user terminal, it will record the time when the user stops using the vehicle, that is, the first deactivation time point; thereafter, the server will calculate the vehicle usage time according to the start time point and the first deactivation time point, and control the motor game vehicle to be locked; and when the server does not receive the vehicle start information sent by the motor game vehicle, but receives the vehicle deactivation request, that is, the user does not control the movement of the motor game vehicle but chooses to stop playing the motor game vehicle, the second deactivation time point will be recorded; finally, the server uses the unlocking time point and the second deactivation time point to calculate the length of time the user plays games on the motor game vehicle, or the length of time the user occupies the vehicle, that is, the vehicle usage time, and controls the motor game vehicle to be locked.

[0013] Based on this, the embodiment of the present invention allows users to stop playing or continue playing the motorized game vehicle at any time, thereby improving the user's freedom of play; and, because the motorized game vehicle will be locked after the user chooses to end the play, other users and staff can determine whether the vehicle is idle based on the locking status of the vehicle. In addition, because the calculation of the vehicle usage time is completed using the start time point, the first inactivity time point, the second inactivity time point and the unlocking time point, the vehicle usage time can represent the time when the user actually controls the movement of the motorized game vehicle, or the time when the user occupies the motorized game vehicle, so that the user's vehicle usage billing and the company's vehicle usage time statistics can be carried out according to the user's real time, thereby making the user's payment reasonable, thereby improving user satisfaction, and providing effective vehicle usage data support for the company.

[0014] Optionally, in an implementation manner provided by an embodiment of the present invention, the responding to the vehicle use request sent by the user terminal, controlling the unlocking of the motor vehicle corresponding to the vehicle use request, and recording the unlocking time point includes:

[0015] In response to a vehicle use request sent by a user terminal, verify the legitimacy of the user terminal and the state of the amusement vehicle corresponding to the vehicle use request, wherein the state includes occupied and idle;

[0016] If the user terminal is legitimate and the state of the motor game vehicle is idle, controlling the motor game vehicle to unlock, recording the unlocking time point, and setting the state of the motor game vehicle to occupied;

[0017] After the vehicle use time is calculated by using the start time point and the first deactivation time point, and the vehicle is locked, and after the vehicle use time is calculated by using the unlock time point and the second deactivation time point, and the vehicle is locked, the method further includes:

[0018] The state of the ride vehicle is set to idle.

[0019] In this implementation mode, the beneficial effects that can be achieved by the embodiment of the present invention include: preventing illegal users from using the motor vehicle, ensuring the safety of the vehicle; and, based on the inspection of the vehicle status, preventing multiple users from using a motor vehicle at the same time, so that the motor vehicle can be used normally by users.

[0020] Optionally, in an implementation manner provided by an embodiment of the present invention, the first stop use information is sent to the server by the motor vehicle when the motor vehicle receives the stop use instruction, controls the power supply module to stop, and is in a preset parking space.

[0021] In this implementation mode, the beneficial effects that can be achieved by the embodiments of the present invention include: ensuring the parking order of motor game vehicles, allowing users to find available vehicles in preset parking spaces, and improving the user's vehicle experience.

[0022] Optionally, in an implementation manner provided by an embodiment of the present invention, the motor game vehicle is provided with a preset number of electronic tag readers, and the preset parking space is provided with the preset number of electronic tags, and when the motor game vehicle is in the preset parking space, it means that each electronic tag reader of the motor game vehicle reads the electronic tag in the preset parking space.

[0023] In this implementation mode, the beneficial effects that can be achieved by the embodiment of the present invention include: ensuring the parking order of the motor game vehicles.

[0024] Optionally, in an implementation manner provided by an embodiment of the present invention, if the vehicle startup information sent by the motorized game vehicle is received, after recording the startup time point, the method further includes:

[0025] When receiving the second stop use information sent by the motorized game vehicle, recording the third stop use time point, wherein the second stop use information is sent to the server by the motorized game vehicle when it receives the stop use instruction and controls the power supply module to stop and is not in the preset parking position;

[0026] The vehicle use time is calculated using the start time point, the third deactivation time point and the preset time length, and the motor game vehicle is controlled to be locked.

[0027] Optionally, in an implementation manner provided by an embodiment of the present invention, when receiving the second stop use information sent by the motor game vehicle, after recording the third stop use time point, the method further includes:

[0028] Sending dispatch notification information to the staff's terminal to dispatch the amusement vehicle to the preset parking space.

[0029] In this implementation mode, the beneficial effects that can be achieved by the embodiments of the present invention include: improving the phenomenon of random parking, thereby creating a good vehicle use environment.

[0030] Optionally, in an implementation manner provided by an embodiment of the present invention, the use time of the vehicle is calculated by using the start time point, the third deactivation time point and a preset time, and the locking of the motor game vehicle is controlled, including:

[0031] Calculating the vehicle use time using the start time point, the third deactivation time point and a preset time length;

[0032] If the vehicle start information sent by the motor game vehicle is not received within a preset time after receiving the parking space notification information sent by the motor game vehicle, the motor game vehicle is controlled to be locked, wherein the parking space notification information is sent to the server by the motor game vehicle when it is in the preset parking space.

[0033] In this implementation mode, the beneficial effects that can be achieved by the embodiment of the present invention include: when the user pauses playing the vehicle due to an emergency, the user can continue to play the motor vehicle within a preset time, thereby improving the user experience.

[0034] In a second aspect, an embodiment of the present invention provides a device for calculating vehicle usage time, which is applied to a server, and the device includes:

[0035] An unlocking time recording module, used to respond to a vehicle use request sent by a user terminal, control the unlocking of the motorized game vehicle corresponding to the vehicle use request, and record the unlocking time point;

[0036] A start time recording module, for recording a start time point if vehicle start information sent by the motorized game vehicle is received, wherein the vehicle start information is sent to the server by the motorized game vehicle when it receives a vehicle start instruction triggered by a user and controls an internal power supply module to start;

[0037] A first deactivation time recording module, used to record a first deactivation time point when receiving a first deactivation information sent by the motorized game vehicle or receiving a vehicle deactivation request sent by the user terminal, wherein the first deactivation information is sent to the server by the motorized game vehicle when receiving a deactivation instruction triggered by the user and controlling the power supply module to stop;

[0038] A first locking module, used to calculate the vehicle usage time using the start time point and the first stop time point, and control the locking of the motor game vehicle;

[0039] A second deactivation time recording module, configured to record a second deactivation time point if the vehicle startup information is not received but the vehicle deactivation request is received;

[0040] The second locking module is used to calculate the vehicle usage time using the unlocking time point and the second deactivation time point, and control the locking of the motor game vehicle.

[0041] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, it executes a method for calculating vehicle usage time as disclosed in any one of the first aspects.

[0042] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a processor, it executes a method for calculating vehicle usage time as disclosed in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

[0044] Figure 1 A schematic diagram showing a flow chart of a first method for calculating vehicle usage time provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram showing a flow chart of a second method for calculating vehicle use time provided by an embodiment of the present invention;

[0046] Figure 3a and Figure 3b A schematic diagram of a preset parking space and a schematic diagram of the bottom of a motorized game vehicle provided in an embodiment of the present invention are respectively shown;

[0047] Figure 4 A schematic diagram of the structure of a device for calculating vehicle usage time provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0049] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0050] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0051] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0052] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

[0053] Example 1

[0054] Reference Figure 1 , Figure 1A flow chart of a first method for calculating vehicle usage time provided by an embodiment of the present invention is shown. The method for calculating vehicle usage time provided by an embodiment of the present invention is applied to a server, and the method includes:

[0055] S110, responding to a vehicle use request sent by a user terminal, controlling the unlocking of the amusement vehicle corresponding to the vehicle use request, and recording the unlocking time point.

[0056] That is, when the user wants to play a motor game vehicle, the user controls the user terminal to send a vehicle use request to the server, so that the server can determine the user and the motor game vehicle that the user wants to play, and then the server sends an unlocking instruction to the motor game vehicle to control the motor game vehicle to unlock so that the user can play. At the same time, the server records the time when the motor game vehicle is unlocked, that is, records the unlocking time point.

[0057] It can be understood that the specific process of the user using the user terminal to send a vehicle use request can be set according to the actual situation. For example, in a feasible method provided in an embodiment of the present invention, the specific process of sending a vehicle use request includes: when the user wants to play a motor game vehicle, use a user terminal such as a mobile phone or tablet computer to scan the QR code icon pasted on the motor game vehicle. The user terminal will read the vehicle number of the motor game vehicle through the QR code, encapsulate the vehicle number into a vehicle use request and send it to the server.

[0058] In addition, it should be noted that the motorized game vehicles involved in the embodiments of the present invention refer to vehicles set up in places such as playgrounds, amusement parks, parks and shopping malls, for users to drive vehicles to play games, or for users to play games pre-installed on the vehicles, including but not limited to karts, bumper cars, racing game cars, etc.

[0059] S120, if the vehicle start information sent by the motor game vehicle is received, the start time point is recorded, wherein the vehicle start information is sent to the server by the motor game vehicle when it receives the vehicle start instruction triggered by the user and controls the internal power supply module to start.

[0060] It should be noted that the vehicle start information in the embodiment of the present invention is generated by the motor game vehicle and sent to the server only when the user wants to control the motor game vehicle to move, that is, when the user wants to start the power supply module of the motor game vehicle.

[0061] Further, when the server determines that the user starts to control the motor game vehicle to move to officially play, that is, when the server receives the vehicle start information sent by the motor game vehicle, the current time will be recorded as the start time point.

[0062] It should also be noted that the motorized game vehicle provided in the embodiment of the present invention provides two play modes, one is that the user controls the movement of the motorized game vehicle to play, and the other is that the user plays the game pre-installed in the motorized game vehicle.

[0063] It is understandable that the process of the user triggering the vehicle start command can be set according to the actual situation. For example, in one feasible way, the motorized game vehicle is provided with an accelerator, and when the user steps on the accelerator, the vehicle start command will be triggered. It is not difficult to find that the triggering method of this vehicle start command is very simple, which can make the user play the motorized game vehicle more conveniently.

[0064] In another feasible method provided by the embodiment of the present invention, the motorized game vehicle is provided with a display screen, which is activated only after the motorized game vehicle is unlocked, and the display screen will display two virtual buttons, "vehicle start" and "vehicle stop". Furthermore, when the user clicks the "vehicle start" button, the vehicle start command will be triggered. It is not difficult to find that this triggering method requires the user to identify / confirm the text displayed on the display screen before it can be carried out, which is relatively safe, so it can avoid the situation where the user accidentally triggers the vehicle start command.

[0065] S130, when the first stop use information sent by the motor game vehicle is received, or the vehicle deactivation request sent by the user terminal is received, the first deactivation time point is recorded, wherein the first stop use information is sent to the server by the motor game vehicle when it receives the stop use instruction triggered by the user and controls the power supply module to stop.

[0066] That is, when the user wants to stop using the motorized game vehicle, the user can trigger the stop-use instruction through the preset button on the motorized game vehicle, and then the motorized game vehicle generates and sends the first stop-use information to the server; the user can also perform a preset operation on the user terminal to make the user terminal send a vehicle stop-use request to the server. When the server receives the first stop-use information or the vehicle stop-use request, it will control the motorized game vehicle to lock and record the current time point as the first stop-use time point.

[0067] Further, when the stop-use instruction of the motorized game vehicle in the embodiment of the present invention is triggered, the motorized game vehicle will control the power supply module to stop working, and the user can no longer play the motorized game vehicle. Therefore, the triggering of the stop-use instruction indicates that the user has stopped using the motorized game vehicle.

[0068] Furthermore, when the server in the embodiment of the present invention receives the vehicle deactivation request, it will also synchronously send a power supply module stop instruction to the motor game vehicle so that the user can no longer play the motor game vehicle.

[0069] It is understandable that the triggering method of the first vehicle deactivation information in the embodiment of the present invention can be set according to the actual situation. For example, in one feasible method provided in the embodiment of the present invention, the motorized game vehicle is provided with a vehicle deactivation button. When the user presses the vehicle deactivation button, the deactivation instruction will be triggered. It is understandable that the triggering method of this deactivation instruction is very simple, which enables the user to return the vehicle relatively conveniently.

[0070] In another feasible way, the motorized game vehicle is provided with a display screen, which is activated only after the motorized game vehicle is unlocked, and the display screen will display two virtual buttons, "vehicle start" and "vehicle stop". Then, when the user clicks the "vehicle stop" button, the stop use instruction will be triggered. It is not difficult to find that this triggering method requires the user to identify / confirm the text displayed on the display screen before it can be carried out, which is relatively safe, so it can avoid the situation where the user accidentally triggers the stop use instruction.

[0071] S140, calculating the vehicle usage time using the start time point and the first deactivation time point, and controlling the motor game vehicle to be locked.

[0072] That is, when the user wants to return the motor vehicle, the server will calculate the user's vehicle usage time based on the start time point and the first inactivity time, and control the vehicle to be locked.

[0073] It is not difficult to understand that the start time point is the time point when the user starts to control the movement of the motor game vehicle, and the first deactivation time point is the time point when the user no longer controls the movement of the motor game vehicle and wants to return the motor game vehicle. Therefore, the vehicle usage time obtained based on the start time point and the first deactivation time point can represent the time the user controls the movement of the motor game vehicle, that is, the time the user actually plays the motor game vehicle.

[0074] It is understandable that most motorized game vehicles in places such as playgrounds, amusement parks, parks and shopping malls have fixed consumption corresponding to fixed durations, such as 30 yuan for 10 minutes of play time. However, users may decide to stop playing after playing for 5 minutes, but they cannot get a refund. For example, after the 10-minute play time is over, the user wants to play for another 5 minutes, but still needs to pay 30 yuan. Not only that, when the user pays the fee and suddenly leaves the motorized game vehicle, other users and staff cannot determine whether the user has finished playing, resulting in the motorized game vehicle being idle.

[0075] Based on this, an embodiment of the present invention provides the above-mentioned method for calculating the vehicle usage time, so that users can freely control the time of playing the motor game vehicle; and even if the user suddenly leaves the motor game vehicle, the staff can also determine whether the vehicle is locked through the server to clarify whether the user has ended the game, thereby avoiding the situation where the motor game vehicle is idle.

[0076] S150: If the vehicle startup information is not received but the vehicle deactivation request is received, a second deactivation time point is recorded.

[0077] It should be noted that when the server receives the vehicle start information sent by the motorized game vehicle but receives the vehicle deactivation request sent by the user terminal, it means that the user chooses to end the game without controlling the motorized game vehicle to move. It is understandable that the user may be playing a game pre-installed on the motorized game vehicle, so he did not control the movement of the motorized game vehicle.

[0078] Furthermore, when the server receives the vehicle deactivation request sent by the user terminal, the server records the current time as the second deactivation time.

[0079] S160, calculating the vehicle usage time using the unlocking time point and the second deactivation time point, and controlling the mobile game vehicle to be locked.

[0080] It is understandable that the unlocking time point indicates the time point when the user wants to use the motorized game vehicle, and the second deactivation time point represents the time point when the user does not control the motorized game vehicle but chooses to end the game. The vehicle usage time obtained based on the unlocking time point and the second deactivation time point can represent the time the user plays the game on the motorized game vehicle, and can also represent the time the user occupies the motorized game vehicle.

[0081] Based on this, the server in the embodiment of the present invention will also calculate the vehicle usage time based on the time the user occupies the vehicle or the time the user plays games in the vehicle when the user does not control the movement of the vehicle.

[0082] In the method for calculating the vehicle usage time provided by the embodiment of the present invention, when the server receives a vehicle usage request sent by the user through the user terminal, it will control the unlocking of the motor vehicle corresponding to the vehicle usage request so that the user can play the motor vehicle, and record the unlocking time point at the same time to determine the time point when the user occupies the motor vehicle and is ready to start playing the motor vehicle; then, if the server receives the vehicle start information sent by the motor vehicle and determines that the user has started to control the movement of the motor vehicle, it will record the start time point, that is, the time point when the user actually starts playing the motor vehicle; then, when the server receives the information / request from the user to stop playing the vehicle, that is, receives the first stop use information sent by the motor vehicle, When the server receives the vehicle start information sent by the motor game vehicle, or receives the vehicle deactivation request sent by the user terminal, it will record the time when the user stops using the vehicle, that is, the first deactivation time point; thereafter, the server will calculate the vehicle usage time according to the start time point and the first deactivation time point, and control the motor game vehicle to be locked; and when the server does not receive the vehicle start information sent by the motor game vehicle, but receives the vehicle deactivation request, that is, the user does not control the movement of the motor game vehicle but chooses to stop playing the motor game vehicle, the second deactivation time point will be recorded; finally, the server uses the unlocking time point and the second deactivation time point to calculate the length of time the user plays games on the motor game vehicle, or the length of time the user occupies the vehicle, that is, the vehicle usage time, and controls the motor game vehicle to be locked.

[0083] Based on this, the embodiment of the present invention allows users to stop playing or continue playing the motorized game vehicle at any time, thereby improving the user's freedom of play; and, because the motorized game vehicle will be locked after the user chooses to end the play, other users and staff can determine whether the vehicle is idle based on the locking status of the vehicle. In addition, because the calculation of the vehicle usage time is completed using the start time point, the first inactivity time point, the second inactivity time point and the unlocking time point, the vehicle usage time can represent the time when the user actually controls the movement of the motorized game vehicle, or the time when the user occupies the motorized game vehicle, so that the user's vehicle usage billing and the company's vehicle usage time statistics can be carried out according to the user's real time, making the user's payment reasonable, thereby improving user satisfaction, and providing effective vehicle usage data support for the company.

[0084] Optionally, in order to ensure the safety of the vehicle and avoid conflicts in the use of the vehicle between multiple users, in a feasible method provided in an embodiment of the present invention, specific reference may be made to Figure 2 , which shows a flow chart of a second method for calculating the vehicle use time provided by an embodiment of the present invention, that is, in this feasible manner, S110 includes:

[0085] S111, responding to a vehicle use request sent by a user terminal, verifying the legitimacy of the user terminal and the state of the amusement vehicle corresponding to the vehicle use request, wherein the state includes occupied and idle;

[0086] S112, if the user terminal is legal and the state of the motor game vehicle is idle, controlling the motor game vehicle to unlock, recording the unlocking time point, and setting the state of the motor game vehicle to occupied;

[0087] After S140 and after S160, the method further includes:

[0088] The state of the ride vehicle is set to idle.

[0089] That is, in this feasible method, the vehicle use request sent by the user terminal includes the terminal identifier corresponding to the user terminal and the vehicle number corresponding to the amusement vehicle. When the server receives and decapsulates the vehicle use request to obtain the terminal identifier and the vehicle number, it will check the terminal identifier to verify that the terminal identifier can correctly point to a user terminal or a user, thereby completing the legality of the user terminal.

[0090] Optionally, in one feasible method, since the user needs to register an account in the corresponding APP (Application) before using the motorized game vehicle, the terminal identifier is the user's account.

[0091] Furthermore, when the server is verifying the legitimacy of the user terminal, it will also determine whether the motorized game vehicle corresponding to the vehicle number has been used by other users, that is, determine whether the state of the motorized game vehicle is idle or occupied.

[0092] It is understandable that the status of the mobile game vehicle is idle, indicating that the mobile game vehicle is currently not in use and can be used by any user.

[0093] It can also be understood that the occupation involved in the embodiment of the present invention can be understood as the binding of a user and a motorized game vehicle. Specifically, when any user successfully unlocks a motorized game vehicle, the server will bind the user to the motorized game vehicle unlocked by the user, and based on the pre-set rule that a user can only bind one motorized game vehicle at the same time, to prevent other users from using the motorized game vehicle currently being used by the user.

[0094] Optionally, in a feasible manner, the binding between the user and the motor game vehicle is achieved by the server associating the user account of the user with the vehicle number of the vehicle.

[0095] Optionally, in one feasible manner, when a vehicle breaks down, the status of the vehicle will continue to be set to occupied until it is changed to idle when the vehicle breakdown has been repaired.

[0096] Furthermore, when the server associates the user account of the user with the vehicle number of the vehicle to achieve binding, in a feasible method provided in an embodiment of the present invention, the server will also verify the legitimacy of the user terminal and the status of the motor game vehicle, while also checking whether there is a preset amount of virtual currency in the account corresponding to the user account, so as to avoid the situation where the user cannot pay normally after starting to play the motor game vehicle.

[0097] Furthermore, when the server controls the locking of the motor game vehicle due to the user's request / instruction to stop playing the motor game vehicle, since the motor game vehicle is currently not in use, the server will also set the status of the locked vehicle to idle, that is, release the association between the user and the motor game vehicle so that the vehicle can be unlocked normally.

[0098] Based on this, the embodiment of the present invention prevents illegal users from using the motor vehicle, thereby ensuring the safety of the vehicle; and based on the inspection of the vehicle status, it prevents multiple users from using a motor vehicle at the same time, so that the motor vehicle can be used normally by users.

[0099] Optionally, in a feasible method provided in an embodiment of the present invention, in order to avoid the phenomenon of random parking of motor game vehicles, the first stop use information is sent to the server by the motor game vehicle when it receives the stop use instruction and controls the power supply module to stop and is in a preset parking space.

[0100] That is, the motorized game vehicle in the embodiment of the present invention can generate and send the first stop use information to the server only when it is in the preset parking space. Therefore, when the user wants to stop playing, he needs to park the motorized game vehicle in the preset parking space to ensure the parking order of the motorized game vehicles. In addition, it can also ensure that other subsequent users can find available vehicles in the preset parking space, thereby improving the user's car use experience.

[0101] Furthermore, in order to ensure the parking order of motor game vehicles, in a feasible method provided in an embodiment of the present invention, the motor game vehicle is provided with a preset number of electronic tag readers, and the preset parking space is provided with the preset number of electronic tags. When the motor game vehicle is in the preset parking space, it means that each electronic tag reader of the motor game vehicle reads the electronic tag in the preset parking space.

[0102] To better illustrate this feasible method provided by the embodiment of the present invention, please refer to Figure 3a and Figure 3b, respectively showing a schematic diagram of a preset parking space provided by an embodiment of the present invention and a schematic diagram of the bottom of a mobile game vehicle. In the schematic diagram of the preset parking space, a first electronic tag 201, a second electronic tag 202, a third electronic tag 203 and a fourth electronic tag 204 are provided in the preset parking space 200; and a first electronic tag reader 301, a second electronic tag reader 302, a third electronic tag reader 303 and a fourth electronic tag reader 304 are provided in the bottom of the vehicle 300 in the schematic diagram of the bottom of the vehicle.

[0103] It can be understood that when the electronic tag readers 301 to 304 of the motor game vehicle can respectively read different electronic tags 201 to 204 in the preset parking space 200, such as the first electronic tag reader 301 reads the first electronic tag 201, the second electronic tag reader 302 reads the second electronic tag 202, the third electronic tag reader 303 reads the third electronic tag 203, and the fourth electronic tag reader 304 reads the fourth electronic tag 204, it indicates that the motor game vehicle has been parked in the preset parking space 200 in a standardized manner, and the motor game vehicle will generate and send the first stop use information to the server.

[0104] Based on this, the embodiment of the present invention ensures that the user needs to park the motor game vehicle in a preset parking space in a standardized manner before returning the vehicle, so that the parking order of the motor game vehicles is further guaranteed.

[0105] In addition, it can be understood that the number of electronic tags and electronic tag readers in the embodiment of the present invention can be set according to actual conditions. Figure 3a and Figure 3b All are used for illustration purposes only.

[0106] Furthermore, in a feasible manner provided by an embodiment of the present invention, after S120, the method further includes:

[0107] When receiving the second stop use information sent by the motorized game vehicle, recording the third stop use time point, wherein the second stop use information is sent to the server by the motorized game vehicle when it receives the stop use instruction and controls the power supply module to stop and is not in the preset parking position;

[0108] The vehicle use time is calculated using the start time point, the third deactivation time point and the preset time length, and the motor game vehicle is controlled to be locked.

[0109] That is, when the user does not park the vehicle at the preset parking space, the server in the embodiment of the present invention will calculate the vehicle usage time based on the preset time length based on the user controlling the motorized game vehicle for mobile play.

[0110] It is understandable that this feasible approach is similar to the existing illegal parking fees for shared vehicles, which is used to charge users additional fees when they do not return the vehicle to the correct location, so that users are encouraged to park their vehicles in preset parking spaces when they know that additional fees will be charged.

[0111] Optionally, in a feasible manner provided by an embodiment of the present invention, when the motorized game vehicle is not in the preset parking space but receives a stop-use instruction triggered by the user, the motorized game vehicle will play a corresponding prompt voice and / or prompt video to inform the user that the vehicle needs to be returned to the preset parking space. If the user repeatedly triggers the stop-use instruction outside the preset parking space, or clicks a preset button / virtual button on the motorized game vehicle, the motorized game vehicle will generate and send a second stop-use information to the server.

[0112] Optionally, while the motorized game vehicle will play a corresponding prompt voice and / or prompt video to inform the user that the vehicle must be returned to the preset parking space, the motorized game vehicle can also play / display the location of the nearest preset parking space.

[0113] In addition, it can also be understood that the server in the embodiment of the present invention is also provided with a function of checking whether the motor game vehicle is located in a preset parking space. Then, when the server receives a vehicle deactivation request sent by the user terminal, the server will obtain the position of the motor game vehicle to determine whether the motor game vehicle is in the preset parking space. If not, the start time point, the third deactivation time point and the preset duration will be used to calculate the vehicle usage time.

[0114] Furthermore, in order to create a good vehicle use environment, in a feasible manner provided in an embodiment of the present invention, when the second stop use information sent by the motor game vehicle is received, after recording the third stop use time point, the method further includes:

[0115] Sending dispatch notification information to the staff's terminal to dispatch the amusement vehicle to the preset parking space.

[0116] That is, when the server determines that a user has not parked a motor vehicle in a standardized manner, the server will simultaneously send a dispatch notification message to the staff's terminal so that the staff can dispatch the motor vehicle that is not parked in a standardized manner to a preset parking space to improve the phenomenon of random parking and create a good vehicle use environment.

[0117] Furthermore, in order to improve the user experience, in a feasible manner provided in an embodiment of the present invention, the use time of the vehicle is calculated by using the start time point, the third deactivation time point and the preset time, and the locking of the motor game vehicle is controlled, including:

[0118] Calculating the vehicle use time using the start time point, the third deactivation time point and a preset time length;

[0119] If the vehicle start information sent by the motor game vehicle is not received within a preset time after receiving the parking space notification information sent by the motor game vehicle, the motor game vehicle is controlled to be locked, wherein the parking space notification information is sent to the server by the motor game vehicle when it is in the preset parking space.

[0120] That is, considering that the user may pause the vehicle play due to an emergency and choose to end the play outside the preset parking space, the server in the embodiment of the present invention will not immediately lock the vehicle after calculating the vehicle usage time using the start time point, the third deactivation time point and the preset time, so as to avoid the situation where the user finds it difficult to continue the play after handling the emergency.

[0121] If the user does not trigger the vehicle start command within the preset time, that is, the user does not return to the motor vehicle to continue playing, the server will lock the motor vehicle to allow other users to use it normally.

[0122] Based on this, the embodiment of the present invention allows the user to continue playing the motor vehicle within a preset time when the user pauses playing the vehicle due to an emergency, thereby improving the user experience.

[0123] Example 2

[0124] Corresponding to the method for calculating the vehicle usage time provided in the embodiment of the present invention, the embodiment of the present invention also provides a device for calculating the vehicle usage time, referring to Figure 4 , Figure 4 The schematic diagram of the structure of the vehicle usage time calculation device provided by the embodiment of the present invention is shown. The vehicle usage time calculation device 400 provided by the embodiment of the present invention is applied to a server, and the device includes:

[0125] The unlocking time recording module 410 is used to respond to the vehicle use request sent by the user terminal, control the unlocking of the motorized game vehicle corresponding to the vehicle use request, and record the unlocking time point;

[0126] A start time recording module 420 is used to record the start time point if the vehicle start information sent by the motor game vehicle is received, wherein the vehicle start information is sent to the server by the motor game vehicle when it receives the vehicle start instruction triggered by the user and controls the internal power supply module to start;

[0127] A first deactivation time recording module 430 is used to record a first deactivation time point when receiving a first deactivation information sent by the motorized game vehicle or receiving a vehicle deactivation request sent by the user terminal, wherein the first deactivation information is sent to the server by the motorized game vehicle when receiving a deactivation instruction triggered by the user and controlling the power supply module to stop;

[0128] A first locking module 440, for calculating the vehicle usage time using the start time point and the first stop time point, and controlling the locking of the motor game vehicle;

[0129] A second deactivation time recording module 450 is configured to record a second deactivation time point if the vehicle startup information is not received but the vehicle deactivation request is received;

[0130] The second locking module 460 is used to calculate the vehicle usage time using the unlocking time point and the second deactivation time point, and control the locking of the motor game vehicle.

[0131] Optionally, in a feasible manner provided by an embodiment of the present invention, the unlocking time recording module includes:

[0132] A response submodule, for responding to a vehicle use request sent by a user terminal, verifying the legitimacy of the user terminal and the state of the motorized game vehicle corresponding to the vehicle use request, wherein the state includes occupied and idle;

[0133] An occupation setting submodule, for controlling the motor game vehicle to unlock, record the unlocking time point, and set the state of the motor game vehicle to occupied if the user terminal is legal and the state of the motor game vehicle is idle;

[0134] The first locking module and the second locking module also include:

[0135] The idle setting submodule is used to set the state of the motor game vehicle to idle.

[0136] Optionally, in a feasible method provided in an embodiment of the present invention, the first stop use information is sent to the server by the motor game vehicle when it receives the stop use instruction and controls the power supply module to stop and is in a preset parking space.

[0137] Optionally, in a feasible method provided by an embodiment of the present invention, the motor game vehicle is provided with a preset number of electronic tag readers, and the preset parking space is provided with the preset number of electronic tags, and when the motor game vehicle is in the preset parking space, it means that each electronic tag reader of the motor game vehicle reads the electronic tag in the preset parking space.

[0138] Optionally, in a feasible manner provided in an embodiment of the present invention, the device further includes:

[0139] a third deactivation time recording module, configured to record a third deactivation time point when receiving a second deactivation information sent by the motorized game vehicle, wherein the second deactivation information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the deactivation instruction and controls the power supply module to stop and is not in the preset parking position;

[0140] The third locking module is used to calculate the vehicle usage time using the start time point, the third deactivation time point and the preset time length, and control the locking of the motor game vehicle.

[0141] Optionally, in a feasible manner provided in an embodiment of the present invention, the device further includes:

[0142] The notification module is used to send dispatch notification information to the terminal of the staff to dispatch the mobile game vehicle to the preset parking space.

[0143] Optionally, in a feasible manner provided in an embodiment of the present invention, the third locking module includes:

[0144] A calculation submodule, configured to calculate the vehicle use time using the start time point, the third deactivation time point and a preset time length;

[0145] The vehicle locking submodule is used to control the locking of the motor game vehicle if the vehicle start information sent by the motor game vehicle is not received within a preset time after receiving the parking space notification information sent by the motor game vehicle, wherein the parking space notification information is sent to the server by the motor game vehicle when the motor game vehicle is in the preset parking space.

[0146] The vehicle usage time calculation device 400 provided in the embodiment of the present application can implement each process of the vehicle usage time calculation method in Example 1, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0147] An embodiment of the present invention further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the method for calculating the vehicle usage time disclosed in Embodiment 1 is executed.

[0148] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run on a processor, the method for calculating the vehicle usage time disclosed in Embodiment 1 is executed.

[0149] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0150] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0151] If the functions are implemented in the form of software function 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 the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0152] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for calculating the length of vehicle use, characterized in that: Applied to a server, the method comprises: In response to a vehicle use request sent by a user terminal, controlling the unlocking of a motorized game vehicle corresponding to the vehicle use request, and recording the unlocking time point; If the vehicle start information sent by the motorized game vehicle is received, the start time point is recorded, wherein the vehicle start information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the vehicle start instruction triggered by the user and controls the internal power supply module to start; When receiving the first stop-use information sent by the motorized game vehicle or receiving the vehicle stop-use request sent by the user terminal, recording the first stop-use time point, wherein the first stop-use information is sent to the server by the motorized game vehicle when receiving the stop-use instruction triggered by the user and controlling the power supply module to stop; Calculating the vehicle usage time using the start time point and the first stop time point, and controlling the motor game vehicle to be locked; If the vehicle startup information is not received, but the vehicle deactivation request is received, recording the second deactivation time point; Calculating the vehicle usage time using the unlocking time point and the second deactivation time point, and controlling the motor game vehicle to be locked; The first stop use information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the stop use instruction and controls the power supply module to stop and is in a preset parking position; If the vehicle start information sent by the motor game vehicle is received, after recording the start time point, the method further includes: When receiving the second stop use information sent by the motorized game vehicle, recording the third stop use time point, wherein the second stop use information is sent to the server by the motorized game vehicle when it receives the stop use instruction and controls the power supply module to stop and is not in the preset parking position; The vehicle use time is calculated using the start time point, the third deactivation time point and the preset time length, and the motor game vehicle is controlled to be locked.

2. The method for calculating the vehicle usage time according to claim 1, characterized in that: The responding to the vehicle use request sent by the user terminal, controlling the unlocking of the motor vehicle corresponding to the vehicle use request, and recording the unlocking time point, includes: In response to a vehicle use request sent by a user terminal, verify the legitimacy of the user terminal and the state of the amusement vehicle corresponding to the vehicle use request, wherein the state includes occupied and idle; If the user terminal is legitimate and the state of the motor game vehicle is idle, controlling the motor game vehicle to unlock, recording the unlocking time point, and setting the state of the motor game vehicle to occupied; After the vehicle use time is calculated by using the start time point and the first deactivation time point, and the vehicle is locked, and after the vehicle use time is calculated by using the unlock time point and the second deactivation time point, and the vehicle is locked, the method further includes: The state of the ride vehicle is set to idle.

3. The method for calculating the vehicle usage time according to claim 1, characterized in that: The motor game vehicle is provided with a preset number of electronic tag readers, and the preset parking space is provided with the preset number of electronic tags. When the motor game vehicle is in the preset parking space, it means that each electronic tag reader of the motor game vehicle reads the electronic tag in the preset parking space.

4. The method for calculating the vehicle usage time according to claim 1, characterized in that: When receiving the second stop use information sent by the motor game vehicle, after recording the third stop use time point, the method further includes: Sending dispatch notification information to the staff's terminal to dispatch the amusement vehicle to the preset parking space.

5. The method for calculating the vehicle usage time according to claim 1, characterized in that: The method of calculating the vehicle use time by using the start time point, the third deactivation time point and the preset time length, and controlling the locking of the motor game vehicle, comprises: Calculating the vehicle use time using the start time point, the third deactivation time point and a preset time length; If the vehicle start information sent by the motor game vehicle is not received within a preset time after receiving the parking space notification information sent by the motor game vehicle, the motor game vehicle is controlled to be locked, wherein the parking space notification information is sent to the server by the motor game vehicle when it is in the preset parking space.

6. A device for calculating vehicle usage time, characterized in that: Applied to a server, the device comprises: An unlocking time recording module, used to respond to a vehicle use request sent by a user terminal, control the unlocking of the motorized game vehicle corresponding to the vehicle use request, and record the unlocking time point; A start time recording module, for recording a start time point if vehicle start information sent by the motorized game vehicle is received, wherein the vehicle start information is sent to the server by the motorized game vehicle when it receives a vehicle start instruction triggered by a user and controls an internal power supply module to start; A first deactivation time recording module, used to record a first deactivation time point when receiving a first deactivation information sent by the motorized game vehicle or receiving a vehicle deactivation request sent by the user terminal, wherein the first deactivation information is sent to the server by the motorized game vehicle when receiving a deactivation instruction triggered by the user and controlling the power supply module to stop; A first locking module, used to calculate the vehicle usage time using the start time point and the first stop time point, and control the locking of the motor game vehicle; A second deactivation time recording module, configured to record a second deactivation time point if the vehicle startup information is not received but the vehicle deactivation request is received; A second locking module, used to calculate the vehicle usage time using the unlocking time point and the second deactivation time point, and control the locking of the motor game vehicle; The first stop use information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the stop use instruction and controls the power supply module to stop and is in a preset parking position; The device also includes: a third deactivation time recording module, configured to record a third deactivation time point when receiving a second deactivation information sent by the motorized game vehicle, wherein the second deactivation information is sent to the server by the motorized game vehicle when the motorized game vehicle receives the deactivation instruction and controls the power supply module to stop and is not in the preset parking position; The third locking module is used to calculate the vehicle usage time using the start time point, the third deactivation time point and the preset time length, and control the locking of the motor game vehicle.

7. A computer device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the computer program runs on the processor, it executes the method for calculating the vehicle usage time as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a processor, the method for calculating the vehicle usage time as described in any one of claims 1 to 5 is executed.