CN113342533B - Vehicle using method and device - Google Patents

Vehicle using method and device Download PDF

Info

Publication number
CN113342533B
CN113342533B CN202110717445.1A CN202110717445A CN113342533B CN 113342533 B CN113342533 B CN 113342533B CN 202110717445 A CN202110717445 A CN 202110717445A CN 113342533 B CN113342533 B CN 113342533B
Authority
CN
China
Prior art keywords
vehicle
server
request
information
preset time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110717445.1A
Other languages
Chinese (zh)
Other versions
CN113342533A (en
Inventor
朱波
顾蒙
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Xiaoliu Information Technology Co ltd
Original Assignee
Zhejiang Xiaoliu Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Xiaoliu Information Technology Co ltd filed Critical Zhejiang Xiaoliu Information Technology Co ltd
Priority to CN202110717445.1A priority Critical patent/CN113342533B/en
Publication of CN113342533A publication Critical patent/CN113342533A/en
Application granted granted Critical
Publication of CN113342533B publication Critical patent/CN113342533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a vehicle using method and a device, wherein the vehicle using method comprises the following steps: the mobile terminal sends a vehicle control request to the server according to the operation based on the user, judges whether response information returned by the server is received within a first preset time period, and if the response information returned by the server is received within the first preset time period as service abnormality information or the response information returned by the server is not received within the first preset time period, establishes Bluetooth connection with the vehicle, and then executes preset operation corresponding to the vehicle control request through Bluetooth, thereby completing control of the vehicle. Therefore, the situation that the user can operate the vehicle only after waiting for the server to recover or respond normally in situ is avoided, and the vehicle using experience of the user is effectively improved.

Description

Vehicle using method and device
Technical Field
The invention relates to the field of vehicle control, in particular to a vehicle using method and device.
Background
In the use process of the shared vehicle, the normal operation of the server is one of the necessary conditions for ensuring that the user normally uses the vehicle, for example, when the vehicle borrows or returns, the user is required to send a vehicle borrowing request or a vehicle returning request to the server through an application program on the mobile terminal, and the response of the server is waited for completing the vehicle borrowing or the vehicle returning.
When the server crashes or has no response for a long time, the user can only wait for the server to recover or contact customer service to complete the required vehicle operation. This approach not only requires a significant amount of labor cost, but also greatly affects the user's ride experience.
Disclosure of Invention
In view of the above, the present invention provides a vehicle usage method and device for solving the problem of how to make a user use a shared vehicle normally when a server crashes.
In a first aspect, an embodiment of the present invention provides a method for using a vehicle, which is applied to a mobile terminal, including:
Based on the user operation, sending a vehicle control request to a server, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
Judging whether response information returned by the server is received within a first preset time period, wherein the response information comprises service abnormality information or request success information;
If the response information returned by the received server is the service abnormality information or the response information returned by the server is not received in the first preset time, establishing Bluetooth connection with the vehicle, and executing the preset operation corresponding to the vehicle control request through Bluetooth so as to realize the control of the vehicle based on the vehicle control request.
In the embodiment of the invention, the mobile terminal sends a vehicle control request to the server according to the operation based on the user, judges whether response information returned by the server is received within a first preset time period, and if the response information returned by the server is received within the first preset time period as service abnormality information or the response information returned by the server is not received within the first preset time period, establishes Bluetooth connection with the vehicle, and then executes preset operation corresponding to the vehicle control request through Bluetooth, thereby completing the control of the vehicle.
Therefore, when the server is crashed or the response information of the server cannot be obtained for a long time, the user can directly perform temporary locking operation, vehicle returning operation and vehicle borrowing operation on the vehicle through the mobile terminal, namely any one of vehicle using operation, so that the situation that the user can operate the vehicle after waiting for the server to recover or respond normally in situ is avoided, the vehicle using experience of the user is effectively improved, and the labor cost required by vehicle operation is reduced.
In an optional implementation manner provided in the embodiment of the present invention, if the vehicle control request is a vehicle return request, a preset operation corresponding to the vehicle control request is executed through bluetooth to implement control of the vehicle based on the vehicle control request, including:
Acquiring pre-stored position information of all parking points, and acquiring current position information of a vehicle;
if the current position information is matched with the position information of all parking points, determining that the vehicle is located at the parking points, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: the method and the device can judge whether the user returns the car at the parking spot according to the pre-stored position information of the parking spot, avoid the situation that the user needs to acquire the position of the parking spot from the server before judging whether the user returns the car at the parking spot, ensure that the server crashes or the server does not respond for a long time, ensure that the user can still execute the car returning operation, ensure the normal execution of the car returning process and further improve the car using experience of the user.
Further, in an alternative implementation manner provided in the embodiment of the present invention, a vehicle instruction is sent to a vehicle through bluetooth to control locking of the vehicle, including:
Again sending a vehicle return request to the server;
judging whether response information returned by the server again is received within a second preset time period;
If the response information returned by the server is received as the service abnormality information within the second preset time period or the response information returned by the server is not received within the second preset time period, a vehicle locking instruction is sent to the vehicle through Bluetooth so as to control the vehicle to be locked.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: under the condition that a user needs to return to the vehicle, but the server breaks down or does not respond for a long time, the mobile terminal of the user and the server are communicated as far as possible so as to ensure the execution of a normal vehicle returning process; further, only when the server is confirmed to crash again or no response is generated for a long time, the vehicle is controlled to return through the mobile terminal, so that the vehicle returning experience of a user is ensured, and the safety of the vehicle is improved.
Further, in an optional implementation manner provided in the embodiment of the present invention, after the steps of obtaining the position information of all pre-stored parking points and obtaining the current position information of the vehicle, the method for using the vehicle further includes:
If the current position information is not matched with the position information of all parking spots, determining that the vehicle is not located at the parking spot, and planning and displaying a route of the vehicle to the nearest parking spot.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: when the user does not return to the parking point, a route is planned for the user according to the pre-stored position information of the parking point, so that the user can be guided to return to the parking point when the user enters the parking point which is stopped or the position of the parking point is unclear, and reasonable parking and management of the vehicle are ensured.
In a possible implementation manner provided in this embodiment of the present invention, after receiving, within a first preset period of time, response information returned by the server as service abnormality information, or not receiving, within the first preset period of time, response information returned by the server, the method for using a vehicle further includes:
A prompt to establish a bluetooth connection with the vehicle is generated.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: after prompting the user to open the bluetooth connection so that the mobile terminal can connect and control the vehicle through the bluetooth.
In a possible implementation manner provided in the embodiment of the present invention, after the step of establishing a bluetooth connection with a vehicle and performing a preset operation corresponding to a vehicle control request through bluetooth to implement control of the vehicle based on the vehicle control request, the method for using the vehicle further includes:
The vehicle or the mobile terminal records the execution log, and after a third preset time length, the vehicle or the mobile terminal sends the execution log information to the server, and the server sends feedback information to the mobile terminal according to the execution log information.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: when the reason that the mobile terminal cannot normally communicate with the server is determined to be the condition caused by the server according to the log information, attracting the user to use the vehicle again according to the feedback information; and when the reason is the situation caused by the mobile terminal, the server determines the use situation of the vehicle according to the execution log information and settles the order of the user so as to ensure the normal use of the vehicle.
In a second aspect, an embodiment of the present invention provides another method for using a vehicle, including:
The mobile terminal sends a vehicle control request to the server, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
If the mobile terminal does not receive the response information within the first preset time period or the response information received within the first preset time period is the service abnormality information, the mobile terminal establishes Bluetooth connection with the vehicle, and executes preset operation corresponding to the vehicle control request through Bluetooth so as to realize the control of the vehicle based on the vehicle control request.
In a third aspect, an embodiment of the present invention provides a use device for a vehicle, including:
the system comprises a request initiating module, a server and a request locking module, wherein the request initiating module is used for sending a vehicle control request to the server based on user operation, and the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
the judging module is used for judging whether response information returned by the server is received within a first preset time period, wherein the response information comprises service abnormality information or request success information;
And the execution module is used for establishing Bluetooth connection with the vehicle if the response information received from the server in the first preset time is service abnormality information or the response information is not received in the first preset time, and executing the preset operation corresponding to the vehicle control request through Bluetooth so as to realize the control of the vehicle based on the vehicle control request.
In a fourth aspect, an embodiment of the invention provides a computer device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs a method of using a vehicle as in any of the first or second aspects.
In a fifth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored thereon, which when run on a processor performs a method of using a vehicle as in any of the first or second aspects.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are required for the embodiments will be briefly described, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope of the present invention. Like elements are numbered alike in the various figures.
Fig. 1 is a schematic flow chart of a method for using a vehicle according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another method for using a vehicle according to an embodiment of the present invention;
Fig. 3 is a schematic structural view of a vehicle using device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The terms "comprises," "comprising," "including," or any other variation thereof, are intended to cover a specific feature, number, step, operation, element, component, or combination of the foregoing, which may be used in various embodiments of the present invention, and are not intended to first exclude the presence of or increase the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
Example 1
Referring to fig. 1, fig. 1 shows a flow chart of a method for using a vehicle according to an embodiment of the present invention, where the method for using a vehicle applied to a mobile terminal includes:
S110, based on the user operation, a vehicle control request is sent to the server, wherein the vehicle control request includes a vehicle use request, a vehicle return request, or a vehicle temporary lock request.
It can be understood that when the user needs to use the vehicle, i.e. borrow the vehicle, return the vehicle, or temporarily lock the vehicle, the user operates on the mobile terminal to enable the mobile terminal to generate a corresponding vehicle control request and send the corresponding vehicle control request to the server, and if the server can normally receive and respond, the server can normally send an instruction to the vehicle to complete the operation requirement of the user.
S120, judging whether response information returned by the server is received within a first preset time period, wherein the response information comprises service abnormality information or request success information.
Specifically, the response information in the embodiment of the invention is used for indicating whether the server normally receives the request command sent by the mobile terminal, and normally generates the corresponding control command according to the vehicle control request so as to complete the vehicle use requirement of the user. If the server normally receives the request command and can normally generate the control command according to the vehicle control request, the response information includes the corresponding control command and the network status code when the server receives the request.
Further, when the server normally receives the request command and can generate a control command according to the vehicle control request and send the control command to the mobile terminal, and the mobile terminal receives the control command issued by the server within the first preset time, the mobile terminal and the server are both represented to normally operate, and at this time, the vehicle is controlled by the server. If the server cannot normally receive the request command, or the server cannot normally generate the control command according to the received vehicle control request, or the response information returned by the server is not returned within the first preset time period, or the mobile terminal does not receive the response information returned by the server within the first preset time period, the communication quality between the mobile terminal and the server is poor, or the operation state of the server is abnormal, so that the server cannot correctly respond to control the vehicle to execute corresponding operation.
It will be appreciated that when a client sends a request to a server, the server returns a network status code to indicate the status of the server itself, regardless of whether the request is properly responded to. Therefore, the embodiment of the invention is based on the network status code to determine whether the server is operating correctly, if not, the vehicle is controlled by the mobile terminal instead of the server. Therefore, the situation that the user cannot normally use the vehicle due to the fact that the server cannot make a correct response when the server is in abnormal operation, namely the server is crashed, is avoided.
It is further understood that the service exception information may be understood as a server returned network status code of 500, representing the meaning of network service exception (INTERNET SERVICE Error), the request success information may be understood as a server returned network status code of 200, representing the meaning that the request was properly received and understood.
In addition, the embodiment of the invention only describes the condition that the network status code is the service abnormality information or the request success information, but in the actual design process, the operation status of the server is judged according to what network status code and the subsequent steps are carried out based on what network status, and the network status code can be set according to the actual condition.
And S130, if the response information received from the server in the first preset time period is the service abnormality information or the response information received from the server in the first preset time period is not received, establishing Bluetooth connection with the vehicle, and executing a preset operation corresponding to the vehicle control request through Bluetooth to realize the control of the vehicle based on the vehicle control request.
It can be understood that if the response information returned by the server is received by the mobile terminal within the first preset time period as abnormal service information, or the response information returned by the server is not received within the first preset time period, the communication quality between the mobile terminal and the server is poor, or the running state of the server is abnormal, so that the server cannot normally respond to the vehicle control request to control the vehicle.
Therefore, when the server cannot normally control the vehicle, the embodiment of the invention provides a method for controlling the vehicle by the mobile terminal, namely, after the server is determined to be incapable of controlling the vehicle correctly, the Bluetooth connection between the mobile terminal and the vehicle is established. And when the Bluetooth connection is successfully established, the mobile terminal directly controls the vehicle to fulfill the requirements of the user.
If the response information returned by the server is received within the first preset time period as abnormal service information or the response information returned by the server is not received within the first preset time period, the mobile terminal directly sends a vehicle unlocking request to the vehicle through Bluetooth when the server is determined that the vehicle cannot be controlled correctly, so that the user can use the vehicle normally.
Therefore, when the server is crashed or the response information of the server cannot be obtained for a long time, the user can directly carry out any one of the vehicle borrowing operation, the vehicle returning operation and the temporary locking operation on the vehicle through the mobile terminal, the situation that the user needs to wait for the server to recover or respond in situ to operate the vehicle is avoided, the vehicle using experience of the user is effectively improved, and the labor cost required by vehicle operation is reduced.
In addition, in an alternative implementation manner provided by the embodiment of the present invention, if a server crashes or cannot obtain response information of the server for a long time, after a user controls the vehicle to unlock through bluetooth of the mobile terminal, the mobile terminal starts recording vehicle use information, and after the user controls the vehicle to lock through the mobile terminal, the recorded vehicle use information is stored; when the mobile terminal can normally communicate with the server, the stored vehicle use information is uploaded to the server, so that the server can perform operations such as order settlement and vehicle positioning according to the vehicle use information. The vehicle use information includes, but is not limited to, information such as a vehicle riding start point, a vehicle riding end point, a vehicle use time period and the like. Therefore, the embodiment of the invention ensures the normal use of the vehicle when the server crashes or the response information of the server cannot be obtained for a long time based on the implementation method, ensures the server to effectively acquire the use condition of each vehicle, and improves the management efficiency of the vehicle. It is also understood that the recording, saving and uploading of the vehicle usage information may also be performed by the vehicle itself.
In an optional implementation manner provided by the embodiment of the present invention, S130 includes:
Acquiring pre-stored position information of all parking points, and acquiring current position information of a vehicle;
if the current position information is matched with the position information of all parking points, determining that the vehicle is located at the parking points, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked.
It will be appreciated that the location information of the parking spot stored in the server cannot be read correctly due to a crash of the server or a long-term failure of the server to respond. Therefore, the embodiment of the invention stores the position information of the parking spot stored in the server in the mobile terminal in advance, and further when the server breaks down or the server cannot respond for a long time, the mobile terminal can directly judge whether the parking spot is located at the parking spot according to the pre-stored position information of the parking spot and the geographical position information acquired in real time. Therefore, reasonable running of the vehicle returning process is ensured, and the vehicle using experience of a user is further improved.
Optionally, in this embodiment, after S110, the method for using a vehicle further includes:
Sending a pre-stored information updating request to a server;
And updating the position information of all the prestored parking spots according to the updated prestored information returned by the server.
Specifically, each time the user needs to borrow/return/temporarily lock the vehicle, the mobile terminal will send a pre-stored information update request to the server to update the position information of all pre-stored parking spots, so that the user needs to plan a route and/or determine the accuracy and validity of the pre-stored parking spot information when the user parks the vehicle.
It can be understood that in this embodiment of the present invention, the server is not limited to returning updated pre-stored information within a predetermined time after receiving the pre-stored information update request, and the mobile terminal is not limited to only using the updated pre-stored information received within the predetermined time. In other words, as long as the server can return the updated pre-stored information, the mobile terminal can update the pre-stored position information of all parking points after receiving the information.
It can be further understood that, because the communication quality between the mobile terminal and the server is poor, or the running state of the server is abnormal, the mobile terminal cannot update the pre-stored position information of all parking spots, which belongs to a rare situation. In most cases, the mobile terminal can normally communicate with the server, i.e. the mobile terminal can correctly perform related operations according to the information returned by the server.
Therefore, when the network is abnormal/the server is abnormal, the embodiment of the invention does not require the mobile terminal to update the position information of all the prestored parking spots after sending the prestored information updating request; when the mobile terminal and the server are required to normally communicate, the position information of all parking points can be correctly updated, so that the validity of the pre-stored position information of all parking points is ensured.
Optionally, the sending of the pre-stored information update request to the server may be set before and after any step provided in the embodiment of the present invention, and the embodiment of the present invention does not limit the execution sequence of the step.
Further, in this embodiment, S130 includes:
Again sending a vehicle return request to the server;
judging whether response information returned by the server again is received within a second preset time period;
If the response information returned by the server is received as the service abnormality information within the second preset time period or the response information returned by the server is not received within the second preset time period, a vehicle locking instruction is sent to the vehicle through Bluetooth so as to control the vehicle to be locked.
It can be understood that, for the management of the vehicle, there may be a certain security risk and management risk in the vehicle control performed by the mobile terminal, so the embodiment of the present invention, based on this embodiment, re-sends the vehicle return request to the server when the user performs the vehicle return, so as to determine whether the server can correctly respond to the vehicle operation request, if so, the vehicle is still controlled by the server, and if not, the vehicle return is performed by the mobile terminal.
Therefore, communication is established between the mobile terminal of the user and the server as much as possible, so that the normal execution of the vehicle returning process is ensured; furthermore, only when the crash of the server is confirmed again or no response is generated for a long time, the vehicle can be directly controlled to return, the vehicle returning experience of the user is ensured, and the safety of the vehicle is improved.
Further, in this embodiment, S130 further includes:
If the current position information is not matched with the position information of all parking spots, determining that the vehicle is not located at the parking spot, and planning and displaying a route of the vehicle to the nearest parking spot.
It can be understood that, because the position information of all parking spots is stored in the mobile terminal, when the user drives the vehicle into the wrong parking spot or the user does not know the positions of the nearby parking spots, the mobile terminal can determine the position of the parking spot closest to the user according to the current geographic position information of the vehicle and the stored position information of all the parking spots, and plan and display a route for the user, so that the user drives the vehicle into the nearest parking spot.
Therefore, the embodiment of the invention ensures reasonable parking and management of the vehicle based on the implementation mode, effectively guides a user to reasonably use the vehicle, and reduces the management cost of the vehicle.
In one possible implementation manner provided by the embodiment of the present invention, S130 further includes:
A prompt to establish a bluetooth connection with the vehicle is generated.
It can be understood that the method for using the vehicle provided by the embodiment of the invention is to complete vehicle borrowing, vehicle returning and vehicle temporary locking through the Bluetooth connection between the mobile terminal and the vehicle when the server cannot reasonably control the vehicle.
Therefore, in order to ensure that a user can control a vehicle through the mobile terminal when the server cannot reasonably control the vehicle, the embodiment of the invention generates prompt information on the mobile terminal of the user to prompt the user to start Bluetooth connection, so that the mobile terminal is connected with the Bluetooth of the vehicle.
In one possible implementation manner provided by the embodiment of the present invention, after S130, the method for using a vehicle further includes:
The vehicle or the mobile terminal records the execution log, and after a third preset time length, the vehicle or the mobile terminal sends the execution log information to the server, and the server sends feedback information to the mobile terminal according to the execution log information.
It will be appreciated that the inability of the server to properly control the vehicle may be due to the inability of the mobile terminal to properly send requests, problems with the operation of the server itself, poor network communication quality, and the like.
Therefore, the embodiment of the invention provides an implementation mode, when a user needs to control the vehicle through Bluetooth, the vehicle or the mobile terminal records an execution log; and after the third preset duration, the execution log information is sent to the server, the server determines the reason that the server cannot normally control the vehicle according to the execution log information, and corresponding feedback information is returned to the mobile terminal according to the reason.
For example, when the server fails to control the vehicle normally due to a problem of the server itself, the server settles the order-free and sends a coupon to the user. And when the reason is not caused by the non-server, order settlement is carried out according to the execution log information. It will be appreciated that the actual settlement and feedback may be set according to the actual circumstances. Therefore, the embodiment of the invention can attract the user to reuse the vehicle, improves the viscosity of the user, and can ensure the correct settlement after the vehicle is used.
Example 2
Referring to fig. 2, fig. 2 is a flow chart illustrating another method for using a vehicle according to an embodiment of the present invention, where the method for using a vehicle includes:
s210, the mobile terminal sends a vehicle control request to a server, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
S220, if the mobile terminal does not receive the response information within the first preset time period or the response information received within the first preset time period is the service abnormality information, the mobile terminal establishes Bluetooth connection with the vehicle and executes a preset operation corresponding to the vehicle control request through Bluetooth so as to realize the control of the vehicle based on the vehicle control request.
It can be understood that the technical effects achieved by the method for using a vehicle disclosed in embodiment 1 and the applicable embodiments are also applicable to embodiment 2, and are not described herein.
Example 3
Referring to fig. 3, fig. 3 shows a schematic structural diagram of a vehicle using device according to an embodiment of the present invention, and a vehicle using device 300 according to an embodiment of the present invention includes:
A request initiation module 310 for transmitting a vehicle control request to the server based on a user operation, wherein the vehicle control request includes a vehicle use request, a vehicle return request, or a vehicle temporary lock request;
A judging module 320, configured to judge whether response information returned by the server is received within a first preset duration, where the response information includes service abnormality information or request success information;
And the execution module 330 is configured to establish bluetooth connection with the vehicle if the response information received from the server in the first preset duration is service abnormality information or the response information is not received in the first preset duration, and execute a preset operation corresponding to the vehicle control request through bluetooth, so as to realize control of the vehicle based on the vehicle control request.
It can be understood that the technical solution of the vehicle using device disclosed in embodiment 3 of the present invention is used to execute the vehicle using method disclosed in embodiment 1 through the synergistic effect of the above functional modules, and the embodiments and beneficial effects related to the vehicle using method are also applicable in this embodiment, and are not repeated herein.
In an alternative implementation manner provided by the embodiment of the present invention, the execution module 330 includes a position determination sub-module and a vehicle locking sub-module.
The position judging sub-module is used for acquiring the position information of all pre-stored parking points and acquiring the current position information of the vehicle;
and the vehicle locking sub-module is used for determining that the vehicle is positioned at the parking spot if the current position information is matched with the position information of all the parking spots, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked.
Optionally, in this embodiment, the vehicle usage device 300 further includes:
the update request generation module is used for sending a pre-stored information update request to the server;
The pre-stored information updating module is used for updating the position information of all pre-stored parking points according to the updated pre-stored information returned by the server.
Further, in an alternative implementation manner provided by the embodiment of the present invention, the vehicle locking submodule is used for:
Again sending a vehicle return request to the server;
judging whether response information returned by the server again is received within a second preset time period;
And receiving response information returned by the server again in the second preset time period as service abnormality information, or not receiving response information returned by the server again in the second preset time period, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked.
Further, in an optional implementation manner provided by the embodiment of the present invention, the usage device 300 of the vehicle further includes:
and the route planning module is used for determining that the vehicle is not positioned at the parking spot if the current position information is not matched with the position information of all the parking spots, and planning and displaying the route of the vehicle to the nearest parking spot.
In one possible implementation provided by the embodiment of the present invention, the execution module 330 is further configured to generate a prompt for establishing a bluetooth connection with the vehicle.
In one possible implementation manner provided by the embodiment of the present invention, the usage device 300 of the vehicle further includes:
The log recording module is used for recording the execution log of the vehicle or the mobile terminal, sending the execution log information to the server after the third preset time length, and sending the feedback information to the mobile terminal according to the execution log information by the server.
The embodiment of the present invention also provides a computer device including a memory and a processor, the memory storing a computer program that, when run on the processor, performs the method of using the vehicle as in any one of embodiment 1 or embodiment 2.
The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when run on a processor performs the method of using the vehicle as in any one of embodiment 1 or embodiment 2.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (8)

1. A method of using a vehicle, applied to a mobile terminal, comprising:
Based on the user operation, sending a vehicle control request to a server, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
Judging whether response information returned by the server is received within a first preset time period, wherein the response information comprises service abnormality information or request success information;
If the response information returned by the server is received as the service abnormality information within the first preset time period or the response information returned by the server is not received within the first preset time period, determining that the running state of the server is abnormal; establishing Bluetooth connection with the vehicle, and executing preset operation corresponding to the vehicle control request through Bluetooth to control the vehicle based on the vehicle control request;
After the step of establishing a bluetooth connection with the vehicle and executing a preset operation corresponding to the vehicle control request through bluetooth to implement control of the vehicle based on the vehicle control request, the method further includes:
the vehicle or the mobile terminal records an execution log, and after a third preset time length, the execution log information is sent to the server, the server determines the reason that the server cannot normally control the vehicle according to the execution log information, and sends feedback information to the mobile terminal according to the reason;
if the vehicle control request is the vehicle return request, the executing, through bluetooth, a preset operation corresponding to the vehicle control request, so as to implement control of the vehicle based on the vehicle control request, including:
Acquiring pre-stored position information of all parking points, and acquiring current position information of the vehicle;
If the current position information is matched with the position information of all parking points, determining that the vehicle is located at the parking points, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked;
Sending a pre-stored information update request to the server;
And updating the position information of all the prestored parking points according to the updated prestored information returned by the server.
2. The method of using the vehicle according to claim 1, wherein the transmitting a vehicle lock instruction to the vehicle by bluetooth to control the vehicle lock includes:
sending the vehicle return request to the server again;
judging whether response information returned by the server again is received within a second preset time period;
and if the response information returned by the server again is received as the service abnormality information within the second preset time period, or the response information returned by the server again is not received within the second preset time period, sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked.
3. The method of using a vehicle according to claim 1, wherein after the step of acquiring the position information of all pre-stored stop points and acquiring the current position information of the vehicle, the method further comprises:
and if the current position information is not matched with the position information of all the parking spots, determining that the vehicle is not located at the parking spot, and planning and displaying a route of the vehicle to the nearest parking spot.
4. The method according to claim 1, wherein after the step of receiving the response information returned from the server within the first preset time period as the service abnormality information or receiving the response information returned from the server within the first preset time period, the method further includes:
generating a prompt to establish a bluetooth connection with the vehicle.
5.A method of using a vehicle, comprising:
The mobile terminal sends a vehicle control request to a server, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
If the mobile terminal does not receive the response information within the first preset time period or the response information received within the first preset time period is the service abnormality information, determining that the running state of the server is abnormal; the mobile terminal establishes Bluetooth connection with the vehicle, and executes preset operation corresponding to the vehicle control request through Bluetooth so as to control the vehicle based on the vehicle control request;
after the mobile terminal establishes bluetooth connection with the vehicle and performs a preset operation corresponding to the vehicle control request through bluetooth to implement the control of the vehicle based on the vehicle control request, the method further includes:
the vehicle or the mobile terminal records an execution log, and after a third preset time length, the execution log information is sent to the server, the server determines the reason that the server cannot normally control the vehicle according to the execution log information, and sends feedback information to the mobile terminal according to the reason;
if the vehicle control request is the vehicle return request, the executing, through bluetooth, a preset operation corresponding to the vehicle control request, so as to implement control of the vehicle based on the vehicle control request, including:
Acquiring pre-stored position information of all parking points, and acquiring current position information of the vehicle;
If the current position information is matched with the position information of all parking points, determining that the vehicle is located at the parking points, and sending a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked;
Sending a pre-stored information update request to the server;
And updating the position information of all the prestored parking points according to the updated prestored information returned by the server.
6. A vehicle usage device, characterized by comprising:
the system comprises a request initiating module, a server and a request receiving module, wherein the request initiating module is used for sending a vehicle control request to the server based on user operation, and the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request;
The judging module is used for judging whether response information returned by the server is received within a first preset time period, wherein the response information comprises service abnormality information or request success information;
The execution module is used for determining that the running state of the server is abnormal if the response information returned by the server is received as the service abnormality information within the first preset time period or the response information is not received within the first preset time period; establishing Bluetooth connection with the vehicle, and executing preset operation corresponding to the vehicle control request through Bluetooth to control the vehicle based on the vehicle control request;
The log recording module is used for recording an execution log of the vehicle or the mobile terminal, sending execution log information to the server after a third preset time period, determining the reason that the server cannot normally control the vehicle according to the execution log information, and sending feedback information to the mobile terminal according to the reason;
The execution module comprises a position judging sub-module and a vehicle locking sub-module;
The position judging sub-module is used for acquiring the position information of all pre-stored parking points and acquiring the current position information of the vehicle;
the vehicle locking sub-module determines that the vehicle is positioned at the parking point if the current position information is matched with the position information of all the parking points, and sends a vehicle locking instruction to the vehicle through Bluetooth so as to control the vehicle to be locked;
The apparatus further comprises:
The update request generation module is used for sending a pre-stored information update request to the server;
and the pre-stored information updating module is used for updating the position information of all pre-stored parking points according to the updated pre-stored information returned by the server.
7. A computer device comprising a memory and a processor, the memory storing a computer program that, when run on the processor, performs the method of using the vehicle of any one of claims 1-4 or claim 5.
8. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when run on a processor, performs the method of use of a vehicle according to any of claims 1-4 or claim 5.
CN202110717445.1A 2021-06-28 2021-06-28 Vehicle using method and device Active CN113342533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110717445.1A CN113342533B (en) 2021-06-28 2021-06-28 Vehicle using method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110717445.1A CN113342533B (en) 2021-06-28 2021-06-28 Vehicle using method and device

Publications (2)

Publication Number Publication Date
CN113342533A CN113342533A (en) 2021-09-03
CN113342533B true CN113342533B (en) 2024-05-28

Family

ID=77479104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110717445.1A Active CN113342533B (en) 2021-06-28 2021-06-28 Vehicle using method and device

Country Status (1)

Country Link
CN (1) CN113342533B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064267A (en) * 2018-07-16 2018-12-21 武汉小安科技有限公司 Order processing method, system, shared bicycle and the storage medium of shared bicycle
CN109636537A (en) * 2018-12-19 2019-04-16 睿驰达新能源汽车科技(北京)有限公司 A kind of returning method and device and pick-up method and device
CN111591376A (en) * 2020-04-30 2020-08-28 摩拜(北京)信息技术有限公司 Vehicle returning control method, vehicle, server and vehicle system
CN112954647A (en) * 2019-11-26 2021-06-11 比亚迪股份有限公司 Vehicle Bluetooth key registration method and device, computer equipment and storage medium
CN112967422A (en) * 2021-01-29 2021-06-15 北京骑胜科技有限公司 Vehicle using method, device, equipment, storage medium and program product

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9961710B2 (en) * 2016-06-19 2018-05-01 Platform Science, Inc. Secure wireless networks for vehicles
EP3538844A4 (en) * 2016-12-22 2019-10-09 Jiangsu Hongbao Hardware Co., Ltd. Systems and methods for monitoring a vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064267A (en) * 2018-07-16 2018-12-21 武汉小安科技有限公司 Order processing method, system, shared bicycle and the storage medium of shared bicycle
CN109636537A (en) * 2018-12-19 2019-04-16 睿驰达新能源汽车科技(北京)有限公司 A kind of returning method and device and pick-up method and device
CN112954647A (en) * 2019-11-26 2021-06-11 比亚迪股份有限公司 Vehicle Bluetooth key registration method and device, computer equipment and storage medium
CN111591376A (en) * 2020-04-30 2020-08-28 摩拜(北京)信息技术有限公司 Vehicle returning control method, vehicle, server and vehicle system
CN112967422A (en) * 2021-01-29 2021-06-15 北京骑胜科技有限公司 Vehicle using method, device, equipment, storage medium and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于数字化分时共享平台的研究与实践;余学涛,等;《时代汽车》;第151-154页 *

Also Published As

Publication number Publication date
CN113342533A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US6108591A (en) Method and apparatus for validating vehicle operators
US20160292929A1 (en) Method for electronic modification of parking session data of a vehicle during the parking session
JP2011081604A (en) Device for updating program for vehicle
CN114945021A (en) Unmanned vehicle remote debugging method, device and system and storage medium
CN113353062B (en) Parking control method, device and system based on terminal and storage medium
CN113129630B (en) Autonomous parking method, AVP platform and vehicle terminal
CN112200968A (en) Code scanning payment method and device, electronic equipment and storage medium
EP2590103A1 (en) Control device
CN113342533B (en) Vehicle using method and device
KR101412289B1 (en) ECU management system and method
CN105025055B (en) A kind of about vehicle management method and system
CN111010428A (en) Information sharing method, device and system for real-time road conditions and equipment terminal
CN112477803A (en) Vehicle with monitoring function and monitoring method
CN113596728B (en) Vehicle parking method and device and terminal equipment
CN114124920B (en) Vehicle power control method and device and terminal equipment
CN113593216B (en) Parking method, parking device, computer equipment and computer readable storage medium
CN108248547A (en) Anti-stealing method for vehicles, platform and system
CN113850405A (en) Method and device for constructing driving path and terminal equipment
CN110825560B (en) Method, device and equipment for processing execution errors and computer readable storage medium
CN113723646A (en) Vehicle parking method and device and terminal equipment
CN117351593A (en) Method and device for unlocking shared electric bicycle, electronic equipment and storage medium
CN113689629B (en) Parking spot generation method and device and terminal equipment
CN117197929A (en) Remote unlocking protection method and device for shared electric bicycle, electronic equipment and medium
CN108256297A (en) The authority checking method on probation of software
CN106627442B (en) Lock machine method based on maintenance of machinery service time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: Room 101 (201) -6, Building 5, Building 6 and 7, Kexin Building, Shounan Street, Yinzhou District, Ningbo City, Zhejiang Province, 315100

Applicant after: Zhejiang Xiaoliu Information Technology Co.,Ltd.

Address before: Room 1401-1, No.6 and No.7, building 5, Kexin building, Shounan street, Yinzhou District, Ningbo City, Zhejiang Province, 315000

Applicant before: NINGBO LIUBIKE INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant