CN112419543A - Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium - Google Patents

Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium Download PDF

Info

Publication number
CN112419543A
CN112419543A CN201910780827.1A CN201910780827A CN112419543A CN 112419543 A CN112419543 A CN 112419543A CN 201910780827 A CN201910780827 A CN 201910780827A CN 112419543 A CN112419543 A CN 112419543A
Authority
CN
China
Prior art keywords
door lock
information
unlocking
intelligent door
broadcast information
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
CN201910780827.1A
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.)
National Technology Shenzhen Co ltd
Original Assignee
National Technology Shenzhen 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 National Technology Shenzhen Co ltd filed Critical National Technology Shenzhen Co ltd
Priority to CN201910780827.1A priority Critical patent/CN112419543A/en
Publication of CN112419543A publication Critical patent/CN112419543A/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/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • 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
    • G07C2009/00365Electronically 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 in combination with a wake-up circuit
    • G07C2009/0038Electronically 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 in combination with a wake-up circuit whereby the wake-up circuit is situated in the keyless data carrier
    • 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
    • G07C2009/00412Electronically 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 the transmitted data signal being encrypted
    • 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
    • G07C2209/00Indexing scheme relating to groups G07C9/00 - G07C9/38
    • G07C2209/60Indexing scheme relating to groups G07C9/00174 - G07C9/00944
    • G07C2209/63Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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

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

Abstract

The invention discloses an unlocking method of an intelligent door lock, a mobile terminal, the intelligent door lock and a computer readable storage medium, wherein the method comprises the following steps: when the first broadcast information is intercepted, awakening an unlocking program of the mobile terminal to run in a background; when second broadcast information is sensed, determining whether the intelligent door lock corresponding to the door lock information contained in the second broadcast information can be unlocked or not, so that communication connection with the corresponding intelligent door lock is established before an unlocking instruction is sent; when the updated first broadcast information is monitored, determining target door lock information corresponding to a target intelligent door lock for unlocking; and sending an unlocking instruction to the target intelligent door lock according to the target door lock information. The unlocking method and the unlocking device have the advantages that the corresponding unlocking program is automatically awakened, the unlocking operation of the intelligent door lock is completed when the unlocking condition is met, and the unlocking convenience is improved.

Description

Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium
Technical Field
The invention relates to the technical field of intelligent home control, in particular to an unlocking method of an intelligent door lock, a mobile terminal, the intelligent door lock, an unlocking system of the intelligent door lock and a computer-readable storage medium.
Background
With the improvement of the technology level and the living standard, the intelligent mobile terminal increasingly becomes an indispensable part of the daily life and work of people. Meanwhile, intelligent equipment is more and more used in life and work, an intelligent door lock is more prominent, and people can finish door opening operation by using a mobile terminal instead of a key when going out due to the intelligent door lock.
At present, the intelligent door lock on the market generally has password, NFC, fingerprint, bluetooth mode of unblanking, and wherein, bluetooth mode of unblanking has almost become intelligent door lock standard configuration because of reasons such as with low costs and practicality again. In the scheme that mobile terminal's application APP or little letter applet use bluetooth to unblank, the user at first will manually open APP and make its operation at the system proscenium, then click the unlocking button that corresponds on the APP and unblank. Obviously, such a method increases the complexity of unlocking, so that the unlocking operation is not convenient enough.
Disclosure of Invention
Based on the unlocking method, the mobile terminal, the intelligent door lock and the computer readable storage medium, the unlocking convenience is improved.
In order to achieve the above object, the unlocking method for an intelligent door lock provided by the present invention is applied to a mobile terminal, and the unlocking method for an intelligent door lock comprises:
when the first broadcast information is intercepted, awakening an unlocking program of the mobile terminal to run in a background;
when second broadcast information is sensed, determining whether the intelligent door lock corresponding to the door lock information contained in the second broadcast information can be unlocked or not, so that communication connection with the corresponding intelligent door lock is established before an unlocking instruction is sent;
when the updated first broadcast information is monitored, determining target door lock information corresponding to a target intelligent door lock for unlocking;
and sending an unlocking instruction to the target intelligent door lock according to the target door lock information.
In addition, in order to achieve the above object, the present invention further provides an unlocking method for an intelligent door lock, which is applied to the intelligent door lock, and the unlocking method for the intelligent door lock includes:
sending first broadcast information and second broadcast information by using a Bluetooth module of the intelligent door lock, wherein the first broadcast information is used for awakening an unlocking program of the mobile terminal to run in a background, and the second broadcast information is used for determining whether the intelligent door lock can be unlocked or not;
when the induction device of the intelligent door lock detects that the mobile terminal approaches, the updated first broadcast information is sent;
and when an unlocking instruction is received, determining whether to respond to the unlocking instruction and unlocking according to the unlocking instruction.
In addition, to achieve the above object, the present invention further provides a mobile terminal, which includes a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the unlocking method of the intelligent door lock.
In addition, in order to achieve the above object, the present invention further provides an intelligent door lock, which includes a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the unlocking method of the intelligent door lock.
In addition, in order to achieve the above object, the present invention further provides an unlocking system of an intelligent door lock, where the unlocking system of the intelligent door lock includes the mobile terminal and the intelligent door lock.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by one or more processors, causes the one or more processors to execute the steps of the unlocking method of the intelligent door lock as described above.
According to the unlocking method of the intelligent door lock, the mobile terminal, the intelligent door lock, the unlocking system and the computer readable storage medium, when the intelligent door lock is unlocked, when first broadcast information is intercepted, the unlocking program of the mobile terminal is firstly awakened to run at the background, then the broadcast information in the surrounding environment is intercepted, when second broadcast information is intercepted, whether the unlocking operation can be carried out on the intelligent door lock corresponding to the door lock information contained in the second broadcast information is determined, then when the second broadcast information is intercepted by the mobile terminal, a target intelligent door lock which can be unlocked currently is determined, and finally a corresponding unlocking instruction is sent to the target intelligent door lock according to the target door lock information corresponding to the target intelligent door lock. The unlocking operation of the intelligent door lock is realized, the unlocking program of the mobile terminal is automatically awakened through monitoring the broadcast information, and meanwhile, the Bluetooth communication connection between the mobile terminal and the intelligent door lock is automatically established, so that an unlocking instruction is sent to the corresponding intelligent door lock to complete the corresponding unlocking operation when the intelligent door lock can be unlocked. And then the convenience of unblock has been improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
FIG. 1 is a schematic block diagram of an unlocking system for an intelligent door lock in one embodiment;
FIG. 2 is a schematic flow chart illustrating unlocking of an intelligent door lock according to one embodiment;
FIG. 3 is a flowchart illustrating steps of determining whether the intelligent door lock corresponding to the second broadcast message can be unlocked in one embodiment;
FIG. 4 is a flowchart illustrating the steps for determining target door lock information for unlocking in one embodiment;
FIG. 5 is a flowchart illustrating steps of sending an unlock command in one embodiment;
FIG. 6 is a schematic view illustrating a process of unlocking the smart door lock according to another embodiment;
FIG. 7 is a schematic block diagram of a mobile terminal provided in one embodiment;
fig. 8 is a schematic block diagram of an intelligent door lock provided in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic block diagram of an unlocking system of an intelligent door lock in one embodiment. The unlocking method of the intelligent door lock can be applied to the unlocking system of the intelligent door lock.
As shown in fig. 1, the unlocking system of the intelligent door lock comprises an intelligent door lock and a mobile terminal, wherein the intelligent door lock comprises a master control, a low-power-consumption bluetooth, a sensing device, an input/output device and a driving device, specifically, the master control is used for operating a management system of the intelligent door lock and implementing bluetooth unlocking authentication, the low-power-consumption bluetooth is used for communicating with the mobile terminal, the sensing device is used for detecting whether the mobile terminal is close to the mobile terminal to perform unlocking operation, the input/output device is used for setting a PIN code, and the driving device is used for driving a clutch to implement unlocking.
When the intelligent door lock is in a closed state, the intelligent door lock alternately sends BLE broadcast and Beacon broadcast by using the low-power Bluetooth of the intelligent door lock. The BLE broadcast is a broadcast capable of scanning and connecting types and is used for Bluetooth communication connection, and broadcast data comprises a Bluetooth equipment MAC address, a door lock name, a door lock product serial number and the like. The Beacon broadcast is a Bluetooth Beacon broadcast protocol, the broadcast data comprises a 16-byte Beacon UUID, a 2-byte Major and a 2-byte Minor, the combination of the UUID, the Major and the Minor is used for identifying the unique Beacon, and when the Beacon broadcast is in a standby broadcast state, the Major and the Minor are set to be a fixed value of 0xFFFF, namely, the Beacon broadcast is in a blank state.
Because the low-power consumption bluetooth of intelligence lock can be alternate transmission BLE broadcast and Beacon broadcast always, consequently when mobile terminal has got into the valid range of bluetooth broadcast, can receive the BLE broadcast and the Beacon broadcast that intelligence lock sent, the valid range is 10m usually, when the distance value between mobile terminal and the intelligent lock is less than or equal to 10m promptly, alright in order to receive the BLE broadcast and the Beacon broadcast that intelligence lock sent. When the mobile terminal scans and listens the Beacon broadcast, the UUID in the Beacon broadcast is compared with the UUID of the mobile terminal when the mobile terminal registers, when the UUID and the UUID are the same, the unlocking program in the mobile terminal is awakened to be in an awakening state, and meanwhile, certain background running time of the unlocking program is given.
After the unlocking program is awakened, peripheral BLE broadcasts are scanned, and whether the door lock information in the broadcast data of the scanned and listened BLE broadcasts is consistent with the door lock information recorded in the mobile terminal or not is obtained, so that the mobile terminal can be determined to unlock the intelligent door lock corresponding to the BLE broadcasts. When the induction system of intelligence lock detected that mobile terminal is close to, it is minimum to be close to the distance value that corresponds this moment, set for less than or equal to 2cm usually, the data that carries in the Beacon broadcast that the intelligence lock will be updated, it is specifically embodied that, Major and Minor in the broadcast data of Beacon broadcast this moment change, the update is lock MAC address, and will set up minimum broadcast transmission interval this moment, in order to guarantee that mobile terminal can in time receive the Beacon broadcast that sends after the update, and then accomplish the unblock operation.
An embodiment of the unlocking method provided in the present application will be described in detail below based on the design of the unlocking system of the intelligent door lock provided in fig. 1.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating unlocking of the intelligent door lock in one embodiment. The unlocking method of the intelligent door lock is applied to a mobile terminal, and specifically comprises the following steps:
and step S110, when the first broadcast information is intercepted, awakening an unlocking program of the mobile terminal to run in a background.
The first broadcast information may be Beacon broadcast, the Beacon broadcast is a bluetooth Beacon broadcast protocol, and different operating systems may be different protocols, specifically, the iBeacon protocol of Apple, and may also be addystone protocol of Andriod, which is specifically related to a currently actually operated mobile terminal.
And when the mobile terminal senses the first broadcast information, awakening an unlocking program of the mobile terminal to run in a background. Specifically, when the mobile terminal is gradually close to the intelligent door lock, the intelligent door lock can alternately send the broadcast information, so that when the mobile terminal is gradually close to the intelligent door lock, the first broadcast information sent by the intelligent door lock can be received, then the unlocking program in the mobile terminal is awakened to run at the background, the subsequent unlocking operation is facilitated, and meanwhile, after the unlocking program in the mobile terminal is awakened, the set unlocking program is in an awakening state within a certain time.
Further, when the first broadcast information is intercepted, an unlocking program for waking up the mobile terminal runs in a background, and the method comprises the following steps: when the first broadcast information is intercepted, acquiring a first identification code contained in the first broadcast information; and if the first identification code is the same as the pre-stored target identification code, awakening an unlocking program of the mobile terminal to run in the background.
When the mobile terminal monitors first broadcast information, a first identification code contained in the first broadcast information is obtained, wherein the first identification code is identification information of the broadcast information, the identification codes contained in broadcast data of the broadcast information sent by an intelligent door lock are identical and unique, after the first identification code contained in the first broadcast information is obtained, the first identification code is compared with a target identification code pre-stored in the mobile terminal, and if the first identification code is identical to the target identification code, an unlocking program in the mobile terminal is awakened to run in a background.
In practical application, when an application program on a mobile terminal runs, which broadcast is intercepted during broadcast interception is determined, for example, an application program A registers a Beacon broadcast with an interception identification code of A, an application program B registers a Beacon broadcast with an interception identification code of B, and an application program C registers a Beacon broadcast with an interception identification code of C, and when the mobile terminal performs broadcast interception, if the intercepted identification code of the Beacon broadcast is A, the application program A is awakened; and B, waking up the application program B if the intercepted identifier code of the Beacon broadcast is B. Namely, the identification code of the Beacon broadcast associated with the application program in the mobile terminal is used for waking up the application program when the application program is registered.
In addition, after waking up the unlocking program of the mobile terminal, the method further comprises the following steps: setting time information of an unlocking program in a wake-up state; and when the second broadcast information is not sensed in the time period corresponding to the time information, changing the state of the unlocking program from the awakening state to the sleeping state.
And after the unlocking program of the mobile terminal is awakened, setting corresponding time information for ensuring that the unlocking program of the mobile terminal is in the time information of the awakening state, and changing the state of the unlocking program of the mobile terminal from the awakening state to the dormant state when the second broadcast information is not sensed in a time period corresponding to the time information.
And step S120, when the second broadcast information is sensed, determining whether the intelligent door lock corresponding to the door lock information contained in the second broadcast information can be unlocked or not, so that the communication connection with the corresponding intelligent door lock is established before an unlocking instruction is sent.
The second broadcast information may be a BLE (Bluetooth Low Energy) broadcast, where the BLE broadcast is a scannable and connectable type broadcast for Bluetooth communication connection.
After listening to the first broadcast, the unlocking program of the mobile terminal itself will be awakened and will remain in the awakened state for a certain period of time. After the unlocking program is awakened, when the second broadcast information is intercepted, whether the intelligent door lock corresponding to the door lock information contained in the received second broadcast information can be unlocked or not is determined, and meanwhile, the received second broadcast information is also used for establishing corresponding communication connection with the corresponding intelligent door lock before the mobile terminal sends an unlocking instruction.
In practical application, when the unlocking program is awakened and runs in the background, the mobile terminal can also scan and listen to the broadcast in the surrounding environment, and when the second broadcast information is intercepted, whether the intelligent door lock corresponding to the door lock information can be unlocked or not is determined according to the door lock information recorded in the broadcast data contained in the second broadcast information. The broadcast data contained in the second broadcast information contains identification information of the intelligent door lock which sends the second broadcast information, the identification information of the intelligent door lock which can be unlocked by the unlocking program is recorded and stored in the mobile terminal, and when the intercepted identification information is the same as the pre-stored identification information, the unlocking program of the mobile terminal is determined to be capable of unlocking the corresponding intelligent door lock. The number of the identification information of the intelligent door lock, which is stored in the mobile terminal and can be unlocked by the unlocking program, may be multiple, that is, the unlocking program in one mobile terminal can unlock multiple intelligent door locks.
Meanwhile, the BLE broadcast is a low-power-consumption Bluetooth broadcast and is used for carrying out Bluetooth communication connection, when the mobile terminal determines that the unlocking operation can be carried out on the intelligent door lock corresponding to the door lock information recorded in the broadcast data of the second broadcast information, the Bluetooth communication connection between the mobile terminal and the corresponding intelligent door lock is established, and then the unlocking instruction can be sent to the corresponding intelligent door lock when the unlocking instruction is sent through the unlocking program of the mobile terminal.
And step S130, when the updated first broadcast information is intercepted, determining target door lock information corresponding to the target intelligent door lock for unlocking.
When the mobile terminal listens to the updated first broadcast, the mobile terminal is close to the sensing device of the intelligent door lock, namely, when the distance value between the mobile terminal and the sensing device of the intelligent door lock reaches a certain state, the updated first broadcast information can be intercepted.
And when the mobile terminal monitors the updated first broadcast information, determining target door lock information corresponding to the target intelligent door lock currently unlocked according to the first broadcast information. Specifically, the door lock information of the intelligent door lock is not recorded in the first broadcast before updating, that is, the address for recording the door lock information is in a blank state, when the first broadcast information is updated due to the approach of the mobile terminal, the door lock information of the intelligent door lock which the current mobile terminal approaches is recorded in the updated first broadcast information, specifically, the change of the address for recording the door lock information in the first broadcast information is changed from the blank state to the door lock information. And when the mobile terminal monitors the updated first broadcast information, identifying the door lock information recorded in the updated first broadcast, and then obtaining the current target door lock information for unlocking according to the door lock information which is recorded in the mobile terminal and can be unlocked.
Further, before step S130, the method further includes: obtaining a distance value of the intelligent door lock corresponding to the door lock information contained in the second broadcast information and the mobile terminal according to the Bluetooth signal strength value; when the distance value is less than or equal to the preset distance threshold, it is determined that the updated first broadcast information can be received.
The mobile terminal monitors the updated first broadcast under what condition, and after monitoring the first broadcast information, the mobile terminal obtains the distance value of the intelligent door lock corresponding to the door lock information included in the second broadcast information according to the bluetooth signal intensity value, and when the obtained distance value is smaller than or equal to a preset distance threshold value, the mobile terminal can receive the updated first broadcast information, wherein the preset distance threshold value is the distance value that the sensing device can detect the mobile terminal, and in general, the preset distance threshold value is smaller, for example, 2 cm. When the distance value is obtained according to the bluetooth signal strength value, the distance value is calculated and converted by using the bluetooth signal strength value, for example, a field value recorded in a field for recording the bluetooth signal strength value in Beacon broadcasting is 0x43, and the corresponding distance value is 1 meter at this time.
And step S140, sending an unlocking instruction to the target intelligent door lock according to the target door lock information.
And when the information of the target intelligent door lock for unlocking is obtained, sending a corresponding unlocking instruction to the corresponding target intelligent door lock according to the target intelligent door lock.
In the unlocking method of the intelligent door lock, when first broadcast information is intercepted, an unlocking program of the mobile terminal is firstly awakened to run in a background, then the broadcast information in the surrounding environment is intercepted, when second broadcast information is intercepted, whether unlocking operation can be carried out on the intelligent door lock corresponding to the door lock information contained in the second broadcast information is determined, then when the updated first broadcast information is intercepted by the mobile terminal, a target intelligent door lock which can be unlocked currently is determined, and finally a corresponding unlocking instruction is sent to the target intelligent door lock according to the target door lock information corresponding to the target intelligent door lock. The unlocking operation of the intelligent door lock is realized, the unlocking program of the mobile terminal is automatically awakened through monitoring the broadcast information, and meanwhile, the Bluetooth communication connection between the mobile terminal and the intelligent door lock is automatically established, so that an unlocking instruction is sent to the corresponding intelligent door lock to complete the corresponding unlocking operation when the intelligent door lock can be unlocked. The manual transmission of bluetooth connection and unlocking instructions is reduced, and the convenience of unlocking is improved.
Further, in an embodiment, referring to fig. 3, fig. 3 is a flowchart illustrating a step of determining whether the intelligent door lock corresponding to the second broadcast information can be unlocked in an embodiment.
Specifically, step S120, when the second broadcast information is listened to, determining whether the intelligent door lock corresponding to the door lock information included in the second broadcast information can be unlocked, includes:
step S121, when the second broadcast information is sensed, first door lock information contained in the second broadcast information is obtained;
step S122, acquiring a prestored bound door lock information list, and judging whether the bound door lock information list contains first door lock information or not;
step S123, if the bound door lock information list contains first door lock information, determining that the intelligent door lock corresponding to the first door lock information can be unlocked;
step S124, if the bound door lock information list does not include the first door lock information, it is determined that the intelligent door lock corresponding to the first door lock information cannot be unlocked.
When the mobile terminal senses the second broadcast information, acquiring first door lock information contained in the second broadcast information, then acquiring a prestored bound door lock information list, and further determining whether the bound door lock information list contains the acquired first door lock information, wherein if the bound door lock information list contains the first door lock information, it is determined that an unlocking program of the mobile terminal can unlock an intelligent door lock corresponding to the first door lock information, and if the bound door lock information list does not contain the first door lock information, it is determined that the unlocking program of the mobile terminal cannot unlock the intelligent door lock corresponding to the first door lock information.
In practical application, in order to perform corresponding unlocking operation on an intelligent door lock, a binding relationship needs to be established in advance by an unlocking program of a mobile terminal, when the binding is completed, door lock information of the intelligent door lock capable of being unlocked is recorded by the mobile terminal, and the number of the intelligent door locks capable of being unlocked by one mobile terminal is not limited, so that the number of the door lock information of the intelligent door lock capable of being unlocked recorded in the mobile terminal can be multiple, the door lock information recorded in the mobile terminal can be recorded in a binding door lock information list, that is, the intelligent door lock corresponding to the door lock information in the binding door lock information list is the intelligent door lock capable of being unlocked by the mobile terminal.
In addition, when the mobile terminal listens to the second broadcast information, the number of the second broadcast information may also be multiple, and is mainly determined by the current environment, so when the information included in the second broadcast information is identified and acquired, the acquired first door lock information may include multiple pieces of door lock information, and when a pre-stored bound door lock information list is acquired, all pieces of door lock information included in the first door lock information are compared with the bound door lock information list to determine whether the mobile terminal can unlock the intelligent door lock corresponding to the first door lock information.
It should be noted that, step S123 and step S124 are in parallel, that is, in the actual application process, if step S122 is followed by step S123, step S124 will not exist, and if step S122 is followed by step S124, step S123 will not exist.
Further, referring to fig. 4, in an embodiment, fig. 4 is a flowchart illustrating a step of determining target door lock information for unlocking in an embodiment.
Specifically, in step S130, when the updated first broadcast information is intercepted, the method determines the target door lock information corresponding to the target smart door lock for unlocking, and includes: and acquiring the Bluetooth signal intensity value of the Bluetooth module contained in the intelligent door lock corresponding to the first door lock information.
After the mobile terminal monitors the door lock information of the intelligent door lock which is sent by the broadcast information, the Bluetooth signal intensity value of the Bluetooth module contained in the intelligent door lock is monitored, and corresponding record storage is carried out. Specifically, after first door lock information that the mobile terminal can unlock is obtained, a bluetooth signal intensity value of a bluetooth module included in the intelligent door lock corresponding to the first door lock information is obtained.
Further, step S130 includes:
step S131, when the updated first broadcast information is intercepted, second door lock information contained in the updated first broadcast information is obtained;
step S132, determining whether the first door lock information contains second door lock information;
step S133, if the first door lock information comprises second door lock information, determining whether a second intelligent door lock corresponding to the second door lock information can be unlocked according to the Bluetooth signal intensity value;
and S134, if the second intelligent door lock corresponding to the second door lock information can be unlocked, determining that the second door lock information is the target door lock information.
When the updated first broadcast information is monitored, second door lock information contained in the updated first broadcast information is obtained, then the second door lock information is compared with the first door lock information, whether the first door lock information contains the second door lock information is determined, if the first door lock information contains the second door lock information, whether a second intelligent door lock corresponding to the second door lock information can be unlocked is determined according to the obtained Bluetooth signal intensity value and the distance value obtained according to the Bluetooth signal intensity value, and finally when the mobile terminal can unlock the second intelligent door lock is determined according to the Bluetooth signal intensity value, the second door lock information is determined to be target door lock information.
In practical application, when the mobile terminal approaches to the intelligent door lock to unlock the intelligent door lock, the updated first broadcast information sent by the intelligent door lock is intercepted, wherein the first broadcast information comprises second door lock information corresponding to a second intelligent door lock currently unlocked, the number of the second door lock information is one and only one, since the first door lock information that the mobile terminal can unlock is determined when the second broadcast information is received, wherein the number of the first door lock information is several, so that the updated first broadcast information is received at the mobile terminal, and acquires the second door lock information in the updated first broadcast information, it is determined whether the second door lock information exists in the first door lock information, namely, whether the current unlocking intelligent door lock is the intelligent door lock which can be unlocked by the mobile terminal is determined.
Besides the comparison and determination of the door lock information, whether the currently acquired second door lock information is the target door lock information needing to be unlocked is determined according to the actually monitored Bluetooth signal intensity value. When the mobile terminal determines first door lock information which can be unlocked currently according to the second broadcast information, the Bluetooth signal intensity value of a Bluetooth module contained in the first intelligent door lock corresponding to the first door lock information is monitored and obtained, when second door lock information is obtained according to the updated first broadcast information, the second door lock information exists in the first door lock information, the Bluetooth signal intensity value corresponding to the first door lock information is obtained from a monitoring result, when the Bluetooth signal intensity value meets a certain condition, for example, whether the Bluetooth signal intensity value reaches a preset threshold value or not, or a change rule of the Bluetooth signal intensity value meets a specific change rule, and the second door lock information is determined to be target door lock information.
Further, when determining whether the second door lock information is the target door lock information according to the bluetooth signal strength value, the method includes: comparing the Bluetooth signal intensity value with a preset threshold value; if the signal intensity value is larger than or equal to the preset threshold value, determining that a second intelligent door lock corresponding to the second door lock information can be unlocked; and if the signal intensity value is smaller than the preset threshold value, determining that the second intelligent door lock corresponding to the second door lock information cannot be unlocked.
Further, in an embodiment, referring to fig. 5, fig. 5 is a flowchart illustrating a step of sending an unlocking instruction by the mobile terminal in an embodiment.
Specifically, step S140, sending an unlocking instruction to the target intelligent door lock according to the target door lock information, includes:
step S141, acquiring a standard door lock password corresponding to the stored target intelligent door lock;
s142, encrypting the unlocking authentication request by using a standard door lock password to obtain an encrypted unlocking instruction;
and S143, sending the encrypted unlocking instruction to the target intelligent door lock.
After determining target door lock information corresponding to a target intelligent door lock to be unlocked, acquiring a standard door lock password corresponding to the target intelligent door lock acquired in advance, encrypting the unlocking authentication request by using the standard door lock password to obtain an encrypted unlocking instruction, and finally sending the encrypted unlocking instruction to the target intelligent door lock.
In practical application, when a user uses the mobile terminal to register, the mobile terminal stores door lock information of an intelligent door lock capable of being unlocked, the intelligent door lock adds user information and sets a corresponding standard door lock password, the intelligent door lock can manually input the standard door lock password for unlocking besides intelligent unlocking, and the standard door lock password is input by the user when the user unlocks. When the mobile terminal is used for automatically unlocking, the standard door lock password corresponding to the target intelligent door lock stored in advance is obtained, then the obtained standard door lock information is used for carrying out encryption processing on the unlocking authentication request, and finally the unlocking instruction obtained by encryption is sent to the target intelligent door lock.
When the standard door lock password is used for carrying out encryption processing on the unlocking authentication request, the used encryption processing mode is a mode of using a symmetric encryption algorithm, wherein the commonly used algorithm in the symmetric encryption algorithm comprises the following steps: DES, 3DES, TDEA, Blowfish, RC2, RC4, RC5, IDEA, SKIPJACK, AES, etc., without specific limitation. The standard door lock password is stored in the mobile terminal and the intelligent door lock used by the user, so that after the unlocking authentication request is encrypted by using the standard door lock password to obtain the unlocking instruction, the intelligent door lock can accurately unlock the unlocking instruction and further correspond to the received unlocking instruction. The unlocking authentication request is encrypted, so that the accuracy of the unlocking instruction is ensured, and meanwhile, because the standard door lock passwords set by different intelligent door locks are possibly the same, when the unlocking authentication request is encrypted, the standard door lock password and the door lock information can be used for encrypting the unlocking authentication request, so that the uniqueness of the unlocking instruction is ensured, namely, only one unique intelligent door lock is pointed.
Further, in an embodiment, referring to fig. 6, fig. 6 is a schematic flowchart of unlocking of the intelligent door lock in another embodiment. The unlocking method of the intelligent door lock is applied to the intelligent door lock, and comprises the following steps:
step S210, a Bluetooth module of the intelligent door lock is utilized to send first broadcast information and second broadcast information, the first broadcast information is used for awakening an unlocking program of the mobile terminal to run in a background, and the second broadcast information is used for the mobile terminal to determine whether the intelligent door lock can be unlocked or not.
The first broadcast information may be Beacon broadcast, the Beacon broadcast is a bluetooth Beacon broadcast protocol, and different operating systems may be different protocols, specifically, the iBeacon protocol of Apple, and may also be addystone protocol of Andriod, which is specifically related to a currently actually operated mobile terminal. The second broadcast information may be a BLE (Bluetooth Low Energy) broadcast, which is a scannable connectable type of broadcast for a Bluetooth communication connection.
In the operation process of the intelligent door lock, the intelligent door lock can broadcast the first broadcast information and the second broadcast information by utilizing the Bluetooth module of the intelligent door lock, so that the mobile terminal can receive the first broadcast information and the second broadcast information. Specifically, in practical application, when the unlocking operation is not performed, the intelligent door lock is in a standby state, and at this time, the bluetooth low energy module of the intelligent door lock circularly sends the first broadcast information and the second broadcast information, so that the mobile terminal performing the unlocking operation entering the broadcast receiving range can receive the first broadcast information and the second broadcast information, wherein the first broadcast information is used for waking up an unlocking program of the mobile terminal to run in a background, and the second broadcast information is used for determining whether the mobile terminal can unlock the intelligent door lock after the unlocking operation.
When the intelligent door lock sends first broadcast information, the first broadcast information comprises a first identification code, wherein the first identification code is identification information corresponding to the first broadcast information, broadcast information intercepted by different mobile terminals may be different, and the first broadcast information can be intercepted only when the identification code of the intercepted broadcast information is the first identification code. For the second broadcast information, the mobile terminal only awakening the unlocking program can receive the second broadcast information, and the second broadcast information contains the door lock information of the intelligent door lock, so that the mobile terminal can determine whether the intelligent door lock can be unlocked or not when receiving the second broadcast information.
And S220, when the induction device of the intelligent door lock detects that the mobile terminal approaches, sending updated first broadcast information.
When the induction device of the intelligent door lock detects that the mobile terminal is close to the intelligent door lock, the updated first broadcast information is sent out. Specifically, when the intelligent door lock sends out first broadcast information and second broadcast information, the mobile terminal can unlock the corresponding intelligent door lock according to actual storage information, when the mobile terminal is close to the intelligent door lock, it is described that a user needs to unlock the intelligent door lock by using the mobile terminal currently, when the sensing device of the intelligent door lock detects that the mobile terminal is close to the sensing device, the updated first broadcast information is sent out to be sent, so that the mobile terminal can unlock the intelligent door lock sending the updated first broadcast information in a determined manner.
And when the updated first broadcast information is transmitted, shortening the transmission time interval of the broadcast information, and transmitting the updated first broadcast information by using an extremely short broadcast interval.
Step S230, when the unlocking instruction is received, whether the unlocking instruction is responded or not is determined, and unlocking is carried out according to the unlocking instruction.
When the intelligent door lock receives the unlocking instruction, whether the instruction information corresponding to the unlocking instruction is responded or not is determined according to the unlocking instruction, and then unlocking is completed according to the unlocking instruction when response is determined. In practical application, the received unlocking instruction is encrypted, so that when the unlocking instruction is received, corresponding decryption operation is performed on the unlocking instruction, and whether the unlocking instruction is responded or not is determined.
Specifically, when an unlocking instruction is received, determining whether to respond to the unlocking instruction and unlocking according to the unlocking instruction includes: when an unlocking instruction is received, a standard door lock password corresponding to the intelligent door lock is obtained; decrypting the unlocking instruction according to the standard door lock password; when the decryption is successful, responding to an unlocking instruction to unlock; and when the decryption fails, the unlocking instruction is regarded as an invalid instruction, and a prompt message of the unlocking failure is sent to the mobile terminal.
The unlocking instruction is encrypted, so that when the unlocking instruction is received, the intelligent door lock firstly receives the corresponding standard door lock password, then decrypts the received unlocking instruction by using the standard door lock password, and when the unlocking instruction is decrypted successfully, the unlocking instruction is responded to realize unlocking, and when the unlocking instruction fails to be decrypted, the received unlocking instruction is regarded as an invalid instruction, and meanwhile, prompt information of the unlocking failure can be sent to the mobile terminal.
In the unlocking method of the intelligent door lock, the low-power-consumption Bluetooth module of the intelligent door lock periodically and circularly sends first broadcast information containing the identification code of the broadcast information and second broadcast information containing the door lock information of the intelligent door lock, then when the mobile terminal is detected to be close to the induction module of the intelligent door lock, the updated first broadcast information containing the door lock information of the intelligent door lock is sent at an extremely short broadcast interval, and finally, when an unlocking instruction is received, whether the unlocking instruction is responded is determined. The method and the device realize automatic response to all unlocking requests of the mobile terminal, improve response rapidity and improve unlocking convenience.
In one embodiment, the mobile terminal 10 includes a mobile terminal such as a mobile phone, a tablet computer, etc., but may also include other mobile devices.
As shown in fig. 7, fig. 7 is a schematic block diagram of a mobile terminal provided in one embodiment. The terminal 10 includes a memory 11 and a processor 12, the processor 11 and the memory 12 are connected by a system bus 13, wherein the memory 11 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor 11 to perform any one of the methods for unlocking an intelligent door lock.
The processor 11 is used to provide computing and control capabilities to support the operation of the overall computer device.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, and the computer program, when executed by the processor, can cause the processor to execute any one of the unlocking methods for the intelligent door lock.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor 11 may be a Central Processing Unit (CPU), and the Processor 11 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. The general purpose processor 11 may be a microprocessor or the processor may be any conventional processor or the like.
The memory 12 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a usb disk, or a removable hard disk, among others.
Wherein the memory has stored therein a computer program which, when executed by the processor 11, causes the processor to carry out the following steps when executing said computer program:
when the first broadcast information is intercepted, an unlocking program of the mobile terminal is awakened to run in a background;
when the second broadcast information is sensed, determining whether the intelligent door lock corresponding to the door lock information contained in the second broadcast information can be unlocked or not, so that communication connection with the corresponding intelligent door lock is established before an unlocking instruction is sent;
when the updated first broadcast information is monitored, determining target door lock information corresponding to a target intelligent door lock for unlocking;
and sending an unlocking instruction to the target intelligent door lock according to the target door lock information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the first broadcast information is intercepted, acquiring a first identification code contained in the first broadcast information;
and if the first identification code is the same as the pre-stored target identification code, awakening an unlocking program of the mobile terminal to run in the background.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the second broadcast information is sensed, first door lock information contained in the second broadcast information is acquired;
acquiring a pre-stored bound door lock information list, and judging whether the bound door lock information list contains first door lock information or not;
if the bound door lock information list contains first door lock information, determining that the intelligent door lock corresponding to the first door lock information can be unlocked;
and if the bound door lock information list does not contain the first door lock information, determining that the intelligent door lock corresponding to the first door lock information cannot be unlocked.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a Bluetooth signal intensity value of a Bluetooth module contained in the intelligent door lock corresponding to the first door lock information;
when the updated first broadcast information is intercepted, determining target door lock information corresponding to a target intelligent door lock for unlocking, including:
when the updated first broadcast information is intercepted, second door lock information contained in the updated first broadcast information is acquired;
determining whether the first door lock information includes second door lock information;
if the first door lock information comprises second door lock information, determining whether a second intelligent door lock corresponding to the second door lock information can be unlocked according to the Bluetooth signal intensity value;
and if the second intelligent door lock corresponding to the second door lock information can be unlocked, determining that the second door lock information is the target door lock information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
comparing the Bluetooth signal intensity value with a preset threshold value;
if the signal intensity value is larger than or equal to the preset threshold value, determining that a second intelligent door lock corresponding to the second door lock information can be unlocked;
and if the signal intensity value is smaller than the preset threshold value, determining that the second intelligent door lock corresponding to the second door lock information cannot be unlocked.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
obtaining a distance value of the intelligent door lock corresponding to the door lock information contained in the second broadcast information and the mobile terminal according to the Bluetooth signal strength value;
when the distance value is less than or equal to the preset distance threshold, it is determined that the updated first broadcast information can be received.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
setting time information of an unlocking program in a wake-up state;
and when the second broadcast information is not sensed in the time period corresponding to the time information, changing the state of the unlocking program from the awakening state to the sleeping state.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a standard door lock password corresponding to the stored target intelligent door lock;
encrypting the unlocking authentication request by using a standard door lock password to obtain an encrypted unlocking instruction;
and sending the encrypted unlocking instruction to the target intelligent door lock.
In one embodiment, as shown in fig. 8, fig. 8 is a schematic block diagram of an intelligent door lock provided in another embodiment. The intelligent door lock 20 includes a memory 21 and a processor 22, and the processor 21 and the memory 22 are connected by a system bus 23, wherein the memory 21 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor 21 to perform any one of the methods for unlocking an intelligent door lock.
The processor 21 is used to provide computing and control capabilities to support the operation of the overall computer device.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, and the computer program, when executed by the processor, causes the processor to execute any one of the unlocking methods for the intelligent door lock.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor 21 may be a Central Processing Unit (CPU), and the Processor 21 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. The general purpose processor 21 may be a microprocessor or the processor may be any conventional processor or the like.
The memory 22 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a usb disk, or a removable hard disk, among others.
Wherein the memory has stored therein a computer program which, when executed by the processor 21, causes the processor to carry out the steps of:
the method comprises the steps that a Bluetooth module of the intelligent door lock is utilized to send first broadcast information and second broadcast information, the first broadcast information is used for awakening an unlocking program of the mobile terminal to run in a background, and the second broadcast information is used for determining whether the mobile terminal can unlock the intelligent door lock;
when the induction device of the intelligent door lock detects that the mobile terminal approaches, the updated first broadcast information is sent;
and when an unlocking instruction is received, determining whether to respond to the unlocking instruction and unlocking according to the unlocking instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the method comprises the steps that a Bluetooth module of an intelligent door lock is used for sending first broadcast information containing a first identification code;
and sending second broadcast information containing the door lock information of the intelligent door lock by using the Bluetooth module of the intelligent door lock.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the induction device of the intelligent door lock detects that the mobile terminal is close to the intelligent door lock, first broadcast information containing door lock information of the intelligent door lock is sent.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when an unlocking instruction is received, a standard door lock password corresponding to the intelligent door lock is obtained;
decrypting the unlocking instruction according to the standard door lock password;
when the decryption is successful, responding to an unlocking instruction to unlock;
and when the decryption fails, the unlocking instruction is regarded as an invalid instruction, and a prompt message of the unlocking failure is sent to the mobile terminal.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and the processor executes the program instructions to realize the unlocking method of any intelligent door lock provided by the embodiment of the application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
The present invention is described in connection with the accompanying drawings, but the present invention is not limited to the above embodiments, which are only illustrative and not restrictive, and those skilled in the art can make various changes without departing from the spirit and scope of the invention as defined by the appended claims, and all changes that come within the meaning and range of equivalency of the specification and drawings that are obvious from the description and the attached claims are intended to be embraced therein.

Claims (17)

1. An unlocking method of an intelligent door lock is applied to a mobile terminal, and is characterized by comprising the following steps:
when the first broadcast information is intercepted, awakening an unlocking program of the mobile terminal to run in a background;
when second broadcast information is sensed, determining whether the intelligent door lock corresponding to the door lock information contained in the second broadcast information can be unlocked or not, so that communication connection with the corresponding intelligent door lock is established before an unlocking instruction is sent;
when the updated first broadcast information is monitored, determining target door lock information corresponding to a target intelligent door lock for unlocking;
and sending an unlocking instruction to the target intelligent door lock according to the target door lock information.
2. The unlocking method of the intelligent door lock according to claim 1, wherein the waking up the unlocking program of the mobile terminal to run in the background when the first broadcast message is intercepted comprises:
when first broadcast information is intercepted, acquiring a first identification code contained in the first broadcast information;
and if the first identification code is the same as the pre-stored target identification code, awakening an unlocking program of the mobile terminal to run in the background.
3. The method for unlocking an intelligent door lock according to claim 1, wherein the determining whether the intelligent door lock corresponding to the door lock information included in the second broadcast information can be unlocked when the second broadcast information is sensed comprises:
when second broadcast information is sensed, first door lock information contained in the second broadcast information is acquired;
acquiring a prestored bound door lock information list, and judging whether the bound door lock information list contains the first door lock information or not;
if the bound door lock information list contains the first door lock information, determining that the intelligent door lock corresponding to the first door lock information can be unlocked;
and if the bound door lock information list does not contain the first door lock information, determining that the intelligent door lock corresponding to the first door lock information cannot be unlocked.
4. The method for unlocking an intelligent door lock according to claim 3, wherein when the updated first broadcast information is intercepted, before determining the target door lock information corresponding to the target intelligent door lock to be unlocked, the method further comprises:
acquiring a Bluetooth signal intensity value of a Bluetooth module contained in the intelligent door lock corresponding to the first door lock information;
when the updated first broadcast information is intercepted, determining target door lock information corresponding to a target intelligent door lock for unlocking, including:
when the updated first broadcast information is intercepted, acquiring second door lock information contained in the updated first broadcast information;
determining whether the first door lock information includes the second door lock information;
if the first door lock information comprises the second door lock information, determining whether a second intelligent door lock corresponding to the second door lock information can be unlocked according to the Bluetooth signal intensity value;
and if the second intelligent door lock corresponding to the second door lock information can be unlocked, determining that the second door lock information is the target door lock information.
5. The method for unlocking the intelligent door lock according to claim 4, wherein the determining whether the second intelligent door lock corresponding to the second door lock information can be unlocked according to the Bluetooth signal strength value includes:
comparing the Bluetooth signal intensity value with a preset threshold value;
if the signal intensity value is larger than or equal to the preset threshold value, determining that a second intelligent door lock corresponding to the second door lock information can be unlocked;
and if the signal intensity value is smaller than the preset threshold value, determining that the second intelligent door lock corresponding to the second door lock information cannot be unlocked.
6. The method for unlocking an intelligent door lock according to claim 4, wherein when the updated first broadcast information is intercepted, before determining the target door lock information corresponding to the target intelligent door lock to be unlocked, the method further comprises:
obtaining a distance value of the intelligent door lock corresponding to the door lock information contained in the second broadcast information and the mobile terminal according to the Bluetooth signal strength value;
when the distance value is less than or equal to a preset distance threshold, it is determined that the updated first broadcast information can be received.
7. The unlocking method of an intelligent door lock according to claim 1, wherein after the unlocking program for waking up the mobile terminal runs in a background when the first broadcast message is intercepted, the method further comprises:
setting time information of the unlocking program in a wake-up state;
and when the second broadcast information is not sensed in the time period corresponding to the time information, changing the state of the unlocking program from the awakening state to the sleeping state.
8. The unlocking method of the intelligent door lock according to any one of claims 1 to 7, wherein the sending of the unlocking instruction to the target intelligent door lock according to the target door lock information comprises:
acquiring a standard door lock password corresponding to the stored target intelligent door lock;
encrypting the unlocking authentication request by using the standard door lock password to obtain an encrypted unlocking instruction;
and sending the encrypted unlocking instruction to the target intelligent door lock.
9. The method according to claim 8, wherein the first broadcast information includes Beacon broadcast information, and the second broadcast information includes BLE broadcast information.
10. An unlocking method of an intelligent door lock is applied to the intelligent door lock, and is characterized by comprising the following steps:
sending first broadcast information and second broadcast information by using a Bluetooth module of the intelligent door lock, wherein the first broadcast information is used for awakening an unlocking program of a mobile terminal to run in a background, and the second broadcast information is used for determining whether the mobile terminal can unlock the intelligent door lock;
when the induction device of the intelligent door lock detects that the mobile terminal approaches, the updated first broadcast information is sent;
and when an unlocking instruction is received, determining whether to respond to the unlocking instruction and unlocking according to the unlocking instruction.
11. The method for unlocking an intelligent door lock according to claim 10, wherein the sending the first broadcast information and the second broadcast information by using the bluetooth module of the intelligent door lock comprises:
sending first broadcast information containing a first identification code by using a Bluetooth module of the intelligent door lock;
and sending second broadcast information containing the door lock information of the intelligent door lock by utilizing the Bluetooth module of the intelligent door lock.
12. The unlocking method of the intelligent door lock according to claim 10, wherein the sending the updated first broadcast message when the sensing device of the intelligent door lock detects that the mobile terminal approaches comprises:
when the induction device of the intelligent door lock detects that the mobile terminal is close to the intelligent door lock, first broadcast information containing door lock information of the intelligent door lock is sent.
13. The unlocking method of the intelligent door lock according to any one of claims 10 to 12, wherein the determining whether to respond to the unlocking instruction and perform unlocking according to the unlocking instruction when receiving the unlocking instruction comprises:
when an unlocking instruction is received, a standard door lock password corresponding to the intelligent door lock is obtained;
decrypting the unlocking instruction according to the standard door lock password;
when the decryption is successful, responding to the unlocking instruction to unlock;
and when the decryption fails, the unlocking instruction is regarded as an invalid instruction, and prompt information of unlocking failure is sent to the mobile terminal.
14. A mobile terminal, characterized in that the mobile terminal comprises a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the unlocking method of the intelligent door lock according to any one of claims 1 to 9.
15. An intelligent door lock, characterized in that the intelligent door lock comprises a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the unlocking method of the intelligent door lock according to any one of claims 10 to 13.
16. An unlocking system of an intelligent door lock, comprising: the mobile terminal of claim 14 and the smart door lock of claim 15.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by one or more processors, causes the one or more processors to execute the steps of the unlocking method of an intelligent door lock according to claims 1 to 14.
CN201910780827.1A 2019-08-22 2019-08-22 Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium Pending CN112419543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910780827.1A CN112419543A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910780827.1A CN112419543A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium

Publications (1)

Publication Number Publication Date
CN112419543A true CN112419543A (en) 2021-02-26

Family

ID=74779486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910780827.1A Pending CN112419543A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium

Country Status (1)

Country Link
CN (1) CN112419543A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114299647A (en) * 2022-01-27 2022-04-08 支付宝(杭州)信息技术有限公司 Non-inductive vehicle entering method and system based on small program
CN114463879A (en) * 2022-01-25 2022-05-10 杭州涂鸦信息技术有限公司 Unlocking method, intelligent terminal and computer readable storage medium
CN114513758A (en) * 2022-02-10 2022-05-17 深圳指芯物联技术有限公司 Key exchange-based automatic front and back binding method and system and intelligent door lock

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127890A (en) * 2016-06-17 2016-11-16 北京千丁互联科技有限公司 Control of bluetooth access equipment, Bluetooth terminal, control of bluetooth access management system and method
CN107610292A (en) * 2017-09-15 2018-01-19 广州市雅天网络科技有限公司 The method for unlocking of controllable distance intelligent door lock based on bluetooth
CN107734460A (en) * 2017-09-20 2018-02-23 广州市盈泽信息科技有限公司 A kind of method and terminal that bluetooth lock intelligent unlocking is realized based on mobile terminal
CN107749097A (en) * 2017-09-28 2018-03-02 上海若禅信息科技有限公司 A kind of blue-tooth intelligence door lock awakening method and method for unlocking
US10062233B1 (en) * 2016-07-20 2018-08-28 Alarm.Com Incorporated Automatic emergency door unlock system
CN109671192A (en) * 2018-12-12 2019-04-23 歌尔科技有限公司 A kind of method and earphone using earphone unlock intelligent door lock
CN110005266A (en) * 2018-01-05 2019-07-12 深圳市欧瑞博科技有限公司 Control method, device and its relevant device of intelligent door lock

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127890A (en) * 2016-06-17 2016-11-16 北京千丁互联科技有限公司 Control of bluetooth access equipment, Bluetooth terminal, control of bluetooth access management system and method
US10062233B1 (en) * 2016-07-20 2018-08-28 Alarm.Com Incorporated Automatic emergency door unlock system
CN107610292A (en) * 2017-09-15 2018-01-19 广州市雅天网络科技有限公司 The method for unlocking of controllable distance intelligent door lock based on bluetooth
CN107734460A (en) * 2017-09-20 2018-02-23 广州市盈泽信息科技有限公司 A kind of method and terminal that bluetooth lock intelligent unlocking is realized based on mobile terminal
CN107749097A (en) * 2017-09-28 2018-03-02 上海若禅信息科技有限公司 A kind of blue-tooth intelligence door lock awakening method and method for unlocking
CN110005266A (en) * 2018-01-05 2019-07-12 深圳市欧瑞博科技有限公司 Control method, device and its relevant device of intelligent door lock
CN109671192A (en) * 2018-12-12 2019-04-23 歌尔科技有限公司 A kind of method and earphone using earphone unlock intelligent door lock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114463879A (en) * 2022-01-25 2022-05-10 杭州涂鸦信息技术有限公司 Unlocking method, intelligent terminal and computer readable storage medium
CN114299647A (en) * 2022-01-27 2022-04-08 支付宝(杭州)信息技术有限公司 Non-inductive vehicle entering method and system based on small program
CN114513758A (en) * 2022-02-10 2022-05-17 深圳指芯物联技术有限公司 Key exchange-based automatic front and back binding method and system and intelligent door lock
CN114513758B (en) * 2022-02-10 2023-06-20 深圳指芯物联技术有限公司 Automatic binding front-back locking method and system based on key exchange and intelligent door lock

Similar Documents

Publication Publication Date Title
CN112419543A (en) Unlocking method, mobile terminal, intelligent door lock, unlocking system and storage medium
US9183683B2 (en) Method and system for access to secure resources
CN108122316B (en) Door lock communication system and method based on security chip
US8332915B2 (en) Information processing system, information processing apparatus, mobile terminal and access control method
CN102882678B (en) Method and system for programming seeds in non-contact manner
CN107097753B (en) Vehicle smart key system and method for verifying vehicle smart key
WO2017166355A1 (en) Method, device and system for processing information, mobile terminal and smart lock
CN108547514B (en) Unlocking method and device of intelligent door lock
WO2019228270A1 (en) Method and device for accessing wireless router and computer readable storage medium
JP2019220935A (en) Digital door lock having unique master key and method of operating the same
US8435310B2 (en) Anti-counterfeiting electronic device and method thereof
CN108791190B (en) Authentication, retention and revocation of one-way key fob and vehicle pairings
WO2022012616A1 (en) Near-field communication (nfc) information display method and apparatus, and electronic device
CN101114332A (en) System and method for managing multiple smart card sessions
WO2021259015A1 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN110278083B (en) Identity authentication request processing method and device, and equipment resetting method and device
CN111629353B (en) Method and system for communication between vehicle and NFC mobile device and external NFC module
US20150228137A1 (en) Wireless access control to a locking device
WO2022156254A1 (en) Intelligent unlocking method and system, server, and storage medium
US20140254446A1 (en) Wireless personal area network device
KR101763140B1 (en) Authentification Method by User Terminal Connecting Access Controller, Software therefor, and Program Distributing Server Storing the Software
JP2019090229A (en) Valet key and valet key control method
US20190121954A1 (en) Electronic device and method of starting the same
CN112752244A (en) User equipment using NFC, authentication system and operation method thereof
CN111818376A (en) Password setting method, smart television, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226