CN104948025A - Bidirectional communication combination lock - Google Patents

Bidirectional communication combination lock Download PDF

Info

Publication number
CN104948025A
CN104948025A CN201410109043.3A CN201410109043A CN104948025A CN 104948025 A CN104948025 A CN 104948025A CN 201410109043 A CN201410109043 A CN 201410109043A CN 104948025 A CN104948025 A CN 104948025A
Authority
CN
China
Prior art keywords
key
lock
module
microprocessor
communication module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410109043.3A
Other languages
Chinese (zh)
Inventor
李仕平
许加庆
杨群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410109043.3A priority Critical patent/CN104948025A/en
Publication of CN104948025A publication Critical patent/CN104948025A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a bidirectional communication combination lock. The bidirectional communication combination lock comprises a key microprocessor 1, a key programming interface 2, a key clock module 3, a key power supply module 4, a key button module 5, a key communication module 6, a lock microprocessor 7, a lock programming interface 8, a lock clock module 9, a lock power supply module 10, a lock communication module 11, an input module 12, a display 13, an indicating lamp 14, a loudspeaker 15, and a mechanical lock body 16. According to the bidirectional communication combination lock, ID data of a key can be encrypted to random data which changes in real time and is sent to a lock, the ID data is decrypted by the lock and encrypted and sent to the key, the key decrypts the ID data, unlock data is encrypted and sent to the lock, and the lock decrypts an unlock password and performs unlocking; the key and the lock are both provided with standby emission elements and receiving elements, in the normal communication condition, one element works, the other element is standby, and automatic switching can be realized; and in this way, the lock has great security and stability.

Description

Both-way communication coded lock
Technical field
The present invention relates to a kind of electric lockset, particularly relate to a kind of both-way communication coded lock.
Background technology
At present, market there is various electronic lock, bringing easily simultaneously, also there are some safety defects.Utility model patent CN200820084414.7 discloses a kind of electronic lock utilizing fiber optic conduction light password for this reason, by 12 light beams, unlocking cipher is formed to the irradiation of light resistor, but its beam signal sent easily extremely is read, thus there is the risk be replicated, unlocking cipher is jointly determined by 12 light beams simultaneously, there is individual light emitting elements and damage and cause the problem that cannot unblank.Utility model patent CN201220336251.3 discloses the light-operated coded lock of a kind of single optical head, decrease the quantity of light beam, reduce and cause because individual light emitting elements damages the probability that cannot unblank, but shaven head for subsequent use is not set, so also can there is single shaven head to damage the problem causing unblanking, there is the problem easily read in the visible ray password that this light beam sends in addition too.Patent of invention CN201210261793.3 discloses the two-way interactive control method between a kind of smart lock and Intelligent key; three communications have been carried out between lock & key; protect unlocking pin to a certain extent; but due to No. ID of Intelligent key described in it with unlock packet and do not carry out encrypting and be the data of non real-time change; so larger possibility of divulging a secret still can be there is, also there is communication element simultaneously and damage thus the problem that cannot complete unblock.
Summary of the invention
Object of the present invention solves the above-mentioned problems in the prior art exactly, a kind of both-way communication coded lock is provided, the random data that it is real-time change that this both-way communication coded lock can realize the ID data encryption of key sends to lock, be encrypted after lock decrypts ID data and sent to key, after key decrypts ID data, unlock data is encrypted and issues lock, unblank after lock decrypts unlocking pin, in addition key all has radiated element for subsequent use and receiving element with locking, the next element of normal communication situation is in work, an element is for subsequent use, and can automatically switch.
For achieving the above object, technical solution of the present invention is: both-way communication coded lock, comprises key microprocessor, key DLL, key clock module, key power module, key key-press module, key communication module, lock microprocessor, lock DLL, lock clock module, lock power module, lock communication module, input module, display, indicator lamp, loudspeaker, mechanical lock.Described key microprocessor is connected with key DLL, key clock module, key power module, key key-press module, key communication module circuit.Described lock microprocessor with lock DLL, lock clock module, lock power module, lock communication module, input module, display, indicator lamp, loudspeaker, mechanical lock circuit be connected.
Described key key-press module sends the signal of telecommunication to key microprocessor, after key microprocessor is encrypted calculating according to the ID data of key, produce a random data signals A, by key communication module, random data signals A is sent to lock communication module, the random data signals A received is sent to lock microprocessor by lock communication module, lock microprocessor decodes the ID data of key from random data signals A according to the decipherment algorithm of correspondence, and the ID data of key are encrypted and produce random data signals B, by lock communication module, random data signals B is sent to key communication module, the random data signals B received is sent to key microprocessor by key communication module, key microprocessor will decode the ID data of key according to the decipherment algorithm of correspondence and verify from random data signals B, after being verified, unlocking pin can be encrypted and produce random signal C by key microprocessor, by key communication module, random data signals C is sent to lock communication module, the random data signals C received is sent to lock microprocessor by lock communication module, lock microprocessor decodes the unlocking pin of key according to the decipherment algorithm of correspondence and verifies from random data signals C, after being verified, lock microprocessor will send instruction to mechanical lock, carry out unlock operation.
Medium of communication between described key communication module and lock communication module is optical signal and is contactless communication, optical signal send mode serial mode.Key communication module and key microprocessor, lock communication module and lock microprocessor, medium of communication lock between microprocessor and mechanical lock are the signal of telecommunication, the communication of dependence circuit.
As preferably, the optical signal of described communication is the sightless infrared signals of naked eyes, can prevent optical signal from being read by simple filming instrument, has better secret effect.
Described key communication module all comprises 2 radiated elements and 2 receiving elements with lock communication module, and radiated element is for sending optical signal, and receiving element is used for receiving optical signals.
As preferably, key communication module arranges all in straight line with radiated element on lock communication module and receiving element, 2 radiated elements on key communication module are in inner side, 2 receiving elements are in outside, 2 radiated elements of lock communication module then correspond to 2 receiving elements of key communication module in outside, can ensure that no matter key such as opinion is that forward is placed or oppositely placed smoothly and to be locked into work and interrogates like this.
The ID data of described key and unlocking pin are a kind of data messages by the typing in key microprocessor of key DLL in key manufacturing process, just can not modify once typing and not be read out by DLL, each key all correspond to unique ID data and unlocking pin.
Described random data signals A, random data signals B and the AES that the production process of random data signals C adopts all with random number seed and at that time the time relevant, but it is all not identical to produce the AES that above-mentioned 3 signals use, and the decipherment algorithm corresponding with AES is all not identical yet.
Described random number seed carries out analog to digital conversion by the magnitude of voltage of key microprocessor or certain unsettled pin of lock microprocessor respectively, and this magnitude of voltage changes with the noise of system, is the variable of a completely random.
The described time is at that time corresponding key clock module or the temporal information of lock represented by clock module when being encrypted by key or lock or being deciphered, and this temporal information reads standard and is accurate to 1 minute.
The time that described key clock module records with lock clock module is consistent.If because when the reason such as power-off causes Time Inconsistency, can Auto-matching be carried out.Auto-matching process only needs key communication module to aim at lock communication module, length presses key button more than 2 seconds, key microprocessor will send request signal match time by key communication module to lock communication module, request signal match time received is sent to lock microprocessor by lock communication module, after lock microprocessor receives request signal, lock temporal information is at that time sent to lock communication module, temporal information is sent to key communication module by lock communication module again, temporal information is sent to key microprocessor by key communication module, key microprocessor sends instruction and modifies to the time of key clock module to key, to reach the time consistency of key and lock.
Random data signals A is encrypted calculating by the time at that time of the ID data of key, key random number seed and key clock module, and contains the data message of key random number seed in random data signals A.Lock microprocessor, before being decrypted random data signals A, can judging the signal length of random data signals A, only when signal length is a certain setting value, just can be decrypted random data signals A.When lock microprocessor is decrypted random data signals A, the time at that time of the lock clock module called now and the key random number seed be included in random data signals A is needed to be decrypted the ID data of key by decipherment algorithm.Time required for whole communication is extremely of short duration, so the time at that time of the lock clock module called when the time at that time of key clock module corresponding during key generation random data signals A and lock decrypted random data-signal A should be consistent, this just can ensure the ID data consistent of the data that lock microprocessor decrypts and key.
Random data signals B carries out another kind of computations by the time at that time of the ID data of key, lock random number seed and lock clock module, and contains the data message of lock random number seed in random data signals B.Key microprocessor, before being decrypted random data signals B, can judge the signal length of random data signals B, only when signal length is a certain setting value, just can be decrypted random data signals B.When key microprocessor is decrypted random data signals B, the time at that time of the key clock module called now and the lock random number seed be included in random data signals B is needed to be decrypted the ID data of key by another kind of decipherment algorithm.Time required for whole communication is extremely of short duration, so the time at that time of lock clock module corresponding during lock generation random data signals B should be consistent with the time at that time of the key clock module called during key decrypted random data-signal B, this just can ensure the ID data consistent of the data that key microprocessor decrypts and key.The data only having key microprocessor to decrypt and the ID data consistent of key, key just can send out random data signals C.
Random data signals C carries out the third computations by the time at that time of the unlocking pin of key, key random number seed and key clock module, and contains the data message of key random number seed in random data signals C.Lock microprocessor, before being decrypted random data signals C, can judging the signal length of random data signals C, only when signal length is a certain setting value, just can be decrypted random data signals C.When lock microprocessor is decrypted random data signals C, the time at that time of the lock clock module called now and the key random number seed be included in random data signals C is needed to be decrypted the unlocking pin of key by the third decipherment algorithm.Time required for whole communication is extremely of short duration, so the time at that time of the lock clock module called when the time at that time of key clock module corresponding during key generation random data signals C and lock decrypted random data-signal C should be consistent, this just can ensure that the data that lock microprocessor decrypts are consistent with the unlocking pin of key.When the unlocking pin decrypted is with when the unlocking pin locking typing in microprocessor is consistent, lock microprocessor just can send unlock command and unblank to mechanical lock.
Described key power module adopts the button cell of 2 pieces of 3V to reduce the size of key, externally exports the direct current of 6V.What lock power module adopted is the dry cell of 4 pieces of 1.5V, externally exports the direct current of 6V.
Described input module logs in password for inputting log in password, interpolation key, deletion key and the amendment that log in lock system, when carrying out input operation, display can demonstrate corresponding information.After login system can, select to add after function of key, by key communication module with lock after communication module aims at, can interpolation be completed by the button on 1 key key-press module.After selecting to delete function of key, display can show the situation of all keys added, according to the key needing selection to be deleted of oneself, click the deletion confirming to complete key.Select amendment login password function, after needing to input existing login password, the new password that twice input is identical, then clicks and determines to complete amendment.
Described indicator lamp and loudspeaker, for pointing out the state of operation, have different performances under different modes of operation.
Described lock communication module is welded on 2 pieces of circuit boards with lock microprocessor respectively, adopts wire to connect, maintain a certain distance between 2 pieces of circuit boards between 2 pieces of circuit boards.
As preferably, distance between described lock communication module and lock microprocessor remains on more than 10 centimetres, the position of lock communication module is adjacent with the position of mechanical lock, the position of lock microprocessor is positioned at directly over lock communication module and to be hidden in the door body of installation inner, in time locking communication module and be destroyed, can also guarantee that lock microprocessor is not destroyed.
Described mechanical lock comprises mechanical lock and motor, and motor can carry out unlock operation or upper latching operation according to the instruction received to mechanical lock.
Beneficial effect of the present invention is: three communication process of both-way communication coded lock are all encrypted, and AES all have invoked random number seed and time at that time of real-time change, and this has randomness and ageing with regard to making the data-signal after encrypting.Even if adopt the instrument of specialty to carry out digital independent; the data-signal obtained also is a real-time change; and will lose efficacy after 1 minute; so the data-signal of key and cipher mode all can not be cracked; adopt the both-way communication mode between key and lock better to protect the safety of unlocking pin simultaneously, thus ensure that key can not crack with not reproducible.Be provided with radiated element for subsequent use and receiving element simultaneously, can ensure, when Individual elements damages, still can complete communication smoothly, unblank smoothly.
Accompanying drawing explanation
Fig. 1 is overall structure schematic diagram of the present invention.
Fig. 2 is the circuit theory diagrams of key.
Fig. 3 is the circuit theory diagrams of lock.
Fig. 4 is communication flow figure of the present invention.
In figure, 1 is key microprocessor, and 2 is key DLL, 3 is key clock module, and 4 is key power module, and 5 is key key-press module, 6 is key communication module, and 7 is lock microprocessor, and 8 is lock DLL, 9 is lock clock module, and 10 is lock power module, and 11 is lock communication module, 12 is input module, and 13 is display, and 14 is indicator lamp, 15 is loudspeaker, and 16 is mechanical lock.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention will be further described.
Embodiment 1: as shown in Figure 1, the present embodiment comprises key and lock two parts, relies on key communication module 6 to carry out the both-way communication of two parts with lock communication module 11.Key DLL 2 only key microprocessor 1 is programmed and the ID data of typing key and unlocking pin time use, completing above work can be encrypted key microprocessor 1, forbids accessed.Key key-press module 5 is unique buttons on the key, and short when pressing 1 time, key enters unlock mode, and long by more than 2 seconds, key enters Auto-matching temporal mode.Key clock module 3 can record the time in the moment, be also if in uniquely do not carry out the module of dormancy.In order to reduce the volume and weight of key, key power module 4 adopts the button cell series-fed of 2 CR2025 models.In order to the power consumption of key, above key, indicator lamp is not set, and except key clock module 3, all the other all modules are equal dormancy after standby 1 second, and key microprocessor 1 adopts the processor of micro-low power consumption.
The ID data of described key and unlocking pin are the password of 4 256 systems, and number of combinations reaches 1,000,000,000 ranks, and safe class is high.
The unsettled pin that key microprocessor 1 all has one not weld with lock microprocessor 7, for obtaining random number seed.The signal length of random number seed is the same with the signal length of the ID data of key, is also 4.Meanwhile, the signal length of the time at that time transferred also is 4.
Key microprocessor 1 is by the key ID data of 4, the time at that time of the key random number seed of 4 and 4 forms the random data signals A of 8 after encryption, and send to lock communication module 11, lock microprocessor 7 judges whether random data signals A length is 8, confirm as after 8 by the key ID data deciphering of original 4 out, and according to the lock random number seed of 4 and the time at that time of 4, the random data signals B that new encryption forms 10 is carried out to the key ID data of 4, and send to key communication module 6, key microprocessor 1 judges whether random data signals B length is 10, confirm as after 8 by the key ID data deciphering of original 4 out, key microprocessor 1 judges whether the key ID data consistent with typing, if consistent, key microprocessor 1 is by the unlocking pin of 4, the time at that time of the key random number seed of 4 and 4 forms the random data signals C of 9 after encryption, and send to lock communication module 11, lock microprocessor 7 judges whether random data signals C length is 9, after confirming as 9, the unlocking pin of original 4 is being decrypted, judge whether consistent with the unlocking pin of typing when adding key, if fruit is consistent, lock microprocessor 7 sends unlock command to mechanical lock 16, mechanical lock 16 is unblanked.
The state of whole communication process can be showed by indicator lamp 14 and loudspeaker 15, loudspeaker 15 sends " ticking " 1 sound, and indicator lamp 14 glimmers 2 times simultaneously, represents and unlocks successfully.Loudspeaker 15 not sounding, indicator lamp 14 glimmers 1 time, indicates that signal enters, but unlocking pin mistake.
Input module 12 is the important input tool of lock, and simply can add key and delete key, this process need carries out according to the prompting on display 13.

Claims (4)

1. both-way communication coded lock, is characterized in that comprising key microprocessor (1), key DLL (2), key clock module (3), key power module (4), key key-press module (5), key communication module (6), lock microprocessor (7), lock DLL (8), lock clock module (9), lock power module (10), lock communication module (11), input module (12), display (13), indicator lamp (14), loudspeaker (15), mechanical lock (16); Described key microprocessor is connected with key DLL, key clock module, key power module, key key-press module, key communication module circuit.Described lock microprocessor with lock DLL, lock clock module, lock power module, lock communication module, input module, display, indicator lamp, loudspeaker, mechanical lock circuit be connected.
2. both-way communication coded lock according to claim 1, it is characterized in that: key communication module (6) and lock communication module (11) all have radiated element and receiving element, key and lock all have the ability of transmission and Received signal strength simultaneously.
3. both-way communication coded lock according to claim 1 and 2, is characterized in that: radiated element and the receiving element quantity of key communication module (6) and lock communication module (11) are 2, and a use, one for subsequent use.
4. both-way communication coded lock according to claim 1, is characterized in that: the unsettled pin that key microprocessor (1) and lock microprocessor (7) all have not weld, for obtaining random number seed.
CN201410109043.3A 2014-03-24 2014-03-24 Bidirectional communication combination lock Pending CN104948025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410109043.3A CN104948025A (en) 2014-03-24 2014-03-24 Bidirectional communication combination lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410109043.3A CN104948025A (en) 2014-03-24 2014-03-24 Bidirectional communication combination lock

Publications (1)

Publication Number Publication Date
CN104948025A true CN104948025A (en) 2015-09-30

Family

ID=54163036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410109043.3A Pending CN104948025A (en) 2014-03-24 2014-03-24 Bidirectional communication combination lock

Country Status (1)

Country Link
CN (1) CN104948025A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261097A (en) * 2015-10-26 2016-01-20 深圳市章陈融通科技有限公司 Intelligent door lock control method and system
CN105931331A (en) * 2016-04-20 2016-09-07 上海斐讯数据通信技术有限公司 Intelligent lock based on optical communication and unlocking method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261097A (en) * 2015-10-26 2016-01-20 深圳市章陈融通科技有限公司 Intelligent door lock control method and system
CN105261097B (en) * 2015-10-26 2018-11-20 深圳市章陈融通科技有限公司 A kind of intelligent door lock control method and control system
CN105931331A (en) * 2016-04-20 2016-09-07 上海斐讯数据通信技术有限公司 Intelligent lock based on optical communication and unlocking method

Similar Documents

Publication Publication Date Title
CN203894830U (en) Bidirectional communication intelligent lock
CN105303651A (en) Bluetooth based two-way communication automatic locking system and method
CN105096409A (en) Bi-directional communication electronic lock
CN102800141B (en) A kind of access control method based on two-way authentication and system
CN103929306B (en) The approaches to IM of intelligent cipher key equipment and intelligent cipher key equipment
CN105915502A (en) Method and system for facilitating network joining
CN101854243A (en) Circuit system design encryption circuit and encryption method thereof
CN105681328A (en) Electronic device controlling method and device as well as electronic device
CN104636682A (en) Password management system and method based on hardware device
CN108288315A (en) A kind of smart lock control system, open method and storage medium
CN104282060B (en) A kind of method for unlocking of safety intelligent lock system
CN106204830B (en) A kind of electron key, electronic door lock system and its power mirror method of opening the door
CN104778774A (en) Bluetooth integrated control machine and control method with Bluetooth mobile phone replacing RFID card
CN104948025A (en) Bidirectional communication combination lock
US7808399B2 (en) Electronic device enabling hardware and methods
US8661242B1 (en) Autonomous password update in SNMPv3 computer network
CN203891603U (en) Two-way communication coded lock
CN106326754B (en) A kind of data transmission encryption device realized based on PCIE interface
TW201309882A (en) Electronic code lock system and method for opening the electronic code lock system
CN207909222U (en) Smart bluetooth is locked and smart bluetooth lock system
CN102677987A (en) Control device of intelligent electronic password lock, control method thereof and management system thereof
CN112887085B (en) Method, device and system for generating security key of SSD (solid State disk) main control chip
CN103198574A (en) Remote control intelligent water meter embedded with information safety management module
CN102681672B (en) Reusable encryption keyboard circuit and design method thereof
CN106571917A (en) IC card intelligent gas meter ESAM embedded safety management module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Li Shiping

Document name: Notification of Publication of the Application for Invention

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Li Shiping

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Li Shiping

Document name: Notification that Application Deemed to be Withdrawn

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150930