CN106204859A - Based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking - Google Patents

Based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking Download PDF

Info

Publication number
CN106204859A
CN106204859A CN201610744130.5A CN201610744130A CN106204859A CN 106204859 A CN106204859 A CN 106204859A CN 201610744130 A CN201610744130 A CN 201610744130A CN 106204859 A CN106204859 A CN 106204859A
Authority
CN
China
Prior art keywords
lock core
lock
pin
password
key
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
CN201610744130.5A
Other languages
Chinese (zh)
Other versions
CN106204859B (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.)
Beijing intelligent room map information technology Co., Ltd.
Original Assignee
Hui Ju Technology (beijing) 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 Hui Ju Technology (beijing) Co Ltd filed Critical Hui Ju Technology (beijing) Co Ltd
Priority to CN201610744130.5A priority Critical patent/CN106204859B/en
Publication of CN106204859A publication Critical patent/CN106204859A/en
Application granted granted Critical
Publication of CN106204859B publication Critical patent/CN106204859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • 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

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

Abstract

The invention belongs to lock core technical field, it is provided that a kind of based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking.Present invention smart lock based on chip password and bluetooth configuration function includes Intelligent key, lock core, lock pin and electronics pellet, Intelligent key is provided with the first microcontroller, power supply circuits, key contact and battery, first microcontroller is provided with interruption monitoring pin and password sends pin, interrupt monitoring pin and key contact connects, password sends pin and power supply circuits connect, lock core includes the lock core supporting part rotating lock core and being connected with rotation lock core, rotate lock core and be provided with keyhole, lock core contact and lockhole, lock core supporting part is provided with groove, voltage conversion circuit, second microcontroller and control circuit, groove matches with the position of lockhole.The present invention based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking, it is possible to facilitate user fast to unblank, improve the safety of smart lock, and reduce power consumption.

Description

Based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking
Technical field
The present invention relates to lock core technical field, be specifically related to a kind of based on chip password with the smart lock of bluetooth configuration function And smart lock method for unlocking.
Background technology
At present, the user of each cell unit or market is many can install safety lock, to ensure the peace of kinsfolk, property Entirely.Passenger can use mechanical key, inserts in the keyhole of lock core, and lock is opened by rotary motion lock core.But, some The tartar of mechanical key is similar, causes same key can open many locks, brings unnecessary puzzlement to user.
Although, most users uses electronic lock, and passenger can open electricity to use the mode such as brush electric magnetic card or input password Son lock, convenient current.But, electronic lock power consumption is big, and the easy demagnetization of electric magnetic card, and user needs to note in real time the guarantor of electric magnetic card Deposit mode.And use the mode of password, bring inconvenience, password easily to forget can to old user.
How to facilitate user fast to unblank, improve the safety of smart lock, be that those skilled in the art need asking of solution badly Topic.
Summary of the invention
For defect of the prior art, the present invention provides a kind of based on chip password with the smart lock of bluetooth configuration function And smart lock method for unlocking, it is possible to facilitate user fast to unblank, improve the safety of smart lock.
First aspect, the present invention provides a kind of smart lock, and this smart lock includes electron key and electronic lock cylinder, wherein, electricity Sub-key is for providing unlocking cipher to electronic lock cylinder, and electronic lock cylinder verification unlocking cipher is the most correct, the most then electronic lock cylinder It is driven into released state by electron key.
The present invention provides another kind of based on chip password and the smart lock of bluetooth configuration function, and this smart lock includes intelligence key Spoon, lock core, lock pin and electronics pellet.Intelligent key is provided with the first microcontroller, power supply circuits, key contact and battery, and first Microcontroller is provided with interruption monitoring pin and password sends pin, interrupts monitoring pin and key contact connects, password sending tube Foot and power supply circuits connect, and power supply circuits are connected with key contact and battery the most respectively, key contact for for lock core power with/ Or transmission unlocking cipher.Lock core includes the lock core supporting part rotating lock core and being connected with rotation lock core, rotates lock core and is provided with key Hole, lock core contact and lockhole, keyhole is positioned at the first end of the axial direction rotating lock core, and lock core contact is positioned at keyhole, Lockhole is positioned at the second end of the axial direction rotating lock core, from the surface contacted with lock core supporting part to the center rotating lock core Axle extends desired depth, and lock core supporting part is provided with groove, voltage conversion circuit, the second microcontroller and control circuit, groove with The position of lockhole matches, and voltage conversion circuit is connected with lock core contact, and the second microcontroller is provided with power pin, password acceptance Pin, response pin and Magnet control pin, power pin and voltage conversion circuit and connect, password acceptance pin and response pin All being connected with lock core contact, Magnet controls pin and is connected with control circuit, and control circuit is also connected with electronics pellet.Lock pin connects In rotating lock core.Electronics pellet is positioned at groove.
Further, the first microcontroller also includes bluetooth module, and bluetooth module meets Bluetooth protocol form for reception Licencing key and licencing key corresponding to uncaging time.
Further, electronic bomb attached bag vinculum circle and electric magnet, electric magnet is positioned at coil, and coil is connected to control electricity Road.
Based on above-mentioned arbitrarily smart lock embodiment based on chip password and bluetooth configuration function, further, power supply electricity Road includes the first resistance, the second resistance, the 3rd resistance, the first audion and the second audion, and the first end of the first resistance connects In the emitter stage of the first audion, the second end of the first resistance is connected to the base stage of the first audion, the first end of the second resistance Being connected to the base stage of the first audion, the second end of the second resistance is connected to the colelctor electrode of the second audion, the of the 3rd resistance One end is connected to the base stage of the second audion, and the second end of the 3rd resistance is connected to password and sends pin, sending out of the first audion Emitter-base bandgap grading is connected to battery, and the colelctor electrode of the first audion is connected to key contact, and the emitter stage of the second audion is connected to ground wire.
Further, control circuit includes that the 4th resistance and the 3rd audion, the first end of the 4th resistance are connected to Magnet Controlling pin, the second end of the 4th resistance is connected to the base stage of the 3rd audion, and the colelctor electrode of the 3rd audion is connected to coil, The emitter stage of the 3rd audion is connected to ground wire.
Further, voltage conversion circuit includes the 4th audion and the first electric capacity, the emitter stage of the 4th triode and lock Core contact connects, and the colelctor electrode of the 4th audion and the first end of the first electric capacity connect, and the second end of the first electric capacity connects and supplies Fulgurite foot connects, and the second end of the first electric capacity is connected with ground wire.
Based on above-mentioned arbitrarily smart lock embodiment based on chip password and bluetooth configuration function, further, intelligence key Spoon is additionally provided with voltage display circuit, is connected to the first microcontroller.
Second aspect, the present invention provides a kind of and make use of above-mentioned smart lock based on chip password and bluetooth configuration function Smart lock method for unlocking, including:
Step S1: interrupt signal detecting step:
The key contact of Intelligent key and the lock core contact of lock core, the first microcontroller is examined by interrupting monitoring pin Measure the interrupt signal that lock core contact produces;
Step S2: password transmission and energizing step:
First microcontroller passes through conducting and the cut-off duty of password sending tube foot control power supply circuits,
When power supply circuits turn on, the key cipher that the first microcontroller is stored by power supply circuits passes through lock core contact and password Receive pin to send to the second microcontroller,
Power supply circuits are that the second microcontroller is powered also by lock core contact, voltage conversion circuit and power pin;
Step S3: password contrast step:
Key cipher is contrasted by the second microcontroller with lock core cipher, forms password contrast identical result and password pair Compare Different Results;
Step S4: rate-determining steps of unblanking:
Contrast identical result according to password, and in the uncaging time that lock core cipher is corresponding, the second microcontroller leads to successively Cross response pin, key contact and interruption monitoring pin and send response message to the first microcontroller,
Second microcontroller controls pin and control circuit also by Magnet, sends to electronics pellet and opens running parameter, Rotary motion lock core, opens lock body;
Step S5: repetition monitoring step:
According to password contrast Different Results, or according to password contrast identical result, and lock core cipher corresponding when unblanking Outside between, repeated execution of steps S1.
Further, the present embodiment smart lock method for unlocking also includes lock core cipher configuration step, lock core cipher configuration step Suddenly specifically include:
The bluetooth module of the first microcontroller receive user mobile terminal send meet Bluetooth protocol form licencing key and When the uncaging time that licencing key is corresponding, key contact and lock core contact, connect by power supply circuits, lock core contact and password Licencing key and uncaging time are sent to the second microcontroller by closed tube foot;
Second microcontroller receives licencing key, licencing key is configured to lock core cipher, and receives uncaging time, configuration The uncaging time of lock core cipher.
As shown from the above technical solution, the present invention opens based on chip password and the smart lock of bluetooth configuration function and smart lock Locking method, is respectively provided with chip by Intelligent key and lock core, to carry out cipher authentication.When inserting keyhole without Intelligent key, There is captivation between rotation lock core and the electronics pellet of pyrite material, electronics pellet is inhaled in lockhole, rotates lock core electric Bullet subcard is lived, and smart lock based on chip password and bluetooth configuration function is in locking state, ensures household and property safety.
By interrupt signal detecting step, when Intelligent key is inserted keyhole, key contact and lock core contact connect Touching, interrupting monitoring pin can send interrupt signal to the first microcontroller.Use password transmission and energizing step, the first micro-control Device processed passes sequentially through password and sends pin, power supply circuits, lock core contact and password acceptance pin to the second microcontroller transmission key Spoon password;First microcontroller also controls power supply circuits conducting, and battery passes through power supply circuits, lock core contact, voltage conversion circuit Power to the second microcontroller with power pin, reduce the power consumption of lock core end, save electric flux.
Using password contrast step, lock core cipher and key cipher are contrasted by the second microcontroller, at lock core cipher Consistent with key cipher contrast, and time in the uncaging time that lock core cipher is corresponding, use rate-determining steps of unblanking, the second microcontroller Device can send response message by response pin to the first microcontroller, uses Magnet to control pin simultaneously and controls electronics pellet Separate with rotating lock core.Now, user rotates Intelligent key, drives and rotates lock core, causes lock pin to rotate, and smart lock lock body is beaten Open, be convenient for people to pass through, efficient and convenient.Lock core cipher is different with key cipher contrast, or lock core cipher and key cipher contrast Unanimously, and when the uncaging time that lock core cipher is corresponding is outer, uses and repeat monitoring step, rotate lock core still by electronic bomb subcard Living, smart lock is still in locking state, even if Intelligent key is inserted into keyhole, also due to password is different, and cannot be by Smart lock is opened, to ensure household and property safety.
First microcontroller of Intelligent key is provided with bluetooth module, additionally it is possible to receive the transmission of user mobile terminal meets bluetooth The licencing key of protocol format and uncaging time, and it is sent to the second microcontroller, it is close that the second microcontroller carries out resetting lock core Code, is set to lock core cipher, and according to the uncaging time of user setup by licencing key, arranges lock core cipher when unblanking accordingly Between, it is user-friendly to.
Therefore, the present invention is based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking, it is possible to side Just user fast unblanks, and improves the safety of smart lock, and reduces power consumption.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, below will be to specifically In embodiment or description of the prior art, the required accompanying drawing used is briefly described.In all of the figs, similar element Or part is typically by the reference mark being similar to.In accompanying drawing, each element or part might not be drawn according to actual ratio.
Fig. 1 shows that a kind of structure based on chip password and the smart lock of bluetooth configuration function provided by the present invention is shown It is intended to;
Fig. 2 shows the circuit connection diagram of a kind of Intelligent key end provided by the present invention;
Fig. 3 shows the circuit connection diagram of a kind of lock core end provided by the present invention;
Fig. 4 shows a kind of smart lock method for unlocking flow chart provided by the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the embodiment of technical solution of the present invention is described in detail.Following example are only used for Technical scheme is clearly described, is therefore intended only as example, and the protection of the present invention can not be limited with this Scope.
It should be noted that except as otherwise noted, technical term used in this application or scientific terminology should be this The ordinary meaning that bright one of ordinary skill in the art are understood.
First aspect, the present invention provides a kind of smart lock, and this smart lock includes electron key and electronic lock cylinder, wherein, electricity Sub-key is for providing unlocking cipher to electronic lock cylinder, and electronic lock cylinder verification unlocking cipher is the most correct, the most then electronic lock cylinder It is driven into released state by electron key.
The present invention provides another kind of based on chip password and the smart lock of bluetooth configuration function, in conjunction with Fig. 1, and this smart lock bag Include Intelligent key 2, lock core 1, lock pin 3 and electronics pellet 4.Intelligent key 2 is provided with the first microcontroller U1, power supply circuits, key Contact 21 and battery, in conjunction with Fig. 2, the first microcontroller U1 is provided with interruption monitoring pin PB2 and password sends pin PB1, interrupts Monitoring pin PB2 and key contact 21 connect, and password sends pin PB1 and power supply circuits and connects, power supply circuits the most respectively with key Spoon contact 21 and battery connect, and key contact 21 is for powering for lock core and/or transmitting unlocking cipher.Lock core includes rotating lock core 11 and with rotate the lock core supporting part 12 that is connected of lock core 11, rotation lock core 11 is provided with keyhole, lock core contact 112 and lockhole 111, Keyhole is positioned at the first end of the axial direction rotating lock core 11, and lock core contact 112 is positioned at keyhole, and lockhole 111 is positioned at and turns Second end of the axial direction of movable lock core 11, prolongs from the surface contacted with lock core supporting part 12 to the central shaft rotating lock core 11 Stretch desired depth.Lock core supporting part 12 is provided with groove 121, voltage conversion circuit, the second microcontroller U2 and control circuit, groove 121 match with the position of lockhole 111, and voltage conversion circuit is connected with lock core contact 112, in conjunction with Fig. 3, and the second microcontroller U2 It is provided with power pin VDD, password acceptance pin PA2, response pin PB2 and Magnet and controls pin PB1, power pin VDD and electricity Voltage conversion circuit connects, and password acceptance pin PA2 and response pin PB2 is all connected with lock core contact 112, and Magnet controls pin PB1 is connected with control circuit, and control circuit is also connected with electronics pellet 4.Lock pin 3 is connected to rotate lock core 11.Electronics pellet 4 In groove 121.
As shown from the above technical solution, the present embodiment, based on chip password and the smart lock of bluetooth configuration function, passes through intelligence Energy key and lock core are respectively provided with chip, to carry out cipher authentication.When inserting keyhole without Intelligent key, the rotation of pyrite material There is captivation between lock core 11 and electronics pellet 4, electronics pellet 4 is inhaled in lockhole 111, rotates lock core 11 by electronics pellet 4 block, and smart lock based on chip password and bluetooth configuration function is in locking state, ensure household and property safety.
When Intelligent key is inserted keyhole, key contact 21 and lock core contact 112 contact, and interrupt monitoring pin PB2 can send interrupt signal to the first microcontroller U1, and the first microcontroller U1 passes sequentially through password and sends pin PB1, confession Electricity circuit, lock core contact 112 and password acceptance pin PA2 send key cipher to the second microcontroller U2;First microcontroller U1 also controls power supply circuits conducting, battery by power supply circuits, lock core contact 112, voltage conversion circuit and power pin VDD to Second microcontroller U2 powers, and reduces the power consumption of lock core end, saves electric flux.
Lock core cipher and key cipher are contrasted by the second microcontroller U2, contrast one at lock core cipher and key cipher During cause, the second microcontroller U2 can send response message by response pin PB2 to the first microcontroller U1, uses magnetic simultaneously Ferrum controls pin PB1 control electronics pellet 4 and separates with rotating lock core 11.Now, user rotates Intelligent key, drives and rotates lock core 11, cause lock pin 3 to rotate, smart lock lock body based on chip password and bluetooth configuration function is opened, and is convenient for people to pass through, fast Convenient.When lock core cipher is different with key cipher contrast, rotates lock core 11 and still blocked by electronics pellet 4, based on chip password Locking state still it is in the smart lock of bluetooth configuration function, even if Intelligent key is inserted into keyhole, also due to password Difference, and smart lock cannot be opened, to ensure household and property safety.
Therefore, the present embodiment smart lock based on chip password and bluetooth configuration function can facilitate user fast to unblank, Improve the safety of this smart lock, and reduce power consumption.
In order to improve the present embodiment further based on chip password and the reliability of the smart lock of bluetooth configuration function, specifically Ground, user resets password for convenience, or the Intelligent key prevented loss is unblanked again.The present embodiment is based on chip password and indigo plant The smart lock of tooth configuration feature also includes bluetooth configuration key, and the first microcontroller U1 of this bluetooth configuration key also includes bluetooth Module, this bluetooth module is able to receive that the uncaging time met corresponding to the licencing key of Bluetooth protocol form and licencing key, User can be sent by mobile phone terminal and meet the licencing key of Bluetooth protocol form and uncaging time to bluetooth configuration key, should Bluetooth configuration key is inserting after keyhole, by power supply circuits, lock core contact 21 and password acceptance pin by licencing key and Uncaging time sends to the second microcontroller U2.Second microcontroller U2 receives licencing key, and licencing key is configured to lock core Password, and receive uncaging time, the uncaging time of configuration lock core cipher.Facilitate user to reset unlocking cipher, and effectively prevent The Intelligent key lost is unblanked again.
Specifically, at the aspect that realizes of electronics pellet 4, electronics pellet 4 specifically uses coil 42 and electric magnet 41, electric magnet 41 are positioned at coil 42, and coil 42 is connected to control circuit.Electric magnet 41 attracts with rotating lock core 11, and is connected in lockhole 111 In, rotation lock core 11 is blocked.If coil 42 is powered, then electric magnet 41 is acted on by magnetic induction line, separates with lockhole 111.Coil 42 are looped around on solenoid coil 42 frame, and electric magnet 41 is in the interior of solenoid coil 42 frame, it is ensured that electric magnet 41 moves up and down Time, coil 42 hinders, and the controlling of the magnetic induction line easily produced by coil 42, and draws materials conveniently.
Specifically, the hardware circuit at power supply circuits realizes aspect, in conjunction with Fig. 2, power supply circuits include the first resistance R4, Two resistance R5, the 3rd resistance R6, the first audion Q1 and the second audion Q2, first end of the first resistance R4 is connected to the one or three The emitter stage of pole pipe Q1, second end of the first resistance R4 is connected to the base stage of the first audion Q1, first end of the second resistance R2 Being connected to the base stage of the first audion Q1, second end of the second resistance R2 is connected to the colelctor electrode of the second audion Q2, the 3rd electricity First end of resistance R3 is connected to the base stage of the second audion Q2, and second end of the 3rd resistance R2 is connected to password and sends pin PB1, The emitter stage of the first audion Q1 is connected to anode VCC, and the colelctor electrode of the first audion Q1 is connected to key contact ONELINE, the emitter stage of the second audion Q2 is connected to ground wire.Use above-mentioned power supply circuits, it is possible to be effectively the second microcontroller Device U2 provides electric energy, can also send key cipher, it is achieved password read-write capability simultaneously.
Specifically, the hardware circuit in control circuit realizes aspect, and in conjunction with Fig. 3, control circuit specifically uses the 4th resistance R8 and the 3rd audion Q4, first end of the 4th resistance R8 is connected to Magnet and controls second end of pin PB1, the 4th resistance R8 even Being connected to the base stage of the 3rd audion Q4, the colelctor electrode of the 3rd audion Q8 is connected to coil 42, the emitter stage of the 3rd audion Q4 It is connected to ground wire.Binding post P1 is the Wiring port of control circuit and electronics pellet 4.Use above-mentioned control circuit, it is possible to have Electric current in effect control coil 42, so that electric magnet 41 is under magnetic induction line effect, separates with lockhole 111.
Meanwhile, in order to effectively carry out electric energy conversion, it is that the second microcontroller U2 powers in time, hard at voltage conversion circuit Part circuit realiration aspect, in conjunction with Fig. 3, voltage conversion circuit includes the 4th audion Q3 and the first electric capacity C3, the 4th triode Q3 Emitter stage be connected with lock core contact ONELINE, first end of the colelctor electrode of the 4th audion Q3 and the first electric capacity C3 connects, the First end of one electric capacity C3 connects and is connected with power pin, the 8th pin VDD of the i.e. second microcontroller U2, the first electric capacity C3's Second end is connected with ground wire.Use this voltage conversion circuit, when there being signal to input, the 4th audion Q3 conducting, the first electric capacity C3 is charged, and thinks that the second microcontroller U2 provides electric flux.The present embodiment is based on chip password and bluetooth configuration function Smart lock uses voltage conversion circuit can effectively reduce power consumption, and only when Intelligent key contacts with lock core, the second of lock core is micro- Controller U2 and control circuit just can be powered, and reduce system power dissipation.
Additionally, in order to prompt the user with the battery electric quantity within Intelligent key, the present embodiment is based on chip password and bluetooth The Intelligent key of the smart lock of configuration feature is additionally provided with voltage display circuit, is connected to the first microcontroller U1.In conjunction with Fig. 2, electricity Pressure display circuit uses light emitting diode D1, the 5th resistance R1 and the 6th resistance R2.One termination first micro-control of the 5th resistance R1 The PD0 pin of device U1 processed, the negative pole of the other end sending and receiving optical diode D1 of the 5th resistance R1.One termination first of the 6th resistance R2 The PB0 pin of microcontroller U1, the negative pole of the other end sending and receiving optical diode D1 of the 5th resistance R1.The positive pole of light emitting diode D1 Meet the positive pole VCC of battery.Battery electric quantity too low or normal time, it is possible to show different colors, to remind user.
In order to realize the effective control to lock core contact further, prevent the sidewall contact of lock core contact 112 and keyhole, Causing electric discharge, be provided with through hole on the sidewall of keyhole, lock core contact 112 is positioned at through hole.Lock core supporting part 12 is provided with bullet groove, The position playing groove is mated with through hole, is provided with lock core spring 122 in playing groove, and the bottom playing groove is fixed in one end of lock core spring 122, The other end of lock core spring 122 is connected to lock core contact 112.Lock core spring 122 is used to be connected with lock core contact 112, in intelligence After key inserts keyhole, lock core spring 122 is compressed in lock core contact 112, and lock core contact 112 contacts with key contact 21.In intelligence After energy key is extracted out from keyhole, the height of lock core contact 112 is less than the roof of keyhole, it is possible to prevent lock core contact 112 Contact with keyhole, do not have electric discharge phenomena.This smart lock also includes shell 5, is provided with mechanical lock 1, Qi Zhongsuo in shell 5 Core supporting part 12 is fixed on shell 5, and rotating lock core 11 can rotate in the sidewall of lock core supporting part 12 and shell 5, also can Enough mechanical lock 1, electronics pellet 4 etc. play certain protective effect.
Second aspect, the present invention provide a kind of for above-mentioned based on chip password with the intelligence of the smart lock of bluetooth configuration function Can lock method for unlocking, in conjunction with Fig. 4, the method includes:
Step S1: interrupt signal detecting step:
The key contact 21 of Intelligent key contacts with the lock core contact 112 of lock core, and the first microcontroller U1 is supervised by interruption Test tube foot PB2 detects the interrupt signal that lock core contact 112 produces;
Step S2: password transmission and energizing step:
First microcontroller U1 sends pin PB1 by password and controls conducting and the cut-off duty of power supply circuits,
When power supply circuits turn on, the key cipher that the first microcontroller is stored by power supply circuits passes through lock core contact 112 He Password acceptance pin PA2 sends to the second microcontroller U2,
Power supply circuits are that the second microcontroller U2 supplies also by lock core contact 112, voltage conversion circuit and power pin VDD Electricity;
Step S3: password contrast step:
Key cipher is contrasted by the second microcontroller U2 with lock core cipher, forms password contrast identical result and password Contrast Different Results;
Step S4: rate-determining steps of unblanking:
Contrast identical result according to password, and in the uncaging time that lock core cipher is corresponding, the second microcontroller U2 is successively Response message is sent to the first microcontroller U1 by response pin PB2, key contact 21 and interruption monitoring pin PB2,
Second microcontroller U2 controls pin PB1 and control circuit also by Magnet, sends to electronics pellet 4 and opens work Parameter, rotary motion lock core 11, open lock body;
Step S5: repetition monitoring step:
According to password contrast Different Results, or according to password contrast identical result, and lock core cipher corresponding when unblanking Outside between, repeated execution of steps S1.
As shown from the above technical solution, the present embodiment smart lock method for unlocking, it is respectively provided with core by Intelligent key and lock core Sheet, to carry out cipher authentication.When inserting keyhole without Intelligent key, the rotation lock core 11 of pyrite material and electronics pellet 4 it Between there is captivation, electronics pellet 4 is inhaled in lockhole 111, rotate lock core 11 blocked by electronics pellet 4, smart lock is in lock Tight state, ensures household and property safety.
By interrupt signal detecting step, when Intelligent key is inserted keyhole, key contact 21 and lock core contact 112 Contacting, interrupting monitoring pin PB2 can send interrupt signal to the first microcontroller U1.Use password transmission and power supply step Suddenly, the first microcontroller U1 passes sequentially through password and sends pin PB1, power supply circuits, lock core contact 112 and password acceptance pin PA2 sends key cipher to the second microcontroller U2;First microcontroller U1 also controls power supply circuits conducting, and battery is by power supply Circuit, lock core contact 112, voltage conversion circuit and power pin VDD are powered to the second microcontroller U2, reduce the consumption of lock core end Electricity, saves electric flux.
Using password contrast step, lock core cipher and key cipher are contrasted by the second microcontroller U2, close at lock core Code is consistent with key cipher contrast, and time in the uncaging time that lock core cipher is corresponding, uses rate-determining steps of unblanking, the second micro-control Device U2 processed can send response message by response pin PB2 to the first microcontroller U1, uses Magnet to control pin PB1 simultaneously Control electronics pellet 4 and separate with rotating lock core 11.Now, user rotates Intelligent key, drives and rotates lock core 11, causes lock pin 3 Rotating, smart lock lock body is opened, and is convenient for people to pass through, efficient and convenient.Different with key cipher contrast at lock core cipher, or lock core Password is consistent with key cipher contrast, and when the uncaging time that lock core cipher is corresponding is outer, uses and repeat monitoring step, rotate lock Core 11 is still blocked by electronics pellet 4, and smart lock is still in locking state, even if Intelligent key is inserted into keyhole, also by Different in password, and smart lock cannot be opened, to ensure household and property safety.
Therefore, the present embodiment smart lock method for unlocking, it is possible to facilitate user fast to unblank, improves the safety of smart lock, And reduction power consumption.
In order to improve stability and the effectiveness that smart lock method for unlocking runs further, user is facilitated to reset the lock of lock core Core password, or the Intelligent key prevented loss is again turned on lock core, and the present embodiment smart lock method for unlocking can also reset lock core Password, resets specifically comprising the following steps that of lock core cipher
The bluetooth module of the first microcontroller receives the licencing key meeting Bluetooth protocol form that user mobile terminal sends When the uncaging time corresponding with described licencing key, key contact and lock core contact, by power supply circuits, lock core contact and Licencing key and uncaging time are sent to the second microcontroller by password acceptance pin;
Second microcontroller receives licencing key, licencing key is set to lock core cipher, and receives uncaging time, arranges The uncaging time of lock core cipher.
The present embodiment smart lock method for unlocking, by user mobile terminal, output meets the authorization message of Bluetooth protocol form To the second microcontroller, the uncaging time that authorization message i.e. licencing key is corresponding with licencing key.Touch at key contact and lock core During point cantact, the licencing key uncaging time corresponding with licencing key that the method is received by transmission bluetooth module, second is micro- Controller receives licencing key, and this licencing key is set to lock core cipher, and it is corresponding that the second microcontroller receives licencing key Uncaging time, be set to the uncaging time of lock core cipher.Use the method be able to ensure that user after key loss, and Shi Genggai lock core cipher, the Intelligent key prevented loss is unblanked again.Meanwhile, the method is used also to be able to facilitate user to reset out Lock cipher, and need to arrange corresponding uncaging time according to user, improve safety and reliability.
It is last it is noted that in the description of the present embodiment, unless otherwise clearly defined and limited, term " is pacified Dress ", " being connected ", " connection ", the term such as " fixing " should be interpreted broadly, for example, it may be fix connection, it is also possible to be detachable Connect, or integral;Can be to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to pass through intermediary It is indirectly connected to, can be connection or the interaction relationship of two elements of two element internals.Common skill for this area For art personnel, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include one or more this feature.In describing the invention, " multiple " are meant that two or more, unless separately There is the most concrete restriction.
Various embodiments above only in order to technical scheme to be described, is not intended to limit;Although with reference to aforementioned each reality Execute example the present invention has been described in detail, it will be understood by those within the art that: its still can to aforementioned respectively Technical scheme described in embodiment is changed, revises, or the most some or all of technical characteristic is carried out equivalent replaces Change and modification;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technical side The scope of case, it all should be contained in the middle of the claim of the present invention and the scope of description.

Claims (10)

1. a smart lock, it is characterised in that including electron key and electronic lock cylinder, wherein, electron key is for electronic lock Core provides unlocking cipher, and electronic lock cylinder verification unlocking cipher is the most correct, the most then electronic lock cylinder is driven into solution by electron key Lock status.
2. one kind based on chip password and the smart lock of bluetooth configuration function, it is characterised in that including:
Intelligent key, lock core, lock pin and electronics pellet,
Described Intelligent key is provided with the first microcontroller, power supply circuits, key contact and battery,
Described first microcontroller is provided with interruption monitoring pin and password sends pin, described interruption monitoring pin and described key Contact connects, and described password sends pin and described power supply circuits connect,
Described power supply circuits are connected with described key contact and described battery the most respectively,
Described key contact is used for powering for described lock core and/or transmitting unlocking cipher,
Described lock core includes the lock core supporting part rotating lock core and being connected with described rotation lock core,
Described rotation lock core is provided with keyhole, lock core contact and lockhole,
Described keyhole is positioned at the first end of the axial direction of described rotation lock core, and described lock core contact is positioned at described keyhole In, described lockhole is positioned at the second end of the axial direction of described rotation lock core, from the surface contacted with described lock core supporting part Desired depth is extended to the central shaft of described rotation lock core,
Described lock core supporting part is provided with groove, voltage conversion circuit, the second microcontroller and control circuit,
Described groove matches with the position of described lockhole, and described voltage conversion circuit is connected with described lock core contact, and described Two microcontrollers are provided with power pin, password acceptance pin, response pin and Magnet control pin, described power pin and described Voltage conversion circuit connects, and described password acceptance pin and described response pin are all connected with described lock core contact, described Magnet Controlling pin to be connected with described control circuit, described control circuit is also connected with described electronics pellet,
Described lock pin is connected to described rotation lock core,
Described electronics pellet is positioned at described groove.
The most according to claim 2 based on chip password and the smart lock of bluetooth configuration function, it is characterised in that described first Microcontroller also includes bluetooth module, and described bluetooth module meets the licencing key of Bluetooth protocol form and described for receiving Uncaging time corresponding to licencing key.
4. according to described in Claims 2 or 3 based on chip password and the smart lock of bluetooth configuration function, it is characterised in that described Electronic bomb attached bag vinculum circle and electric magnet, described electric magnet is positioned at described coil, and described coil is connected to described control circuit.
The most according to claim 2 based on chip password and the smart lock of bluetooth configuration function, it is characterised in that
Described power supply circuits include the first resistance, the second resistance, the 3rd resistance, the first audion and the second audion,
First end of described first resistance is connected to the emitter stage of described first audion, and the second end of described first resistance connects In the base stage of described first audion,
First end of described second resistance is connected to the base stage of described first audion, and the second end of described second resistance is connected to The colelctor electrode of described second audion,
First end of described 3rd resistance is connected to the base stage of described second audion, and the second end of described 3rd resistance is connected to Described password sends pin,
The emitter stage of described first audion is connected to described battery, and the colelctor electrode of described first audion is connected to described key Contact,
The emitter stage of described second audion is connected to ground wire.
The most according to claim 2 based on chip password and the smart lock of bluetooth configuration function, it is characterised in that
Described control circuit includes the 4th resistance and the 3rd audion,
First end of described 4th resistance is connected to described Magnet and controls pin, and the second end of described 4th resistance is connected to described The base stage of the 3rd audion,
The colelctor electrode of described 3rd audion is connected to described coil, and the emitter stage of described 3rd audion is connected to ground wire.
The most according to claim 2 based on chip password and the smart lock of bluetooth configuration function, it is characterised in that
Described voltage conversion circuit includes the 4th audion and the first electric capacity,
The emitter stage of described 4th triode is connected with described lock core contact, the colelctor electrode and described first of described 4th audion First end of electric capacity connects,
Second end of described first electric capacity connects and is connected with described power pin, and the second end of described first electric capacity is with ground wire even Connect.
8. exist based on chip password and the smart lock of bluetooth configuration function, its feature according to claim 2~7 any one In,
Described Intelligent key is additionally provided with voltage display circuit, is connected to described first microcontroller.
9. one kind make use of described in claim 2~8 any one based on chip password and the intelligence of bluetooth configuration function smart lock Method for unlocking can be locked, it is characterised in that including:
Step S1: interrupt signal detecting step:
The key contact of Intelligent key and the lock core contact of lock core, described first microcontroller interrupts monitoring pipe by described Foot detects the interrupt signal that lock core contact produces;
Step S2: password transmission and energizing step:
Described first microcontroller by the conducting of power supply circuits described in described password sending tube foot control system and cut-off duty,
When described power supply circuits turn on, the key cipher of described first microcontroller storage is passed through described lock by described power supply circuits Core contact and described password acceptance pin send to described second microcontroller,
Described power supply circuits are described second micro-also by described lock core contact, described voltage conversion circuit and described power pin Controller is powered;
Step S3: password contrast step:
Described key cipher is contrasted by described second microcontroller with lock core cipher, forms password contrast identical result and close Code contrast Different Results;
Step S4: rate-determining steps of unblanking:
Identical result is contrasted according to described password, and in the uncaging time that described lock core cipher is corresponding, described second microcontroller Device passes sequentially through described response pin, described key contact and described interruption monitoring pin and sends to described first microcontroller Response message,
Described second microcontroller controls pin and described control circuit also by described Magnet, sends to described electronics pellet and opens Open running parameter, rotary motion lock core, open lock body;
Step S5: repetition monitoring step:
Contrast Different Results according to described password, or contrast identical result according to described password, and corresponding at described lock core cipher Uncaging time outside, repeat described step S1.
Smart lock method for unlocking the most according to claim 9, it is characterised in that the method also includes lock core cipher configuration step Suddenly, described lock core cipher configuration step includes:
The bluetooth module of described first microcontroller receives the licencing key meeting Bluetooth protocol form that user mobile terminal sends When the uncaging time corresponding with described licencing key, described key contact and described lock core contact, by described power supply electricity Described licencing key and described uncaging time are sent to the most described second micro-by road, described lock core contact and described password acceptance pin Controller;
Described second microcontroller receives described licencing key, described licencing key is configured to lock core cipher, and receives described Uncaging time, configures the uncaging time of described lock core cipher.
CN201610744130.5A 2016-08-26 2016-08-26 Smart lock and smart lock method for unlocking based on chip password and bluetooth configuration function Active CN106204859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610744130.5A CN106204859B (en) 2016-08-26 2016-08-26 Smart lock and smart lock method for unlocking based on chip password and bluetooth configuration function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610744130.5A CN106204859B (en) 2016-08-26 2016-08-26 Smart lock and smart lock method for unlocking based on chip password and bluetooth configuration function

Publications (2)

Publication Number Publication Date
CN106204859A true CN106204859A (en) 2016-12-07
CN106204859B CN106204859B (en) 2019-10-22

Family

ID=57526135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610744130.5A Active CN106204859B (en) 2016-08-26 2016-08-26 Smart lock and smart lock method for unlocking based on chip password and bluetooth configuration function

Country Status (1)

Country Link
CN (1) CN106204859B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846656A (en) * 2017-03-13 2017-06-13 泉州国光软件开发有限责任公司 A kind of intelligent express box
CN107103669A (en) * 2017-04-19 2017-08-29 宁波瑞奥物联技术股份有限公司 A kind of Intelligent key and its control system
CN107393099A (en) * 2017-08-24 2017-11-24 深圳供电局有限公司 Digital lock
CN108830976A (en) * 2018-05-03 2018-11-16 芜湖懒人智能科技有限公司 A kind of electronic lock control circuit
CN108952333A (en) * 2018-08-06 2018-12-07 常州市思索数码科技有限公司 A kind of electron key, door-locking system and electronic key unlocking method
CN109488121A (en) * 2018-12-29 2019-03-19 厦门硕锋科技有限公司 A kind of intelligent lock system Internet-based
CN110288736A (en) * 2019-06-26 2019-09-27 珠海格力电器股份有限公司 Electronic lock resetting method and electronic lock
CN110443915A (en) * 2019-06-24 2019-11-12 深圳绿米联创科技有限公司 Control method for door lock, control device, door lock and storage medium
CN113240831A (en) * 2021-04-13 2021-08-10 常州瑞阳电装有限公司 Identity information input unlocking circuit of code-free key of locomotive

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104033039A (en) * 2014-06-19 2014-09-10 沈阳美迪特信息技术有限公司 Electronic lock, key and unlocking control method
US20140338407A1 (en) * 2013-05-17 2014-11-20 Maotong ZHANG Padlock with Resettable Password
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN205063577U (en) * 2015-06-19 2016-03-02 慧居科技(北京)有限公司 Thing networking lock suitable for two -sided contact intelligent key
CN206133732U (en) * 2016-08-26 2017-04-26 慧居科技(北京)有限公司 Intelligence lock based on chip password and bluetooth configuration function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140338407A1 (en) * 2013-05-17 2014-11-20 Maotong ZHANG Padlock with Resettable Password
CN104033039A (en) * 2014-06-19 2014-09-10 沈阳美迪特信息技术有限公司 Electronic lock, key and unlocking control method
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN205063577U (en) * 2015-06-19 2016-03-02 慧居科技(北京)有限公司 Thing networking lock suitable for two -sided contact intelligent key
CN206133732U (en) * 2016-08-26 2017-04-26 慧居科技(北京)有限公司 Intelligence lock based on chip password and bluetooth configuration function

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846656A (en) * 2017-03-13 2017-06-13 泉州国光软件开发有限责任公司 A kind of intelligent express box
CN107103669A (en) * 2017-04-19 2017-08-29 宁波瑞奥物联技术股份有限公司 A kind of Intelligent key and its control system
CN107393099A (en) * 2017-08-24 2017-11-24 深圳供电局有限公司 Digital lock
CN108830976A (en) * 2018-05-03 2018-11-16 芜湖懒人智能科技有限公司 A kind of electronic lock control circuit
CN108952333A (en) * 2018-08-06 2018-12-07 常州市思索数码科技有限公司 A kind of electron key, door-locking system and electronic key unlocking method
CN109488121A (en) * 2018-12-29 2019-03-19 厦门硕锋科技有限公司 A kind of intelligent lock system Internet-based
CN109488121B (en) * 2018-12-29 2023-12-26 泉州国光软件开发有限责任公司 Intelligent lockset system based on Internet
CN110443915A (en) * 2019-06-24 2019-11-12 深圳绿米联创科技有限公司 Control method for door lock, control device, door lock and storage medium
CN110443915B (en) * 2019-06-24 2023-04-18 深圳绿米联创科技有限公司 Door lock control method, control device, door lock and storage medium
CN110288736A (en) * 2019-06-26 2019-09-27 珠海格力电器股份有限公司 Electronic lock resetting method and electronic lock
CN113240831A (en) * 2021-04-13 2021-08-10 常州瑞阳电装有限公司 Identity information input unlocking circuit of code-free key of locomotive

Also Published As

Publication number Publication date
CN106204859B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN106204859A (en) Based on chip password and the smart lock of bluetooth configuration function and smart lock method for unlocking
CN101864873B (en) Intelligent electronic lock
CN106150209B (en) The electronic lock and its operation method powered by lock tongue
CN206133732U (en) Intelligence lock based on chip password and bluetooth configuration function
CN206149236U (en) Projecting apparatus switch based on hall sensor
CN205400305U (en) Intelligent electronic lock
CN203531557U (en) Remote control electronic password lock based on single-chip microcomputer
CN205400327U (en) Intelligent electronic lock
CN104538219A (en) Wireless intelligent omni-sealed five-prevention electric lock
CN207420244U (en) It is a kind of based on have brush, can position measurement electromagnetic clutch device and control system
CN106200510B (en) The device of remote controlled student computer use at home
CN103806754A (en) Micro-power-consumption intelligent electronic lock head
CN206696926U (en) A kind of Bluetooth door lock
CN206339618U (en) A kind of circuit detection equipment
CN205206509U (en) Electronic lock with emergent power supply interface
CN104033039A (en) Electronic lock, key and unlocking control method
CN205176537U (en) Combination switch control circuit of single channel AD sampling
CN207817634U (en) A kind of USB reset circuits
CN204010097U (en) A kind of Wireless sound control lock
CN207296649U (en) One kind can network intelligent door lock
CN202249269U (en) Solar coded lock circuit
CN202391247U (en) Intelligent unlocking key
CN206039226U (en) Device capable of remotely controlling students to use computer at home
CN203547278U (en) Blast-proof electronic cabinet door lock of gas meter cabinet
CN107332355B (en) A kind of method of magnetic energy chip memory electric energy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180705

Address after: 100024 Chaoyang District, Beijing, three rooms in the village of West Liu Village Street (three rooms animation concentrated office area No. 785)

Applicant after: Beijing intelligent room map information technology Co., Ltd.

Address before: 100097 Beijing Haidian District Sijiqing Road 7 hospital 1 building -1 to 3 3 102 east side 115

Applicant before: Hui Ju Technology (Beijing) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant