CN104992486B - Internet of Things lock and method for unlocking with identity and password Intelligent key - Google Patents

Internet of Things lock and method for unlocking with identity and password Intelligent key Download PDF

Info

Publication number
CN104992486B
CN104992486B CN201510346333.4A CN201510346333A CN104992486B CN 104992486 B CN104992486 B CN 104992486B CN 201510346333 A CN201510346333 A CN 201510346333A CN 104992486 B CN104992486 B CN 104992486B
Authority
CN
China
Prior art keywords
circuit
chip
key
lock
chip microcomputer
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
CN201510346333.4A
Other languages
Chinese (zh)
Other versions
CN104992486A (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.)
Hui Ju Technology (beijing) 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 CN201510346333.4A priority Critical patent/CN104992486B/en
Publication of CN104992486A publication Critical patent/CN104992486A/en
Application granted granted Critical
Publication of CN104992486B publication Critical patent/CN104992486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Internet of Things lock with identity and password Intelligent key, power circuit, reset circuit and the data circuit of the crypto chip connection of key controller circuit therein are connected to the first electric contact, and first electric contact is connected to crypto chip V1 clock input pin;The power supply circuits of the single-chip microcomputer V2 connections of the lock control circuit, clock control circuit and open lock control circuit and be connected to the second electric contact;An inputting testing terminal of the single-chip microcomputer V2 connects second electric contact;The unlocking control is electrically connected to single-chip microcomputer V2 and forbidden between unlocking apparatus;The communications pins of the single-chip microcomputer are connected with network communication module;First electric contact and the second electric contact, which can be contacted, makes lock control circuit and key cipher circuit turn-on.It is legal that Internet of Things lock of the present invention can judge whether to the key progress detection with identity and password, safe and reliable.The invention discloses the method for unlocking of the lock, the intellectuality and networking of safe-guard door lock are added.

Description

Internet of Things lock and method for unlocking with identity and password Intelligent key
Technical field
The invention belongs to intelligent lock technical field, relate to read lock and its institute of person of unlocking's identity and key cipher Key is stated, Internet of Things lock and method for unlocking specially with identity and password Intelligent key.
Background technology
Current lock uses simple mechanical lock or electronic lock mostly, and electronic lock mostly using password, fingerprint, IC-card or Wireless remote control, they must could work in the case of a little, once not having electricity, password, fingerprint, IC-card or radio remote controlled lock are just It can not unlock, in order to be unlocked under without electricity, it is necessary to lock increase external connection battery jack in primary electron or mechanical key is unlocked Lock core, not only brings trouble, and add manufacturing cost.
Applicant on December 5th, 2008 identified patent applications number be 200820169551.0 utility model In patent, a kind of key personal identification lock is disclosed, is a kind of electromechanics one of the both mechanically and electrically dual control of mechanically and electrically road one Body lockset, the habits and customs for keeping people to lock a door, unlock using key, while identity and encrypted message are stored in key, The magnet for being possible to prevent lock core from rotating unlocking is arranged in a magnet coil, circuit when in key insertion lock core in key Connected with the circuit in lock core, now coil is connected in key circuit and lock core between circuit, as shown in Figure 1, wherein A portions Be divided into circuit in key, part B is circuit in lock core, C portion be in the connection circuit of magnet coil and magnet, key circuit with After circuit is connected in lock core, chip is to read in key the identity and encrypted message of chip and by the information and lock core in lock core The information of chip-stored is compared, if comparative result is inconsistent, coil internal magnet is powered and is risen, and is prevented lock core from rotating and is opened Lock, is that coil internal magnet is declined by self gravitation effect to coil blackout if comparative result is consistent, it is allowed to which lock core rotation is opened Lock.
But this lockset is arranged in lock core in circuit and key between circuit due to magnet coil, is the circuit in lock core Data reading circuit to solenoid, when circuit is powered to circuit in key and sends signal in lock core, easily cause electricity Magnetic coil misoperation;And the clock circuit that chip V2 CK pins are connected in key and the data electricity for being connected to DO pins Road is connected directly between on the power supply circuit of VCC pin, and the transmission for easily causing data-signal and power supply signal is chaotic, while code core Piece V1 and clock pulses SCK are connected by resistance R2, therefore chip write-in data must be in key chip resistance R2 into key Before not welding and encapsulating, the increase of the trouble and cost of labor of code data write-in is caused.
In view of this, it is special to propose the present invention.
The content of the invention
The technical problem to be solved in the present invention is to overcome the deficiencies in the prior art to have identity and password intelligence there is provided one kind The Internet of Things lock of energy key, key controller circuit and lock control circuit are rationally designed, and realization power supply is accurate with data message Transmission, whether legal and judge whether lock core unlocks according to the identity and encrypted message in key, reliability and security are significantly Improve.
In order to solve the above technical problems, the present invention is using the basic conception of technical scheme:
A kind of Internet of Things lock with identity and password Intelligent key, including key controller circuit and lock control circuit,
The key controller circuit include crypto chip V1 and peripheral circuit, crypto chip V1 be with for storing and exporting The chip of key based identity and Cryptogram Information Data;The peripheral circuit includes:It is connected to crypto chip V1 power circuit, answers Position circuit and the data circuit for being read data and write-in data by external equipment;The power circuit and data circuit The first electric contact is connected to, the clock input pin that first electric contact is connected to crypto chip V1 constitutes clock circuit;
The lock control circuit includes single-chip microcomputer V2 and forbids unlocking apparatus, some I of the single-chip microcomputer V2 O pins point Power supply circuit, clock control circuit are not connected with and open lock control circuit;The output bus of the lock control circuit is connected to Two electric contacts;An input port of the single-chip microcomputer V2 connects second electric contact;The unlocking control is electrically connected to list Piece machine V2 and forbid between unlocking apparatus controlling to forbid unlocking apparatus;
The communications pins of the single-chip microcomputer are connected with network communication module;
First electric contact and the second electric contact, which can be contacted, makes lock control circuit and key controller circuit turn-on.
Further, in the key controller circuit:
The power circuit includes:The first isolating diode D1 being sequentially connected in series with first electric contact and the second electric capacity C2, the first isolating diode D1 and the series connection node of second electric capacity C2 one end are connected to chip power supply input pin VCC, the second electricity Hold C2 other end connection ground terminal;
The reset circuit includes the first electric capacity C1 and first resistor R1;First electric capacity C1 one end is connected to the confession of chip Electric input pin VCC, the first electric capacity C1 other end are connected with first resistor R1 one end, the first electric capacity C1 and first resistor R1's The other end that series connection node is connected to reset the input pin RST, first resistor R1 of chip is connected to the grounding pin of chip GND;
The data circuit includes:The the second isolating diode D2 and second resistance R2 being sequentially connected in series with the first electric contact, Second isolating diode D2 is connected to the data output pins DI of chip after being connected with second resistance R2;
The grounding pin connection door lock of key controller circuit and lock control circuit, is formed altogether.
Further, the power circuit, reset circuit, data circuit, clock circuit and grounding pin are drawn To key external interface.
Further, the electromagnet for forbidding unlocking apparatus to include magnet coil and be arranged in magnet coil;Institute Two control output pins that stating out lock control circuit is included on control chip V3, control chip V3 connect the electromagnetic wire respectively The two ends of circle;Two input pins of the control chip V3 are respectively connecting to the first I O pins P10 and on single-chip microcomputer V2 Two I O pins P11;Control chip V3 energization pins connect power supply;The grounding pin connection ground terminal of control chip.
Further, the power supply circuit includes the first amplifying circuit G1, the collection of the first amplifying circuit G1 triode Electrode, base stage and emitter stage connect respectively power supply, single-chip microcomputer the 3rd I O pins P12 and second electric contact;
The clock control circuit includes the second amplifying circuit G2, the colelctor electrode of the triode of the second amplifying circuit, base stage Connected respectively with emitter stage second electric contact, single-chip microcomputer the 5th I O pins P14 and ground terminal;In the single-chip microcomputer Inputting testing terminal P13 is connected to the second electric contact formation Single-wire data input circuit.
Further, the lock control circuit also include warning circuit, warning circuit include the 3rd amplifying circuit G3 and Loudspeaker, the base stage of the triode of the 3rd amplifying circuit, collector and emitter connect respectively single-chip microcomputer the 6th I O pins The one of pin of P15, loudspeaker and ground terminal;Another pin of the loudspeaker connects power supply.
Further, the network communication module is WiFi module or SMS module, WiFi module or SMS module Communications reception port and transmission interface connect the serial communication port of the single-chip microcomputer respectively.
Key controller electricity is set in a kind of Internet of Things lock method for unlocking with identity and password Intelligent key, Intelligent key Lock control circuit is set in road, Internet of Things lock core, and the key billet of Intelligent key is conducting metal;
Its method for unlocking includes following execution step:
1.) Intelligent key is initially inserted into lock core, and the second electric contact of lock control circuit is contacted with key billet, key controller Single-chip microcomputer V2 output key insertion signal of the first electric contact short circuit into lock control circuit on circuit, single-chip microcomputer V2 is detected Make to forbid unlocking apparatus to forbid lock core rotation unlocking by opening lock control circuit after the signal;
2.) after Intelligent key is fully-inserted, the first electric contact of key controller circuit and the second electricity of lock control circuit are touched Point contact makes two control circuit turn-ons;Single-chip microcomputer V2 power supply circuit is electric to the power supply of the crypto chip V1 in lock control circuit Road output current is powered to crypto chip V1, and the power source change of the power supply circuit provides clock to the crypto chip V1 Pulse;
3.) the crypto chip V1 electrification resets, lock control circuit power supply circuit and clock control circuit output clock arteries and veins Punching to key cipher chip V1 clock pins, afterwards crypto chip V1 send code data to single-chip microcomputer V2;
4.) single-chip microcomputer V2 is compared the encrypted message that the key cipher chip code data of collection is pre-stored with single-chip microcomputer Right, if comparison result is consistent, single-chip microcomputer output allows unlocking signal positive to lock control circuit, unlocking control circuit output is opened Voltage is to forbidding unlocking apparatus, it is allowed to which lock core is unlocked;If comparison result is inconsistent, single-chip microcomputer is by opening lock control circuit control Unlocking apparatus is forbidden to keep forbidding unlocking;
If 5.) above-mentioned comparison result is consistent, single-chip microcomputer sends key based identity information to network communication module;If comparison result Inconsistent, single-chip microcomputer sends warning message to network communication module;Network communication module will receive information and send to the network platform.
Further, if the code data of the key cipher chip of single-chip microcomputer collection is pre-stored encrypted message with single-chip microcomputer Comparison result is inconsistent, single-chip microcomputer control warning circuit sound equipment warning.
After adopting the above technical scheme, the present invention has the advantages that compared with prior art:There is provided one kind has The Internet of Things lock of identity and password Intelligent key, rationally, isolated data signal circuit and power supply signal are transmitted circuit design Circuit, safe, good reliability has in high security, lock core compared with common machinery, password, fingerprint, clamping lock and controlled Identity and encrypted message are correct legal in Circuit verification key, allow to unlock, and can be by network by the identity of unlocking key Information is sent to mobile devices such as mobile phones;Simultaneously non-legally key unlocking when, lockset of the present invention can sound equipment warn and by net Network, which sends illegal key unlocking information to mobile device notification owners such as mobile phones, to be known;The intelligence of home security door lock is accomplished Change, it is ensured that kinsfolk, the safety of property;Present invention also offers the method for unlocking of Internet of Things lock, the safety of lock is improved Property.
Brief description of the drawings
Fig. 1 is the circuit diagram of key personal identification lock in the prior art;
Fig. 2 is the circuit diagram of Internet of Things lock of the present invention with identity and password Intelligent key;
Fig. 3 is Internet of Things lock workflow diagram of the present invention;
Fig. 4 is the flow chart that Internet of Things of the present invention locks method for unlocking;
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment, the invention will be further described, to help understanding present disclosure. It should be noted that, herein presented connection is circuit connection, it should be noted that element illustrated in the accompanying drawings is not necessarily pressed Ratio is drawn.
As shown in Fig. 2-Fig. 3, a kind of Internet of Things lock with identity and password Intelligent key, including key controller circuit and Lock control circuit,
The key controller circuit includes crypto chip V1 and peripheral circuit, and the peripheral circuit includes:It is connected to close Code chip V1 power circuit, reset circuit and the data circuit for being read data and write-in data by external equipment;Institute State power circuit and data circuit is connected to the first electric contact, first electric contact is connected to crypto chip V1 clock Input pin constitutes clock circuit;
The lock control circuit includes single-chip microcomputer V2 and forbids unlocking apparatus, some (at least three) of the single-chip microcomputer V2 I O pins are connected to power supply circuit, clock control circuit and open lock control circuit;The output bus of the lock control circuit The second electric contact is connected to, the output bus refers to the output of the power supply circuit and clock control circuit;The single-chip microcomputer V2 An input port P13 connections second electric contact constitute data reading circuit;The unlocking control is electrically connected to monolithic Machine V2 and forbid between unlocking apparatus controlling to forbid unlocking apparatus, make to forbid unlocking apparatus to be in forbid lock core to rotate unlocking shape State allows lock core unlocking condition;
The communications pins of the single-chip microcomputer are connected with network communication module;
First electric contact and the second electric contact, which can be contacted, makes lock control circuit and key controller circuit turn-on.
In the key controller circuit:
Power circuit is used for the working power for providing the first chip V1, and it includes:It is sequentially connected in series with first electric contact The first isolating diode D1 and the second electric capacity C2, the first isolating diode D1 and the series connection node of second electric capacity C2 one end connection To chip power supply input pin VCC, the second electric capacity C2 other end connection ground terminal;Diode D1 is to inputting through the first electric contact Electric pulse carries out rectification and inputs the first chip power supply pin, and electric capacity C2 plays pressure stabilization function.
The reset circuit is used for the first chip V1 reset, and it includes the first electric capacity C1 and first resistor R1;First electricity Supply input pin VCC, the first electric capacity C1 that the one end for holding C1 is connected to the chip other end are connected with first resistor R1 one end, First electric capacity C1 and first resistor R1 series connection node is connected to the reset input pin RST of chip, and first resistor R1's is another End is connected to the grounding pin GND of chip, realizes that electric high level resets on crypto chip;
The key cipher chip data circuit includes:The second isolating diode D2 for being sequentially connected in series with the first electric contact and Second resistance R2, the second isolating diode D2 are connected to the data output pins DI of chip after being connected with second resistance R2;Isolation Diode ensure that the isolation of the first chip power supply and read-write data.
The grounding pin connection door lock of key controller circuit and lock control circuit, is formed altogether.
Crypto chip V1 supply input pin VCC, clock input pin SCK, reset input are drawn in key controller circuit Pin RST and the equal circuits of data output pins DI lead to the first electric contact on the key, realize that single line reads key cipher data Function, crypto chip grounding pin GND circuits lead to key billet body, after key insertion lock core, the first electricity of key Second electric contact of contact and lock core is connected, and key billet body is contacted altogether with lock core, forms the interface of a pair of reading data.
In former patent (Application No. 200820169551.0), because there is no isolating diode D2, after resistance R2 welding, clock Pulse pin SCK is influenceed by data output pins DI level, it is impossible to write data into crypto chip;Increase isolating diode D2 After isolation, data output pins DI level is unrelated with clock pulses SCK, therefore after crypto chip being machined and sealed Again by writing key cipher chip;The power circuit, reset circuit, data circuit, clock circuit and grounding pin draw Go out to key external interface, it draws contact contact 1,2,4,3,5 as shown in Figure 2, for writing code data, both simply, It is convenient, reliable and cost-effective.Key controller circuit structure of the present invention is simple, element is few, stable and reliable in work.
In lock control circuit, the power supply circuit includes the first amplifying circuit G1, the first amplifying circuit G1 triode Colelctor electrode, base stage and emitter stage connect respectively power supply, single-chip microcomputer the 3rd I O pins P12 and second electric contact;
The clock control circuit includes the second amplifying circuit G2, the colelctor electrode of the triode of the second amplifying circuit, base stage Connected respectively with emitter stage second electric contact, single-chip microcomputer the 5th I O pins P14 and ground terminal;In the single-chip microcomputer Input port P13 is connected to the second electric contact formation Single-wire data input circuit.
Touched in first electric contact of key controller circuit and the second contact of lock control single channel, contact point such as Fig. 2 Shown in point 6, lock control circuit single-chip microcomputer V2 controls the first amplifying circuit G1 conductings in power supply circuit, the first amplifying circuit afterwards G1 exports high level and powered to key cipher chip V1, while providing positive clock signal, crypto chip V1 passes through power supply electricity Powered after the first isolating diode D2 isolation on road, while charged to the first electric capacity, the second electric capacity C2, just during upper electricity, first Electric capacity C1 provides high level reset signal to crypto chip V1 reset pin RST, after the first electric capacity C1 is fully charged, what it was connected First resistor R1 drags down crypto chip V1 reset pin RST, and crypto chip V1 enters normal operating conditions, as single-chip microcomputer V2 The first amplifying circuit G1 is controlled to end, when stopping power supply, key controller circuit is isolated by the first isolating diode D1, electric capacity C2 It can discharge and provide working power to crypto chip V1, in amplifying circuit G1 cut-offs, when stopping being powered, single-chip microcomputer V2 is controlled simultaneously Second amplifying circuit G2 is turned on, and negative clock pulse signal is provided to crypto chip V1;Under clock pulses effect, crypto chip V1 Output pin D1 output password data, code data is transported to single-chip microcomputer V2's through second resistance R2 and the second isolating diode D2 Input port P13, this completes the process that lock core reads password in key.
The electromagnet DCT for forbidding unlocking apparatus to include magnet coil L1 and be arranged in magnet coil L1;It is described to open Two controls output pin OA, OB that lock control circuit is included on control chip V3, control chip V3 connect the electromagnetism respectively Coil L1 two ends;The first I O that two input pins IA, IB of the control chip V3 are respectively connecting on single-chip microcomputer V2 draw Pin P10 and the 2nd I O pins P11;Control chip V3 energization pins VCC connects power supply;The grounding pin GND connections of control chip Ground terminal.
Forbid unlocking apparatus by unlocking control chip V3 independent controls, it is accurate that raising electromagnet works in magnet coil Property and reliability.The I of single-chip microcomputer O pins P10, P11 to unlocking control chip two signal input pins IA, IB send control Signal processed, two signal output pins OA, OB of the change control signal chip of control signal change magnet coil L1 two ends electricity The polarity of pressure, the change in polarity of coil both end voltage makes electromagnet DCT be moved up and down in coil, then forbids lock core to rotate Unlock or allow lock core to rotate and unlock.
The lock control circuit also includes warning circuit, and warning circuit includes the 3rd amplifying circuit G3 and loudspeaker, the 3rd The base stage of the triode of amplifying circuit, collector and emitter connect respectively single-chip microcomputer the 6th I O pins P15, loudspeaker its In a pin and ground terminal;Another pin of the loudspeaker connects power supply.
The network communication module is WiFi module or SMS module V4, WiFi module or SMS module V4 communications reception Port RX and sending port TX connect the communication sending port TX and receiving port RX of the single-chip microcomputer V2 respectively;The WiFi or SMS module V4 energization pins VCC and grounding pin VSS connects power supply and ground terminal respectively.
Single-chip microcomputer sends the information of unlocking key and time to network by WiFi or SMS module, and the network platform will be opened Lock information and time is sent on the mobile device such as mobile phone of lockset setting, the identity information due to the chip memory in key Owner, child, old man, nurse etc. can be divided into, therefore mobile phone owner is able to know that family person of unlocking's identity the very first time, such as it is small When child is left school, and when outgoing old man or nurse be is come back etc.;If illegal unlock, then the network platform Illegal unlock information and time are sent to master cellular phone, so that owner knows the accident that family occurs, emergent arrange is taken in time Apply, it is ensured that the safety of family, realize the intellectuality and networking of safe-guard door lock, increase the sense of security of owner.
Identity and password of the lock control circuit of the present invention in key controller circuit differentiate whether unlocking key is legal, Legal key just allows to unlock, it is allowed to locksmith, public security technology unlocking, and locksmith's key must be that legal locksmith's key ability technology is opened Lock, so-called legal locksmith's key is exactly the locksmith for installing lock, is authorized through owner and agrees to that carrying out locksmith's identity and code data stores Key, it is ensured that locksmith's key is prevented master key from losing when can not open the door, locksmith, public security technology can be asked to open using safety Lock, releases master key and loses the predicament that can not be opened the door;Illegal key is forbidden unlocking, and sends illegal unlock information by network To master cellular phone and alarm.
Password in key gives the rights and interests that can key unlock, and key based identity code gives to send by Internet of Things and opened Lock key identity to master cellular phone information, allow owner know the very first time family occur all, realize key use and The intellectuality of home security door lock, improves the safety of family.
As shown in Figure 4, and Fig. 3 is combined, a kind of above-mentioned Internet of Things lock with identity and password Intelligent key is unlocked Set in method, Intelligent key in key controller circuit, Internet of Things lock core and lock control circuit is set, the key billet of Intelligent key is The conducting metals such as copper, iron are made;Step is performed including following:
1.) during in Intelligent key insertion lock core, the second electric contact of lock control circuit is contacted with key billet, key controlled Single-chip microcomputer V2 output key insertion signal of the first electric contact short circuit into lock control circuit on circuit processed, single-chip microcomputer V2 detections Make to forbid unlocking apparatus to forbid lock core rotation unlocking by opening lock control circuit after to the signal;
2.) after Intelligent key is fully-inserted, the first electric contact of key controller circuit and the second electricity of lock control circuit are touched Point contact makes two control circuit turn-ons;Single-chip microcomputer V2 power supply circuit is electric to the power supply of the crypto chip V1 in lock control circuit Road output current is powered to crypto chip V1, and the power source change of the power supply circuit provides clock to the crypto chip V1 Pulse;
3.) the crypto chip V1 electrification resets, lock control circuit power supply circuit and clock control circuit output clock arteries and veins Punching to key cipher chip V1 clock pins, afterwards crypto chip V1 send code data to single-chip microcomputer V2;
4.) single-chip microcomputer V2 is compared the encrypted message that the key cipher chip code data of collection is pre-stored with single-chip microcomputer Right, if comparison result is consistent, single-chip microcomputer output allows unlocking signal positive to lock control circuit, unlocking control circuit output is opened Voltage is to forbidding unlocking apparatus, it is allowed to which lock core is unlocked;If comparison result is inconsistent, single-chip microcomputer is by opening lock control circuit control Unlocking apparatus is forbidden to keep forbidding unlocking;
If 5.) above-mentioned comparison result is consistent, single-chip microcomputer sends key based identity information to WiFi module or SMS module;If than Inconsistent to result, single-chip microcomputer sends warning message to WiFi module or SMS module;WiFi module or SMS module will be received Information is sent to WiFi network or SMS platform.
Specifically, during key insertion lock core, there is provided key for the second contact of key billet and lock control circuit Unlocking signal, single-chip microcomputer V2 sends control signal to unlocking control chip V3, unlocking control chip V3 is changed magnet coil L1 The polarity of voltage at two ends, control electromagnet DCT, which rises, to be forbidden unlocking;After the fully-inserted lock core of key, in key controller circuit First electric contact connects (its contact is as shown in contact 6 in Fig. 2) with two electric contacts of lock control circuit, and crypto chip V1 passes through electricity Source circuit provides working power, and is resetted by reset circuit;After crypto chip V1 resets, single-chip microcomputer V2 is put by control first Big circuit G1 and the second amplifying circuit G2 level changes provides clock pulse signal to crypto chip, in clock pulses effect Under, crypto chip output password data to the first electric contact, the inputting testing terminal P13 of single-chip microcomputer reads the key cipher.
The key cipher data of reading are compared by single-chip microcomputer V2 with information data pre-stored in single-chip microcomputer V2, if number It is consistent according to contrast, single-chip microcomputer V2 I O pins P10 outputs low level, I O pins P11 output high level, to magnet coil L1 two End provides forward voltage, and control electromagnet DCT declines, and departs from lock core, the consistent legal key of tooth form can unlock, while monolithic Machine V2 sends legal unlocking key information to house by communication interface RX, TX serial communication controlling WiFi or short message communication module Master cellular phone;When comparing result is inconsistent, single-chip microcomputer V2 passes through communication interface RX, TX serial communication controlling WiFi or short message communication Module sends illegal unlock information to master cellular phone;After WIFI or short message are sent, single-chip microcomputer V2 controlling loudspeaker O1 sound equipments Alarm.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (9)

1. a kind of Internet of Things lock with identity and password Intelligent key, including key controller circuit and lock control circuit, it is special Levy and be:
The key controller circuit includes crypto chip V1 and peripheral circuit, and the peripheral circuit includes:It is connected to code core Piece V1 power circuit, reset circuit and the data circuit for being read data and write-in data by external equipment;The electricity Source circuit and data circuit are connected to the first electric contact, and first electric contact is connected to crypto chip V1 clock input Pin constitutes clock circuit;
The lock control circuit includes single-chip microcomputer V2 and forbids unlocking apparatus, some I of the single-chip microcomputer V2 O pins connect respectively It is connected to power supply circuit, clock control circuit and opens lock control circuit;The output bus of the lock control circuit is connected to the second electricity Contact;An input port of the single-chip microcomputer V2 connects second electric contact;The unlocking control is electrically connected to single-chip microcomputer V2 and forbid between unlocking apparatus controlling to forbid unlocking apparatus;
The communications pins of the single-chip microcomputer are connected with network communication module;
First electric contact and the second electric contact, which can be contacted, turns on key controller circuit and lock control circuit;
The data circuit includes:The second isolating diode D2 for being sequentially connected in series with the first electric contact and second resistance R2, second Isolating diode D2 is connected to crypto chip V1 data output pins DI after being connected with second resistance R2;
The electromagnet for forbidding unlocking apparatus to include magnet coil and be arranged in magnet coil;It is described to open lock control circuit bag Include the two ends that two on control chip V3, control chip V3 control output pins connect the magnet coil respectively;The control Coremaking piece V3 two input pins are respectively connecting to the first I O pins P10 and the 2nd I O pins P11 on single-chip microcomputer V2;It is single The I of piece machine O pins P10, P11 send control signals, the change core of control signal to control chip V3 two input pins Two output pins of piece change the polarity of magnet coil both end voltage.
2. the Internet of Things lock according to claim 1 with identity and password Intelligent key, it is characterised in that:The key Control in circuit:
The power circuit includes:The the first isolating diode D1 and the second electric capacity C2 being sequentially connected in series with first electric contact, First isolating diode D1 and the series connection node of second electric capacity C2 one end are connected to crypto chip V1 supply input pin VCC, the Two electric capacity C2 other end connection ground terminal;
The reset circuit includes the first electric capacity C1 and first resistor R1;First electric capacity C1 one end is connected to crypto chip V1's Supply input pin VCC, the first electric capacity C1 other end are connected with first resistor R1 one end, the first electric capacity C1 and first resistor R1 Series connection node be connected to crypto chip V1 reset input pin RST, the first resistor R1 other end is connected to crypto chip V1 grounding pin GND;
The data circuit includes:The second isolating diode D2 for being sequentially connected in series with the first electric contact and second resistance R2, second Isolating diode D2 is connected to crypto chip V1 data output pins DI after being connected with second resistance R2;
The grounding pin connection door lock of key controller circuit and lock control circuit, is formed altogether.
3. the Internet of Things lock according to claim 2 with identity and password Intelligent key, it is characterised in that:Key controller The power circuit, reset circuit, data circuit, clock circuit and crypto chip V1 grounding pins in circuit are led to Key external interface.
4. the Internet of Things lock according to claim 1 with identity and password Intelligent key, it is characterised in that:It is described to forbid Unlocking apparatus includes magnet coil and the electromagnet being arranged in magnet coil;The lock control circuit of opening includes control chip Two control output pins on V3, control chip V3 connect the two ends of the magnet coil respectively;The control chip V3's Two input pins are respectively connecting to the first I O pins P10 and the 2nd I O pins P11 on single-chip microcomputer V2;Control chip V3's Energization pins connect power supply;Control chip V3 grounding pin connection ground terminal.
5. the Internet of Things lock according to claim 1 with identity and password Intelligent key, it is characterised in that:The power supply Circuit includes the first amplifying circuit G1, and colelctor electrode, base stage and the emitter stage of the first amplifying circuit G1 triode connect electricity respectively Source, single-chip microcomputer V2 the 3rd I O pins P12 and second electric contact;
The clock control circuit includes the second amplifying circuit G2, colelctor electrode, base stage and the hair of the triode of the second amplifying circuit Emitter-base bandgap grading connect respectively second electric contact, single-chip microcomputer V2 the 5th I O pins P14 and ground terminal;In the single-chip microcomputer V2 Input port P13 is connected to the second electric contact formation Single-wire data input circuit.
6. the Internet of Things lock according to claim 1 with identity and password Intelligent key, it is characterised in that:The lock control Circuit processed also includes warning circuit, and warning circuit includes the 3rd amplifying circuit G3 and loudspeaker, the triode of the 3rd amplifying circuit Base stage, collector and emitter connect respectively single-chip microcomputer V2 the 6th I O pins P15, the one of pin of loudspeaker and Ground terminal;Another pin of the loudspeaker connects power supply.
7. the Internet of Things lock with identity and password Intelligent key according to claim 1,4 and 5 any one, its feature exists In:The network communication module is WiFi module or SMS module, WiFi module or the communications reception port of SMS module and hair Interface is sent to connect the serial communication port of the single-chip microcomputer respectively.
8. a kind of Internet of Things lock method for unlocking with identity and password Intelligent key, it is characterised in that:Set in Intelligent key Lock control circuit is set in key controller circuit, Internet of Things lock core, and the key billet of Intelligent key is conducting metal;
Its method for unlocking includes following execution step:
1.) Intelligent key is initially inserted into lock core, and the second electric contact of lock control circuit is contacted with key billet, key controller circuit On single-chip microcomputer V2 output key insertion signal of the first electric contact short circuit into lock control circuit, single-chip microcomputer V2 detects the letter Make to forbid unlocking apparatus to forbid lock core rotation unlocking by opening lock control circuit after number;
2.) after Intelligent key is fully-inserted, the first electric contact of key controller circuit and the second electric contact of lock control circuit connect Touching makes two control circuit turn-ons;The power circuit of from single-chip microcomputer V2 power supply circuit to the crypto chip V1 are defeated in lock control circuit Go out electric current to power to crypto chip V1, and the power source change of the power supply circuit provides clock arteries and veins to the crypto chip V1 Punching;
3.) the crypto chip V1 electrification resets, lock control circuit power supply circuit and clock control circuit output clock pulses are extremely Key cipher chip V1 clock pins, afterwards crypto chip V1 send code data to single-chip microcomputer V2;
4.) single-chip microcomputer V2 is compared the crypto chip V1 of collection code data with the single-chip microcomputer V2 encrypted messages being pre-stored Right, if comparison result is consistent, single-chip microcomputer V2 outputs allow unlocking signal to lock control circuit is opened, and unlocking control circuit output is just To voltage to forbidding unlocking apparatus, it is allowed to which lock core is unlocked;If comparison result is inconsistent, single-chip microcomputer V2 is by opening lock control circuit Control forbids unlocking apparatus to keep forbidding unlocking;
If 5.) above-mentioned comparison result is consistent, single-chip microcomputer sends key based identity information to network communication module;If comparison result differs Cause, single-chip microcomputer V2 sends warning message to network communication module;Network communication module will receive information and send to the network platform;
Wherein during key insertion lock core, there is provided key unlocking letter for the second contact of key billet and lock control circuit Number, single-chip microcomputer V2 sends control signal to unlocking control chip V3, unlocking control chip V3 is changed magnet coil L1 two ends Polarity of voltage, control electromagnet DCT, which rises, to be forbidden unlocking;If data comparison is consistent, positive electricity is provided to magnet coil L1 two ends Pressure, control electromagnet DCT declines, and departs from lock core, and the consistent legal key of tooth form can unlock.
9. method for unlocking according to claim 8, it is characterised in that:If the key cipher chip V1's of single-chip microcomputer V2 collections is close Code data and the pre-stored encrypted message comparison results of single-chip microcomputer V2 are inconsistent, single-chip microcomputer V2 control warning circuit sound equipment warnings.
CN201510346333.4A 2015-06-19 2015-06-19 Internet of Things lock and method for unlocking with identity and password Intelligent key Active CN104992486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510346333.4A CN104992486B (en) 2015-06-19 2015-06-19 Internet of Things lock and method for unlocking with identity and password Intelligent key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510346333.4A CN104992486B (en) 2015-06-19 2015-06-19 Internet of Things lock and method for unlocking with identity and password Intelligent key

Publications (2)

Publication Number Publication Date
CN104992486A CN104992486A (en) 2015-10-21
CN104992486B true CN104992486B (en) 2017-10-24

Family

ID=54304294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510346333.4A Active CN104992486B (en) 2015-06-19 2015-06-19 Internet of Things lock and method for unlocking with identity and password Intelligent key

Country Status (1)

Country Link
CN (1) CN104992486B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107564160A (en) * 2017-09-12 2018-01-09 北京路可视物联网技术有限公司 Cloud intelligence lock operation method
CN108118974A (en) * 2018-02-05 2018-06-05 攀枝花学院 Lockset and key with random cipher
CN108830976B (en) * 2018-05-03 2021-07-20 芜湖懒人智能科技有限公司 Electronic door lock control circuit
CN109147105A (en) * 2018-06-29 2019-01-04 贵安新区搜床科技有限公司 A kind of control method for door lock, terminal device and computer readable storage medium
CN110443915B (en) * 2019-06-24 2023-04-18 深圳绿米联创科技有限公司 Door lock control method, control device, door lock and storage medium
CN115331332A (en) * 2022-06-30 2022-11-11 中国第一汽车股份有限公司 Intelligent lock based on chip encryption and unlocking method
CN115288526B (en) * 2022-06-30 2024-02-06 上海创米智能科技有限公司 Intelligent door and dual authentication method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2217077Y (en) * 1995-07-21 1996-01-10 北京亿鑫企业发展总公司 Electronic puzzle lock
CN2252860Y (en) * 1996-06-04 1997-04-23 罗阳彬 Multifunction electronic key type puzzle lock
CN2586787Y (en) * 2002-06-17 2003-11-19 陈圣局 Mechanical electronic combination tapered end
CN200990109Y (en) * 2006-09-01 2007-12-12 蔡林强 Key identity recognition intelligent lock
CN201598914U (en) * 2009-12-11 2010-10-06 顾刚 Intelligent anti-theft lock of safety cabinet
JP5567203B1 (en) * 2013-12-14 2014-08-06 株式会社ボックス Bicycle sharing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2340851Y (en) * 1998-04-29 1999-09-29 石易 Electronic lock with dynamic random codes and key thereof
CN201092778Y (en) * 2007-09-28 2008-07-30 安徽省电力公司淮南供电公司 Low-power consumption electronic lock pipe control circuit and key circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2217077Y (en) * 1995-07-21 1996-01-10 北京亿鑫企业发展总公司 Electronic puzzle lock
CN2252860Y (en) * 1996-06-04 1997-04-23 罗阳彬 Multifunction electronic key type puzzle lock
CN2586787Y (en) * 2002-06-17 2003-11-19 陈圣局 Mechanical electronic combination tapered end
CN200990109Y (en) * 2006-09-01 2007-12-12 蔡林强 Key identity recognition intelligent lock
CN201598914U (en) * 2009-12-11 2010-10-06 顾刚 Intelligent anti-theft lock of safety cabinet
JP5567203B1 (en) * 2013-12-14 2014-08-06 株式会社ボックス Bicycle sharing system

Also Published As

Publication number Publication date
CN104992486A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104992486B (en) Internet of Things lock and method for unlocking with identity and password Intelligent key
JP7267627B2 (en) digital lock
CN105952279B (en) A kind of intelligent door lock
CN103081370A (en) Securing of a telecommunication device including a near-field communication module
CN205176959U (en) Intelligent door lock
CN105155940A (en) Intelligent door lock system
EP2159953B1 (en) Control apparatus, control system, control method and storage medium
CN101424141A (en) Key personal identification lock
CN105178721A (en) Energy-saving safety door lock control device
CN205063577U (en) Thing networking lock suitable for two -sided contact intelligent key
CN101453326A (en) Close range wireless communication personal identification method and mobile terminal
CN203759781U (en) Bluetooth intelligent lock
EP3889919A1 (en) System and method of improving security during backup functionality of electronic control key
CN205297041U (en) Electronic lock of compatible electron password of NFC cell -phone unblock
CN201310241Y (en) Lock for identifying key identity
CN213027505U (en) Power supply package
CN107558818A (en) One kind can network intelligent door lock and its method of work
CN105023320A (en) Bluetooth intelligent lock and method for remotely controlling Bluetooth intelligent lock through Bluetooth mobile terminal
CN103793984A (en) Bluetooth-based hidden door lock control device
CN107558821A (en) A kind of intelligent door lock and its method for unlocking
CN202679473U (en) Mobile phone control system of intelligent anti-theft lock
CN200990109Y (en) Key identity recognition intelligent lock
CN205722057U (en) A kind of electronic lock easily connecing lock module and there is this module
CN104751551A (en) Main control panel for electronic clock, control circuit of electronic lock, system and method
CN204729089U (en) There is the Internet of Things lock control circuit of identity and password Intelligent key

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant