CN114493741A - Vehicle returning method, device, equipment, storage medium and program product - Google Patents
Vehicle returning method, device, equipment, storage medium and program product Download PDFInfo
- Publication number
- CN114493741A CN114493741A CN202111496734.XA CN202111496734A CN114493741A CN 114493741 A CN114493741 A CN 114493741A CN 202111496734 A CN202111496734 A CN 202111496734A CN 114493741 A CN114493741 A CN 114493741A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- angle
- returned
- parking
- mobile terminal
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 109
- 230000008569 process Effects 0.000 claims abstract description 22
- 230000033001 locomotion Effects 0.000 claims description 44
- 238000004590 computer program Methods 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 22
- 230000001133 acceleration Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/14—Payment architectures specially adapted for billing systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Educational Administration (AREA)
- Human Resources & Organizations (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the disclosure provides a vehicle returning method, a vehicle returning device, equipment, a storage medium and a program product, which relate to the technical field of Internet, and the method comprises the following steps: responding to the first operation instruction, and outputting first prompt information; responding to code scanning operation of an identification code on a to-be-returned vehicle, and acquiring a first included angle between the mobile terminal and a reference direction of the identification code in the code scanning process; determining a first parking angle of the vehicle to be returned according to the first included angle, and sending the first parking angle to the server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets the angle parking condition. According to the vehicle returning method, the device, the equipment, the storage medium and the program product method, whether the vehicle to be returned meets the angle parking condition or not is judged through the server according to the first parking angle sent by the mobile terminal, and when the intelligent lock of the vehicle to be returned has a hardware fault, the normal vehicle to be returned can be guaranteed for a user.
Description
Technical Field
Embodiments of the present disclosure relate to internet technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for returning a vehicle.
Background
Currently, a user trip may borrow a shared vehicle (e.g., a shared bicycle).
In the related art, the user often needs to return the shared vehicle after borrowing the shared vehicle. In the car returning process, after receiving a car returning instruction input by a user, the electronic equipment sends a car returning request to the server, and after receiving the car returning request and parking information sent by an intelligent lock (arranged on a shared vehicle), the server judges whether the shared vehicle is parked regularly according to the parking information; if yes, controlling the intelligent lock to lock the vehicle.
In practical application, the intelligent lock usually has a phenomenon of hardware exception. When the intelligent lock has a phenomenon of hardware abnormity, the parking information sent to the server is usually inaccurate, and if the server judges whether the shared vehicle is parked regularly according to the parking angle sent by the intelligent lock, the user may not return the shared vehicle normally.
Disclosure of Invention
Embodiments of the present disclosure provide a car returning method, apparatus, device, storage medium, and program product to solve a problem that a user may not return to a shared vehicle normally.
In a first aspect, an embodiment of the present disclosure provides a car returning method, which is applied to a mobile terminal, and the method includes:
responding to the first operation instruction, and outputting first prompt information; the first prompt message is used for reminding a user of executing code scanning operation;
responding to code scanning operation of an identification code on a to-be-returned vehicle, and acquiring a first included angle between the mobile terminal and a reference direction of the identification code in the code scanning process;
determining a first parking angle of the vehicle to be returned according to the first included angle, and sending the first parking angle to the server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets the angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
In some embodiments, determining a first parking angle of the vehicle to be returned from the first angle includes:
acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as a first parking angle.
In some embodiments, in response to the first operation instruction, comprising:
sending a car returning request to a server, and receiving a first message sent by the server; the first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to the second parking angle sent by the vehicle to be returned;
displaying the operation control according to the first message; the operation control is used for representing that the parking angle of the vehicle to be returned is determined again;
responding to a first operation instruction of the user to the operation control.
In some embodiments, acquiring a first angle between the mobile terminal and a reference direction of the identification code during code scanning includes:
identifying the identification code, and determining a positioning identifier in the identification code;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
In some embodiments, the method further comprises:
receiving a second message sent by the server, wherein the second message is sent by the server when the server determines that the vehicle to be returned does not meet the angle parking condition according to the first parking angle;
and outputting second prompt information, wherein the second prompt information is used for reminding a user of changing the parking angle of the vehicle to be returned.
In some embodiments, the method further comprises:
acquiring motion information of the mobile terminal and Bluetooth signal intensity between the mobile terminal and a vehicle to be returned;
and if the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is greater than the preset value, sending a third message to the server, wherein the third message is used for indicating the server to control the vehicle to be returned to execute locking operation.
In a second aspect, an embodiment of the present disclosure provides a taxi returning method, which is applied to a server, and the method includes:
receiving a first parking angle of a vehicle to be returned, which is sent by a mobile terminal; the first parking angle is obtained after the mobile terminal obtains a first included angle between the mobile terminal and the reference direction of the identification code on the vehicle to be returned in the code scanning process;
judging whether the vehicle to be returned meets the angle parking condition or not according to the first parking angle;
and if the vehicle to be returned meets the angle parking condition, controlling the vehicle to be returned to execute locking operation.
In some embodiments, determining whether the vehicle to be returned meets the angle parking condition according to the first parking angle includes:
judging whether the first parking angle is within a first preset angle range or not;
and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
In some embodiments, the method further comprises:
receiving a car returning request sent by a mobile terminal;
preliminarily determining whether the vehicle to be returned meets the angle parking condition according to the vehicle returning request and a second parking angle sent by the vehicle to be returned;
and if the vehicle to be returned is preliminarily determined not to meet the angle parking condition, sending a first message to the mobile terminal.
In some embodiments, the method further comprises:
and if the vehicle to be returned does not meet the angle parking condition, sending a second message to the mobile terminal, wherein the second message is used for indicating the mobile terminal to output second prompt information, and the second prompt information is used for reminding a user to change the parking angle of the vehicle to be returned.
In some embodiments, if the to-be-returned vehicle meets the angle parking condition, controlling the to-be-returned vehicle to perform a locking operation includes:
if the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, controlling the vehicle to be returned to execute locking operation;
the third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned, and the fact that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value is determined.
In a third aspect, an embodiment of the present disclosure provides a returning device, which is applied to a mobile terminal, and includes:
the response module is used for responding to the first operation instruction and outputting first prompt information; the first prompt message is used for reminding a user of executing code scanning operation;
the response module is also used for responding to code scanning operation of the identification code on the vehicle to be returned and acquiring a first included angle between the mobile terminal and the reference direction of the identification code in the code scanning process;
the determining module is used for determining a first parking angle of the vehicle to be returned according to the first included angle;
the sending module is used for sending the first parking angle to the server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets the angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
In some embodiments, the determining module is specifically configured to:
acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as a first parking angle.
In some embodiments, the response module is specifically configured to:
sending a car returning request to a server, and receiving a first message sent by the server; the first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to the second parking angle sent by the vehicle to be returned;
displaying the operation control according to the first message; the operation control is used for representing that the parking angle of the vehicle to be returned is determined again;
responding to a first operation instruction of the user to the operation control.
In some embodiments, the determining module is specifically configured to:
identifying the identification code, and determining a positioning identifier in the identification code;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
In some embodiments, the apparatus further comprises:
the receiving module is used for receiving a second message sent by the server, wherein the second message is sent by the server when the server determines that the vehicle to be returned does not meet the angle parking condition according to the first parking angle;
and the output module is used for outputting second prompt information, and the second prompt information is used for reminding a user of changing the parking angle of the vehicle to be returned.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned;
and the sending module is further used for sending a third message to the server if the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is greater than a preset value, wherein the third message is used for indicating the server to control the vehicle to be returned to execute locking operation.
In a fourth aspect, an embodiment of the present disclosure provides a car returning device, which is applied to a server, and the device includes:
the receiving module is used for receiving a first parking angle of the vehicle to be returned, which is sent by the mobile terminal; the first parking angle is obtained after the mobile terminal obtains a first included angle between the mobile terminal and the reference direction of the identification code on the vehicle to be returned in the code scanning process;
the judging module is used for judging whether the vehicle to be returned meets the angle parking condition or not according to the first parking angle;
and the control module is used for controlling the vehicle to be returned to execute locking operation if the vehicle to be returned meets the angle parking condition.
In some embodiments, the determining module is specifically configured to:
judging whether the first parking angle is within a first preset angle range or not;
and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
In some embodiments, the apparatus further comprises:
the receiving module is also used for receiving a car returning request sent by the mobile terminal;
the judging module is also used for preliminarily determining whether the vehicle to be returned meets the angle parking condition according to the vehicle returning request and a second parking angle sent by the vehicle to be returned;
and the sending module is used for sending a first message to the mobile terminal if the vehicle to be returned is preliminarily determined not to meet the angle parking condition.
In some embodiments, the apparatus further comprises:
and the sending module is used for sending a second message to the mobile terminal if the vehicle to be returned does not meet the angle parking condition, wherein the second message is used for indicating the mobile terminal to output second prompt information, and the second prompt information is used for reminding a user to change the parking angle of the vehicle to be returned.
In some embodiments, the control module is specifically configured to:
if the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, controlling the vehicle to be returned to execute locking operation;
the third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned, and the fact that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value is determined.
In a fifth aspect, an embodiment of the present disclosure provides a mobile terminal, including: a memory and a processor;
the memory is used for storing program instructions;
the processor is configured to invoke program instructions in the memory to perform the method of any of the first aspects.
In a sixth aspect, an embodiment of the present disclosure provides a server, including: a memory and a processor;
the memory is used for storing program instructions;
the processor is configured to invoke program instructions in the memory to perform the method of any of the second aspects.
In a seventh aspect, embodiments of the present disclosure provide a computer-readable storage medium having a computer program stored thereon; the computer program, when executed, implements the method of any one of the first or second aspects.
In an eighth aspect, embodiments of the present disclosure provide a computer program product comprising computer program code for implementing the method of any one of the first or second aspects when the computer program code runs on a computer.
According to the vehicle returning method provided by the embodiment of the disclosure, the server judges whether the vehicle to be returned meets the angle parking condition according to the first parking angle sent by the mobile terminal, so that the effect that the user normally waits for returning the vehicle can be ensured when the intelligent lock of the vehicle to be returned has a hardware fault.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of an application scenario of a car returning method according to an embodiment of the present disclosure;
fig. 2 is a first schematic flow chart of a car returning method provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a reference orientation of an identification code provided by an embodiment of the present disclosure;
FIG. 4 is a schematic view of a first included angle provided by an embodiment of the present disclosure;
FIG. 5 is a schematic view of a first parking angle provided by embodiments of the present disclosure;
FIG. 6 is another schematic view of a first parking angle provided by embodiments of the present disclosure;
fig. 7 is a schematic flow chart diagram ii of a car returning method provided by the embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a second prompt message provided by an embodiment of the disclosure;
FIG. 9 is a flowchart of a method for transmitting a second parking angle according to an embodiment of the present disclosure;
FIG. 10 is a flowchart of a method for determining whether a pending vehicle is stationary provided by an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a carriage return device according to an embodiment of the present disclosure;
fig. 12 is a schematic structural view of another carriage return device provided in the embodiment of the present disclosure;
fig. 13 is a hardware schematic diagram of a mobile terminal provided by an embodiment of the present disclosure;
fig. 14 is a hardware schematic diagram of a server provided in an embodiment of the present disclosure.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the process of returning the shared vehicle, the server judges whether the shared vehicle is normally parked according to the parking information sent by the intelligent lock, and if the intelligent lock has the phenomenon of abnormal hardware, the user cannot normally return the shared vehicle.
In the disclosure, in order to ensure that a user normally returns a shared vehicle, the inventor thinks that, a first included angle between reference directions of identification codes on a mobile terminal and the shared vehicle is obtained through the mobile terminal, and then a first parking angle of a vehicle to be returned is obtained according to the first included angle, and the first parking angle is sent to a server, so that the server judges whether the vehicle to be returned meets an angle parking condition according to the first parking angle sent by the mobile terminal, thereby ensuring that the user normally returns the vehicle to be returned, and avoiding the problem that the user cannot normally return the shared vehicle due to the abnormal phenomenon of hardware of an intelligent lock.
An application scenario of the car returning method provided by the present disclosure is described below with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario of a car returning method provided by an embodiment of the disclosure. As shown in fig. 1, includes: the system comprises access network equipment, a mobile terminal, a server and a vehicle to be returned. The number of the access network devices, the mobile terminals, the servers and the vehicles to be returned can be multiple. Fig. 1 is merely illustrative of the number of access network devices, mobile terminals, servers and vehicles to be returned being 1.
The communication System shown in fig. 1 may be suitable for different network systems, for example, may be suitable for network systems such as Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), and future 5G. Optionally, the communication system may be a system in a scenario of high-Reliable and Low Latency Communications (URLLC) transmission in a 5G communication system. Therefore, optionally, the Base Station may be a Base Transceiver Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gNB) in a future 5G Network, and the embodiment of the present disclosure is not limited herein.
The mobile terminal may be, for example, a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the mobile terminal may also be a smart watch, a tablet computer, or the like.
The server may be, for example, a server corresponding to a vehicle to be returned.
The vehicle to be returned may be, for example, a shared bicycle, a shared trolley, a shared automobile, or the like.
The information transmission among the mobile terminal, the server and the vehicle to be returned can be realized through the access network equipment.
The following describes technical solutions of embodiments of the present disclosure and how to solve the above technical problems in detail with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Fig. 2 is a first schematic flow chart of a car returning method provided by an embodiment of the disclosure. As shown in fig. 2, the method includes:
s201, the mobile terminal responds to the first operation instruction and outputs first prompt information; the first prompt message is used for reminding a user of executing code scanning operation.
In some embodiments, the first operation instruction may be an operation instruction of the returning control by the user.
In order to avoid the problem that the user can not return to the shared vehicle due to the fact that the intelligent lock has hardware abnormity, in the disclosure, after the mobile terminal receives a first operation instruction of the user to the vehicle returning control, prompt information can be directly output, the user is reminded to perform code scanning operation, the mobile terminal can acquire a first parking angle of the vehicle to be returned, the server sends the first parking angle according to the mobile terminal, and therefore the user is enabled to return to the vehicle to be returned normally.
S202, the mobile terminal responds to code scanning operation of the identification code on the vehicle to be returned, and a first included angle between the mobile terminal and the reference direction of the identification code in the code scanning process is obtained.
The identification code can be a two-dimensional code or other codes with a reference direction.
The code scanning operation may be an operation in which a user holds the mobile terminal so that the camera on the mobile terminal can scan the identification code.
In some embodiments, acquiring a first angle between the mobile terminal and a reference direction of the identification code during code scanning includes: identifying the identification code, and determining a positioning identifier in the identification code;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
Fig. 3 is a schematic diagram of a reference direction of an identification code provided by an embodiment of the present disclosure. As shown in fig. 3, the identification code includes: at least three positioning marks. For example, the at least two positioning identifiers may be any at least three of 1, 2, 3, and 4.
In some embodiments, when the number of the positioning identifiers is 3, the direction pointing to and perpendicular to the connection line connecting the two first preset positioning identifiers through the first reference positioning identifier is determined as the reference direction of the identification code.
For example, the first reference positioning identifier is (3 or 4), and the two first preset positioning identifiers are 1 and 2, respectively, the reference direction 2 shown in fig. 3 is obtained.
In other embodiments, when the at least two positioning identifiers include 1, 2, 3 and 4, the middle point of the connecting line between 3 and 4, which is directed to and perpendicular to the middle point of the connecting line between 1 and 2, is determined as the reference direction of the identification code (such as the reference direction 2 shown in fig. 3).
Fig. 4 is a schematic diagram of a first angle provided by an embodiment of the present disclosure. As shown in fig. 4, includes: a mobile terminal 41 and an identification code 42. The mobile terminal 41 has a reference direction 1 (i.e. the positive direction of the mobile terminal 41) and the identification code has a reference direction 2 (i.e. the positive direction of the identification code). The angle between the reference direction 1 and the reference direction 2 is a first angle a.
S203, the mobile terminal determines a first parking angle of the vehicle to be returned according to the first included angle.
In some embodiments, determining a first parking angle of the vehicle to be returned from the first angle includes: acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as a first parking angle.
In some embodiments, the second angle may be determined based on angle information collected by a gyroscope or based on orientation information collected by a Global Positioning System (GPS) device.
FIG. 5 is a schematic view of a first parking angle provided by the embodiment of the disclosure. As shown in fig. 5, includes: a second angle b between the reference direction (reference direction 1) of the mobile terminal and the earth magnetic field direction, and a first angle a.
In some embodiments, the difference of the second angle b minus the first angle a (b-a-c) is determined as the first parking angle c.
In other embodiments, the absolute value of the difference between the second angle b and the first angle a (| a-b | ═ c) is determined as the first parking angle.
FIG. 6 is another schematic view of the first parking angle provided by the embodiment of the present disclosure. In some embodiments, the sum of the second angle b and the first angle a is determined as the first parking angle c, as shown in FIG. 6.
S204, the mobile terminal sends the first parking angle to the server.
The first parking angle is used for indicating the server to judge whether the vehicle to be returned meets the angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
S205, the server judges whether the vehicle to be returned meets the angle parking condition according to the first parking angle.
Optionally, the server may determine whether the vehicle to be returned meets the angle parking condition according to the first parking angle in the following 3 ways.
In the mode 1, the server judges whether the first parking angle is within a first preset angle range; and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
For example, the first predetermined angle range may be a to B degrees. For example, A is less than B, A may be 5 and B may be 10.
In the mode 2, the server acquires a preset parking angle corresponding to a parking area where a vehicle to be returned is located;
judging whether the absolute value of the difference value between the first parking angle and the preset parking angle is within a second preset angle range or not;
if yes, determining that the vehicle to be returned meets the angle parking condition.
Optionally, the parking area where the vehicle to be returned is located may be determined by the server according to the terminal location information carried in the vehicle returning request, or may be determined by the server receiving the terminal location information sent by the mobile terminal to the server in real time before the vehicle to be returned is not returned.
The second predetermined angle range may be, for example, 90-X to 90+ X degrees. Alternatively, X may be 0.5, 1, 2, 3, etc., and the value of X is not limited herein.
In the mode 3, the server judges whether the vehicle to be returned meets the angle parking condition or not according to the first parking angle;
the server judges whether the vehicle to be returned meets the angle parking condition or not according to a third parking angle sent by the vehicle to be returned;
if the fact that the vehicle to be returned meets the angle parking condition is determined according to the first parking angle, and the fact that the vehicle to be returned meets the angle parking condition is determined according to the third parking angle, the fact that the vehicle to be returned meets the angle parking condition is determined;
otherwise, determining that the vehicle to be returned does not meet the angle parking condition.
And the third parking angle is an angle sent to the server after the vehicle to be returned sends the second parking angle. And the second parking angle is used for enabling the server to make the vehicle to be returned for the first time meet the angle parking condition.
It should be noted that, in the method 3, the server determines whether the to-be-returned vehicle meets the angle parking condition according to the first parking angle, and the method determines whether the to-be-returned vehicle meets the angle parking condition similarly according to the third parking angle sent by the to-be-returned vehicle.
In the mode 3, the server can judge whether the vehicle to be returned meets the angle parking condition according to the first parking angle through the modes 1 and 2.
And S206, if the server determines that the vehicle to be returned meets the angle parking condition, controlling the vehicle to be returned to execute locking operation.
In some embodiments, the server sends the locking instruction to the vehicle to be returned, so that the vehicle to be returned performs the locking operation according to the locking instruction.
In the car returning method provided by the embodiment of fig. 2, the server judges whether the car to be returned meets the angle parking condition according to the first parking angle sent by the mobile terminal, and avoids judging whether the car to be returned is normally parked according to the parking information sent by the intelligent lock, so that when the intelligent lock of the car to be returned has a hardware fault, the normal car to be returned can be ensured for the user.
On the basis of the above embodiments, the following describes in detail the returning method provided by the present disclosure with reference to fig. 7, specifically, please refer to fig. 7.
Fig. 7 is a schematic flow chart diagram ii of a car returning method provided in the embodiment of the present disclosure. As shown in fig. 7, the method includes:
and S701, the mobile terminal sends a car returning request to the server.
In some embodiments, the mobile terminal sends a car returning request to the server in response to an operation instruction of the car returning control by the user.
S702, the vehicle to be returned sends a second parking angle to the server.
In some embodiments, the second parking angle is acquired by a gyroscope disposed in the vehicle to be recovered.
The second parking angle is an angle between the reference direction of the vehicle to be returned and the direction of the earth magnetic field.
And S703, the server preliminarily determines whether the vehicle to be returned meets the angle parking condition according to the vehicle returning request and the second parking angle sent by the vehicle to be returned.
In some embodiments, after receiving the vehicle returning request, the server preliminarily determines whether the vehicle to be returned meets the angle parking condition according to the second parking angle and a preset parking angle corresponding to the parking point where the vehicle to be returned is located.
Specifically, determining an absolute value of a difference value between the second parking angle and a preset parking angle, and judging whether the absolute value is within a second preset angle range; if so, preliminarily determining that the vehicle to be returned meets the angle parking condition; if not, the vehicle to be returned is preliminarily determined not to meet the angle parking condition.
In some embodiments, the server determines a parking point where the vehicle to be returned is located according to vehicle position information sent by the vehicle to be returned, and obtains a preset parking angle corresponding to the parking point from a preset database.
In some embodiments, the vehicle position information is acquired by a positioning device arranged in the vehicle to be recovered. Alternatively, the positioning device may be a GPS device, a beidou positioning apparatus, or the like.
In some embodiments, the pending vehicle may send the second parking angle and the vehicle position information to the server at the same time, or may send the vehicle position information to the server after S702 and before S703.
S704, if the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition, the server sends a first message to the mobile terminal.
The first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to the second parking angle sent by the vehicle to be returned.
S705, the mobile terminal displays the operation control according to the first message.
And the operation control is used for indicating that the parking angle of the vehicle to be returned is determined again.
In some embodiments, the mobile terminal may display the third prompting message according to the first message. The third prompt message is used for prompting the user to execute the first operation instruction of the preset operation control (such as the complaint entrance control).
S706, the mobile terminal responds to a first operation instruction of the user to the operation control and outputs first prompt information.
The first prompt message is used for reminding a user of executing code scanning operation.
In some embodiments, the mobile terminal outputs first prompt information in response to a first operation instruction of a user on a preset operation control.
S707, the mobile terminal responds to the code scanning operation of the identification code on the vehicle to be returned, and a first included angle between the mobile terminal and the reference direction of the identification code in the code scanning process is obtained.
Specifically, the execution method of S707 is the same as the execution method of S202, and the execution process of S707 is not described herein again.
S708, the mobile terminal determines a first parking angle of the vehicle to be returned according to the first included angle.
Specifically, the execution method of S708 is the same as the execution method of S203, and the execution process of S708 is not described herein again.
S709, the mobile terminal sends the first parking angle to the server.
Specifically, the execution method of S709 is the same as the execution method of S204, and the execution process of S709 is not described herein again.
S710, the server judges whether the vehicle to be returned meets the angle parking condition or not according to the first parking angle.
If so, S711 is executed, otherwise, S712-S713 are executed.
Specifically, the execution method of S710 is the same as the execution method of S205, and the execution process of S710 is not described herein again.
And S711, the server sends a locking instruction to the vehicle to be returned. The locking instruction is used for controlling the vehicle to be returned to execute locking operation.
It should be noted that the server sends a lock closing instruction to the vehicle to be returned, so as to implement that the server controls the vehicle to be returned to execute the lock closing operation.
Specifically, the execution method of S711 is the same as the execution method of S206, and the execution process of S711 is not described herein again.
S712, the server sends a second message to the mobile terminal.
And the second message is sent when the server determines that the vehicle to be returned does not meet the angle parking condition according to the first parking angle.
The second message is used for indicating the mobile terminal to output second prompt information, and the second prompt information is used for reminding a user of changing the parking angle of the vehicle to be returned.
S713, the mobile terminal outputs the second prompt message.
The second prompt message is used for reminding the user to change the parking angle of the vehicle to be returned.
Fig. 8 is a schematic diagram of second prompt information provided by an embodiment of the disclosure. As shown in fig. 8, for example, the second prompt message includes: the text "your parking is not normative! Please confirm whether the dispatch fee is paid to finish returning to the car? "," yes "control, and" no "control.
In some embodiments, if the mobile terminal receives a selection operation on the "yes" control (indicating that the user needs to change the parking angle of the to-be-returned vehicle by the dispatcher), the server controls the to-be-returned vehicle to perform a locking operation, and if the mobile terminal receives a selection operation on the "no" control (indicating that the user needs to change the parking angle of the to-be-returned vehicle by the user), the mobile terminal sends a vehicle returning request to the server again.
In the car returning method provided in fig. 7, the server determines whether the car to be returned meets the angle parking condition according to the first parking angle sent by the mobile terminal, and avoids determining whether the car to be returned is normally parked according to the parking information sent by the intelligent lock, so that when the intelligent lock of the car to be returned has a hardware fault, the normal car to be returned of the user can be ensured. And after the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition, the server sends a first message to the mobile terminal so that the mobile terminal can display the operation control, and responds to a first operation instruction of the user to the operation control, and outputs a first prompt message so as to guide the user to execute code scanning operation, so that the vehicle returning experience of the user is improved. Further, after the server judges that the vehicle to be returned does not meet the angle parking condition according to the first parking angle, the server sends a second message to the mobile terminal, so that the mobile terminal outputs second prompt information to remind a user of changing the parking angle of the vehicle to be returned, and the vehicle to be returned is guaranteed to be parked in a standard mode.
The following method of fig. 9 may be included between S701 and S702.
Fig. 9 is a flowchart of a method for transmitting a second parking angle according to an embodiment of the disclosure. As shown in fig. 9, the method includes:
s901, the mobile terminal sends terminal position information to a server.
S902, the vehicle to be returned sends vehicle position information to the server.
And S903, judging whether the vehicle to be returned is in the parking spot by the server according to the terminal position information and/or the vehicle position information.
If so, then S904 is performed, otherwise, S905 is performed.
And S904, the server receives a second parking angle sent by the vehicle to be returned.
In some embodiments, prior to S904, the pending vehicle sends a second parking angle to the server.
S905, the server sends a fourth message to the mobile terminal.
The fourth message instructs the mobile terminal to output a fourth prompt.
The fourth prompting message is used for indicating the user to go to the parking spot.
And S906, the mobile terminal outputs fourth prompt information.
In some embodiments, the fourth prompting message includes, for example: the text "vehicle no longer stop! Please confirm whether the dispatch fee is paid to finish returning to the car? "," yes "control, and" no "control.
In some embodiments, if the mobile terminal receives a selection operation on the "yes" control (indicating that the user needs the dispatcher to park the to-be-returned vehicle to the parking spot), the server controls the to-be-returned vehicle to perform a locking operation, and if the mobile terminal receives a selection operation on the "no" control (indicating that the user needs to park the to-be-returned vehicle to the parking spot in a self-service manner), the mobile terminal sends a vehicle returning request to the server again.
Further, on the basis of any of the above embodiments, after or before the server determines that the vehicle to be returned meets the angular parking condition, or the server determines that the vehicle to be returned is within the parking spot, the vehicle returning method provided by the present disclosure further includes the method shown in fig. 10.
Fig. 10 is a flowchart of a method for determining whether a pending vehicle is stationary according to an embodiment of the present disclosure. As shown in fig. 10, the method includes:
s101, the mobile terminal obtains the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and a vehicle to be returned.
In some embodiments, the motion information of the mobile terminal is obtained by performing information acquisition on the mobile terminal through a motion sensor (e.g., a speed sensor, an acceleration sensor, etc.) provided in the mobile terminal.
In some embodiments, the motion information of the mobile terminal includes a velocity and/or an acceleration of the mobile terminal.
In some embodiments, the bluetooth signal strength is obtained by scanning a bluetooth signal broadcasted by the vehicle to be returned through a bluetooth device arranged in the mobile terminal.
S102, the mobile terminal judges whether the motion information of the mobile terminal meets a first condition and whether the Bluetooth signal intensity is larger than a preset value.
S103, when the mobile terminal determines that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value, the mobile terminal sends a third message to the server.
And the third message is used for instructing the server to control the vehicle to be returned to execute locking operation.
The first condition, the preset value, may be data information pre-stored in the mobile terminal.
The motion information of the mobile terminal meets a first condition, and the mobile terminal is in a static state.
The Bluetooth signal intensity is larger than the preset value, which indicates that the user is together with the vehicle to be returned.
It should be noted that, when the bluetooth signal intensity is greater than the preset value and the motion information of the mobile terminal meets the first condition, it may indicate that the vehicle to be returned is in a stationary state.
In some embodiments, when the motion information of the mobile terminal includes a velocity and an acceleration of the mobile terminal, the first condition may include, for example: -1.2 m/s (velocity) -0.2 m/s2 (acceleration).
In some embodiments, the mobile terminal may send the motion information and bluetooth signal strength to the server.
And S104, when the server determines that the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, the server controls the vehicle to be returned to execute locking operation.
The third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned and determines that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value.
Please refer to fig. 2 and fig. 7, which are not repeated herein, for a method for determining that a vehicle to be returned meets the angular parking condition.
When the mobile terminal sends the motion information and the Bluetooth signal intensity of the mobile terminal to the server, the server controls the vehicle to be returned to execute locking operation when the server determines that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value. The first condition and the preset value may be data information pre-stored in the server.
In some embodiments, after receiving the bluetooth signal strength, the server may determine whether the vehicle to be returned is in a stationary state according to the bluetooth signal strength and second movement information (of the vehicle to be returned) sent by the vehicle to be returned, and if so, control the vehicle to be returned to perform a locking operation.
Specifically, when the intensity of the bluetooth signal is greater than the preset value and the second motion information meets the first condition, it is determined that the vehicle to be returned is in a stationary state.
In some embodiments, after receiving the bluetooth signal intensity and the motion information of the mobile terminal, the server may determine whether the vehicle to be returned is in a stationary state according to the bluetooth signal intensity and second motion information (of the vehicle to be returned) sent by the vehicle to be returned, and if so, control the vehicle to be returned to perform a locking operation.
Specifically, when the intensity of the bluetooth signal is greater than the preset value and the second motion information and the motion information of the mobile terminal simultaneously satisfy the first condition, it is determined that the vehicle to be returned is in a stationary state.
The second motion information includes a speed and/or an acceleration of the vehicle to be returned.
Specifically, please refer to S206 for a method for the server to control the vehicle to be returned to perform the locking operation, which is not described herein again.
In some embodiments, before S101, further comprising: the method comprises the steps that a vehicle to be returned sends first motion information (g-sensor information) of the vehicle to be returned to a server; the server primarily judges whether the vehicle to be returned is in a static state or not according to the first motion information of the vehicle to be returned; if yes, controlling the vehicle to be returned to execute locking operation; and if not, sending a fifth message to the mobile terminal, wherein the fifth message is used for enabling the mobile terminal to output fifth prompt information. Further, the mobile terminal outputs fifth prompt information, and the fifth prompt information is used for reminding the user that the vehicle and the person are moving.
In some embodiments, the mobile terminal performs S101 after receiving the fifth message.
In the car returning method provided in fig. 10, the motion information of the mobile terminal meets the first condition, and the bluetooth signal intensity is greater than the preset value, which indicates that the car to be returned is in a static state, so that the mobile terminal sends the third message to the server, and when it is determined that the car to be returned meets the angle parking condition and the third message sent by the mobile terminal is received, the server can control the car to be returned to execute the locking operation, thereby preventing the user from forgetting to return the car, avoiding the car to be returned from being ridden by other people, and improving the car returning experience of the user.
Fig. 11 is a schematic structural diagram of a carriage return device according to an embodiment of the present disclosure. The returning apparatus 10 is provided in the mobile terminal. As shown in fig. 11, the carriage return apparatus 10 includes:
the response module 11 is configured to output first prompt information in response to the first operation instruction; the first prompt message is used for reminding a user of executing code scanning operation;
the response module 11 is further configured to, in response to a code scanning operation of the identification code on the to-be-returned vehicle, acquire a first included angle between the mobile terminal and the reference direction of the identification code in the code scanning process;
the determining module 12 is configured to determine a first parking angle of the vehicle to be returned according to the first included angle;
a sending module 13, configured to send the first parking angle to the server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets the angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
The car returning device 10 provided by the embodiment of the present disclosure can execute the car returning method executed by the mobile terminal, and the implementation principle and the beneficial effect thereof are similar, and are not described herein again.
In some embodiments, the determining module 12 is specifically configured to:
acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as a first parking angle.
In some embodiments, the response module 11 is specifically configured to:
sending a car returning request to a server, and receiving a first message sent by the server; the first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to the second parking angle sent by the vehicle to be returned;
displaying the operation control according to the first message; the operation control is used for representing that the parking angle of the vehicle to be returned is determined again;
responding to a first operation instruction of the user to the operation control.
In some embodiments, the determining module 12 is specifically configured to:
identifying the identification code, and determining a positioning identifier in the identification code;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
In some embodiments, the returning device 10 further comprises:
the receiving module 14 is configured to receive a second message sent by the server, where the second message is sent by the server when it is determined that the vehicle to be returned does not satisfy the angle parking condition according to the first parking angle;
and the output module 15 is configured to output second prompt information, where the second prompt information is used to remind a user to change a parking angle of a vehicle to be returned.
In some embodiments, the returning device 10 further comprises:
the acquisition module 16 is used for acquiring the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned;
the sending module 13 is further configured to send a third message to the server if the motion information of the mobile terminal meets the first condition and the bluetooth signal strength is greater than the preset value, where the third message is used to instruct the server to control the vehicle to be returned to execute the locking operation.
The car returning device 10 provided by the embodiment of the present disclosure can execute the car returning method executed by the mobile terminal, and the implementation principle and the beneficial effect thereof are similar, and are not described herein again.
Fig. 12 is a schematic structural diagram of another carriage return device provided in the embodiment of the present disclosure. The carriage returning device 20 is provided in the server. As shown in fig. 12, the cart returning apparatus 20 includes:
the receiving module 21 is configured to receive a first parking angle of a vehicle to be returned, which is sent by the mobile terminal; the first parking angle is obtained after the mobile terminal obtains a first included angle between the mobile terminal and the reference direction of the identification code on the vehicle to be returned in the code scanning process;
the judging module 22 is used for judging whether the vehicle to be returned meets the angle parking condition according to the first parking angle;
and the control module 23 is configured to control the vehicle to be returned to execute a locking operation if the vehicle to be returned meets the angle parking condition.
The car returning device 20 provided by the embodiment of the present disclosure may execute the car returning method executed by the server, and the implementation principle and the beneficial effect thereof are similar, and are not described herein again.
In some embodiments, the determining module 22 is specifically configured to:
judging whether the first parking angle is within a first preset angle range or not;
and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
In some embodiments, the returning device 20 further comprises:
the receiving module 21 is further configured to receive a car return request sent by the mobile terminal;
the judging module 22 is further configured to preliminarily determine whether the vehicle to be returned meets the angle parking condition according to the vehicle returning request and the second parking angle sent by the vehicle to be returned;
the sending module 24 is configured to send a first message to the mobile terminal if it is preliminarily determined that the vehicle to be returned does not satisfy the angle parking condition.
In some embodiments, the returning device 20 further comprises:
and the sending module 24 is configured to send a second message to the mobile terminal if the vehicle to be returned does not meet the angle parking condition, where the second message is used to instruct the mobile terminal to output second prompt information, and the second prompt information is used to prompt a user to change the parking angle of the vehicle to be returned.
In some embodiments, the control module 23 is specifically configured to:
if the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, controlling the vehicle to be returned to execute locking operation;
the third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned, and the fact that the motion information of the mobile terminal meets the first condition and the Bluetooth signal intensity is larger than a preset value is determined.
The car returning device 20 provided by the embodiment of the present disclosure may execute the car returning method executed by the server, and the implementation principle and the beneficial effect thereof are similar, and are not described herein again.
Fig. 13 is a hardware schematic diagram of a mobile terminal according to an embodiment of the present disclosure. As shown in fig. 13, the mobile terminal 30 may include: a transceiver 31, a memory 32, a processor 33. The transceiver 31 may include: a transmitter and/or a receiver. The transmitter may also be referred to as a sender, a transmitter, a sending port, a sending interface, and the like, and the receiver may also be referred to as a receiver, a receiving port, a receiving interface, and the like. The transceiver 31, the memory 32, and the processor 33 are illustratively interconnected via a bus 34.
Fig. 14 is a hardware schematic diagram of a server provided in an embodiment of the present disclosure. As shown in fig. 14, the server 40 may include: transceiver 41, memory 42, processor 43. The transceiver 41 may include: a transmitter and/or a receiver. The transmitter may also be referred to as a sender, a transmitter, a sending port or a sending interface, and the like, and the receiver may also be referred to as a receiver, a receiving port or a receiving interface, and the like. The transceiver 41, the memory 42, and the processor 43 are illustratively interconnected via a bus 44.
The memory 42 is used to store program instructions;
Embodiments of the present disclosure provide a computer-readable storage medium having program instructions stored therein, which when executed by a processor implement the above-mentioned returning method.
Embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for returning the vehicle can be implemented.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (optical disk), and any combination thereof.
Embodiments of the present disclosure are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the disclosure without departing from the spirit and scope of the disclosure. Thus, if such modifications and variations of the embodiments of the present disclosure are within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to encompass such modifications and variations.
In the present disclosure, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present disclosure, "at least one" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It should be noted that step numbers such as S901 and S902 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S902 first and then perform S901 in specific implementation, but these should be within the scope of the present application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (26)
1. A car returning method is characterized by being applied to a mobile terminal and comprising the following steps:
responding to the first operation instruction, and outputting first prompt information; the first prompt message is used for reminding a user of executing code scanning operation;
responding to code scanning operation of an identification code on a to-be-returned vehicle, and acquiring a first included angle between a mobile terminal and a reference direction of the identification code in a code scanning process;
determining a first parking angle of the vehicle to be returned according to the first included angle, and sending the first parking angle to a server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets an angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
2. The method of claim 1, wherein determining a first parking angle of the vehicle to be returned based on the first included angle comprises:
acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as the first parking angle.
3. The method of claim 1, wherein responding to the first operation instruction comprises:
sending a car returning request to the server, and receiving a first message sent by the server; the first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to a second parking angle sent by the vehicle to be returned;
displaying an operation control according to the first message; the operation control is used for representing that the parking angle of the vehicle to be returned is determined again;
responding to the first operation instruction of the user to the operation control.
4. The method according to any one of claims 1 to 3, wherein the obtaining of the first angle between the mobile terminal and the reference direction of the identification code during code scanning comprises:
identifying the identification codes and determining positioning marks in the identification codes;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
5. The method according to any one of claims 1-3, further comprising:
receiving a second message sent by the server, wherein the second message is sent by the server when the server determines that the vehicle to be returned does not meet the angle parking condition according to the first parking angle;
and outputting second prompt information, wherein the second prompt information is used for reminding the user to change the parking angle of the vehicle to be returned.
6. The method according to any one of claims 1-3, further comprising:
acquiring the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned;
and if the motion information of the mobile terminal meets a first condition and the Bluetooth signal intensity is greater than a preset value, sending a third message to the server, wherein the third message is used for indicating the server to control the to-be-returned vehicle to execute locking operation.
7. A car returning method is applied to a server and comprises the following steps:
receiving a first parking angle of a vehicle to be returned, which is sent by a mobile terminal; the first parking angle is obtained after the mobile terminal obtains a first included angle between the mobile terminal and the reference direction of the identification code on the vehicle to be returned in the code scanning process;
judging whether the vehicle to be returned meets an angle parking condition or not according to the first parking angle;
and if the vehicle to be returned meets the angle parking condition, controlling the vehicle to be returned to execute locking operation.
8. The method of claim 7, wherein the determining whether the vehicle to be returned meets an angular parking condition according to the first parking angle comprises:
judging whether the first parking angle is within a first preset angle range or not;
and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
receiving a car returning request sent by the mobile terminal;
preliminarily determining whether the vehicle to be returned meets the angle parking condition or not according to the vehicle returning request and a second parking angle sent by the vehicle to be returned;
and if the vehicle to be returned is preliminarily determined not to meet the angle parking condition, sending a first message to the mobile terminal.
10. The method according to claim 7 or 8, characterized in that the method further comprises:
and if the vehicle to be returned does not meet the angle parking condition, sending a second message to the mobile terminal, wherein the second message is used for indicating the mobile terminal to output second prompt information, and the second prompt information is used for reminding a user to change the parking angle of the vehicle to be returned.
11. The method according to claim 7 or 8, wherein if the vehicle to be returned meets the angular parking condition, controlling the vehicle to be returned to perform a locking operation comprises:
if the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, controlling the vehicle to be returned to execute a locking operation;
the third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned, and the motion information of the mobile terminal meets a first condition and the Bluetooth signal intensity is larger than a preset value.
12. The utility model provides a still car device which characterized in that is applied to mobile terminal, the device includes:
the response module is used for responding to the first operation instruction and outputting first prompt information; the first prompt message is used for reminding a user of executing code scanning operation;
the response module is also used for responding to code scanning operation of the identification code on the vehicle to be returned and acquiring a first included angle between the mobile terminal and the reference direction of the identification code in the code scanning process;
the determining module is used for determining a first parking angle of the vehicle to be returned according to the first included angle;
the sending module is used for sending the first parking angle to a server; the first parking angle is used for indicating the server to judge whether the vehicle to be returned meets an angle parking condition or not, and the first parking angle is an angle between the vehicle to be returned and the earth magnetic field direction.
13. The apparatus of claim 12, wherein the determining module is specifically configured to:
acquiring a second included angle between the reference direction of the mobile terminal and the direction of the earth magnetic field;
and determining the difference value between the first included angle and the second included angle as the first parking angle.
14. The apparatus of claim 13, wherein the response module is specifically configured to:
sending a car returning request to the server, and receiving a first message sent by the server; the first message is sent when the server preliminarily determines that the vehicle to be returned does not meet the angle parking condition according to a second parking angle sent by the vehicle to be returned;
displaying an operation control according to the first message; the operation control is used for representing that the parking angle of the vehicle to be returned is determined again;
responding to the first operation instruction of the user to the operation control.
15. The apparatus according to any one of claims 12 to 14, wherein the determining module is specifically configured to:
identifying the identification codes and determining positioning marks in the identification codes;
determining the reference direction of the identification code according to the positioning identification;
and determining an included angle between the reference direction of the mobile terminal and the reference direction of the identification code as a first included angle between the mobile terminal and the reference direction of the identification code.
16. The apparatus according to any one of claims 12-14, further comprising:
the receiving module is used for receiving a second message sent by the server, wherein the second message is sent by the server when the server determines that the vehicle to be returned does not meet the angle parking condition according to the first parking angle;
and the output module is used for outputting second prompt information, and the second prompt information is used for reminding the user to change the parking angle of the vehicle to be returned.
17. The apparatus according to any one of claims 12-14, further comprising:
the acquisition module is used for acquiring the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned;
the sending module is further configured to send a third message to the server if the motion information of the mobile terminal meets a first condition and the bluetooth signal strength is greater than a preset value, where the third message is used to instruct the server to control the to-be-returned vehicle to execute a locking operation.
18. A car returning device is characterized by being applied to a server and comprising:
the receiving module is used for receiving a first parking angle of the vehicle to be returned, which is sent by the mobile terminal; the first parking angle is obtained after the mobile terminal obtains a first included angle between the mobile terminal and the reference direction of the identification code on the vehicle to be returned in the code scanning process;
the judging module is used for judging whether the vehicle to be returned meets an angle parking condition or not according to the first parking angle;
and the control module is used for controlling the vehicle to be returned to execute locking operation if the vehicle to be returned meets the angle parking condition.
19. The apparatus of claim 18, wherein the determining module is specifically configured to:
judging whether the first parking angle is within a first preset angle range or not;
and if the first parking angle is within the first preset angle range, determining that the vehicle to be returned meets the angle parking condition.
20. The apparatus of claim 18 or 19, further comprising:
the receiving module is further used for receiving a car returning request sent by the mobile terminal;
the judging module is further used for preliminarily determining whether the vehicle to be returned meets the angle parking condition according to the vehicle returning request and a second parking angle sent by the vehicle to be returned;
and the sending module is used for sending a first message to the mobile terminal if the vehicle to be returned is preliminarily determined not to meet the angle parking condition.
21. The apparatus of claim 18 or 19, further comprising:
and the sending module is used for sending a second message to the mobile terminal if the vehicle to be returned does not meet the angle parking condition, wherein the second message is used for indicating the mobile terminal to output a second prompt message, and the second prompt message is used for reminding a user to change the parking angle of the vehicle to be returned.
22. The apparatus according to claim 18 or 19, wherein the control module is specifically configured to:
if the vehicle to be returned meets the angle parking condition and receives a third message sent by the mobile terminal, controlling the vehicle to be returned to execute a locking operation;
the third message is sent when the mobile terminal acquires the motion information of the mobile terminal and the Bluetooth signal intensity between the mobile terminal and the vehicle to be returned, and the motion information of the mobile terminal meets a first condition and the Bluetooth signal intensity is larger than a preset value.
23. A mobile terminal, comprising: a memory and a processor;
the memory is to store program instructions;
the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1-6.
24. A server, comprising: a memory and a processor;
the memory is to store program instructions;
the processor is configured to invoke program instructions in the memory to perform the method of any of claims 7-11.
25. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program; the computer program, when executed, implementing the method of any one of claims 1-6 or 7-11.
26. A computer program product, characterized in that it comprises computer program code for implementing the method according to any one of claims 1-6 or 7-11, when the computer program code runs on a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111496734.XA CN114493741A (en) | 2021-12-08 | 2021-12-08 | Vehicle returning method, device, equipment, storage medium and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111496734.XA CN114493741A (en) | 2021-12-08 | 2021-12-08 | Vehicle returning method, device, equipment, storage medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114493741A true CN114493741A (en) | 2022-05-13 |
Family
ID=81492656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111496734.XA Pending CN114493741A (en) | 2021-12-08 | 2021-12-08 | Vehicle returning method, device, equipment, storage medium and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114493741A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115482627A (en) * | 2022-08-17 | 2022-12-16 | 宁波美喵科技有限公司 | Shared bicycle positioning method, device, equipment and storage medium |
-
2021
- 2021-12-08 CN CN202111496734.XA patent/CN114493741A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115482627A (en) * | 2022-08-17 | 2022-12-16 | 宁波美喵科技有限公司 | Shared bicycle positioning method, device, equipment and storage medium |
CN115482627B (en) * | 2022-08-17 | 2024-02-06 | 宁波美喵科技有限公司 | Shared bicycle positioning method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108537351A (en) | A kind of determination method and device for recommending to get on the bus a little | |
CN106534383B (en) | Position management method, client and system of shared traffic tool | |
EP2471054B1 (en) | Method for providing vehicle information and terminal device applying the same | |
KR101586706B1 (en) | Method for managing car parking using car stopper with geomagnetic wireless sensor | |
CN104427466A (en) | Terminal device positioning method and terminal device | |
EP2557436A1 (en) | Mobile communication terminal and method for selecting positioning scheme | |
US9241249B2 (en) | Methods, systems and apparatus for providing notification at an automotive head unit that a wireless communication device is outside a vehicle | |
CN110944053A (en) | Dynamic route mapping between mobile devices | |
KR101111004B1 (en) | Mobile terminal | |
CN105068103A (en) | Auxiliary positioning method and electronic equipment | |
CN110060496A (en) | Vehicle shared system and method | |
CN113765546B (en) | Virtual card switching method and electronic equipment | |
CN105157720A (en) | Navigation method and device based on position sharing | |
CN110969497A (en) | Order processing method, device, equipment and computer readable storage medium | |
CN114493741A (en) | Vehicle returning method, device, equipment, storage medium and program product | |
CN105467419A (en) | Positioning method and positioning device | |
CN104471919B (en) | Vehicle-borne information processor and on-vehicle information processing method | |
KR100802090B1 (en) | Method and apparatus for providing 3-dimension location based service | |
CN103791898A (en) | Method and electronic equipment for navigation in building | |
CN105551291A (en) | Bus taking guide system | |
CN116195279A (en) | Data transmission device, data transmission method, and data transmission program | |
US20170363431A1 (en) | Location method and corresponding terminals, vehicle, computer program product and storage medium | |
CN101662492B (en) | Interaction system and method for point-to-point wireless mobile communication | |
JP2016063337A (en) | Communication control system, server, and communication control method | |
CN116148762A (en) | Device in positioning system, positioning system and method |
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 |