CN103927801B - Bluetooth door lock control method based on intelligent terminal - Google Patents

Bluetooth door lock control method based on intelligent terminal Download PDF

Info

Publication number
CN103927801B
CN103927801B CN201410148103.2A CN201410148103A CN103927801B CN 103927801 B CN103927801 B CN 103927801B CN 201410148103 A CN201410148103 A CN 201410148103A CN 103927801 B CN103927801 B CN 103927801B
Authority
CN
China
Prior art keywords
intelligent terminal
bluetooth
password
controller
section
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.)
Active
Application number
CN201410148103.2A
Other languages
Chinese (zh)
Other versions
CN103927801A (en
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.)
Chongqing Terminus Technology Co Ltd
Original Assignee
Chongqing Terminus 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 Chongqing Terminus Technology Co Ltd filed Critical Chongqing Terminus Technology Co Ltd
Priority to CN201410148103.2A priority Critical patent/CN103927801B/en
Publication of CN103927801A publication Critical patent/CN103927801A/en
Application granted granted Critical
Publication of CN103927801B publication Critical patent/CN103927801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

A kind of Bluetooth door lock control method based on intelligent terminal of disclosure, its door-locking system includes door-lock motor, controller, motor drive module, power module, it is connected to bluetooth module on the controller, coupling button, activator button, LED indicating circuit, buzzer, usb key interface and EEROM memorizer, it is characterized in that: it is mutual that controller carries out information by bluetooth module and intelligent terminal, the control extension being realized Bluetooth door lock by control circuit and intelligent terminal is controlled with deciphering, system is on original bluetooth unlocking function basis, add the function being carried out emergent unblock by activator button, connected by usb key coupling and bluetooth and carry out emergent unlocking pin setting, when intelligent terminal do not have electricity situation or system be subject to strong electromagnetic cause bluetooth connection failure when, emergent unlocking can be realized by the Password Input of activator button stagewise, system is simple to operate, easy to control.

Description

Bluetooth door lock control method based on intelligent terminal
Technical field
The present invention relates to a kind of access control technology, specifically, be a kind of Bluetooth door lock control method based on intelligent terminal.
Background technology
Traditional door latch structure adopts mechanical system to manage mostly, it is necessary to people carry with machinery key, and thus, people usually cause inconvenience because forgetting band key. Based on people's raising to intelligent demand, existing gate control system developing to intelligent cipher lock just progressively.
Namely Chinese patent 201310246771.4 discloses a kind of gate control system based on bluetooth module and access control method, this system passes through DC MOTOR CONTROL mechanical lock, direct current generator is controlled by the single-chip microcomputer being provided by bluetooth module, the Bluetooth function utilizing mobile phone transmits encrypted message to single-chip microcomputer, thus realizing the Based Intelligent Control to gate control system.
Although said system improves entrance guard management intelligence degree, avoid the difficulty that mechanical lock key enabling exists, but this system must adhere to mobile phone or other perform with the intelligent terminal of bluetooth module, once user mobile phone electricity exhausts, going home opens the door exists for certain difficulty.
Summary of the invention
In order to overcome drawbacks described above, the present invention provides a kind of Bluetooth door lock control method based on intelligent terminal, the method in intelligent terminal's short of electricity or when suffering strong electromagnetic to control malfunctioning, can reach the purpose of emergent unblock, and concrete technical scheme is as follows:
A kind of Bluetooth door lock control method based on intelligent terminal, its door-locking system includes door-lock motor and control circuit, described control circuit includes controller, motor drive module and power module, described controller is connected to bluetooth module, coupling button, activator button, LED indicating circuit, buzzer, usb key interface and EEROM memorizer, it it is critical only that: described controller carries out information alternately by bluetooth module with intelligent terminal, and the control extension being realized Bluetooth door lock by control circuit and intelligent terminal is controlled with deciphering;
The step of described control extension is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, when, after the key information that controller correctly reads in usb key module, LED indicating circuit is or/and buzzer exports the first information;
Step S13: open Bluetooth function and the application software of intelligent terminal, when, after intelligent terminal with controller bluetooth successful connection, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the virtual key in application software or the input N section password value of the activator button in door-locking system, each section of password value is press virtual key or press the effective degree of activator button;
Step S15: the N section password value of input in step S14 is stored in EEROM memorizer as preset password by controller, the application software output control extension successful information on intelligent terminal;
The step that described deciphering controls is as follows:
Step S21: long by described activator button, length is temporally at least T1, LED indicating circuit or/and buzzer exports the second information, and signal enters and unlocks control flow;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times pressing activator button continuously, the input time of adjacent two sections of password values is spaced apart T2��T3, and after being often successfully entered one section of password value, LED indicating circuit is or/and buzzer exports the 3rd information;
Step S23: after N section password value has inputted, controller judges whether the password value of input mates with the preset password of storage in EEROM;
If the match is successful, LED indicating circuit is or/and buzzer output the 4th information, and controller drives door-lock motor to perform unlocking motion by motor drive module, completes deciphering control;
Otherwise, LED indicating circuit is or/and buzzer output the 5th information, and signal unlocks unsuccessfully.
By said method it is found that during control extension, the input of preset password just can be carried out by the Bluetooth matching of usb key and intelligent terminal, reduces misoperation probability, it is to avoid because set password to cause unblock difficulty by mistake. When deciphering controls, realize segmented cipher input by activation button, is unlocked control flow by long by activator button before input, it is prevented that mistake is touched and caused system to be mistaken for Password Input, thus causing unnecessary unblock fail count, it is convenient, reasonable to use.
As further describing, in step S21, length is temporally at least 5 seconds, in step S22 by the length of activator button, and the input time of adjacent two sections of password values is spaced apart 2��10 seconds, presses the interval time of activator button continuously less than 1 second in each section of Password Input.
In order to save unlocked time, reducing complexity, in described control extension, the hop count of the preset password of input is 3��6 sections, and the password value value of each section is 1��9.
In order to improve security performance, in described deciphering rate-determining steps, if occurring continuously unlocking unsuccessfully three times, controller controls LED indicating circuit or/and buzzer exports warning message.
The present invention has the advantages that:
This system is on the basis that original intelligent terminal's bluetooth unlocks, add the function being carried out emergent unblock by activator button, user's mandate is carried out by usb key coupling, carry out emergent unlocking pin by intelligent terminal's Bluetooth matching to arrange, when intelligent terminal do not have electricity situation or system be subject to strong electromagnetic cause bluetooth connection failure when, emergent unlocking can be realized by the Password Input of activator button stagewise, system is simple to operate, easy to control, the function of system is also more perfect.
Accompanying drawing explanation
Fig. 1 is the system principle diagram of the present invention;
Fig. 2 is the circuit theory diagrams of bluetooth module in Fig. 1;
Fig. 3 is the circuit theory diagrams of Fig. 1 middle controller and motor drive module;
Fig. 4 is the method step figure of control extension in the present invention;
Fig. 5 is the method step figure deciphering control in the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the specific embodiment of the present invention and operation principle are described in further detail.
As shown in Figure 1-Figure 3, a kind of Bluetooth door lock control method based on intelligent terminal, its door-locking system includes door-lock motor and control circuit, described control circuit includes controller, motor drive module and power module, is connected to bluetooth module, coupling button, activator button, LED indicating circuit, buzzer, usb key interface and EEROM memorizer on described controller;
In the present embodiment, the circuit theory diagrams of bluetooth module are as shown in Figure 2, each control signal is both connected in BUS bus, control circuit and motor-drive circuit are as shown in Figure 3, adopt 8 single-chip microcomputer TM57PA10A as controller, by controlling switching tube Q1, Q2, the on off operating mode of Q4 and Q5 controls door-lock motor and rotates and reverse, thus realizing gate control system lock and unlock, it can also be seen that from Fig. 3, the EEROM memorizer connected on controller is M24C02, P1 interface in figure is as usb key interface, coupling button in system, activator button is respectively adopted a press button, key pulse signal is provided by being serially connected between power module outlet and BUS bus, controller performs corresponding control flow according to various key pulse signals, LED indicating circuit and buzzer are mainly used in generating various information.
For this programme, controller carries out information alternately by bluetooth module with intelligent terminal, and the control extension being realized Bluetooth door lock by control circuit and intelligent terminal is controlled with deciphering;
As shown in Figure 4, the step of described control extension is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, when after the key information that controller correctly reads in usb key module, LED indicating circuit, or/and buzzer exports the first information, is generally LED flicker, represents and allows to carry out Bluetooth pairing setting and the emergent setting unlocking preset password;
Step S13: open Bluetooth function and the application software of intelligent terminal, when, after intelligent terminal with controller bluetooth successful connection, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the virtual key in application software or the input N section password value of the activator button in door-locking system, each section of password value is press virtual key or press the effective degree of activator button;
In the process, no matter it is press the activator button in virtual key or door-locking system, it is all by pressing one section of password of formation continuously, the number of times pressed is password value, generally, the interval time pressed continuously was less than 1 second, after each section of input completes, interval is at least needed to input next section of password again in 2 seconds, the hop count of usual password is 3��6 sections, the password value value of each section is 1��9, at this for 3 sections of passwords, if user needs preset password " 567 ", the activator button that its mode of operation just should first be arranged by the virtual key demonstrated on 5 intelligent terminal's application softwaries or door-locking system continuously, behind at least 2 seconds, interval, again continuously by 6 times, form second segment password, interval is after 2 seconds again, again continuously by 7 times, form the 3rd section of password, the interval time of adjacent two sections of passwords not can exceed that 10 seconds, during design, often press one-touch, buzzer can export 1 sound key prompting voice, each section of Password Input completes, buzzer can export at least 2 sound prompt tones continuously, after having inputted, enter step S15,
Step S15: the N section password value of input in step S14 is stored in EEROM memorizer as preset password by controller, the application software output control extension successful information on intelligent terminal;
As it is shown in figure 5, the step that described deciphering controls is as follows:
Step S21: long length is temporally at least T1, is at least here 5 seconds by described activator button, LED indicating circuit is or/and buzzer exports the second information, and signal enters and unlocks control flow, and the second information is generally buzzer short ring 1 sound and LED flicker;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times pressing activator button continuously, the input time of adjacent two sections of password values is spaced apart T2��T3, and after being often successfully entered one section of password value, LED indicating circuit is or/and buzzer exports the 3rd information;
Here when T2 interval time��T3 is with preset password, the interval time of adjacent two sections of passwords is identical, is also the 2-10 second, and the input mode of password is also similar with step S14 with information;
Step S23: after N section password value has inputted, controller judges whether the password value of input mates with the preset password of storage in EEROM;
If the match is successful, LED indicating circuit is or/and buzzer output the 4th information, and controller drives door-lock motor to perform unlocking motion by motor drive module, completes deciphering control;
Otherwise, LED indicating circuit is or/and buzzer output the 5th information, and signal unlocks unsuccessfully.
Generally, the 4th information is green LED light Chang Liang, and expression can be opened the door, and for Domestic antitheft door, now presses door handle and rotates, it is possible to opening door. In described deciphering rate-determining steps, if occurring continuously unlocking unsuccessfully three times, controller controls LED indicating circuit or/and buzzer exports warning message so that systemic-function is more perfect.

Claims (4)

1. the Bluetooth door lock control method based on intelligent terminal, its door-locking system includes door-lock motor and control circuit, described control circuit includes controller, motor drive module and power module, described controller is connected to bluetooth module, coupling button, activator button, LED indicating circuit, buzzer, usb key interface and EEROM memorizer, it is characterized in that: described controller carries out information alternately by bluetooth module with intelligent terminal, the control extension being realized Bluetooth door lock by control circuit and intelligent terminal is controlled with deciphering;
The step of described control extension is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, when, after the key information that controller correctly reads in usb key module, LED indicating circuit is or/and buzzer exports the first information;
Step S13: open Bluetooth function and the application software of intelligent terminal, when, after intelligent terminal with controller bluetooth successful connection, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the virtual key in application software or the input N section password value of the activator button in door-locking system, each section of password value is press virtual key or press the effective degree of activator button;
Step S15: the N section password value of input in step S14 is stored in EEROM memorizer as preset password by controller, the application software output control extension successful information on intelligent terminal;
The step that described deciphering controls is as follows:
Step S21: long by described activator button, length is temporally at least T1, LED indicating circuit or/and buzzer exports the second information, and signal enters and unlocks control flow;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times pressing activator button continuously, the input time of adjacent two sections of password values is spaced apart T2��T3, and after being often successfully entered one section of password value, LED indicating circuit is or/and buzzer exports the 3rd information;
Step S23: after N section password value has inputted, controller judges whether the password value of input mates with the preset password of storage in EEROM;
If the match is successful, LED indicating circuit is or/and buzzer output the 4th information, and controller drives door-lock motor to perform unlocking motion by motor drive module, completes deciphering control;
Otherwise, LED indicating circuit is or/and buzzer output the 5th information, and signal unlocks unsuccessfully.
2. the Bluetooth door lock control method based on intelligent terminal according to claim 1, it is characterized in that: in step S21, length is temporally at least 5 seconds by the length of activator button, in step S22, the input time of adjacent two sections of password values is spaced apart 2��10 seconds, presses the interval time of activator button continuously less than 1 second in each section of Password Input.
3. the Bluetooth door lock control method based on intelligent terminal according to claim 1, it is characterised in that: in described control extension, the hop count of the preset password of input is 3��6 sections, and the password value value of each section is 1��9.
4. the Bluetooth door lock control method based on intelligent terminal according to claim 1, it is characterised in that: in described deciphering rate-determining steps, if occurring continuously unlocking unsuccessfully three times, controller controls LED indicating circuit or/and buzzer exports warning message.
CN201410148103.2A 2014-04-14 2014-04-14 Bluetooth door lock control method based on intelligent terminal Active CN103927801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410148103.2A CN103927801B (en) 2014-04-14 2014-04-14 Bluetooth door lock control method based on intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410148103.2A CN103927801B (en) 2014-04-14 2014-04-14 Bluetooth door lock control method based on intelligent terminal

Publications (2)

Publication Number Publication Date
CN103927801A CN103927801A (en) 2014-07-16
CN103927801B true CN103927801B (en) 2016-06-08

Family

ID=51146011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410148103.2A Active CN103927801B (en) 2014-04-14 2014-04-14 Bluetooth door lock control method based on intelligent terminal

Country Status (1)

Country Link
CN (1) CN103927801B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318658A (en) * 2014-11-18 2015-01-28 成都博盛信息技术有限公司 Access control system
CN104750530A (en) * 2015-04-14 2015-07-01 重庆特斯联科技有限公司 Bluetooth lock control terminal software updating method
CN106251212A (en) * 2016-09-13 2016-12-21 深圳市几米软件有限公司 Automobile leasing method and system
CN106846563B (en) * 2016-12-28 2020-02-07 智车优行科技(北京)有限公司 Vehicle control method and system, vehicle key, vehicle and vehicle system
CN107040873A (en) * 2017-03-01 2017-08-11 深圳市君和睿通科技股份有限公司 A kind of bluetooth unlocking system and method
CN107742338A (en) * 2017-09-28 2018-02-27 东莞市怡丰锁业有限公司 A kind of electronic password lock and its unlocking method with a variety of unlocking manners
CN109687243B (en) * 2018-02-15 2020-12-15 李新华 Multi-jack intelligent timing power strip
CN109191629A (en) * 2018-08-02 2019-01-11 北京拜克洛克科技有限公司 Unlocking method of vehicle, terminal and server
CN109372336B (en) * 2018-10-15 2020-03-27 珠海格力电器股份有限公司 Method for resisting strong electromagnetic interference, intelligent door lock and computer storage medium
CN110363896B (en) * 2019-07-23 2022-02-22 广东好太太智能家居有限公司 Intelligent door lock safety navigation setting device and setting method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100201536A1 (en) * 2009-02-10 2010-08-12 William Benjamin Robertson System and method for accessing a structure using a mobile device
CN101882333A (en) * 2010-02-24 2010-11-10 林剑 Active password input method
CN101942937A (en) * 2010-08-31 2011-01-12 中山大学 Intelligent door lock, wireless communication terminal and intelligent door lock system
CN102542649B (en) * 2012-03-11 2014-09-10 李凯 Method for controlling locking system by mobile equipment
CN102635274A (en) * 2012-05-09 2012-08-15 李凯 Method for realizing keyless locking system
CN102708611A (en) * 2012-06-12 2012-10-03 福建物联天下信息科技有限公司 Intelligent lock and control method thereof
CN202731461U (en) * 2012-08-08 2013-02-13 山东兴军电子科技有限公司 Multifunctional safety door lock
CN103174337A (en) * 2013-03-05 2013-06-26 鲁亚诗 Bluetooth Low Energy (BLE) invisible intelligent lock system controlled by BLE equipment

Also Published As

Publication number Publication date
CN103927801A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103927801B (en) Bluetooth door lock control method based on intelligent terminal
CN104806085B (en) A kind of intelligent door lock system and its intelligent prompt method
CN202970175U (en) Keyless entry intelligent lock capable of increasing and deleting key
CN204343825U (en) A kind of Smart Home coded lock
CN102654002A (en) Keyless entry intelligent lock capable of adding and deleting keys
CN206128889U (en) Novel intelligent lock that no key was opened
CN106846561A (en) A kind of intelligent lock and the method for opening intelligent lock
CN105788046A (en) Unlocking and door opening system and method based on mobile phone LED light
CN101882332A (en) Intelligent control method of multifunctional infrared remote control electronic coded lock
CN103353998A (en) Electronic remote control intelligent door lock
CN103617660B (en) Wireless Lock-Picking Devices and method for unlocking
CN106444479A (en) Voice-controlled switch system
CN106934903A (en) A kind of blue-tooth intelligence lock
CN202810384U (en) Physical union intelligent anti-theft security door lock
CN205224866U (en) Intelligence lock based on bluetooth communication
CN206921167U (en) A kind of bluetooth lock
CN206991402U (en) A kind of gate control system based on mobile phone control
CN105654587B (en) Control system, wireless remote control device and the device of pairing, method
CN209590932U (en) A kind of blue-tooth intelligence lock
CN105023320A (en) Bluetooth intelligent lock and method for remotely controlling Bluetooth intelligent lock through Bluetooth mobile terminal
CN101447099A (en) No-key bidirectional inductive theft-proof system and signal processing method thereof
CN206574148U (en) A kind of fingerprint alarm lock
CN203894837U (en) Intelligent doorbell integrated with unlocking function
CN106097525A (en) A kind of smart lock door handle device and smart lock
CN104134257A (en) Speech-recognition intelligent antitheft lock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHONGQING TESILIAN TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: CHEN WANXING

Effective date: 20150619

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150619

Address after: 400010 No. 8, No. 47, 28, Minquan Road, Yuzhong District, Chongqing

Applicant after: CHONGQING TERMINUS TECHNOLOGY CO., LTD.

Address before: 401121, Chongqing new North District and 121 Wan Road, No. two branch

Applicant before: Chen Wanxing

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160412

Address after: 400010 B building 181, Minsheng Road, Yuzhong District, Chongqing, 10-6

Applicant after: CHONGQING TESILIAN INTELLIGENCE TECHNOLOGY CO., LTD.

Address before: 400010 No. 8, No. 47, 28, Minquan Road, Yuzhong District, Chongqing

Applicant before: CHONGQING TERMINUS TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant