CN108230504A - A kind of method based on intelligent terminal bluetooth manipulation door lock - Google Patents

A kind of method based on intelligent terminal bluetooth manipulation door lock Download PDF

Info

Publication number
CN108230504A
CN108230504A CN201711486320.2A CN201711486320A CN108230504A CN 108230504 A CN108230504 A CN 108230504A CN 201711486320 A CN201711486320 A CN 201711486320A CN 108230504 A CN108230504 A CN 108230504A
Authority
CN
China
Prior art keywords
bluetooth
door lock
intelligent terminal
unlocking instruction
seconds
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
CN201711486320.2A
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.)
Zhejiang Kyushu Quantum Information Technology Ltd By Share Ltd
Original Assignee
Zhejiang Kyushu Quantum Information Technology Ltd By Share 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 Zhejiang Kyushu Quantum Information Technology Ltd By Share Ltd filed Critical Zhejiang Kyushu Quantum Information Technology Ltd By Share Ltd
Priority to CN201711486320.2A priority Critical patent/CN108230504A/en
Publication of CN108230504A publication Critical patent/CN108230504A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A kind of method based on intelligent terminal bluetooth manipulation door lock, including:The bluetooth of intelligent terminal scanning connection Bluetooth door lock;According to the intensity conversion of Bluetooth signal into the relative distance of intelligent terminal and Bluetooth door lock;Intelligent terminal is set to send the distance threshold of unlocking instruction to Bluetooth door lock;When reaching distance threshold, intelligent terminal sends unlocking instruction to Bluetooth door lock, and unlocking instruction disconnects bluetooth connection immediately after having sent, and reconnects bluetooth in a period of time t second and send unlocking instruction;When relative distance constantly changes, intelligent terminal reconnects bluetooth and sends interval time t second of unlocking instruction to be changed therewith;Bluetooth door lock is activated after receiving unlocking instruction, into unlocking pattern.Compared with prior art, the present invention does not need to manual actuation Bluetooth door lock, improves the convenience that user uses, it is ensured that Bluetooth door lock is not at normally opened state, the reduction energy consumption of maximum possible, while shields remote Bluetooth operation, greatly increases safety.

Description

A kind of method based on intelligent terminal bluetooth manipulation door lock
Technical field
The present invention relates to intelligent door lock technical field, more particularly to a kind of side based on intelligent terminal bluetooth manipulation door lock Method.
Background technology
The mode that conventional mobile phone manipulation Bluetooth door lock opens the door includes:1st, bluetooth connection is triggered manually simultaneously after opening mobile phone application Connection door lock sends door open command when sending door open command 2, mobile phone close to door lock.Aforesaid way the problem is that:The former needs It is manually operated, very not convenient, the latter can cause bluetooth to connect for a long time, on the one hand power consumption be caused to increase, another conveniently to forbid The operation of other users, while there is also security risks (to be possible to allow to continue if continuing connection into bluetooth behind the door Operation).
Invention content
Present invention aims at a kind of method based on intelligent terminal bluetooth manipulation door lock is provided, to solve in the prior art Smart bluetooth door lock needs artificial touch activation operation not convenient enough when opening or bluetooth connection for a long time, on the one hand leads Power consumption is caused to increase, another operation for conveniently prohibiting other users, while also there are the technical bugs of security risks.
The technical proposal of the invention is realized in this way:
A kind of method based on intelligent terminal bluetooth manipulation door lock, includes the following steps:
1) user carries intelligent terminal close to Bluetooth door lock, intelligent terminal and the bluetooth for scanning connection Bluetooth door lock;
2) intensity conversion of the Bluetooth signal emitted according to Bluetooth door lock into intelligent terminal and Bluetooth door lock it is opposite away from From;
3) intelligent terminal is set to the distance threshold of Bluetooth door lock transmission unlocking instruction according to relative distance;
4) when reaching distance threshold, intelligent terminal sends unlocking instruction to Bluetooth door lock, and unlocking instruction is vertical after having sent Bluetooth connection is disconnected, and reconnects bluetooth in a period of time t second and sends unlocking instruction, the other users in this t seconds Bluetooth can be connected to be operated;
5) when relative distance constantly changes, intelligent terminal reconnects bluetooth and sends the interval time t of unlocking instruction Second changes therewith;
6) Bluetooth door lock is activated after receiving unlocking instruction, into unlocking pattern.
Preferably, in the step 5), when intelligent terminal first scan connects bluetooth and attempts connection, t seconds are 2 seconds, when T seconds, when reaching distance threshold, can be set as 1 second by user and door lock Distance Shortened.
Preferably, after user is successfully transmitted unlocking instruction a to Bluetooth door lock, t can be set as 5 seconds.
Preferably, when user is for a long time with Bluetooth door lock close to Bluetooth door lock unlocking pattern is entered, unlocking is continuously transmitted When instruction reaches 5 minutes or more, interval t can be set as 10 seconds, and Bluetooth door lock is notified to enter low frequency command status by intelligent terminal, Bluetooth door lock can respond and will receive the activation duration after door open command and increase.
Preferably, when unlocking instruction continuously transmit the time reach 1 it is small when more than when, t can be set as 1 minute, when user from After door lock, t will be reset.
Compared with prior art, the present invention has following advantageous effect:
A kind of method based on intelligent terminal bluetooth manipulation door lock of the present invention, does not need to manual actuation Bluetooth door lock, carries The convenience that high user uses, when intelligent terminal is close to Bluetooth door lock, can hold according to the relative distance setting between them The frequency that door instruction is sent out, it is ensured that Bluetooth door lock is not at normally opened state, the reduction energy consumption of maximum possible, while shields remote Apart from Bluetooth operation, safety is greatly increased.
Description of the drawings
Fig. 1 is that the present invention realizes that intelligent mobile phone Bluetooth manipulates the system structure diagram of door lock method.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the present invention is clearly and completely described.
A kind of method based on intelligent terminal bluetooth manipulation door lock provided by the invention, includes the following steps:
1) user carries intelligent terminal (can be smart mobile phone) close to Bluetooth door lock, and intelligent terminal simultaneously scans connection bluetooth door The bluetooth of lock;
2) intensity conversion of the Bluetooth signal emitted according to Bluetooth door lock into intelligent terminal and Bluetooth door lock it is opposite away from From (assuming that signal strength indicates RSSI=-70, be converted into the relative distance of mobile phone and door lock for 2m or so or closer to when, as Active distance);
3) intelligent terminal is set to the distance threshold of Bluetooth door lock transmission unlocking instruction, intelligent terminal meeting according to relative distance Door open command is sent to Bluetooth door lock, if not up to intensity requirement, intelligent terminal, which will not be sent, to be instructed and actively disconnect bluetooth Connection, make unlocking can only user closely when could realize;
4) when reaching distance threshold, intelligent terminal sends unlocking instruction to Bluetooth door lock, and unlocking instruction is vertical after having sent Bluetooth connection is disconnected, and reconnects bluetooth in a period of time t second and sends unlocking instruction, the other users in this t seconds Bluetooth can be connected to be operated;
5) when relative distance constantly changes, intelligent terminal reconnects bluetooth and sends the interval time t of unlocking instruction Second changes therewith;
6) Bluetooth door lock is activated after receiving unlocking instruction, into unlocking pattern.
In the step 5), when intelligent terminal first scan connects bluetooth and attempts connection, t seconds are 2 seconds, as user and door Distance Shortened is locked, when reaching distance threshold, t seconds can be set as 1 second.
After user is successfully transmitted unlocking instruction a to Bluetooth door lock, t can be set as 5 seconds.
It continuously transmits unlocking instruction close to unlocking pattern is entered to Bluetooth door lock with Bluetooth door lock when user's long-time and reaches At 5 minutes or more, interval t can be set as 10 seconds, and Bluetooth door lock is notified to enter low frequency command status, Bluetooth door lock by intelligent terminal Can respond, which will receive the activation duration after door open command, increases.
When unlocking instruction continuously transmit the time reach 1 it is small when more than when, t can be set as 1 minute, reached reduce electricity disappears The effect of consumption, after user leaves door lock, t will be reset.
Embodiment
It is the structure diagram of intelligent terminal bluetooth manipulation door lock provided in an embodiment of the present invention as shown in Figure 1.The embodiment The terminal used is smart mobile phone, which designs the data interaction of two parts, and a part is smart mobile phone 100, another Part is Bluetooth door lock 200, and the smart mobile phone 100 includes Bluetooth of mobile phone module 110 and handset processes module 160, wherein hand Machine bluetooth module 110 includes Bluetooth signal detection sub-module 120 and Bluetooth commands operation submodule 130 (divides unlocking instruction sub-line Journey 140 and other operational order sub-line journeys 150);The Bluetooth door lock 200 includes door lock bluetooth module 210, door lock processing module 220th, door lock fingerprint receiving module 230 and lock core interlocking module 240.Between the smart mobile phone 100 and the Bluetooth door lock 200 All communicate is based on the Underlying Transport Protocol of low-power consumption bluetooth (Bluetooth Low Energy).
Specific embodiment is as described below:
First, when the smart mobile phone 100 continues to the Bluetooth door lock 200 during, from the intelligent hand Machine 100 may search for the Bluetooth signal of the Bluetooth door lock 200 starting, and the Bluetooth of mobile phone module 110 is notified that the indigo plant Tooth signal detection submodule 120 and Bluetooth commands operation submodule 130 are started to work.The Bluetooth signal detection sub-module 120 intensity that can obtain current Bluetooth signal every 0.5 second (standard is RSSI value, and bigger expression bluetooth signal intensity is high, Mean that communicating pair distance is nearer), and the signal strength data detected is met at into the handset processes module 160 and is handled, It is converted into the relative distance and record of communicating pair;
Bluetooth commands operation submodule 130 then can (interval can be according to signal strength and ongoing operation every 2.0 seconds Time changes, and calls T in the following text) it attempts to connect the Bluetooth door lock 200, it cuts and the handset processes module is read after successful connection The relative distance (calling d in the following text) recorded in 160 carries out a corresponding logical process according to the size of d:
When d be more than 4 meters (be converted into bluetooth intensity RSSI be about -80, call in the following text enhancing distance) when, T remain unchanged (2 seconds or It is reset as 2 seconds from other states), the Bluetooth commands operation submodule 130 can actively disconnect blue after signal strength is judged Tooth connects;
When d is less than enhancing distance but is greater than 2 meters (it is about -70 to be converted into bluetooth intensity RSSI, calls active distance in the following text), T can be set to 1 second, and bluetooth connection is actively disconnected after signal strength is judged by the Bluetooth commands operation submodule 130;
When d is less than active distance, the Bluetooth commands operation meeting of submodule 130 is after judging to believe by described after intensity Unlocking instruction sub-line journey 140 sends door open command, and T successfully is set to 5 sending to instruct for the first time to the Bluetooth door lock 200 Second, while actively disconnect bluetooth connection;
The Bluetooth door lock 200 is receiving what the Bluetooth of mobile phone module 110 was sent by the door lock bluetooth module 210 After unlocking instruction, be notified that the door lock processing module 220 enter state of activation, which will be for 5 seconds, during which described in Door lock fingerprint receiving module 230 can receive user fingerprints, and the lock core interlocking module 240 is notified to realize object after examining successfully Reason is unlocked.
When the smart mobile phone 100 sends unlocking instruction close to the Bluetooth door lock 200 for a long time under specific circumstances, The Bluetooth commands operation submodule 130 (can be sent out according to the time persistently sent from first time to the door lock bluetooth module 210 Door open command is sent to start to calculate, lower to become L) T is configured.Logic is as follows:
When L is more than 5 minutes, T can be set to 10 seconds, and pass through described in bluetooth by the Bluetooth commands operation submodule 130 Bluetooth door lock 200.When the door lock bluetooth module 210 receives notice, will shape will be activated by the door lock processing module 220 The duration of state increased to 10 seconds from 5 seconds.
When L is more than 1 hour, T can be set to 60 seconds by the Bluetooth commands operation submodule 130.
When user triggers safety command operation (such as addition fingerprint or unlocking cipher) manually, the smart mobile phone handles mould Block 160 notifies that Bluetooth commands operation submodule 130 opens other described operational order sub-line journeys 150, which will be to The door lock bluetooth module 210 sends safety operation instruction, while notifies 140 break-off of unlocking instruction sub-line journey.When Other operational order sub-line journeys 150 instruction sends successfully or 140 weight of unlocking instruction sub-line journey will be notified after time-out It is new to start to work.
The basic structure of the summary present invention is with embodiment it is found that the present invention is based on intelligent terminal bluetooth manipulation door locks Method does not need to manual actuation Bluetooth door lock, improves the convenience that user uses, when intelligent terminal is close to Bluetooth door lock, The frequency that can be sent out according to the relative distance setting door open command between them, it is ensured that Bluetooth door lock is not at normally opened state, The reduction energy consumption of maximum possible, while remote Bluetooth operation is shielded, greatly increase safety.

Claims (5)

  1. A kind of 1. method based on intelligent terminal bluetooth manipulation door lock, which is characterized in that include the following steps:
    1) user carries intelligent terminal close to Bluetooth door lock, intelligent terminal and the bluetooth for scanning connection Bluetooth door lock;
    2) intensity conversion of the Bluetooth signal emitted according to Bluetooth door lock is into the relative distance of intelligent terminal and Bluetooth door lock;
    3) intelligent terminal is set to the distance threshold of Bluetooth door lock transmission unlocking instruction according to relative distance;
    4) when reaching distance threshold, intelligent terminal sends unlocking instruction to Bluetooth door lock, and unlocking instruction is broken immediately after having sent Bluetooth connection is opened, and reconnects bluetooth in a period of time t second and sends unlocking instruction, other users can also in this t seconds Connection bluetooth is operated;
    5) when relative distance constantly changes, intelligent terminal reconnect bluetooth and send interval time t second of unlocking instruction with Variation;
    6) Bluetooth door lock is activated after receiving unlocking instruction, into unlocking pattern.
  2. 2. the method as described in claim 1 based on intelligent terminal bluetooth manipulation door lock, which is characterized in that the step 5) In, intelligent terminal first scan connection bluetooth and when attempting connection, t second are 2 seconds, as user and door lock Distance Shortened, reach away from During from threshold value, t seconds can be set as 1 second.
  3. 3. the method as claimed in claim 2 based on intelligent terminal bluetooth manipulation door lock, which is characterized in that when user successfully sends out After sending a unlocking instruction to Bluetooth door lock, t can be set as 5 seconds.
  4. 4. the method as claimed in claim 2 based on intelligent terminal bluetooth manipulation door lock, which is characterized in that when user's long-time With Bluetooth door lock close to Bluetooth door lock unlocking pattern is entered, when continuously transmitting unlocking instruction and reaching 5 minutes or more, intelligent terminal Interval t can be set as 10 seconds, and Bluetooth door lock is notified to enter low frequency command status, Bluetooth door lock, which can respond, will receive door open command Activation duration afterwards increases.
  5. 5. the method as claimed in claim 2 based on intelligent terminal bluetooth manipulation door lock, which is characterized in that when unlocking instruction connects When continuous sending time reaches 1 hour or more, t can be set as 1 minute, after user leaves door lock, t will be reset.
CN201711486320.2A 2017-12-29 2017-12-29 A kind of method based on intelligent terminal bluetooth manipulation door lock Pending CN108230504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711486320.2A CN108230504A (en) 2017-12-29 2017-12-29 A kind of method based on intelligent terminal bluetooth manipulation door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711486320.2A CN108230504A (en) 2017-12-29 2017-12-29 A kind of method based on intelligent terminal bluetooth manipulation door lock

Publications (1)

Publication Number Publication Date
CN108230504A true CN108230504A (en) 2018-06-29

Family

ID=62647329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711486320.2A Pending CN108230504A (en) 2017-12-29 2017-12-29 A kind of method based on intelligent terminal bluetooth manipulation door lock

Country Status (1)

Country Link
CN (1) CN108230504A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816832A (en) * 2019-02-01 2019-05-28 北京华大智宝电子系统有限公司 A kind of method for unlocking and device
US11107310B2 (en) 2019-07-22 2021-08-31 Carrier Corporation Method and system for access systems
US11189119B2 (en) 2019-07-19 2021-11-30 Carrier Corporation Method and system for access systems
CN114148285A (en) * 2021-10-21 2022-03-08 中山市澳多电子科技有限公司 Automobile lock opening and closing control method and system based on Bluetooth technology
CN115393983A (en) * 2022-08-10 2022-11-25 上海派智能源股份有限公司 Control method, control system, equipment and medium of intelligent lock

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816832A (en) * 2019-02-01 2019-05-28 北京华大智宝电子系统有限公司 A kind of method for unlocking and device
CN109816832B (en) * 2019-02-01 2021-11-16 北京华大智宝电子系统有限公司 Unlocking method and device
US11189119B2 (en) 2019-07-19 2021-11-30 Carrier Corporation Method and system for access systems
US11107310B2 (en) 2019-07-22 2021-08-31 Carrier Corporation Method and system for access systems
CN114148285A (en) * 2021-10-21 2022-03-08 中山市澳多电子科技有限公司 Automobile lock opening and closing control method and system based on Bluetooth technology
CN115393983A (en) * 2022-08-10 2022-11-25 上海派智能源股份有限公司 Control method, control system, equipment and medium of intelligent lock

Similar Documents

Publication Publication Date Title
CN108230504A (en) A kind of method based on intelligent terminal bluetooth manipulation door lock
CN103380445B (en) Use the method that motor vehicles block sytem handled by mobile communication equipment
CN203632741U (en) Mobile phone anti-theft lock
CN103888177A (en) Method for quickly establishing Bluetooth connection
CN104742863B (en) A kind of electric car starter and method based on radio-frequency technique
CN204946137U (en) Judge that smart lock is locked state and controlled the system that its solution locks by mobile terminal
CN107945336A (en) Intelligent vehicle lock control method and system
CN202404667U (en) Remote control system of door lock
CN104929498A (en) Intelligent safety door and control method thereof
CN106355701A (en) Intelligent door lock and unlocking method
CN104063927B (en) A kind of car remote-control key based on Identification of Images
CN103079009A (en) Anti-theft method for mobile phone and anti-theft mobile phone
CN106572235A (en) Method and apparatus unlocking mobile phone, and terminal
CN107146312B (en) Close-range acoustic communication intelligent lock control system and control method
CN106469263A (en) Display lamp manages the portable hard drive implementation method of encrypting fingerprint
CN110149733A (en) A kind of multi-mode communication terminal device merging NB-IoT and electric power wireless private network
CN214846861U (en) Remote control's intelligent lock system
CN103020503B (en) The verification method of terminal and user identity
CN205176967U (en) Intelligent cat eye lock of iris discernment
CN109117303B (en) Computer shared file emergency backup platform
CN102915579A (en) Remote-control door lock
CN110853194A (en) Sound setting method, intelligent lock and storage medium
CN106060240B (en) Smart phone dialing control method based on head bioelectricity
KR20170083371A (en) Multi-functional smart key system for vehicle
CN114842577B (en) Combined unlocking system, method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180629