CN114882622A - Bluetooth intelligent unlocking method, device, equipment and storage medium - Google Patents

Bluetooth intelligent unlocking method, device, equipment and storage medium Download PDF

Info

Publication number
CN114882622A
CN114882622A CN202210520662.6A CN202210520662A CN114882622A CN 114882622 A CN114882622 A CN 114882622A CN 202210520662 A CN202210520662 A CN 202210520662A CN 114882622 A CN114882622 A CN 114882622A
Authority
CN
China
Prior art keywords
bluetooth
equipment
unlocking
information
preset
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
CN202210520662.6A
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.)
Jiangxi Holitech Technology Co Ltd
Original Assignee
Jiangxi Holitech 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 Jiangxi Holitech Technology Co Ltd filed Critical Jiangxi Holitech Technology Co Ltd
Priority to CN202210520662.6A priority Critical patent/CN114882622A/en
Publication of CN114882622A publication Critical patent/CN114882622A/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of information security, and discloses a Bluetooth intelligent unlocking method, a Bluetooth intelligent unlocking device, Bluetooth intelligent unlocking equipment and a storage medium, wherein the method comprises the following steps: carrying out equipment scanning based on the Bluetooth signal in a preset range, and judging whether terminal equipment exists according to a scanning result; if the terminal equipment exists, acquiring equipment information of the terminal equipment and verifying the equipment information; if the verification is passed, unlocking when an unlocking instruction triggered based on a preset key is received; when the terminal equipment exists in the preset range, the unlocking is carried out based on the unlocking instruction triggered by the preset key, so that the user does not need to control unlocking through a mobile phone APP, and the user experience is improved.

Description

Bluetooth intelligent unlocking method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of information security, in particular to a Bluetooth intelligent unlocking method, device, equipment and storage medium.
Background
At present, along with bluetooth technology maturity gradually, the intelligence lock in market has adopted the bluetooth unblock mode, and the bluetooth intelligence lock all is furnished with the cell-phone APP that corresponds, and the user is when unblanking, is connected bluetooth of the mobile phone and bluetooth intelligence lock, unblanks through cell-phone APP control after connecting successfully.
However, in the prior art, when the user had the demand of unblanking, must open the cell-phone earlier and look for corresponding APP, unblank again, and then the mode of unblanking through cell-phone APP control is consuming time longer, especially when the inconvenient cell-phone of controlling of user's both hands, the process of unblanking is comparatively loaded down with trivial details, and user experience is relatively poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a Bluetooth intelligent unlocking method, a Bluetooth intelligent unlocking device, Bluetooth intelligent unlocking equipment and a Bluetooth intelligent unlocking storage medium, and aims to solve the technical problems that a user consumes a long time during unlocking and the unlocking process is complicated.
In order to achieve the purpose, the invention provides an intelligent Bluetooth unlocking method, which comprises the following steps:
carrying out equipment scanning based on the Bluetooth signal in a preset range, and judging whether terminal equipment exists according to a scanning result;
if the terminal equipment exists, acquiring equipment information of the terminal equipment and verifying the equipment information;
and if the verification is passed, unlocking when an unlocking instruction triggered based on the preset key is received.
Optionally, the step of obtaining the device information of the terminal device and verifying the device information includes:
acquiring equipment information of the terminal equipment;
and verifying whether the equipment information belongs to the equipment information base or not based on the equipment information base, wherein the equipment information of the equipment which is successfully paired in a preset time period is stored in the equipment information base.
Optionally, after the step of obtaining the device information of the terminal device and verifying the device information, the method further includes;
receiving a Bluetooth pairing request of the terminal equipment based on the Bluetooth signal when the verification is not passed;
acquiring a pairing password carried in the Bluetooth pairing request, and verifying the pairing password;
and if the verification is passed, establishing Bluetooth connection with the terminal equipment, and storing the equipment information of the terminal equipment into the equipment information base.
Optionally, if the verification passes, the step of establishing a bluetooth connection with the terminal device and storing the device information of the terminal device in the device information base includes:
when the pairing password is verified to be a preset password, establishing Bluetooth connection with the terminal equipment, and acquiring equipment information of the terminal equipment;
acquiring the quantity of the equipment information in the equipment information base;
and when the number does not exceed the preset number, storing the equipment information of the terminal equipment into the equipment information base.
Optionally, after the step of obtaining the number of the device information in the device information base, the method further includes:
when the number reaches a preset number, acquiring a storage time stamp corresponding to each piece of equipment information in the equipment information base;
determining the initially stored device information according to the sequence of the storage time stamps;
and replacing the originally stored device information with the device information of the terminal device.
Optionally, if the verification passes, the step of unlocking when receiving an unlocking instruction triggered based on a preset key includes:
when the verification is passed, judging whether the device distance between the terminal device and the Bluetooth signal exceeds a preset distance or not based on the Bluetooth signal;
and if the key position does not exceed the preset key position, unlocking when an unlocking instruction triggered based on the preset key is received.
Optionally, after the step of determining whether the device distance to the terminal device exceeds a preset distance based on the bluetooth signal when the verification passes, the method further includes:
when the equipment distance exceeds the preset distance, sending confirmation information to the terminal equipment according to the unlocking instruction to confirm unlocking;
and when receiving the confirmation information fed back by the terminal equipment, unlocking based on an unlocking instruction triggered by the preset key.
In addition, in order to achieve the above object, the present invention further provides an intelligent bluetooth unlocking device, including:
the device scanning module is used for scanning the device based on the Bluetooth signal in a preset range and judging whether the terminal device exists or not according to a scanning result;
the information verification module is used for acquiring the equipment information of the terminal equipment and verifying the equipment information if the equipment information exists;
and the control unlocking module is used for unlocking when an unlocking instruction triggered based on the preset key is received if the verification is passed.
In addition, in order to achieve the above object, the present invention further provides a bluetooth intelligent unlocking device, including: the intelligent Bluetooth unlocking method comprises a memory, a processor and an intelligent Bluetooth unlocking program which is stored on the memory and can run on the processor, wherein the intelligent Bluetooth unlocking program is configured to realize the steps of the intelligent Bluetooth unlocking method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where the storage medium stores a bluetooth intelligent unlocking program, and the bluetooth intelligent unlocking program, when executed by a processor, implements the steps of the bluetooth intelligent unlocking method described above.
The invention carries out equipment scanning based on Bluetooth signals in a preset range and judges whether terminal equipment exists according to a scanning result; if the terminal equipment exists, acquiring equipment information of the terminal equipment and verifying the equipment information; if the verification is passed, unlocking when an unlocking instruction triggered based on a preset key is received; when the terminal equipment exists in the preset range, the unlocking is carried out based on the unlocking instruction triggered by the preset key, so that the user does not need to control unlocking through a mobile phone APP, and the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a bluetooth intelligent unlocking device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a bluetooth intelligent unlocking method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a bluetooth intelligent unlocking method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of the Bluetooth intelligent unlocking method of the present invention
Fig. 5 is a block diagram of a bluetooth intelligent unlocking device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a bluetooth intelligent unlocking device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the bluetooth intelligent unlocking device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the bluetooth smart unlocking apparatus and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a bluetooth smart unlocking program.
In the bluetooth intelligent unlocking device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the intelligent bluetooth unlocking device can be arranged in the intelligent bluetooth unlocking device, and the intelligent bluetooth unlocking device calls the intelligent bluetooth unlocking program stored in the memory 1005 through the processor 1001 and executes the intelligent bluetooth unlocking method provided by the embodiment of the invention.
An embodiment of the present invention provides an intelligent bluetooth unlocking method, and with reference to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the intelligent bluetooth unlocking method according to the present invention.
In this embodiment, the bluetooth intelligent unlocking method includes the following steps:
step S10: and carrying out equipment scanning based on the Bluetooth signal in a preset range, and judging whether the terminal equipment exists according to a scanning result.
It should be noted that the bluetooth intelligent unlocking method provided in this embodiment may be applied to a scenario in which bluetooth is used to open and close a lock. The execution subject of the method of this embodiment may be a bluetooth lock that can be locked and unlocked by using bluetooth communication technology, or other door lock devices that can implement the same or similar functions. The bluetooth intelligent unlocking method provided in this embodiment and the following embodiments is specifically described with the above bluetooth intelligent lock (hereinafter referred to as bluetooth lock).
It can be understood that the bluetooth lock of the present embodiment may be provided with a bluetooth therein, and the bluetooth may be a conventional bluetooth or a bluetooth with low power consumption.
It should be understood that the preset range may be a broadcast range of bluetooth broadcast bluetooth signals, and the range may be set by a user according to actual situations.
It should be noted that, in order to supply power to the bluetooth lock, the bluetooth lock may be directly supplied with power from the outside, or may be a rechargeable battery, which may be charged by a user when the power is insufficient, or other batteries that can be used in the bluetooth lock.
It should be explained that above-mentioned terminal equipment can be smart mobile phone, dull and stereotyped, intelligent bracelet/wrist-watch etc. or other portable smart machine that can be used to receive the bluetooth signal of bluetooth lock broadcast, and simultaneously, above-mentioned terminal equipment still can install the APP procedure that corresponds with this embodiment bluetooth lock, and the user also can unblank through APP.
Furthermore, in order to prevent the user from forgetting to unlock the portable terminal device, the Bluetooth lock can also support password unlocking, and a password key can be arranged on the Bluetooth lock.
In concrete realization, the bluetooth lock controls bluetooth module in the low-power consumption broadcast state at preset within range, and the bluetooth lock scans based on the bluetooth signal, judges whether there is terminal equipment in the preset within range, and of course, this terminal equipment can be under the prerequisite for opening the bluetooth.
Step S20: and if so, acquiring the equipment information of the terminal equipment and verifying the equipment information.
It should be noted that the terminal device may be a device that successfully receives the bluetooth signal, and the device information may be a local area network Address (MAC Address) of the terminal device, a Personal identification number (PIN code), or other information that may be used to indicate the uniqueness of the terminal device.
It should be emphasized, above-mentioned bluetooth lock still is provided with the suggestion module that is used for indicateing user's connection status, this suggestion module can be the pilot lamp, or other modules that can be used to the suggestion, this suggestion module of implementing bluetooth lock is the pilot lamp, carry out the equipment scanning in-process at the bluetooth lock, when the bluetooth can be in low-power consumption broadcast state promptly, the pilot lamp dodges slowly according to certain interval, when the bluetooth lock is connected successfully with terminal equipment, the pilot lamp constant, accomplish the operation of unblanking at the bluetooth lock after, the pilot lamp extinguishes, and then be favorable to the user to know the operating condition of bluetooth lock in real time.
Further, in order to improve the security of the bluetooth lock, in this embodiment, the step of acquiring the device information of the terminal device and verifying the device information includes:
acquiring equipment information of the terminal equipment;
and verifying whether the equipment information belongs to the equipment information base or not based on the equipment information base, wherein the equipment information of the equipment which is successfully paired in a preset time period is stored in the equipment information base.
It should be noted that, in this embodiment, the bluetooth lock is associated with an equipment information base, the equipment information base may be stored in an internal memory of the bluetooth lock, and the equipment information base stores equipment information of equipment that is successfully paired with the bluetooth lock in the terminal equipment within a preset time period, where the preset pairing time period may be set by a user, for example, if the preset pairing time period is set to 3 days by the user, the bluetooth lock may store the equipment information of the terminal equipment that is successfully paired within 3 days, so as to improve the security of the bluetooth lock.
In concrete realization, the bluetooth lock is not scanned by terminal equipment when predetermineeing the within range, shows that there is not terminal equipment in predetermineeing the within range, and the pilot lamp of suggestion module flashes according to certain time interval slowly this moment, if the bluetooth lock is scanned by terminal equipment when predetermineeing the within range, shows that there is terminal equipment in predetermineeing the within range this moment, and the bluetooth lock can obtain above-mentioned terminal equipment's equipment information, verifies whether this equipment information belongs to the equipment information base based on the equipment information base again.
Step S30: and if the verification is passed, unlocking when an unlocking instruction triggered based on the preset key is received.
It should be noted that, the unlocking instruction may be triggered based on a preset key, and is an instruction triggered by executing a corresponding operation when the user has an unlocking requirement, in this embodiment, the bluetooth lock may be provided with an unlocking key, and the user may touch the unlocking button to send the unlocking instruction, where the corresponding operation includes, but is not limited to: push down bluetooth lock handle, touch unlocking button, rotatory unlocking button etc..
Understandably, after the Bluetooth lock is opened, the current opening time and the equipment information of the terminal equipment can be uploaded to a server, so that a user can check the opening record of the Bluetooth lock through an APP, and the safety is further improved.
In concrete implementation, when the device information of the terminal device belongs to the device information base of the bluetooth lock, the prompt lamp of the prompt module becomes a normally-on state at the moment, the user can touch the preset button on the bluetooth lock to trigger the unlocking instruction, and then the bluetooth lock is adjusted to be in the unlocking state.
The embodiment is that the Bluetooth lock controls the Bluetooth module to be in a low-power consumption broadcasting state in a preset range, and the Bluetooth lock scans based on a Bluetooth signal to judge whether terminal equipment exists in the preset range; when the Bluetooth lock is not scanned by the terminal equipment in the preset range, the terminal equipment does not exist in the preset range, at the moment, an indicator lamp of a prompt module slowly flashes according to a certain time interval, if the Bluetooth lock is scanned by the terminal equipment in the preset range, the terminal equipment exists in the preset range at the moment, the Bluetooth lock can acquire the equipment information of the terminal equipment, and then whether the equipment information belongs to an equipment information base is verified based on the equipment information base; when the equipment information of the terminal equipment belongs to the equipment information base of the Bluetooth lock, the prompt lamp of the prompt module is changed into a normally-on state at the moment, a user can trigger an unlocking instruction by touching a preset key on the Bluetooth lock, and then the Bluetooth lock is adjusted to be in an unlocking state; therefore, when the terminal equipment exists in the preset range, unlocking is performed based on the unlocking instruction triggered by the preset key, a user does not need to control unlocking through the mobile phone APP, and user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a bluetooth intelligent unlocking method according to a second embodiment of the present invention.
Based on the first embodiment, in this embodiment, after the step S30, the method further includes:
step S40: and when the verification is not passed, receiving a Bluetooth pairing request of the terminal equipment based on the Bluetooth signal.
It should be noted that the bluetooth pairing request may be that a user checks a pairing list through a mobile phone, selects a bluetooth device name corresponding to the bluetooth lock according to the pairing list, and clicks the bluetooth device name to pair.
In specific implementation, considering that a bluetooth lock needs to be newly added with a successfully paired device, when it is determined that the device information of the terminal device does not belong to the device information base, the user may click the name of the bluetooth device corresponding to the bluetooth lock in the pairing list, which indicates that the terminal device has a pairing requirement at this time.
Step S50: and acquiring a pairing password carried in the Bluetooth pairing request, and verifying the pairing password.
It should be noted that the pairing password may be obtained according to the feedback of the pairing window popped up at the terminal device, and accordingly, a preset password is stored in the bluetooth lock, where the preset password may be a PIN code set by a manufacturer when the bluetooth lock leaves a factory, or may be set by a subsequent user when the bluetooth lock is used, which is not limited in this embodiment.
In specific implementation, when a user clicks a name of a bluetooth device corresponding to the bluetooth lock in a pairing list, a pairing window can be popped up on a display screen of the terminal device, the pairing window can be used for allowing the user to input a pairing password, and after the user inputs the pairing password, the terminal device sends the pairing password to the bluetooth lock for verification.
Step S60: and if the verification is passed, establishing Bluetooth connection with the terminal equipment, and storing the equipment information of the terminal equipment into the equipment information base.
In a specific implementation, if the pairing password input by the user is a preset password, the terminal device may establish connection with the bluetooth lock, and send the device information of the terminal device to the device information base of the bluetooth lock for storage.
Further, in order to improve the operating efficiency of the bluetooth lock, the device information stored in the device information base may have a certain upper limit, and in this embodiment, the method may specifically be implemented as follows: when the pairing password is verified to be a preset password, establishing Bluetooth connection with the terminal equipment, and acquiring equipment information of the terminal equipment;
and acquiring the quantity of the equipment information in the equipment information base.
In a specific implementation, after verifying that the pairing password is the preset password, the bluetooth lock acquires the device information of the terminal device, and acquires the number of the stored device information in the information base.
And when the number does not exceed the preset number, storing the equipment information of the terminal equipment into the equipment information base.
It is understood that the preset number can be set according to the actual storage capacity of the device information base.
In a specific implementation of this embodiment, when the number of the device information stored in the information base does not exceed the preset number, it indicates that the device information base can also store the device information at this time, and the bluetooth lock stores the device information of the terminal device in the device information base.
Further, in order to save hardware space and improve the operating efficiency of the bluetooth lock, after the step of obtaining the quantity of the device information in the device information base, the method further includes:
when the number reaches a preset number, acquiring a storage time stamp corresponding to each piece of equipment information in the equipment information base;
it should be noted that, when the bluetooth lock stores the device information of the terminal device, the storage timestamp corresponding to the device information may be stored at the same time, and the device information in the device information base may be sorted according to the corresponding storage timestamp, where the sorting manner may be that the earlier the storage timestamp is, the later the storage timestamp is, the earlier the storage timestamp is, so that the bluetooth lock may search for the device information.
Determining the initially stored device information according to the sequence of the storage time stamps;
and replacing the originally stored device information with the device information of the terminal device.
It should be noted that the initially stored device information may be the device information with the earliest time stamp stored in the device information base, for example, the device information base stores device information a, device information B, and device information C, the device information a has a corresponding storage timestamp of time 1, the device information B has a corresponding storage timestamp of time 2, the device information C has a corresponding storage timestamp of time 3, time 1 is earlier than time 2, time 2 is earlier than time 3, the preset number set by the user is 3, the new equipment information of the terminal equipment is equipment information D, when the Bluetooth lock stores the equipment information D into the equipment information base, because the device information base is full, the bluetooth lock can delete the device information a corresponding to the time 1 with the earliest storage time, and storing the device information D into a device information base, and simultaneously recording a storage time stamp as time 4.
In specific implementation, when the number in the device information base reaches a preset number, the bluetooth lock can acquire a storage timestamp corresponding to each piece of device information in the device information base, select the initially stored device information in the device information base according to the storage timestamp, and replace the initially stored device information with the device information of the terminal device, so that the operation efficiency is improved, and meanwhile, the safety is improved.
In this embodiment, considering that a bluetooth lock needs to be newly added with a successfully paired device, when it is determined that the device information of the terminal device does not belong to the device information base, the user may click the name of the bluetooth device corresponding to the bluetooth lock in the pairing list, which indicates that the terminal device has a pairing requirement at this time; meanwhile, a pairing window can be popped up on a display screen of the terminal equipment, the pairing window can be used for allowing a user to input a pairing password, and after the user inputs the pairing password, the terminal equipment sends the pairing password to the Bluetooth lock for verification; after verifying that the pairing password is a preset password, the Bluetooth lock acquires the equipment information of the terminal equipment and acquires the quantity of the equipment information stored in the information base; when the quantity of the stored equipment information in the information base does not exceed the preset quantity, the equipment information base can store the equipment information at the moment, and the Bluetooth lock stores the equipment information of the terminal equipment into the equipment information base; when the quantity in the equipment information base reaches the preset quantity, the Bluetooth lock can acquire the storage time stamps corresponding to the equipment information in the equipment information base, the initially stored equipment information in the equipment information base is selected according to the storage time stamps, and the equipment information of the terminal equipment is replaced by the initially stored equipment information, so that the operation efficiency is improved, and meanwhile, the safety is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a bluetooth intelligent unlocking method according to a third embodiment of the present invention.
As shown in fig. 4, in this embodiment, in order to prevent the bluetooth lock from being opened by another person when the terminal device is far away from the bluetooth lock, and further improve the security, the step S30 includes:
s31: and when the verification is passed, judging whether the device distance with the terminal device exceeds a preset distance or not based on the Bluetooth signal.
It should be noted that, the bluetooth lock may further determine the distance to the terminal device according to the strength of the bluetooth signal, and if the distance between the terminal device and the bluetooth lock is closer, the bluetooth signal may be stronger, and if the distance between the terminal device and the bluetooth lock is farther, the bluetooth signal may be weaker.
It can be understood that the preset distance may be within a preset range of the bluetooth broadcast, and the preset distance may be set by a user according to actual conditions.
S32: and if the key position does not exceed the preset key position, unlocking when an unlocking instruction triggered based on the preset key is received.
It should be noted that, for example, the preset range is 5 meters, the user may set the preset distance to 1 meter, when the terminal device is 4 meters away from the bluetooth lock, the bluetooth lock is scanned by the terminal device, the bluetooth lock verifies the terminal device, when the verification passes, the distance between the terminal device and the bluetooth lock is monitored in real time, and if the distance between the terminal device and the bluetooth lock is reduced to 0.5 meter, the bluetooth lock unlocks when receiving an unlocking instruction triggered by a preset key.
Further, in order to prevent the bluetooth lock from being opened by another person when the terminal device is far away from the bluetooth lock, in this embodiment, after step S31, the method further includes:
and when the equipment distance exceeds the preset distance, sending confirmation information to the terminal equipment according to the unlocking instruction to confirm unlocking.
The confirmation information may be information generated by the bluetooth lock in order to determine whether the user himself has an unlocking request, and in this embodiment, the confirmation information may be a confirmation window.
And when receiving the confirmation information fed back by the terminal equipment, unlocking based on an unlocking instruction triggered by the preset key.
It can be understood that, for example, the preset range is 5 meters, the user may set the preset distance to be 1 meter, when the terminal device is 4 meters away from the bluetooth lock, the bluetooth lock is scanned by the terminal device, the bluetooth lock monitors the distance between the terminal device and the bluetooth lock in real time, if the distance between the terminal device and the bluetooth lock is reduced to 2 meters, when the bluetooth lock receives an unlocking instruction triggered by a preset key, it may be considered that the user does not trigger the unlocking instruction by himself, at this time, the bluetooth lock may send a confirmation window to the terminal device of the user himself for confirmation, and after the user confirms through the terminal device, the bluetooth lock unlocks based on the unlocking instruction triggered by the preset key.
In the specific implementation, after the terminal device passes the verification, the bluetooth lock can judge the distance between the bluetooth lock and the terminal device based on the wire harness signal, when the device distance does not exceed the preset distance, the bluetooth lock unlocks when receiving an unlocking instruction triggered based on a preset key, when the device distance exceeds the preset distance, the bluetooth lock can send confirmation information to the terminal device for confirmation, a user feeds back the confirmation information according to the terminal device, and after receiving the feedback information, the bluetooth lock unlocks based on the unlocking instruction triggered based on the preset key, so that the safety is further improved.
This embodiment is after terminal equipment passes through the verification, the bluetooth lock can judge the distance between the terminal equipment based on bluetooth signal, when above-mentioned distance does not exceed and predetermine the distance, then the bluetooth lock unblocks when receiving the unblock instruction based on predetermineeing the button and trigger, when above-mentioned equipment distance exceeds and predetermine the distance, the bluetooth lock can send the acknowledgement information to this terminal equipment and confirm, the user carries out the feedback according to the acknowledgement information that terminal equipment received, the bluetooth lock is after receiving the information of feedback, unblock based on predetermineeing the unblock instruction that the button triggered, and then further promote the security.
In addition, an embodiment of the present invention further provides a storage medium, where a bluetooth intelligent unlocking program is stored on the storage medium, and the bluetooth intelligent unlocking program is executed by a processor to implement the steps of the bluetooth intelligent unlocking method described above.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of the bluetooth intelligent unlocking device according to the present invention.
As shown in fig. 5, the bluetooth intelligent unlocking device provided in the embodiment of the present invention includes:
the device scanning module 401 is configured to perform device scanning based on a bluetooth signal within a preset range, and determine whether a terminal device exists according to a scanning result;
an information verification module 402, configured to, if the device information exists, obtain device information of the terminal device and verify the device information;
and the control unlocking module 403 is configured to unlock the mobile terminal when an unlocking instruction triggered by a preset key is received if the verification is passed.
The method controls the Bluetooth lock in a preset range to control the Bluetooth module to be in a low-power-consumption broadcasting state, and the Bluetooth lock scans based on Bluetooth signals to judge whether terminal equipment exists in the preset range; when the Bluetooth lock is not scanned by the terminal equipment in the preset range, the terminal equipment does not exist in the preset range, at the moment, an indicator lamp of a prompt module slowly flashes according to a certain time interval, if the Bluetooth lock is scanned by the terminal equipment in the preset range, the terminal equipment exists in the preset range at the moment, the Bluetooth lock can acquire the equipment information of the terminal equipment, and then whether the equipment information belongs to an equipment information base is verified based on the equipment information base; when the equipment information of the terminal equipment belongs to the equipment information base of the Bluetooth lock, the prompt lamp of the prompt module is changed into a normally-on state at the moment, a user can trigger an unlocking instruction by touching a preset key on the Bluetooth lock, and then the Bluetooth lock is adjusted to be in an unlocking state; therefore, when the terminal equipment exists in the preset range, unlocking is performed based on the unlocking instruction triggered by the preset key, a user does not need to control unlocking through a mobile phone APP, and user experience is improved; further, considering that a bluetooth lock needs to be newly added with a device which is successfully paired, when the device information of the terminal device is judged not to belong to the device information base, the user can click the name of the bluetooth device corresponding to the bluetooth lock in the pairing list to indicate that the terminal device has a pairing requirement at the moment; meanwhile, a pairing window can be popped up on a display screen of the terminal equipment, the pairing window can be used for allowing a user to input a pairing password, and after the user inputs the pairing password, the terminal equipment sends the pairing password to the Bluetooth lock for verification; after verifying that the pairing password is a preset password, the Bluetooth lock acquires the equipment information of the terminal equipment and acquires the quantity of the equipment information stored in the information base; when the number of the stored equipment information in the information base does not exceed the preset number, the equipment information base can store the equipment information at the moment, and the Bluetooth lock stores the equipment information of the terminal equipment into the equipment information base; when the number in the equipment information base reaches a preset number, the Bluetooth lock can acquire a storage timestamp corresponding to each piece of equipment information in the equipment information base, select the initially stored equipment information in the equipment information base according to the storage timestamp, and replace the initially stored equipment information with the equipment information of the terminal equipment, so that the operation efficiency is improved, and meanwhile, the safety is improved; furthermore, after the terminal device passes the verification, the distance between the Bluetooth lock and the terminal device can be judged based on the Bluetooth signal, when the distance between the Bluetooth lock and the terminal device does not exceed the preset distance, the Bluetooth lock unlocks when receiving an unlocking instruction triggered based on a preset key, when the distance between the Bluetooth lock and the terminal device exceeds the preset distance, the Bluetooth lock can send confirmation information to the terminal device for confirmation, the user feeds back the confirmation information received by the terminal device, and after receiving the feedback information, the Bluetooth lock unlocks based on the unlocking instruction triggered by the preset key, so that the safety is further improved.
Other embodiments or specific implementation manners of the bluetooth intelligent unlocking device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An intelligent Bluetooth unlocking method is characterized by comprising the following steps:
carrying out equipment scanning based on the Bluetooth signal in a preset range, and judging whether terminal equipment exists according to a scanning result;
if the terminal equipment exists, acquiring equipment information of the terminal equipment and verifying the equipment information;
and if the verification is passed, unlocking when an unlocking instruction triggered based on the preset key is received.
2. The intelligent unlocking method for bluetooth as claimed in claim 1, wherein the step of obtaining the device information of the terminal device and verifying the device information comprises:
acquiring equipment information of the terminal equipment;
and verifying whether the equipment information belongs to the equipment information base or not based on the equipment information base, wherein the equipment information of the equipment which is successfully paired in a preset time period is stored in the equipment information base.
3. The intelligent bluetooth unlocking method according to claim 1, further comprising, after the steps of obtaining the device information of the terminal device and verifying the device information;
receiving a Bluetooth pairing request of the terminal equipment based on the Bluetooth signal when the verification is not passed;
acquiring a pairing password carried in the Bluetooth pairing request, and verifying the pairing password;
and if the verification is passed, establishing Bluetooth connection with the terminal equipment, and storing the equipment information of the terminal equipment into the equipment information base.
4. The intelligent unlocking method for bluetooth as claimed in claim 3, wherein the step of establishing bluetooth connection with the terminal device and storing the device information of the terminal device in the device information base if the verification is passed includes:
when the pairing password is verified to be a preset password, establishing Bluetooth connection with the terminal equipment, and acquiring equipment information of the terminal equipment;
acquiring the quantity of the equipment information in the equipment information base;
and when the number does not exceed the preset number, storing the equipment information of the terminal equipment into the equipment information base.
5. The intelligent bluetooth unlocking method according to claim 4, wherein after the step of obtaining the number of the device information in the device information base, further comprising:
when the number reaches a preset number, acquiring a storage time stamp corresponding to each piece of equipment information in the equipment information base;
determining the initially stored device information according to the sequence of the storage time stamps;
and replacing the originally stored device information with the device information of the terminal device.
6. The intelligent Bluetooth unlocking method according to claim 1, wherein if the verification is passed, the step of unlocking when an unlocking instruction triggered by a preset key is received comprises:
when the verification is passed, judging whether the device distance between the terminal device and the Bluetooth signal exceeds a preset distance or not based on the Bluetooth signal;
and if the key position does not exceed the preset key position, unlocking when an unlocking instruction triggered based on the preset key is received.
7. The intelligent unlocking method for bluetooth as claimed in claim 6, wherein after the step of determining whether the device distance to the terminal device exceeds the preset distance based on the bluetooth signal when the authentication is passed, further comprising:
when the equipment distance exceeds the preset distance, sending confirmation information to the terminal equipment according to the unlocking instruction to confirm unlocking;
and when receiving the confirmation information fed back by the terminal equipment, unlocking based on an unlocking instruction triggered by the preset key.
8. A Bluetooth intelligent unlocking device, characterized in that, the device includes:
the device scanning module is used for scanning the device based on the Bluetooth signal in a preset range and judging whether the terminal device exists or not according to a scanning result;
the information verification module is used for acquiring the equipment information of the terminal equipment and verifying the equipment information if the equipment information exists;
and the control unlocking module is used for unlocking when an unlocking instruction triggered based on the preset key is received if the verification is passed.
9. A Bluetooth intelligent unlocking device, characterized in that, the device includes: a memory, a processor and a bluetooth smart unlock program stored on the memory and executable on the processor, the bluetooth smart unlock program configured to implement the steps of the bluetooth smart unlock method of any of claims 1 to 7.
10. A storage medium, wherein the storage medium stores thereon a bluetooth smart unlocking program, and the bluetooth smart unlocking program, when executed by a processor, implements the steps of the bluetooth smart unlocking method according to any one of claims 1 to 7.
CN202210520662.6A 2022-05-13 2022-05-13 Bluetooth intelligent unlocking method, device, equipment and storage medium Pending CN114882622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210520662.6A CN114882622A (en) 2022-05-13 2022-05-13 Bluetooth intelligent unlocking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210520662.6A CN114882622A (en) 2022-05-13 2022-05-13 Bluetooth intelligent unlocking method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114882622A true CN114882622A (en) 2022-08-09

Family

ID=82674942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210520662.6A Pending CN114882622A (en) 2022-05-13 2022-05-13 Bluetooth intelligent unlocking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114882622A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217478A (en) * 2014-08-13 2014-12-17 王波 Hotel Bluetooth access control intelligent management method
CN104228764A (en) * 2014-09-01 2014-12-24 奇瑞汽车股份有限公司 Method and device for starting automobile
CN206128889U (en) * 2016-03-01 2017-04-26 河南久匀电子科技有限公司 Novel intelligent lock that no key was opened
CN207833593U (en) * 2018-01-08 2018-09-07 江苏钦力科技有限公司 A kind of short distance entrance of renting a house
CN208737622U (en) * 2017-12-20 2019-04-12 江西白莲钢质制品有限公司 A kind of library
US20190289655A1 (en) * 2016-10-25 2019-09-19 Huawei Technologies Co., Ltd. Bluetooth Pairing Method and Terminal Device
CN111179481A (en) * 2018-10-23 2020-05-19 上海博泰悦臻电子设备制造有限公司 Intelligent home platform, intelligent home key control method and system
CN112017335A (en) * 2020-08-28 2020-12-01 广州小鹏汽车科技有限公司 Unlocking processing method and device
WO2021259014A1 (en) * 2020-06-24 2021-12-30 华为技术有限公司 Bluetooth pairing method, device, and system, electronic apparatus, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217478A (en) * 2014-08-13 2014-12-17 王波 Hotel Bluetooth access control intelligent management method
CN104228764A (en) * 2014-09-01 2014-12-24 奇瑞汽车股份有限公司 Method and device for starting automobile
CN206128889U (en) * 2016-03-01 2017-04-26 河南久匀电子科技有限公司 Novel intelligent lock that no key was opened
US20190289655A1 (en) * 2016-10-25 2019-09-19 Huawei Technologies Co., Ltd. Bluetooth Pairing Method and Terminal Device
CN208737622U (en) * 2017-12-20 2019-04-12 江西白莲钢质制品有限公司 A kind of library
CN207833593U (en) * 2018-01-08 2018-09-07 江苏钦力科技有限公司 A kind of short distance entrance of renting a house
CN111179481A (en) * 2018-10-23 2020-05-19 上海博泰悦臻电子设备制造有限公司 Intelligent home platform, intelligent home key control method and system
WO2021259014A1 (en) * 2020-06-24 2021-12-30 华为技术有限公司 Bluetooth pairing method, device, and system, electronic apparatus, and storage medium
CN112017335A (en) * 2020-08-28 2020-12-01 广州小鹏汽车科技有限公司 Unlocking processing method and device

Similar Documents

Publication Publication Date Title
US7562218B2 (en) Method, system and device for authenticating a user
CN106553617B (en) Control method for vehicle, sharing method and device
US9626501B2 (en) Method, system and mobile device employing enhanced user authentication
CN100583114C (en) System and method for remote security enablement
JP5247124B2 (en) Authentication device, in-vehicle device, and authentication system
CN108198026B (en) Household appliance sharing method, terminal and computer readable storage medium
CN105788042A (en) Bluetooth door opening method and system
CN105083214A (en) Authorization method, authorization system and authorization mobile terminal for vehicle and authorized mobile terminal
WO2007027000A1 (en) Method for managing a large number of passwords, portable apparatus and certification information storing device using the same, and certification information management method using the same
CN107767509B (en) Authorization method, server, authorization system and storage medium
US9432347B2 (en) Secure desktop interface
CA2647309A1 (en) Method, system and mobile device employing enhanced user authentication
CN110502882A (en) A kind of control method and electronic equipment
CN111833485B (en) Unlocking method and device for vehicle, electronic equipment and storage medium
EP2521386A1 (en) Method, device and system for updating security algorithm of mobile terminals
CN114760466A (en) Display device testing method and device and storage medium
CN102831340B (en) The tripper of electronic equipment and unlock method thereof
US10169940B1 (en) Electric lock and control method thereof
CN101150850A (en) Secure login device and method in information processing system
US20230368593A1 (en) Bluetooth intelligent unlocking method, apparatus, device and storage medium
CN114882622A (en) Bluetooth intelligent unlocking method, device, equipment and storage medium
JP2003056232A (en) Unlocking method and lock control device
CN116101116A (en) Charging method, device and storage medium
CN108230493A (en) The control method and intelligent lock system of intelligent lock system
CN114531679A (en) Mobile terminal permission interaction system and method based on user identification card

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