CN103927801A - 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
CN103927801A
CN103927801A CN201410148103.2A CN201410148103A CN103927801A CN 103927801 A CN103927801 A CN 103927801A CN 201410148103 A CN201410148103 A CN 201410148103A CN 103927801 A CN103927801 A CN 103927801A
Authority
CN
China
Prior art keywords
intelligent terminal
bluetooth
password
control
controller
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.)
Granted
Application number
CN201410148103.2A
Other languages
Chinese (zh)
Other versions
CN103927801B (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
陈万兴
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 陈万兴 filed Critical 陈万兴
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

The invention discloses a Bluetooth door lock control method based on an intelligent terminal. A door lock system comprises a door lock motor, a controller, a motor driving module and a power module, wherein the controller is connected with a Bluetooth module, a matching button, a activating button, an LED (light-emitting diode) indicating circuit, a buzzer, a universal serial bus (USB) key interface and an EEROM (electrically erasable read-only memory); the door lock system is characterized in that the controller has information interaction with the intelligent terminal by the Bluetooth module; encryption control and decryption control for a Bluetooth door lock can be realized by a control circuit and the intelligent terminal. According to the door lock system, the function of emergency unlocking by the activating button is added on the basis of an original Bluetooth unlocking function; the password for emergency unlocking can be set by USB key matching and Bluetooth connection; under the condition that the intelligent terminal does not have electricity, or Bluetooth connection is failed since the system is interfered by strong electromagnetism, emergency unlocking can be realized by sectional type password input through the activating button; the system is simple to operate and convenient 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, is a kind of Bluetooth door lock control method based on intelligent terminal.
Background technology
Traditional door latch structure adopts mechanical system management mostly, needs people to carry mechanical key, and thus, people usually cause inconvenience because leaving behind key.Raising based on people to intelligent demand, existing gate control system developing to intelligent cipher lock just progressively.
Chinese patent 201310246771.4 discloses a kind of gate control system and access control method based on bluetooth module, this system is by DC MOTOR CONTROL mechanical lock, by the single-chip microcomputer that is provided with bluetooth module, direct current generator is controlled, utilize the Bluetooth function of mobile phone to transmit encrypted message to single-chip microcomputer, thereby realize the Based Intelligent Control to gate control system.
Although said system has improved the intelligent degree of entrance guard management, avoided mechanical lock key open the door exist difficulty, but this system must depend on mobile phone or other intelligent terminals with bluetooth module are carried out, once user mobile phone electric weight exhausts, going home to open the door just exists certain difficulty.
Summary of the invention
In order to overcome above-mentioned defect, the invention provides a kind of Bluetooth door lock control method based on intelligent terminal, the in the situation that the method can or suffering strong electromagnetic control malfunctioning in intelligent terminal short of electricity, reach the object of emergent release, concrete technical scheme is as follows:
A kind of Bluetooth door lock control method based on intelligent terminal, its door-locking system comprises door-lock motor and control circuit, described control circuit comprises controller, motor drive module and power module, on described controller, be connected with bluetooth module, coupling button, activator button, LED indicating circuit, hummer, usb key interface and EEROM storer, its key is: described controller carries out information interaction by bluetooth module and intelligent terminal, realizes the encryption control of Bluetooth door lock control with deciphering by control circuit and intelligent terminal;
The step of described encryption control is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, after controller correctly reads the key information in usb key module, LED indicating circuit is or/and hummer is exported the first information;
Step S13: open Bluetooth function and the application software of intelligent terminal, when after intelligent terminal and the successful connection of controller bluetooth, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the activator button input N section password value in virtual key or the door-locking system in application software, each section of password value is the effective degree of pressing virtual key or pressing activator button;
Step S15: controller is stored in as preset password the N section password value of inputting in step S14 in EEROM storer, the application software output on intelligent terminal is encrypted and is controlled successful information;
The step of described deciphering control is as follows:
Step S21: long by described activator button, length is at least T1 by the time, LED indicating circuit is or/and hummer is exported the second information, and signal enters release control flow;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times of pressing continuously activator button, be spaced apart T2~T3 the input time of adjacent two sections of password values, every successfully input after one section of password value, LED indicating circuit is or/and hummer output the 3rd information;
Step S23: after N section password value has been inputted, controller judges whether the password value of input mates with the preset password of storing in EEROM;
If the match is successful, LED indicating circuit is or/and hummer is exported the 4th information, and controller drives door-lock motor to carry out release action by motor drive module, completes deciphering and controls;
Otherwise LED indicating circuit is or/and hummer output the 5th information illustrates release failed.
Can find by said method, encrypt while control, just can carry out the input of preset password by the Bluetooth matching of usb key and intelligent terminal, reduce maloperation probability, avoid causing release difficulty because establish password by mistake.When deciphering is controlled, realize segmented cipher input by activating button, before input, carries out release control flow by long by activator button, prevent wrong touching and cause that system is mistaken for Password Input, thereby cause unnecessary release fail count, it is convenient, reasonable to use.
As further describing, in step S21, length is at least 5 seconds by the length of activator button by the time, and in step S22, be spaced apart 2~10 seconds the input time of adjacent two sections of password values, and be no more than 1 second the interval time of pressing continuously activator button in each section of Password Input.
In order to save the release time, reduce complexity, the hop count of the preset password of inputting in described encryption control is 3~6 sections, the password value value of each section is 1~9.
In order to improve security performance, in described deciphering control step, if there is continuously three releases failure, controller control LED indicating circuit is or/and hummer output alarm information.
Remarkable result of the present invention is:
This system is on the basis of original intelligent terminal bluetooth release, increase by the meet an urgent need function of release of activator button, mate and carry out subscriber authorisation by usb key, by the unlocking pin setting of meeting an urgent need of intelligent terminal Bluetooth matching, when not having electric situation or system to be subject to strong electromagnetic, intelligent terminal causes bluetooth connection failure, can realize emergent unlocking by the Password Input of activator button sectional type, system is simple to operate, it is convenient to control, and the function of system is also more perfect.
Brief description of the drawings
Fig. 1 is 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 encrypts the method step figure controlling in the present invention;
Fig. 5 is the method step figure that in the present invention, deciphering is controlled.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention and principle of work 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 comprises door-lock motor and control circuit, described control circuit comprises controller, motor drive module and power module, is connected with bluetooth module, coupling button, activator button, LED indicating circuit, hummer, usb key interface and EEROM storer on described controller;
In the present embodiment, the circuit theory diagrams of bluetooth module as shown in Figure 2, each control signal is all 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 gauge tap pipe Q1, Q2, the on off operating mode of Q4 and Q5 is controlled door-lock motor and is rotated and reverse, thereby realize gate control system lock and unlock, from Fig. 3, it can also be seen that, the EEROM storer connecting on controller is M24C02, P1 interface in figure is as usb key interface, coupling button in system, activator button adopts respectively a pushbutton switch, provide key pulse signal by being serially connected between power module outlet and BUS bus, controller is carried out corresponding control flow according to various key pulse signals, LED indicating circuit and hummer are mainly used in generating various informations.
For this programme, controller carries out information interaction by bluetooth module and intelligent terminal, realizes the encryption control of Bluetooth door lock control with deciphering by control circuit and intelligent terminal;
As shown in Figure 4, the step of described encryption control is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, after controller correctly reads the key information in usb key module, LED indicating circuit, or/and hummer is exported the first information, is generally the flicker of LED lamp, represents to allow to carry out the setting of Bluetooth pairing setting and emergent release preset password;
Step S13: open Bluetooth function and the application software of intelligent terminal, when after intelligent terminal and the successful connection of controller bluetooth, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the activator button input N section password value in virtual key or the door-locking system in application software, each section of password value is the effective degree of pressing virtual key or pressing activator button;
In this process, no matter be the activator button of pressing in virtual key or door-locking system, all to form one section of password by pressing continuously, the number of times of pressing is password value, conventionally, be no more than 1 second the interval time of pressing continuously, after each section of input completes, at least need interval within 2 seconds, to input again next section of password, conventionally the hop count of password is 3~6 sections, the password value value of each section is 1~9, at this taking 3 sections of passwords as example, if user needs preset password " 567 ", the activator button that its mode of operation just should first arrange by the virtual key demonstrating in No. 5 intelligent terminal application software 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, can not exceed 10 seconds the interval time of adjacent two sections of passwords, when design, often press one-touch, hummer can be exported 1 sound key prompting voice, each section of Password Input completes, hummer meeting continuous wave output at least 2 sound prompt tones, after having inputted, enter step S15,
Step S15: controller is stored in as preset password the N section password value of inputting in step S14 in EEROM storer, the application software output on intelligent terminal is encrypted and is controlled successful information;
As shown in Figure 5, the step of described deciphering control is as follows:
Step S21: long by described activator button, length is at least T1 by the time, is at least 5 seconds here, LED indicating circuit is or/and hummer is exported the second information, and signal enters release control flow, and the second information is generally short ring 1 sound of hummer and LED flicker;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times of pressing continuously activator button, be spaced apart T2~T3 the input time of adjacent two sections of password values, every successfully input after one section of password value, LED indicating circuit is or/and hummer output the 3rd information;
Here interval time adjacent two sections of passwords when T2~T3 is with preset password interval time identical, be also 2-10 second, the input mode of password and information also with step S14 in similar;
Step S23: after N section password value has been inputted, controller judges whether the password value of input mates with the preset password of storing in EEROM;
If the match is successful, LED indicating circuit is or/and hummer is exported the 4th information, and controller drives door-lock motor to carry out release action by motor drive module, completes deciphering and controls;
Otherwise LED indicating circuit is or/and hummer output the 5th information illustrates release failed.
Conventionally, 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 rotation, just can open door.In described deciphering control step, if there is continuously three releases failure, controller control LED indicating circuit is or/and hummer output alarm information makes systemic-function more perfect.

Claims (4)

1. the Bluetooth door lock control method based on intelligent terminal, its door-locking system comprises door-lock motor and control circuit, described control circuit comprises controller, motor drive module and power module, on described controller, be connected with bluetooth module, coupling button, activator button, LED indicating circuit, hummer, usb key interface and EEROM storer, it is characterized in that: described controller carries out information interaction by bluetooth module and intelligent terminal, realize the encryption control of Bluetooth door lock by control circuit and intelligent terminal and control with deciphering;
The step of described encryption control is as follows:
Step S11: insert usb key module in described usb key interface;
Step S12: press coupling button, after controller correctly reads the key information in usb key module, LED indicating circuit is or/and hummer is exported the first information;
Step S13: open Bluetooth function and the application software of intelligent terminal, when after intelligent terminal and the successful connection of controller bluetooth, the application software output password on intelligent terminal arranges prompting;
Step S14: by pressing the activator button input N section password value in virtual key or the door-locking system in application software, each section of password value is the effective degree of pressing virtual key or pressing activator button;
Step S15: controller is stored in as preset password the N section password value of inputting in step S14 in EEROM storer, the application software output on intelligent terminal is encrypted and is controlled successful information;
The step of described deciphering control is as follows:
Step S21: long by described activator button, length is at least T1 by the time, LED indicating circuit is or/and hummer is exported the second information, and signal enters release control flow;
Step S22: by pressing activator button input N section password value, each section of password value is the number of times of pressing continuously activator button, be spaced apart T2~T3 the input time of adjacent two sections of password values, every successfully input after one section of password value, LED indicating circuit is or/and hummer output the 3rd information;
Step S23: after N section password value has been inputted, controller judges whether the password value of input mates with the preset password of storing in EEROM;
If the match is successful, LED indicating circuit is or/and hummer is exported the 4th information, and controller drives door-lock motor to carry out release action by motor drive module, completes deciphering and controls;
Otherwise LED indicating circuit is or/and hummer output the 5th information illustrates release failed.
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 at least 5 seconds by the length of activator button by the time, in step S22, be spaced apart 2~10 seconds the input time of adjacent two sections of password values, and be no more than 1 second the interval time of pressing continuously activator button in each section of Password Input.
3. the Bluetooth door lock control method based on intelligent terminal according to claim 1, is characterized in that: the hop count of the preset password of inputting in described encryption control is 3~6 sections, 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, is characterized in that: in described deciphering control step, if there is continuously three releases failure, controller control LED indicating circuit is or/and hummer output alarm information.
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 true CN103927801A (en) 2014-07-16
CN103927801B 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)

Cited By (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
CN106846563A (en) * 2016-12-28 2017-06-13 智车优行科技(北京)有限公司 Control method for vehicle and system, car key, vehicle and Vehicular 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
CN109191629A (en) * 2018-08-02 2019-01-11 北京拜克洛克科技有限公司 Unlocking method of vehicle, terminal and server
CN109372336A (en) * 2018-10-15 2019-02-22 珠海格力电器股份有限公司 A kind of method, intelligent door lock and the computer storage medium of anti-strong electromagnetic
CN109687243A (en) * 2018-02-15 2019-04-26 李新华 A kind of more socket Intelligent fixed time electric power plug sockets
CN110363896A (en) * 2019-07-23 2019-10-22 广东科徕尼智能科技有限公司 Device and its setting method is arranged in intelligent door lock safety navigation

Citations (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
CN102542649A (en) * 2012-03-11 2012-07-04 李凯 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

Patent Citations (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
CN102542649A (en) * 2012-03-11 2012-07-04 李凯 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

Cited By (11)

* 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
CN106846563A (en) * 2016-12-28 2017-06-13 智车优行科技(北京)有限公司 Control method for vehicle and system, car key, vehicle and Vehicular 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
CN109687243A (en) * 2018-02-15 2019-04-26 李新华 A kind of more socket Intelligent fixed time electric power plug sockets
CN109191629A (en) * 2018-08-02 2019-01-11 北京拜克洛克科技有限公司 Unlocking method of vehicle, terminal and server
CN109372336A (en) * 2018-10-15 2019-02-22 珠海格力电器股份有限公司 A kind of method, intelligent door lock and the computer storage medium of anti-strong electromagnetic
CN110363896A (en) * 2019-07-23 2019-10-22 广东科徕尼智能科技有限公司 Device and its setting method is arranged in intelligent door lock safety navigation

Also Published As

Publication number Publication date
CN103927801B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN103927801A (en) Bluetooth door lock control method based on intelligent terminal
CN103729926B (en) Based on the control method of the control of bluetooth access control system of remote authorization of intelligent terminal
CN103295303B (en) Bluetooth module based access control system and access control method thereof
CN102915588B (en) Based on intelligent lock system and the control method thereof of Bluetooth technology
CN102654002B (en) Keyless entry intelligent lock capable of adding and deleting keys
CN205375622U (en) Multi -functional intelligence lock
CN205899637U (en) Wireless tool to lock control system based on intelligent terminal
CN101882332A (en) Intelligent control method of multifunctional infrared remote control electronic coded lock
CN103353998A (en) Electronic remote control intelligent door lock
CN203050276U (en) Intelligent door lock and unlocking system
US20150228137A1 (en) Wireless access control to a locking device
CN105590362A (en) Multifunctional smart lock
CN205845134U (en) A kind of smart lock
CN105788046A (en) Unlocking and door opening system and method based on mobile phone LED light
CN203285181U (en) Mobile phone verification code intelligent lock based on GSM
CN106444479A (en) Voice-controlled switch system
CN202810384U (en) Physical union intelligent anti-theft security door lock
CN101775942B (en) Network intelligent wireless control system-based safe
CN204010103U (en) A kind of door lock of optical cable cross system
CN101144349A (en) Household intelligent door lock system
CN201730455U (en) Safe based on intelligent wireless network control system
CN202745524U (en) Multifunction door control system based on Internet of Things technology
CN107909701A (en) A kind of intelligent unlocking method, lock body main control unit, mobile unit
CN105654587B (en) Control system, wireless remote control device and the device of pairing, method
CN202970352U (en) Automatic control system for security door

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