CN110782564A - Unlocking method, device and system and storage medium - Google Patents

Unlocking method, device and system and storage medium Download PDF

Info

Publication number
CN110782564A
CN110782564A CN201911075799.XA CN201911075799A CN110782564A CN 110782564 A CN110782564 A CN 110782564A CN 201911075799 A CN201911075799 A CN 201911075799A CN 110782564 A CN110782564 A CN 110782564A
Authority
CN
China
Prior art keywords
vehicle
unlocked
unlocking
cloud server
unlocking instruction
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
Application number
CN201911075799.XA
Other languages
Chinese (zh)
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.)
Beijing Niutang Information Technology Co Ltd
Original Assignee
Beijing Niutang 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 Beijing Niutang Information Technology Co Ltd filed Critical Beijing Niutang Information Technology Co Ltd
Priority to CN201911075799.XA priority Critical patent/CN110782564A/en
Publication of CN110782564A publication Critical patent/CN110782564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the invention discloses an unlocking method, an unlocking device, an unlocking system and a storage medium. The method is applied to a third-party terminal and comprises the following steps: after the Bluetooth of the vehicle to be unlocked is successfully paired, receiving encryption information fed back by the vehicle to be unlocked, and feeding the encryption information back to a cloud server, so that the cloud server generates an unlocking instruction according to the encryption information, receives the unlocking instruction sent by the cloud server, and forwards the unlocking instruction to the vehicle to be unlocked, and the vehicle to be unlocked is unlocked according to the unlocking instruction. Compared with the prior art, this scheme uses the high in the clouds server as the medium, through the interaction of third party's terminal and high in the clouds server, obtains the instruction of unblanking, sends the instruction of unblanking to the vehicle of waiting to unblank through the mode of bluetooth for the vehicle of waiting to unblank still can carry out the action of unblanking even be in under the environment of no net, has guaranteed the interactive reliability of information, has prevented the theft of shared vehicle or has lost.

Description

Unlocking method, device and system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of shared vehicles, in particular to an unlocking method, device and system and a storage medium.
Background
Shared vehicles have been incorporated into people's daily lives as a result of the development of internet of things. The unlocking and the closing of the shared vehicle lock are important links of shared vehicle operation, the traditional unlocking mode is to control the unlocking of the shared vehicle in a remote wireless network mode, namely the shared vehicle can be unlocked and unlocked only in a network environment, and when the shared vehicle is in the network environment, communication information for unlocking is easy to intercept, so that the shared vehicle is stolen or lost.
Disclosure of Invention
The embodiment of the invention provides an unlocking method, an unlocking device, an unlocking system and a storage medium, which are used for solving the problem that a shared vehicle cannot be unlocked and unlocked in a network-free environment in the prior art, ensuring the reliability of information interaction and preventing the shared vehicle from being stolen or lost.
In a first aspect, an embodiment of the present invention provides an unlocking method applied to a third-party terminal, including:
after the Bluetooth pairing with the vehicle to be unlocked is successful, receiving encrypted information fed back by the vehicle to be unlocked;
feeding the encryption information back to a cloud server so that the cloud server generates an unlocking instruction according to the encryption information;
and receiving an unlocking instruction sent by the cloud server, and forwarding the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
In a second aspect, an embodiment of the present invention further provides an unlocking device, integrated in a third party terminal, where the unlocking device includes:
the first receiving module is used for receiving the encrypted information fed back by the vehicle to be unlocked after the Bluetooth pairing with the vehicle to be unlocked is successful;
the information feedback module is used for feeding the encryption information back to the cloud server so that the cloud server generates an unlocking instruction according to the encryption information;
and the second receiving module is used for receiving the unlocking instruction sent by the cloud server and forwarding the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
In a third aspect, an embodiment of the present invention further provides an unlocking system, including: the system comprises a third-party terminal, a cloud server, a vehicle to be unlocked and a third-party server;
the third party terminal is used for sending the encrypted information fed back by the vehicle to be unlocked to the cloud server and receiving the unlocking instruction fed back by the cloud server after the Bluetooth pairing of the third party terminal and the vehicle to be unlocked is successful;
the cloud server is used for generating an unlocking instruction according to the encrypted information sent by the third-party terminal and feeding the unlocking instruction back to the third-party terminal so that the third-party terminal sends the unlocking instruction to the vehicle to be unlocked;
the vehicle to be unlocked is used for forming encrypted information after the Bluetooth pairing with the third party terminal is successful, feeding the encrypted information back to the third party terminal and unlocking according to an unlocking instruction sent by the third party terminal;
and the third-party server is used for verifying the validity of the third-party terminal.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a corresponding terminal and a server, implements the unlocking method according to the first aspect.
The embodiment of the invention provides an unlocking method, an unlocking device, an unlocking system and a storage medium, wherein after a third-party terminal is successfully paired with a Bluetooth of a vehicle to be unlocked, encryption information fed back by the vehicle to be unlocked is received and sent to a cloud server, the cloud server generates an unlocking instruction according to the encryption information, the unlocking instruction sent by the cloud server is transmitted to the vehicle to be unlocked, and the vehicle to be unlocked is unlocked according to the unlocking instruction.
Drawings
Fig. 1 is a flowchart of an unlocking method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an initialization process according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an unlocking process according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a log-out process according to an embodiment of the present invention;
fig. 5 is a structural diagram of an unlocking device according to a second embodiment of the present invention;
fig. 6 is a structural diagram of an unlocking system according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of an unlocking method provided in an embodiment of the present invention, where the present embodiment is applicable to a situation of unlocking a shared vehicle, the method may be executed by an unlocking device, the device may be implemented in a software and/or hardware manner, and may be integrated in a third party terminal, where the third party terminal may be an intelligent terminal such as a mobile phone and a tablet computer, and referring to fig. 1, the method may include the following steps:
and S110, after the Bluetooth pairing with the vehicle to be unlocked is successful, receiving the encrypted information fed back by the vehicle to be unlocked.
The vehicles to be unlocked in the embodiment take a shared vehicle as an example, and the shared vehicle can be a shared bicycle, a shared electric vehicle, a shared automobile and the like. Optionally, the vehicle to be unlocked interacts with the third party terminal in a bluetooth manner, and before unlocking, the third party terminal needs to be established with the bluetooth connection of the vehicle to be unlocked. Specifically, the third party terminal can determine the Bluetooth information corresponding to the vehicle to be unlocked through the cloud server, and establish Bluetooth connection with the vehicle to be unlocked according to the acquired Bluetooth information, wherein the cloud server is a server associated with the vehicle to be unlocked. Optionally, the third party terminal may send an unlocking request to the cloud server, the unlocking request includes a terminal identifier of the third party terminal and a terminal identifier of the vehicle to be unlocked, the cloud server searches the bluetooth information association table according to the terminal identifier of the vehicle to be unlocked, and can determine bluetooth information corresponding to the vehicle to be unlocked, wherein the bluetooth information association table is used for storing the association relationship between the vehicle identifier and corresponding bluetooth.
In order to ensure the security of information interaction, when the third-party terminal sends the unlocking request to the cloud server, the unlocking request can be sent to the third-party server, and the third-party server forwards the unlocking request to the cloud server after the unlocking request passes the verification of the third-party server, wherein the third-party server is a server associated with the third-party terminal and is used for verifying the validity of the third-party terminal. Specifically, the third-party server verifies whether the third-party terminal has the authority to unlock the vehicle to be unlocked corresponding to the vehicle identifier according to the terminal identifier of the third-party terminal in the unlocking request and the vehicle identifier of the vehicle to be unlocked, if the third-party terminal is determined to have the authority, the result of passing the verification is fed back to the third-party terminal, the unlocking request is forwarded to the cloud server, and if the third-party terminal is determined to have no authority, the result of failed verification is returned to the third-party terminal, and the third-party terminal is notified that the unlocking authority does not exist.
After the cloud server receives the unlocking request forwarded by the third-party server, verification can be performed according to the terminal identification of the third-party terminal in the unlocking request and the vehicle identification of the vehicle to be unlocked, the authority of the third-party terminal is confirmed, and the information transmission process is prevented from being intercepted and tampered. The embodiment adopts a dual authentication mechanism, and the security of information interaction is ensured through authentication of the third-party server and the cloud server respectively. After the cloud server passes verification, on one hand, the unlocking request is recorded, a unique identifier is generated, and the unique identifier is fed back to the third party terminal through the third party server so as to inform the third party terminal that the verification of the cloud server passes, and on the other hand, corresponding Bluetooth information is determined according to the acquired vehicle identifier and is sent to the third party terminal, so that the third party terminal establishes connection with the vehicle to be unlocked according to the Bluetooth information.
After the vehicle to be unlocked is successfully connected with the third party terminal, the vehicle to be unlocked encrypts the terminal identifier, the bluetooth information, the vehicle identifier of the vehicle, the bluetooth information and the corresponding timestamp of the third party terminal to form encrypted information, and returns the encrypted information to the third party terminal, wherein the timestamp is the display time of the vehicle to be unlocked after the vehicle to be unlocked is successfully paired with the third party terminal.
Optionally, before the third-party terminal sends the unlocking request, initialization is performed to establish a communication connection with the cloud server. For example, referring to fig. 2, fig. 2 is a schematic diagram of an initialization process provided in an embodiment of the present invention, specifically, an APP (Application program) of a third-party terminal sends an initialization request to a cloud server through the third-party server, where the initialization request includes interface information of an initialization SDK (Software Development Kit), the cloud server verifies the interface information of the SDK, determines an ID of an SDK interface, and returns a verification result and the ID of the interface to the APP through the third-party server, where the SDK is integrated in the third-party terminal and is used to provide an interface service. The APP calls the initialization method of the corresponding interface to the SDK according to the received ID of the SDK interface, the cloud server logs in through the SDK, after the login is successful, the cloud server returns a result of successful login to the SDK, the SDK returns a result of successful initialization method calling to the APP according to the received result of successful login, and therefore the APP is informed of initialization completion, and therefore the SDK is successfully connected with the cloud server.
And S120, feeding the encryption information back to a cloud server so that the cloud server generates an unlocking instruction according to the encryption information.
After the APP at the third party terminal receives the encryption information returned by the vehicle to be unlocked, the encryption information is fed back to the cloud server, so that the cloud server generates an unlocking instruction according to the received encryption information. The unlocking instruction of the embodiment is generated only by the cloud server associated with the vehicle, so that the uniqueness and the safety of the unlocking instruction are guaranteed.
S130, receiving an unlocking instruction sent by the cloud server, and forwarding the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
After the cloud server generates the unlocking instruction, the SDK is sent to the third-party terminal and forwarded to the vehicle to be unlocked through the SDK, so that the vehicle to be unlocked executes the unlocking action according to the received unlocking instruction, wherein the identity of the SDK needs to be verified before the unlocking action is executed, and the unlocking instruction is prevented from being intercepted. This embodiment uses the high in the clouds server as the medium, and the SDK through the third party terminal after the high in the clouds server generates the instruction of unblanking sends for waiting to unblank the vehicle, has prevented that the high in the clouds server from leading to the instruction of unblanking to be intercepted with waiting to unblank vehicle direct communication, has ensured the safety of waiting to unblank the vehicle. It should be noted that, in the process of communicating between the SDK and the vehicle to be unlocked, the SDK is only used for transmitting information, and does not participate in the encryption and decryption process, for example, the SDK sends the unlocking instruction generated by the cloud server to the vehicle to be unlocked.
Optionally, after the vehicle to be unlocked is unlocked based on the unlocking instruction, the execution state of the unlocking instruction is fed back to the SDK, where the execution state includes successful execution and failed execution, if the execution state received by the SDK is successful execution, the bluetooth connection with the vehicle to be unlocked is maintained, otherwise, the execution is returned to receive the encrypted information fed back by the vehicle to be unlocked, until the execution state of the unlocking instruction fed back by the vehicle to be unlocked is successful execution.
The embodiment of the invention provides an unlocking method, wherein after a third party terminal is successfully paired with a Bluetooth of a vehicle to be unlocked, encryption information fed back by the vehicle to be unlocked is received and sent to a cloud server, so that the cloud server generates an unlocking instruction according to the encryption information, then the unlocking instruction sent by the cloud server is forwarded to the vehicle to be unlocked, and the vehicle to be unlocked is unlocked according to the unlocking instruction.
On the basis of the embodiment, the Bluetooth pairing of the third-party terminal and the vehicle to be unlocked can be realized in the following way:
sending an unlocking request to the cloud server so that the cloud server determines the Bluetooth information of the vehicle to be unlocked according to the unlocking request, wherein the unlocking request comprises a terminal identifier of the third-party terminal and a vehicle identifier of the vehicle to be unlocked;
and according to the Bluetooth information sent by the cloud server, the Bluetooth information is paired with the Bluetooth of the vehicle to be unlocked.
The specific pairing process has been described above and will not be described herein.
On the basis of the embodiment, the encrypted information comprises a terminal identifier of the third-party terminal and a vehicle identifier of a vehicle to be unlocked;
the cloud server generates an unlocking instruction according to the encryption information, and the method comprises the following steps:
the cloud server decrypts the encrypted information to obtain a terminal identifier of the third party terminal and a vehicle identifier of the vehicle to be unlocked;
and the cloud server generates an unlocking instruction corresponding to the vehicle to be unlocked according to the terminal identification and the vehicle identification.
Specifically, the cloud server decrypts the encrypted information to obtain a terminal identifier of a corresponding third-party terminal and a vehicle identifier of a vehicle to be unlocked, and generates an unlocking instruction uniquely corresponding to the vehicle to be unlocked according to the terminal identifier and the vehicle identifier.
On the basis of the above embodiment, the vehicle to be unlocked can be unlocked as follows:
the vehicle to be unlocked counts the transmission time length of the unlocking instruction transmitted to the vehicle to be unlocked;
if the transmission time length is less than the set time length, the vehicle to be unlocked executes unlocking action according to the unlocking instruction; otherwise, the vehicle to be unlocked refuses to execute the unlocking action, and the execution state of the unlocking instruction is fed back to the third party terminal.
Compared with the prior art, the embodiment also sets a timeout mechanism. Specifically, when the SDK issues an unlocking instruction to a vehicle to be unlocked, the unlocking instruction carries issuing time, after the vehicle to be unlocked receives the unlocking instruction, the time from the issuing time to the receiving time is counted, if the time is greater than or equal to a set time, the unlocking instruction is considered invalid, the unlocking action is refused to be executed, if the time is less than the set time, the unlocking instruction is considered valid, then the unlocking action is executed according to the unlocking instruction, meanwhile, the execution state of the unlocking instruction is fed back to the SDK, and the execution state comprises successful execution and failed execution. The set time length can be set according to needs, and optionally, the embodiment is set to 5 s. It should be noted that if the time length from the sending of the unlocking instruction to the ending is shorter than the set time length, but the unlocking failure is caused by the self failure of the vehicle to be unlocked, the execution failure is returned to the SDK. It should be further noted that, if the time from the time when the third party terminal issues the unlocking request to the time when the vehicle to be unlocked receives the unlocking instruction exceeds the preset time, the vehicle to be unlocked also refuses to execute the unlocking action, where the preset time may be set as required, for example, may be set as 20 s.
Exemplarily, referring to fig. 3, fig. 3 is a schematic diagram of an unlocking process provided in an embodiment of the present invention, before issuing an unlocking request, the third party terminal APP performs environment verification through the SDK, after the verification is successful, the third party terminal APP sends the unlocking request to the cloud server through the third party server, the cloud server records the received unlocking request on one hand, generates a unique identifier of the unlocking request and feeds the unique identifier back to the APP through the third party server, and on the other hand, determines bluetooth information of a vehicle to be unlocked according to a vehicle identifier in the unlocking request, so that the SDK establishes bluetooth connection with the vehicle to be unlocked according to the bluetooth information. After the Bluetooth connection is successful, the vehicle to be unlocked forms encrypted information, the encrypted information is reported to a cloud server through an SDK (software development kit), the cloud server generates an unlocking instruction according to the received encrypted information, the unlocking instruction is sent to the vehicle to be unlocked through the SDK, after the vehicle to be unlocked receives the unlocking instruction, the time length of the unlocking instruction sent to the receiving terminal is counted, if the time length is greater than or equal to the set time length, the vehicle to be unlocked refuses to execute the unlocking action, if the time length is less than the set time length, the vehicle to be unlocked executes the unlocking action, and the execution state of the unlocking instruction is fed back to the SDK, wherein the execution state comprises execution success and execution failure, and the execution failure can be caused by overtime or faults of the. And the SDK reports the execution state to the cloud server after receiving the execution state, the cloud server analyzes the execution state to form a result analysis table, feeds the result analysis table back to the SDK, and feeds the result analysis table back to the APP, wherein the result analysis table contains the execution result and the reason of execution failure.
On the basis of the embodiment, if the execution state of the unlocking instruction fed back by the APP to the vehicle to be unlocked is successful, the APP keeps Bluetooth connection with the vehicle to be unlocked; and if not, returning to execute the encrypted information fed back by the vehicle to be unlocked until the execution state of the unlocking instruction fed back by the vehicle to be unlocked is the execution success.
Under the normal condition, if the execution state that APP received the unlocking instruction of waiting to unblank the vehicle feedback is for carrying out successfully, then keep with the bluetooth connection of waiting to unblank the vehicle, need not to rebuild the bluetooth connection when unblanking next time, if the user initiative disconnection with wait to unblank the bluetooth connection of vehicle, then need send the disconnection request to SDK. For example, referring to fig. 4, fig. 4 is a schematic diagram of a log-out process according to an embodiment of the present invention, specifically, an APP sends a disconnection request to an SDK, the SDK actively disconnects a bluetooth connection with a vehicle to be unlocked after receiving the disconnection request, and simultaneously sends a log-out request to a cloud server, the cloud server logs out the SDK after receiving the log-out request, and returns a result of log-out to the SDK, and the SDK feeds back the result of log-out to the APP after receiving the result of log-out, so that a user can know a current state through the APP. If the execution state of the APP receiving the unlocking instruction fed back by the vehicle to be unlocked is execution failure, the APP receiving the encrypted information fed back by the vehicle to be unlocked is executed until the execution state of the APP receiving the unlocking instruction fed back by the vehicle to be unlocked is execution success.
Example two
Fig. 5 is a structural diagram of an unlocking device according to a second embodiment of the present invention, which can execute the unlocking method described in the above embodiment, and referring to fig. 5, the unlocking device includes:
the first receiving module 210 is configured to receive encrypted information fed back by a vehicle to be unlocked after the vehicle to be unlocked is successfully paired with bluetooth;
the information feedback module 220 is configured to feed the encrypted information back to the cloud server, so that the cloud server generates an unlocking instruction according to the encrypted information;
the second receiving module 230 is configured to receive the unlocking instruction sent by the cloud server, and forward the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
The second embodiment of the invention provides an unlocking device, which receives encrypted information fed back by a vehicle to be unlocked after being successfully paired with Bluetooth of the vehicle to be unlocked, and sends the encrypted information to a cloud server, so that the cloud server generates an unlocking instruction according to the encrypted information, and then forwards the unlocking instruction sent by the cloud server to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
On the basis of the above embodiment, the bluetooth pairing with the vehicle to be unlocked includes:
sending an unlocking request to the cloud server so that the cloud server determines the Bluetooth information of the vehicle to be unlocked according to the unlocking request, wherein the unlocking request comprises a terminal identifier of the third-party terminal and a vehicle identifier of the vehicle to be unlocked;
and according to the Bluetooth information sent by the cloud server, the Bluetooth information is paired with the Bluetooth of the vehicle to be unlocked.
On the basis of the embodiment, the encrypted information comprises a terminal identifier of the third-party terminal and a vehicle identifier of a vehicle to be unlocked;
the cloud server generates an unlocking instruction according to the encryption information, and the method comprises the following steps:
the cloud server decrypts the encrypted information to obtain a terminal identifier of the third party terminal and a vehicle identifier of the vehicle to be unlocked;
and the cloud server generates an unlocking instruction corresponding to the vehicle to be unlocked according to the terminal identification and the vehicle identification.
On the basis of the above embodiment, the unlocking of the vehicle to be unlocked according to the unlocking instruction includes:
the vehicle to be unlocked counts the transmission time length of the unlocking instruction transmitted to the vehicle to be unlocked;
if the transmission time length is less than the set time length, the vehicle to be unlocked executes unlocking action according to the unlocking instruction; otherwise, the vehicle to be unlocked refuses to execute the unlocking action, and the execution state of the unlocking instruction is fed back to the third party terminal.
On the basis of the above embodiment, the method further includes:
the judging module is used for keeping Bluetooth connection with the vehicle to be unlocked if the execution state of the unlocking instruction fed back by the vehicle to be unlocked is successful; and if not, returning to execute and receiving the encrypted information fed back by the vehicle to be unlocked until the execution state of the unlocking instruction fed back by the vehicle to be unlocked is the execution success.
The unlocking device provided by the second embodiment of the invention can execute the unlocking method provided by the first embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 6 is a structural diagram of an unlocking system according to a third embodiment of the present invention, and referring to fig. 6, the system includes: the system comprises a third-party terminal 310, a cloud server 320, a vehicle 330 to be unlocked and a third-party server 340, wherein the cloud server 320 is respectively connected with the third-party terminal 310 and the third-party server 340, and the third-party terminal 310 is also respectively connected with the third-party server 340 and the vehicle 330 to be unlocked.
The third party terminal 310 is configured to, after the bluetooth pairing with the vehicle 330 to be unlocked is successful, send the encrypted information fed back by the vehicle 330 to be unlocked to the cloud server 320, and receive the unlocking instruction fed back by the cloud server 320;
the vehicle to be unlocked 330 is used for forming encrypted information after the bluetooth pairing with the third party terminal 310 is successful, feeding the encrypted information back to the third party terminal 310, and unlocking according to an unlocking instruction sent by the third party terminal 310;
and the third party server 340 is used for verifying the validity of the third party terminal 310.
The unlocking system provided by the embodiment of the invention and the unlocking method provided by the embodiment belong to the same conception, and specific details can refer to the embodiment.
Example four
The fourth embodiment of the present invention further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a corresponding terminal and a server, the unlocking method according to the fourth embodiment of the present invention is implemented.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the operations in the unlocking method described above, and may also perform the relevant operations in the unlocking method provided by any embodiments of the present invention, and has corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, and the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the unlocking method according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An unlocking method is applied to a third-party terminal and is characterized by comprising the following steps:
after the Bluetooth pairing with the vehicle to be unlocked is successful, receiving encrypted information fed back by the vehicle to be unlocked;
feeding the encryption information back to a cloud server so that the cloud server generates an unlocking instruction according to the encryption information;
and receiving an unlocking instruction sent by the cloud server, and forwarding the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
2. The method of claim 1, wherein the Bluetooth pairing with the vehicle to be unlocked comprises:
sending an unlocking request to the cloud server so that the cloud server determines the Bluetooth information of the vehicle to be unlocked according to the unlocking request, wherein the unlocking request comprises a terminal identifier of the third-party terminal and a vehicle identifier of the vehicle to be unlocked;
and according to the Bluetooth information sent by the cloud server, the Bluetooth information is paired with the Bluetooth of the vehicle to be unlocked.
3. The method according to claim 1, wherein the encryption information includes a terminal identification of the third party terminal and a vehicle identification of a vehicle to be unlocked;
the cloud server generates an unlocking instruction according to the encryption information, and the method comprises the following steps:
the cloud server decrypts the encrypted information to obtain a terminal identifier of the third party terminal and a vehicle identifier of the vehicle to be unlocked;
and the cloud server generates an unlocking instruction corresponding to the vehicle to be unlocked according to the terminal identification and the vehicle identification.
4. The method of claim 1, wherein the vehicle to be unlocked is unlocked according to the unlocking instruction, comprising:
the vehicle to be unlocked counts the transmission time length of the unlocking instruction transmitted to the vehicle to be unlocked;
if the transmission time length is less than the set time length, the vehicle to be unlocked executes unlocking action according to the unlocking instruction; otherwise, the vehicle to be unlocked refuses to execute the unlocking action, and the execution state of the unlocking instruction is fed back to the third party terminal.
5. The method according to any one of claims 1-4, further comprising, after the unlocking of the vehicle to be unlocked according to the unlocking instruction:
if the execution state of the unlocking instruction fed back by the vehicle to be unlocked is successful, keeping Bluetooth connection with the vehicle to be unlocked; and if not, returning to execute and receiving the encrypted information fed back by the vehicle to be unlocked until the execution state of the unlocking instruction fed back by the vehicle to be unlocked is the execution success.
6. An unlocking device integrated in a third-party terminal, comprising:
the first receiving module is used for receiving the encrypted information fed back by the vehicle to be unlocked after the Bluetooth pairing with the vehicle to be unlocked is successful;
the information feedback module is used for feeding the encryption information back to the cloud server so that the cloud server generates an unlocking instruction according to the encryption information;
and the second receiving module is used for receiving the unlocking instruction sent by the cloud server and forwarding the unlocking instruction to the vehicle to be unlocked, so that the vehicle to be unlocked is unlocked according to the unlocking instruction.
7. The apparatus of claim 6, wherein the Bluetooth pairing with the vehicle to be unlocked comprises:
sending an unlocking request to the cloud server so that the cloud server determines the Bluetooth information of the vehicle to be unlocked according to the unlocking request, wherein the unlocking request comprises a terminal identifier of the third-party terminal and a vehicle identifier of the vehicle to be unlocked;
and according to the Bluetooth information sent by the cloud server, the Bluetooth information is paired with the Bluetooth of the vehicle to be unlocked.
8. The apparatus according to claim 6, wherein the encrypted information includes a terminal identifier of the third party terminal and a vehicle identifier of a vehicle to be unlocked;
the cloud server generates an unlocking instruction according to the encryption information, and the method comprises the following steps:
the cloud server decrypts the encrypted information to obtain a terminal identifier of the third party terminal and a vehicle identifier of the vehicle to be unlocked;
and the cloud server generates an unlocking instruction corresponding to the vehicle to be unlocked according to the terminal identification and the vehicle identification.
9. An unlocking system, comprising: the system comprises a third-party terminal, a cloud server, a vehicle to be unlocked and a third-party server;
the third party terminal is used for sending the encrypted information fed back by the vehicle to be unlocked to the cloud server and receiving the unlocking instruction fed back by the cloud server after the Bluetooth pairing of the third party terminal and the vehicle to be unlocked is successful;
the cloud server is used for generating an unlocking instruction according to the encrypted information sent by the third-party terminal and feeding the unlocking instruction back to the third-party terminal so that the third-party terminal sends the unlocking instruction to the vehicle to be unlocked;
the vehicle to be unlocked is used for forming encrypted information after the Bluetooth pairing with the third party terminal is successful, feeding the encrypted information back to the third party terminal and unlocking according to an unlocking instruction sent by the third party terminal;
and the third-party server is used for verifying the validity of the third-party terminal.
10. A storage medium on which a computer program is stored, characterized in that the program realizes the unlocking method according to any one of claims 1 to 5 when executed by a corresponding terminal and server.
CN201911075799.XA 2019-11-06 2019-11-06 Unlocking method, device and system and storage medium Pending CN110782564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911075799.XA CN110782564A (en) 2019-11-06 2019-11-06 Unlocking method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911075799.XA CN110782564A (en) 2019-11-06 2019-11-06 Unlocking method, device and system and storage medium

Publications (1)

Publication Number Publication Date
CN110782564A true CN110782564A (en) 2020-02-11

Family

ID=69389391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911075799.XA Pending CN110782564A (en) 2019-11-06 2019-11-06 Unlocking method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN110782564A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111615093A (en) * 2020-05-22 2020-09-01 北京骑胜科技有限公司 Control method and device for service provider, electronic equipment and medium
CN111796781A (en) * 2020-06-30 2020-10-20 杭州有赞科技有限公司 Method and system for printing cashier receipt, computer equipment and readable storage medium
CN112124247A (en) * 2020-09-18 2020-12-25 上海钧正网络科技有限公司 Vehicle lock control method and device and computer readable storage medium
CN114694283A (en) * 2022-03-11 2022-07-01 深圳市凯迪仕智能科技有限公司 Method for unlocking intelligent lock and related device
CN115297137A (en) * 2022-06-30 2022-11-04 亿咖通(湖北)技术有限公司 Shared bicycle using method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008002096A1 (en) * 2006-06-30 2008-01-03 Eung Lyul Kim Smart key system and control method thereof
CN106846579A (en) * 2017-01-23 2017-06-13 深圳欧米智能科技有限公司 Management method and intelligent bicycle lock that a kind of shared bicycle intelligent bicycle lock is used
CN107978038A (en) * 2017-11-20 2018-05-01 东峡大通(北京)管理咨询有限公司 Vehicle unlocking management method, client and vehicle
CN109243017A (en) * 2018-08-22 2019-01-18 天网互联科技(深圳)有限公司 A kind of bluetooth method for unlocking, device and computer readable storage medium
CN109727354A (en) * 2018-12-27 2019-05-07 北京摩拜科技有限公司 A kind of control method and system of vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008002096A1 (en) * 2006-06-30 2008-01-03 Eung Lyul Kim Smart key system and control method thereof
CN106846579A (en) * 2017-01-23 2017-06-13 深圳欧米智能科技有限公司 Management method and intelligent bicycle lock that a kind of shared bicycle intelligent bicycle lock is used
CN107978038A (en) * 2017-11-20 2018-05-01 东峡大通(北京)管理咨询有限公司 Vehicle unlocking management method, client and vehicle
CN109243017A (en) * 2018-08-22 2019-01-18 天网互联科技(深圳)有限公司 A kind of bluetooth method for unlocking, device and computer readable storage medium
CN109727354A (en) * 2018-12-27 2019-05-07 北京摩拜科技有限公司 A kind of control method and system of vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111615093A (en) * 2020-05-22 2020-09-01 北京骑胜科技有限公司 Control method and device for service provider, electronic equipment and medium
CN111796781A (en) * 2020-06-30 2020-10-20 杭州有赞科技有限公司 Method and system for printing cashier receipt, computer equipment and readable storage medium
CN112124247A (en) * 2020-09-18 2020-12-25 上海钧正网络科技有限公司 Vehicle lock control method and device and computer readable storage medium
CN114694283A (en) * 2022-03-11 2022-07-01 深圳市凯迪仕智能科技有限公司 Method for unlocking intelligent lock and related device
CN114694283B (en) * 2022-03-11 2024-04-30 深圳市凯迪仕智能科技股份有限公司 Unlocking method of intelligent lock and related device
CN115297137A (en) * 2022-06-30 2022-11-04 亿咖通(湖北)技术有限公司 Shared bicycle using method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110782564A (en) Unlocking method, device and system and storage medium
CN109862040B (en) Security authentication method and authentication system
CN112822630B (en) Data processing method of device and computer-readable storage medium
JP4621200B2 (en) Communication apparatus, communication system, and authentication method
CN111935693B (en) Bluetooth device connection method and Bluetooth device
JP2019521414A (en) Payment authentication method, device and system for on-vehicle terminal
US11057195B2 (en) Method and system for providing security for the first time a mobile device makes contact with a device
CN110224822B (en) Key negotiation method and system
US20100037302A1 (en) Peer-to-peer access control method of triple unit structure
CN109041263B (en) TBox Bluetooth connection method and device
CN114039734B (en) Device resetting method and device
WO2021259015A1 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN112055344A (en) Engineering machinery Bluetooth equipment identity authentication system and method
CN115136625B (en) Vehicle-mounted system login method and related device
CN101977379A (en) Authentication method and device of mobile terminal
CN113989958A (en) Digital key sharing system, method and apparatus, vehicle and storage medium
CN106792667B (en) Network access authentication method for robot and robot
CN107682380B (en) Cross authentication method and device
CN113378153B (en) Authentication method, first service device, second service device and terminal device
CN112214753A (en) Authentication method and device, electronic equipment and storage medium
CN110830243B (en) Symmetric key distribution method, device, vehicle and storage medium
CN112214779A (en) Control method and device, electronic equipment and storage medium
CN112002084A (en) Method and system for upgrading mPOS terminal
CN105654290B (en) Method, gateway, terminal and system for communication between terminal and intelligent password key
CN117375960A (en) Pairing method and system of digital keys and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211