CN113342533A - Vehicle using method and device - Google Patents

Vehicle using method and device Download PDF

Info

Publication number
CN113342533A
CN113342533A CN202110717445.1A CN202110717445A CN113342533A CN 113342533 A CN113342533 A CN 113342533A CN 202110717445 A CN202110717445 A CN 202110717445A CN 113342533 A CN113342533 A CN 113342533A
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.)
Granted
Application number
CN202110717445.1A
Other languages
Chinese (zh)
Other versions
CN113342533B (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.)
Ningbo Xiaoliu Sharing Information Technology Co Ltd
Original Assignee
Ningbo Xiaoliu Sharing 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 Ningbo Xiaoliu Sharing Information Technology Co Ltd filed Critical Ningbo Xiaoliu Sharing Information Technology Co Ltd
Priority to CN202110717445.1A priority Critical patent/CN113342533B/en
Priority claimed from CN202110717445.1A external-priority 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

Images

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)

Abstract

The embodiment of the invention discloses a using method and a using device of a vehicle, wherein the using method of the vehicle 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 in a first preset time, establishes Bluetooth connection with the vehicle if the response information returned by the server is service abnormal information received in the first preset time or the response information returned by the server is not received in the first preset time, and executes preset operation corresponding to the vehicle control request through the Bluetooth to complete vehicle control. Therefore, the situation that the user can operate the vehicle only after waiting for the server to recover or normally respond 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 using method and a using device of a vehicle.
Background
In the using 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 is borrowed or the vehicle is returned, the user needs to send a vehicle borrowing request or a vehicle returning request to the server through an application program on the mobile terminal, and waits for the response of the server to complete the vehicle borrowing or the vehicle returning.
When the server crashes or does not respond 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 impacts the user's experience with the vehicle.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for using a vehicle, which are used to solve how to enable a user to normally use a shared vehicle 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, and includes:
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 length or not, wherein the response information comprises abnormal service information or successful request information;
if the response information returned by the server is received within the first preset time length and is service abnormal information or the response information returned by the server is not received within the first preset time length, establishing Bluetooth connection with the vehicle, and executing preset operation corresponding to the vehicle control request through Bluetooth so as to realize 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 in a first preset time, establishes Bluetooth connection with the vehicle if the response information returned by the server in the first preset time is abnormal service information or the response information returned by the server is not received in the first preset time, and executes the preset operation corresponding to the vehicle control request through the Bluetooth so as to complete the control of the vehicle.
Therefore, when the server crashes or response information of the server cannot be obtained for a long time, the user can directly perform temporary locking operation, returning operation and borrowing operation on the vehicle through the mobile terminal, namely any one operation in the vehicle using operation, the condition that the user can operate the vehicle only after waiting for recovery or normal response of the server 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 by the embodiment of the present invention, if the vehicle control request is a vehicle returning request, the preset operation corresponding to the vehicle control request is executed through bluetooth, so as to implement control over the vehicle based on the vehicle control request, including:
acquiring prestored position information of all parking points and acquiring current position information of the vehicle;
and if the current position information is matched with the position information of all parking spots, determining that the vehicle is positioned at the parking spot, and sending a vehicle locking instruction to the vehicle through Bluetooth to control the vehicle to be locked.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: whether the user returns the car at the parking spot can be judged according to the prestored position information of the parking spot, the condition that whether the user returns the car at the parking spot can be judged only after the user returns the car and the position of the parking spot is acquired from the server is avoided, the fact that the user can still execute the car returning operation when the server crashes or the server does not respond for a long time is guaranteed, the normal execution of the car returning process is guaranteed, and the car using experience of the user is further improved.
Further, in an optional implementation manner provided by the embodiment of the present invention, sending a vehicle instruction to a vehicle through bluetooth to control vehicle locking includes:
sending a vehicle returning request to the server again;
judging whether response information returned again by the server is received within a second preset time length;
if the response information returned again by the server in the second preset time is received as the abnormal service information or the response information returned again by the server in the second preset time is not received, a vehicle locking instruction is sent to the vehicle through the Bluetooth so as to control the vehicle to be locked.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: under the condition that a user needs to return the car, but the server crashes or has no response for a long time, the mobile terminal of the user and the server are communicated as far as possible to ensure the execution of a normal car returning process; furthermore, the vehicle is controlled to return to the vehicle through the mobile terminal only when the server is determined to be crashed again or no response is given for a long time, so that the vehicle returning experience of a user is guaranteed, and the safety of the vehicle is improved.
Further, in an optional implementation manner provided by the embodiment of the present invention, after the step of obtaining the pre-stored location information of all parking spots and obtaining the current location information of the vehicle, the method for using the vehicle further includes:
and if the current position information is not matched with the position information of all the parking spots, determining that the vehicle is not positioned at the parking spot, and planning and displaying a route for the vehicle to go to the nearest parking spot.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: when the user does not return the vehicle at the parking spot, a route is planned for the user according to the prestored position information of the parking spot, so that the user can be guided to return the vehicle when the user drives into the parking spot which is in a parking state or the position of the parking spot is not clear, and the reasonable parking and management of the vehicle are ensured.
In a feasible implementation manner provided by the embodiment of the present invention, after the step of receiving, in the first preset time period, the response information returned by the server as the abnormal service information, or not receiving, in the first preset time period, the response information returned by the server, the method for using the vehicle further includes:
a prompt to establish a bluetooth connection with the vehicle is generated.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: after prompting the user to open the Bluetooth connection, the mobile terminal can be connected and control the vehicle through the Bluetooth.
In a possible implementation manner provided by the embodiment of the present invention, 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 for using the vehicle further includes:
and the vehicle or the mobile terminal records the execution log, sends the execution log information to the server after a third preset time, and the server sends feedback information to the mobile terminal according to the execution log information.
In this embodiment, the embodiments of the present invention can achieve the following beneficial effects: when the reason that the mobile terminal cannot normally communicate with the server is determined to be the situation 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 caused by the mobile terminal, the server determines the use condition of the vehicle according to the execution log information and settles the order of the user 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 or the response information received within the first preset time is the abnormal service 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 control over the vehicle based on the vehicle control request.
In a third aspect, an embodiment of the present invention provides a device for using a vehicle, including:
the request initiating module is used for sending a vehicle control request to the server based on user operation, wherein the vehicle control request comprises a vehicle use request, a vehicle returning 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 length, wherein the response information comprises abnormal service information or successful request information;
and the execution module is used for 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 if the response information returned by the server in the first preset time is the abnormal service information or the response information is not received in the first preset time.
In a fourth aspect, embodiments of the present invention provide 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 one of the first or second aspects.
In a fifth aspect, embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program which, when run on a processor, performs a method of using a vehicle as in any one of the first or second aspects.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be 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 components are numbered similarly in the various figures.
FIG. 1 is a schematic flow chart illustrating a method of using a vehicle according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another method of using a vehicle according to an embodiment of the present invention;
fig. 3 shows a schematic structural diagram of a device for using a vehicle according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of 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 present invention, 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 derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, 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 solely to distinguish one from another and are not to 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 present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, fig. 1 shows a schematic flow chart of a method for using a vehicle according to an embodiment of the present invention, and the method for using a vehicle applied to a mobile terminal according to an embodiment of the present invention includes:
and S110, sending a vehicle control request to a server based on user operation, wherein the vehicle control request comprises a vehicle use request, a vehicle return request or a vehicle temporary locking request.
It can be understood that, when a user needs to use a vehicle, i.e., borrow the vehicle, or 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 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 fulfill the operation requirement of the user.
And S120, judging whether response information returned by the server is received within a first preset time length or not, wherein the response information comprises abnormal service information or successful request information.
Specifically, the response information in the embodiment of the present invention is used to indicate whether the server normally receives the request command sent by the mobile terminal, and normally generates a corresponding control instruction according to the vehicle control request to complete the user's vehicle use requirement. If the server receives the request command normally and can generate the control command normally according to the vehicle control request, the response information comprises the corresponding control command and the network state code when the server receives the request.
Further, when the server receives the request command normally, generates a control command according to the vehicle control request and sends the control command to the mobile terminal, and the mobile terminal receives the control command sent by the server within the first preset time period, the mobile terminal and the server both operate normally, and at the moment, the vehicle is controlled by the server. And 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, or the mobile terminal does not receive the response information returned by the server within the first preset time, the poor communication quality between the mobile terminal and the server or the abnormal operation state of the server is indicated, so that the server cannot correctly respond to control the vehicle to execute corresponding operation.
It can be understood that, after the client sends a request to the server, the server returns a network status code to indicate the status of the server itself, regardless of whether the request can be correctly responded to. Therefore, the embodiment of the invention determines whether the server operates correctly or not based on the network status code, and if not, the vehicle is not controlled by the server any more, but is correspondingly controlled by the mobile terminal. 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 abnormally operated, namely the server crashes is avoided.
It is also understood that the Service exception message may be understood as the network status code returned by the server is 500, which means a network Service exception (Internet Service Error), and the request success message may be understood as the network status code returned by the server is 200, which means that the request was correctly received and understood.
In addition, the embodiment of the present invention only describes the case where the network status code is the abnormal service information or the successful request information, but in the actual design process, the operation status of the server is determined according to which network status code, and the subsequent steps are performed based on which network status code, which can be set according to the actual situation.
S130, if the response information returned by the server is received within the first preset time length and is service abnormal information or the response information returned by the server is not received within the first preset time length, establishing Bluetooth connection with the vehicle, and executing preset operation corresponding to the vehicle control request through Bluetooth to realize control over the vehicle based on the vehicle control request.
It can be understood that if the mobile terminal receives the response information returned by the server in the first preset time period as the abnormal service information, or does not receive the response information returned by the server in the first preset time period, it indicates that 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 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 not to control 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.
Exemplarily, if the response information returned by the server is received within the first preset time period as the 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 if the user needs to use the vehicle, so that the user normally uses the vehicle.
Therefore, according to the embodiment of the invention, when the server crashes or response information of the server cannot be obtained for a long time, a user can directly carry out any one of vehicle borrowing operation, vehicle returning operation and temporary locking operation on the vehicle through the mobile terminal, the condition that the user can operate the vehicle only by waiting for recovery or response of the server in place 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 optional implementation manner provided by the embodiment of the present invention, if the server crashes or the response information of the server cannot be obtained for a long time, after the user controls the vehicle to unlock through the bluetooth of the mobile terminal, the mobile terminal starts to record the vehicle usage information, and after the user controls the vehicle to lock through the mobile terminal, the recorded vehicle usage 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, vehicle positioning and the like according to the vehicle use information. The vehicle usage information includes, but is not limited to, a vehicle riding starting point, a vehicle riding ending point, a vehicle usage duration, and the like. Therefore, based on the implementation method, when the server crashes or response information of the server cannot be obtained for a long time, normal use of the vehicle is guaranteed, the server can effectively obtain the use condition of each vehicle, and the management efficiency of the vehicle is improved. It will also be appreciated that the recording, storing and uploading of vehicle usage information may also be performed by the vehicle itself.
In an optional implementation manner provided in the embodiment of the present invention, S130 includes:
acquiring prestored position information of all parking points and acquiring current position information of the vehicle;
and if the current position information is matched with the position information of all parking spots, determining that the vehicle is positioned at the parking spot, and sending a vehicle locking instruction to the vehicle through Bluetooth to control the vehicle to be locked.
It can be understood that the location information of the parking spot stored in the server cannot be correctly read due to a server crash or a long-time non-response of the server. Therefore, the embodiment of the invention prestores the position information of the parking spot stored in the server into the mobile terminal, and then when the server crashes or the server cannot respond for a long time, the mobile terminal can directly judge whether the returning position is positioned at the parking spot according to the prestored position information of the parking spot and the geographic position information acquired in real time. Therefore, the reasonable proceeding 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 the vehicle further includes:
sending a pre-stored information updating request to a server;
and updating the prestored position information of all the parking spots according to the updated prestored information returned by the server.
Specifically, whenever 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 pre-stored position information of all 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 needs to park the vehicle.
It can be understood that, in this embodiment provided by the present invention, it is not limited that the server needs to return the updated pre-stored information within a predetermined time after receiving the pre-stored information update request, nor that the mobile terminal can only use 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 location information of all parking spots after receiving the updated pre-stored information.
It can also be understood that, because the communication quality between the mobile terminal and the server is poor or the operating state of the server is abnormal, the mobile terminal cannot update the pre-stored location information of all parking spots, which is a rare case. In most cases, the mobile terminal can communicate with the server normally, i.e. the mobile terminal can perform relevant operations correctly according to the information returned by the server.
Therefore, when the network is abnormal or the server is abnormal, the embodiment of the invention does not require the mobile terminal to update the prestored position information of all parking spots after sending the prestored information updating request; the position information of all parking spots can be correctly updated only when the mobile terminal is required to be in normal communication with the server, so that the validity of the prestored position information of all parking spots can be ensured.
Optionally, sending the pre-stored information update request to the server may be set before or after any one of the steps provided in the embodiment of the present invention, and the execution sequence of the steps is not limited in the embodiment of the present invention.
Further, in this embodiment, S130 includes:
sending a vehicle returning request to the server again;
judging whether response information returned again by the server is received within a second preset time length;
if the response information returned again by the server in the second preset time is received as the abnormal service information or the response information returned again by the server in the second preset time is not received, a vehicle locking instruction is sent to the vehicle through the 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 safety risk and management risk in the vehicle operation performed by the mobile terminal, and therefore, based on this implementation, when the user performs the vehicle return, the embodiment of the present invention sends the vehicle return request to the server again to determine whether the server can correctly respond to the vehicle operation request, and if so, the vehicle is still controlled by the server, and if not, the vehicle return is performed by the mobile terminal.
Therefore, the mobile terminal of the user and the server establish communication as much as possible to ensure the execution of the normal vehicle returning process; furthermore, the vehicle can be directly controlled to return only when the server is determined to be crashed again or no response is given for a long time, so that the vehicle returning experience of a user is guaranteed, and the safety of the vehicle is improved.
Further, in this embodiment, S130 further includes:
and if the current position information is not matched with the position information of all the parking spots, determining that the vehicle is not positioned at the parking spot, and planning and displaying a route for the vehicle to go to the nearest parking spot.
It can be understood that, since the mobile terminal stores the position information of all the parking spots, when the user drives the vehicle into a wrong parking spot, or the user does not know the positions of the nearby parking spots, the mobile terminal may determine the position of the parking spot closest to the user according to the current geographical 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 closest parking spot.
Therefore, based on the implementation mode, the embodiment of the invention ensures reasonable parking and management of the vehicle, effectively guides the user to reasonably use the vehicle, and reduces the management cost of the vehicle.
In a 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 vehicle using method 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 the user can control the vehicle through the mobile terminal when the server cannot reasonably control the vehicle, the embodiment of the invention generates the prompt information on the mobile terminal of the user to prompt the user to open the Bluetooth connection, so that the mobile terminal is connected with the vehicle through the Bluetooth.
In a possible implementation manner provided by the embodiment of the present invention, after S130, the method for using a vehicle further includes:
and the vehicle or the mobile terminal records the execution log, sends the execution log information to the server after a third preset time, and the server sends feedback information to the mobile terminal according to the execution log information.
It can be understood that the server cannot normally control the vehicle, which may be caused by the mobile terminal not sending the request correctly, or by a problem in the operation of the server itself, or by poor network communication quality, and so on.
Therefore, the embodiment of the present invention provides an implementation manner, when a user needs to control a vehicle through bluetooth, the vehicle or a mobile terminal records an execution log; and sending the execution log information to the server after a third preset time, determining the reason why the server cannot normally control the vehicle according to the execution log information by the server, and returning corresponding feedback information to the mobile terminal according to the reason.
Exemplarily, when the reason that the server cannot normally control the vehicle is caused by a problem of the server itself, the server settles to exempt and transmits the coupon to the user. And when the reason is not caused by the server, performing order settlement 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, improve the viscosity of the user and ensure the correct settlement of the vehicle after use.
Example 2
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another method for using a vehicle according to an embodiment of the present invention, where the method for using the 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;
and 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 abnormal service information, establishing Bluetooth connection between the mobile terminal and 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.
It can be understood that the technical effects achieved by the method for using the vehicle disclosed in embodiment 1 and the applicable implementation manner are also applicable to embodiment 2, and are not described herein again.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram illustrating a vehicle use device according to an embodiment of the present invention, and a vehicle use device 300 according to an embodiment of the present invention includes:
a request initiating module 310, configured to send a vehicle control request to a server based on a user operation, where the vehicle control request includes a vehicle use request, a vehicle return request, or a vehicle temporary locking request;
the determining module 320 is configured to determine whether response information returned by the server is received within a first preset time period, where the response information includes service exception information or request success information;
the executing module 330 is configured to establish a bluetooth connection with the vehicle if the response information returned by the server in the first preset time period is received as the abnormal service information or the response information is not received in the first preset time period, and execute a preset operation corresponding to the vehicle control request through bluetooth to implement control over the vehicle based on the vehicle control request.
It can be understood that the technical solution of the vehicle using apparatus disclosed in embodiment 3 of the present invention is used for implementing the vehicle using method disclosed in embodiment 1, and the embodiment and the beneficial effects related to the vehicle using method are also applicable to this embodiment through the synergistic effect of the above functional modules, and are not described herein again.
In an optional 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 judgment submodule is used for acquiring prestored position information of all parking points and acquiring current position information of the vehicle;
and the vehicle locking sub-module determines that the vehicle is positioned at the parking spot if the current position information is matched with the position information of all parking spots, and sends a vehicle locking instruction to the vehicle through Bluetooth to control the vehicle to be locked.
Optionally, in this embodiment, the vehicle using apparatus 300 further includes:
the updating request generating module is used for sending a prestored information updating request to the server;
and the pre-stored information updating module is used for updating the pre-stored position information of all the parking spots according to the updated pre-stored information returned by the server.
Further, in an alternative implementation provided by the embodiment of the present invention, the vehicle locking sub-module is configured to:
sending a vehicle returning request to the server again;
judging whether response information returned again by the server is received within a second preset time length;
and if the response information returned again by the server in the second preset time is the abnormal service information or the response information returned again by the server in the second preset time is not received, sending a vehicle locking instruction to the vehicle through the Bluetooth to control the vehicle to be locked.
Further, in an optional implementation manner provided by the embodiment of the present invention, the vehicle using apparatus 300 further includes:
and the route planning module is used for determining that the vehicle is not positioned at the parking point if the current position information is not matched with the position information of all parking points, and planning and displaying a route for the vehicle to go to the nearest parking point.
In a possible implementation manner 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 a possible implementation manner provided by the embodiment of the present invention, the device 300 for using a vehicle further includes:
and the log recording module is used for recording an execution log by the vehicle or the mobile terminal, sending execution log information to the server after a third preset time, and sending feedback information to the mobile terminal by the server according to the execution log information.
Embodiments of the present invention further provide a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the method for using the vehicle as in any one of embodiments 1 or 2.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed on a processor, performs the method for using a vehicle as in any one of embodiments 1 or 2.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in 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, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent 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 or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A using method of a vehicle is applied to a mobile terminal and comprises the following steps:
based on 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 length or not, wherein the response information comprises abnormal service information or successful request information;
if the response information returned by the server is received within the first preset time length and is service abnormal information, or the response information returned by the server is not received within the first preset time length, establishing Bluetooth connection with the vehicle, and executing preset operation corresponding to the vehicle control request through Bluetooth so as to realize control over the vehicle based on the vehicle control request.
2. The method as claimed in claim 1, wherein if the vehicle control request is the vehicle return request, the executing, by bluetooth, a preset operation corresponding to the vehicle control request to realize control over the vehicle based on the vehicle control request comprises:
acquiring prestored position information of all parking points, and acquiring current position information of the vehicle;
and if the current position information is matched with the position information of all parking spots, determining that the vehicle is positioned at the parking spot, and sending a vehicle locking instruction to the vehicle through Bluetooth to control the vehicle to be locked.
3. The use method of the vehicle according to claim 2, wherein the sending a vehicle locking command to the vehicle through Bluetooth to control the vehicle locking comprises:
sending the vehicle return request to the server again;
judging whether response information returned again by the server is received within a second preset time length;
and if the response information returned again by the server is received as the abnormal service information within the second preset time or the response information returned again by the server is not received within the second preset time, sending a vehicle locking instruction to the vehicle through Bluetooth to control the vehicle to be locked.
4. The use method of the vehicle according to claim 2, wherein after the step of acquiring the pre-stored location information of all the parking spots and by acquiring the current location 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 positioned at the parking spot, and planning and displaying a route for the vehicle to go to the nearest parking spot.
5. The use method of the vehicle according to claim 1, wherein after the step of receiving the response message returned by the server within the first preset time period as the abnormal service message or not receiving the response message returned by the server within the first preset time period, the method further comprises:
generating a prompt to establish a Bluetooth connection with the vehicle.
6. The method for using a vehicle according to claim 1, wherein after the step of establishing a bluetooth connection with the vehicle and performing 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 comprises:
the vehicle or the mobile terminal records an execution log and sends execution log information to the server after a third preset time, and the server sends feedback information to the mobile terminal according to the execution log information.
7. A method of using a vehicle, comprising:
the method comprises the steps that a 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 length or the response information received within the first preset time length is the abnormal service 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 control the vehicle based on the vehicle control request.
8. A use device for a vehicle, comprising:
the request initiating module is used for sending a vehicle control request to a server based on user operation, wherein 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 length, wherein the response information comprises abnormal service information or successful request information;
and the execution module is used for 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 if the response information returned by the server in the first preset time is the abnormal service information or the response information is not received in the first preset time.
9. A computer arrangement, characterized by comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs a method of use of a vehicle according to any one of claims 1-6 or claim 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when executed on a processor, performs a method of use of a vehicle according to any one of claims 1-6 or claim 7.
CN202110717445.1A 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 Vehicle using method and device

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170367142A1 (en) * 2016-06-19 2017-12-21 Platform Science, Inc. Secure Wireless Networks For Vehicles
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
US20190306679A1 (en) * 2016-12-22 2019-10-03 Jiangsu Hongbao Hardware Co., Ltd. Systems and methods for monitoring a vehicle
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170367142A1 (en) * 2016-06-19 2017-12-21 Platform Science, Inc. Secure Wireless Networks For Vehicles
US20190306679A1 (en) * 2016-12-22 2019-10-03 Jiangsu Hongbao Hardware Co., Ltd. Systems and methods for monitoring a vehicle
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
余学涛,等: "基于数字化分时共享平台的研究与实践", 《时代汽车》, pages 151 - 154 *

Similar Documents

Publication Publication Date Title
JP2011081604A (en) Device for updating program for vehicle
US20160292929A1 (en) Method for electronic modification of parking session data of a vehicle during the parking session
CN114945021A (en) Unmanned vehicle remote debugging method, device and system and storage medium
KR101839346B1 (en) Cloud payment system
JP2010146229A (en) Vehicle sharing system
EP2590103A1 (en) Control device
CN111010428A (en) Information sharing method, device and system for real-time road conditions and equipment terminal
CN113342533B (en) Vehicle using method and device
CN113342533A (en) Vehicle using method and device
JP2008191825A (en) Authentication system using position information
EP3664480A1 (en) Method for acquiring information and electric scooter
CN113593216B (en) Parking method, parking device, computer equipment and computer readable storage medium
CN110347411A (en) Program installation/upgrade method, device and system
CN113596728B (en) Vehicle parking method and device and terminal equipment
CN113850405A (en) Method and device for constructing driving path and terminal equipment
CN113723646A (en) Vehicle parking method and device and terminal equipment
CN113808376A (en) Safety monitoring method and device for self-service teller machine equipment
CN114514137A (en) Management device, management system, management method, and program
CN113689629B (en) Parking spot generation method and device and terminal equipment
CN110588424A (en) Method for managing charging of charging pile without network and computer readable storage medium
KR20160062264A (en) Reservation-based charging system for electric vehicles and charging method of cat battery thereby, and computer readable medium for performing the same
CN117351593A (en) Method and device for unlocking shared electric bicycle, electronic equipment and storage medium
CN115640031A (en) Resource package updating method and device for shared vehicle, computer equipment and medium
CN106627442B (en) Lock machine method based on maintenance of machinery service time
CN117197929A (en) Remote unlocking protection method and device for shared electric bicycle, electronic equipment and medium

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

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

CB02 Change of applicant information
GR01 Patent grant