CN1696463A - Method for opening electronic coded lock and electronic coded lock device - Google Patents

Method for opening electronic coded lock and electronic coded lock device Download PDF

Info

Publication number
CN1696463A
CN1696463A CN 200510050160 CN200510050160A CN1696463A CN 1696463 A CN1696463 A CN 1696463A CN 200510050160 CN200510050160 CN 200510050160 CN 200510050160 A CN200510050160 A CN 200510050160A CN 1696463 A CN1696463 A CN 1696463A
Authority
CN
China
Prior art keywords
coded lock
key
password
byte
unlocking
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
CN 200510050160
Other languages
Chinese (zh)
Other versions
CN100460623C (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.)
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 CNB2005100501608A priority Critical patent/CN100460623C/en
Publication of CN1696463A publication Critical patent/CN1696463A/en
Application granted granted Critical
Publication of CN100460623C publication Critical patent/CN100460623C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention discloses an electronic cipher lock unlocking method and its electronic cipher lock equipment. It is characterized by that the factory's cipher can be respectively written into user's key and memory of said cipher lock, when the electronic cipher lock is unlocked, then user's key can be inserted into the cipher lock, the cipher lock can send the hands-shaking code to user's key and fetch 32-byte unlocking cipher in the user's key memory to decipher it, then utilize identification and comparion so as to execute unlocking operation. Said invention is convenient in operation and high in safety and reliability.

Description

A kind of electronic code unlocking method and electronic coded lock device
Technical field the present invention relates to a kind of utilization and generates method and the electronic coded lock device that password is unblanked at random.
Background technology existing password lock all mechanically or the code keypad mode encrypt and unblank, the coded lock that is to say mechanical system is by stirring combination disk, making the numeral on the combination disk identical with set password, and then open coded lock; The coded lock of code keypad mode is to compare a kind of mode of opening coded lock by keyboard input password and set password.These two kinds of method and apparatus exist following shortcoming: the one, need artificial memory's password.Often easily password is forgotten when the user begins, caused and to unblank.Especially for the people that an age is arranged slightly, this defective is just obvious especially.The 2nd, password easily is stolen or cracks, thereby causes valuables stolen.In order to remember password, the user often with the identical numeral of some feature of password setting Cheng Yuqi, perhaps is recorded in password on the book, and perhaps password can be write down secretly by the onlooker in the process of unblanking, so just easily password is cracked or is stolen, thereby cause the valuables loss.The 3rd, it is cumbersome to operate.Before the unlocking coded lock of mechanical system, combination disk repeatedly need be turn-taked, identical until its several bit digital with set password.When unblanking, need key that lock is opened.After unblanking, also combination disk to be turn-taked, its numeral is upset.Needing before the unlocking coded lock of cryptographic key disc type not only needs memory cipher by keyboard input password, needs button on keyboard simultaneously, divulges a secret easily.
Summary of the invention technical problem to be solved by this invention is to propose the generation at random of a kind of electronic cipher, good confidentiality, easy to operate, safe and reliable electronic code unlocking method and electronic coded lock device.
For solving the problems of the technologies described above, a kind of electronic code unlocking method of the present invention comprises the steps: 1, user's key is inserted in the password fever writes, 32 bytes of utilizing computer to generate the at random password that dispatches from the factory is write in the memory (EERAM) of access customer key by the password fever writes, and the password that will dispatch from the factory simultaneously deposits in the memory (EERAM) of coded lock; 2, user's key is inserted in the coded lock, key and coded lock electrification reset also carry out initialization operation to inner each register; 3, coded lock sends and to shake hands code to user's key, reads 32 byte unlocking ciphers in user's key EERAM and it is decrypted, and then be sent to coded lock with this 32 byte unlocking cipher after to the encryption of 16 byte unlock commands; 4, the coded lock program reads the 32 byte unlocking ciphers of being deposited in its EERAM according to the order flag bit that receives and is decrypted, after being decrypted the 16 byte enciphered datas that receive, the 32 byte unlocking ciphers that come out obtain unlock command with deciphering, whether the unlock command after relatively deciphering then is correct, carries out unlock operation; 5, the lock program obtains 32 new byte pseudorandom ciphers after converting with former 32 byte unlocking ciphers, this new password is carried out being sent to key behind the cryptographic calculation and depositing in the EERAM, and the control mechanical mechanism is unblanked; 6, key is decrypted computing to it after receiving 32 new byte unlocking ciphers, again it is carried out depositing in the EERAM behind the cryptographic calculation.
Above-mentioned a kind of electronic code unlocking method, when user's key is carried out the password programming, to manage key also inserts in the password fever writes, 32 bytes of utilizing computer to generate at random dispatch from the factory password by the password fever writes write respectively the management key EERAM in, the management key inserts coded lock earlier then, the password that dispatches from the factory is write in the EERAM of coded lock.
Above-mentioned a kind of electronic code unlocking method, it also comprises a fingerprint recognition program, this fingerprint recognition program and described password unlocking program parallelization, the mechanical mechanism of control lock is opened.
A kind of electronic coded lock device comprises user's key and coded lock, and described user's key comprises microprocessor, memory and communication plug, and described coded lock comprises power supply, microprocessor, memory, communication socket and mechanical mechanism.
Above-mentioned a kind of electronic coded lock device, it also includes fingerprint recognition system, and this fingerprint recognition system comprises finger print data collector, fingerprint comparison system and electromechanical control system, and described electromechanical control system links to each other with the mechanical mechanism of described coded lock.
Above-mentioned a kind of electronic coded lock device, it also includes the management key, and this management key comprises microprocessor, memory and communication plug.
Above-mentioned a kind of electronic coded lock device, described coded lock is provided with button and loudspeaker.
The present invention is owing to adopted technique scheme, its adopts 128 (16 bytes * 8) password unlockings, cipher random generates, carry out after the password unlocking success at every turn, to regenerate 128 new unlocking ciphers in order to unblank next time, and when password transmission and preservation, all password has been carried out 128 bit encryptions, can more effectively prevent that other people from duplicating cipher key and conjecture password.Thereby the present invention has good confidentiality, easy to operate, safe and reliable advantage.System of fingerprints and password unlocking system are combined, can when unblanking, adopt the fingerprint comparison method to unblank earlier, under the situation that fingerprint comparison can't be unblanked, can use Electronics Cryptographic Keys to unblank again, more safe and reliable.
Description of drawings is described in further detail the present invention below in conjunction with drawings and embodiments.
Fig. 1 is the workflow schematic diagram of electronic code unlocking method of the present invention;
Fig. 2 is the structured flowchart of electronic password lock of the present invention;
Fig. 3 is the circuit block diagram of electronic password lock password unlocking part of the present invention;
Fig. 4 is the structural representation of electronic password lock mechanical mechanism of the present invention.
The specific embodiment as shown in Figure 1, electronic code unlocking method comprises the steps: 1, will manage key and user's key inserts in the password fever writes, and 32 bytes that will generate at random by the computer password that dispatches from the factory writes among the EERAM of management key and user's key by the password fever writes.2, will manage key under coded lock is powered normal situation and insert coded lock, after 3 seconds, coded lock sends " toot---toot! Pout! " 1 long 2 short sound, show that the password that dispatches from the factory successfully writes in the coded lock.Like this, user's key is inserted in this coded lock can unblank after 2 seconds.When 3, unblanking, utilize the unlatching of fingerprint recognition program control lock earlier, promptly gather finger print information, the finger print data of finger print information and storage is compared, utilize the mechanical mechanism of electromechanical control system control lock to open then by the finger print data collector.When 4, utilizing the uncontrollable coded lock of fingerprint recognition system to open, under coded lock is powered normal situation user's key is inserted in the coded lock, key and coded lock electrification reset also carry out initialization operation to inner each register.5, coded lock sends and to shake hands code to user's key, as the code of shaking hands is correct, and then the key program reads 32 byte unlocking ciphers in the EERAM and it is decrypted, and then is sent to coded lock with this 32 byte unlocking cipher after to the encryption of 16 byte unlock commands.6, the coded lock program is decrypted after reading the 32 byte unlocking ciphers of being deposited in user's key EERAM according to the order flag bit that receives, and obtains unlock command after with the 32 byte unlocking ciphers of deciphering out the 16 byte enciphered datas that receive being decrypted.Whether the unlock command after relatively deciphering then is correct, as correctly then carrying out unlock operation.7, the coded lock program obtains 32 new byte pseudorandom ciphers after converting with former 32 byte unlocking ciphers, this new password is carried out being sent to user's key behind the cryptographic calculation and depositing in the EERAM, and the control mechanical mechanism is unblanked.8, key is decrypted computing to it after receiving 32 new byte unlocking ciphers, again it is carried out depositing in the EERAM behind the cryptographic calculation.For the first time in the unlock operation, the 32 byte unlocking ciphers that the lock program is used are to convert the data that obtain as unlocking cipher by the password that dispatches from the factory, and the new unlocking cipher that produces after the success of promptly unblanking is based on all that the password that dispatches from the factory produces.
As shown in Figure 2, electronic coded lock device comprises user's key 1, management key 2, coded lock 3 and fingerprint recognition system 4, user's key 1 comprises microprocessor CPU, memory EERAM, indicator lamp 10 and 12C communication plug (USB interface) with management key 2, and coded lock 3 comprises microprocessor CPU, memory EERAM, button and loudspeaker 9,12C communication socket (USB interface) and mechanical mechanism 8.Fingerprint recognition system 4 comprises finger print data collector 5, fingerprint comparison system 6 and electromechanical control system 7, and electromechanical control system 7 links to each other with the mechanical mechanism 8 of coded lock 3.Fingerprint recognition system 4 is identical with technology commonly used at present, repeats no more herein.
As shown in Figure 3, left part I is the circuit block diagram of cipher key, and it adopts the AT89C2051 integrated circuit as microprocessor, and the X5045 memory is connected with light emitting diode as EERAM.Right side part II is the circuit block diagram of coded lock, and it adopts the AT89S52 integrated circuit as microprocessor, and the X5045 memory is connected with button and loudspeaker as EERAM.Both encrypted messages through compare errorless after, unblank through overdrive circuit control motor.
As shown in Figure 4, the mechanical mechanism of coded lock 3 comprises motor 11, travelling gear 12, driving rack 13, snap close 14 and locking bar 15, and snap close 14 is fixed on the password casing 19, which is provided with lockhole 20.Travelling gear 12 is fixedly linked with the output shaft of motor 11, and driving rack 13 and travelling gear 12 are meshing with each other, and locking bar 15 is fixedly connected on the both sides of driving rack 13, and it and snap close 14 cooperatively interact.Offer chute 16 on the driving rack 13, the fixed supported slab 17 that is installed on the password casing 19 is provided with positioning screw 18, and positioning screw 18 is arranged in the chute 16, makes driving rack 13 not meeting off normal up and down in moving process.Motor 11 is controlled running (forward or reverse) respectively by the electromechanical control system 7 and the coded lock 3 of fingerprint recognition system 4.

Claims (7)

1, a kind of electronic code unlocking method, it is characterized in that, it comprises the steps: 1, user's key is inserted in the password fever writes, 32 bytes of utilizing computer to generate the at random password that dispatches from the factory is write in the memory (EERAM) of access customer key by the password fever writes, and the password that will dispatch from the factory simultaneously deposits in the memory (EERAM) of coded lock; 2, user's key is inserted in the coded lock, key and coded lock electrification reset also carry out initialization operation to inner each register; 3, coded lock sends and to shake hands code to user's key, reads 32 byte unlocking ciphers in user's key EERAM and it is decrypted, and then be sent to coded lock with this 32 byte unlocking cipher after to the encryption of 16 byte unlock commands; 4, the coded lock program reads the 32 byte unlocking ciphers of being deposited in its EERAM according to the order flag bit that receives and is decrypted, after being decrypted the 16 byte enciphered datas that receive, the 32 byte unlocking ciphers that come out obtain unlock command with deciphering, whether the unlock command after relatively deciphering then is correct, carries out unlock operation; 5, the lock program obtains 32 new byte pseudorandom ciphers after converting with former 32 byte unlocking ciphers, this new password is carried out being sent to key behind the cryptographic calculation and depositing in the EERAM, and the control mechanical mechanism is unblanked; 6, key is decrypted computing to it after receiving 32 new byte unlocking ciphers, again it is carried out depositing in the EERAM behind the cryptographic calculation.
2, a kind of electronic code unlocking method as claimed in claim 1, it is characterized in that, when user's key is carried out the password programming, to manage key also inserts in the password fever writes, 32 bytes of utilizing computer to generate at random dispatch from the factory password by the password fever writes write respectively the management key EERAM in, the management key inserts coded lock earlier then, the password that dispatches from the factory is write in the EERAM of coded lock.
3, a kind of electronic code unlocking method as claimed in claim 1 or 2 is characterized in that, it also comprises a fingerprint recognition program, this fingerprint recognition program and described password unlocking program parallelization, and the mechanical mechanism of control lock is opened.
4, a kind of electronic coded lock device comprises user's key and coded lock, it is characterized in that, described user's key comprises microprocessor, memory and communication plug, and described coded lock comprises power supply, microprocessor, memory, communication socket and mechanical mechanism.
5, a kind of electronic coded lock device as claimed in claim 4, it is characterized in that, it also includes fingerprint recognition system, this fingerprint recognition system comprises finger print data collector, fingerprint comparison system and electromechanical control system, and described electromechanical control system links to each other with the mechanical mechanism of described coded lock.
6, as claim 4 or 5 described a kind of electronic coded lock devices, it is characterized in that it also includes the management key, this management key comprises microprocessor, memory and communication plug.
7, as claim 4 or 5 described a kind of electronic coded lock devices, it is characterized in that described coded lock is provided with button and loudspeaker.
CNB2005100501608A 2005-06-20 2005-06-20 Method for opening electronic coded lock and electronic coded lock device Expired - Fee Related CN100460623C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100501608A CN100460623C (en) 2005-06-20 2005-06-20 Method for opening electronic coded lock and electronic coded lock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100501608A CN100460623C (en) 2005-06-20 2005-06-20 Method for opening electronic coded lock and electronic coded lock device

Publications (2)

Publication Number Publication Date
CN1696463A true CN1696463A (en) 2005-11-16
CN100460623C CN100460623C (en) 2009-02-11

Family

ID=35349339

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100501608A Expired - Fee Related CN100460623C (en) 2005-06-20 2005-06-20 Method for opening electronic coded lock and electronic coded lock device

Country Status (1)

Country Link
CN (1) CN100460623C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793115A (en) * 2009-12-20 2010-08-04 姜君凯 Electronic lock and key and workflow control
CN102213050A (en) * 2010-04-09 2011-10-12 刘志刚 Password processing method and password lock
CN102373838A (en) * 2011-11-04 2012-03-14 潘雪峰 Electronic coded lock controlled by single chip microcomputer
CN102571325A (en) * 2012-02-13 2012-07-11 闵浩 Coded lock controller realizing method for concurrent working of real-time random safety password authentication and pre-releasing safety password authentication
CN102926586A (en) * 2011-08-08 2013-02-13 鸿富锦精密工业(深圳)有限公司 Electronic lock and key
CN104786985A (en) * 2015-03-24 2015-07-22 张彬彬 Automobile burglar alarm based on USB electric encryption and decryption

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102787759A (en) * 2012-09-05 2012-11-21 江苏物联网研究发展中心 Intelligent electronic coded lock and electronic unlocking key

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4646080A (en) * 1984-05-17 1987-02-24 Leonard J. Genest Method of code changing for electronic lock
CN2217077Y (en) * 1995-07-21 1996-01-10 北京亿鑫企业发展总公司 Electronic puzzle lock
CN1145735C (en) * 1996-07-10 2004-04-14 石易 Autonomous random dynamic puzzle-lock system
CN1079966C (en) * 1997-02-05 2002-02-27 石易 Random code generator
CN2340851Y (en) * 1998-04-29 1999-09-29 石易 Electronic lock with dynamic random codes and key thereof
CN2412972Y (en) * 1999-11-12 2001-01-03 葛亚力 Electronic permutation lock
CN2494866Y (en) * 2001-08-31 2002-06-12 陈恢清 Fingerprint lock
JP2004176289A (en) * 2002-11-25 2004-06-24 Seiko Epson Corp Electronic lock system and electric lock unlocking method
CN2797547Y (en) * 2005-06-20 2006-07-19 张七利 Electronic puzzle lock device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793115A (en) * 2009-12-20 2010-08-04 姜君凯 Electronic lock and key and workflow control
CN102213050A (en) * 2010-04-09 2011-10-12 刘志刚 Password processing method and password lock
CN102926586A (en) * 2011-08-08 2013-02-13 鸿富锦精密工业(深圳)有限公司 Electronic lock and key
CN102373838A (en) * 2011-11-04 2012-03-14 潘雪峰 Electronic coded lock controlled by single chip microcomputer
CN102571325A (en) * 2012-02-13 2012-07-11 闵浩 Coded lock controller realizing method for concurrent working of real-time random safety password authentication and pre-releasing safety password authentication
CN102571325B (en) * 2012-02-13 2015-04-01 闵浩 Coded lock controller realizing method for concurrent working of real-time random safety password authentication and pre-releasing safety password authentication
CN104786985A (en) * 2015-03-24 2015-07-22 张彬彬 Automobile burglar alarm based on USB electric encryption and decryption

Also Published As

Publication number Publication date
CN100460623C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN100460623C (en) Method for opening electronic coded lock and electronic coded lock device
CN106600797B (en) Motion graphics coded lock, server, shared system and its unlocking and blocking method
CN101311950B (en) Electronic stamp realization method and device
CN103081396B (en) Communication terminal, communication system and communication means
CN101650693B (en) Security control method for mobile hard disk and security mobile hard disk
CN101072100B (en) Authenticating system and method utilizing reliable platform module
CN1131851A (en) Method for identifying metering accounting vault to digital printer
CN201160005Y (en) U disk for encryption
JPS6133194B2 (en)
CN104463554A (en) Electronic seal achieving method and device
CN101685425A (en) Mobile storage device and method of encrypting same
CN101082884A (en) Finger print safety storage U disk
CN1776563A (en) File encrypting device based on USB interface
CN112702413B (en) Intelligent escort cash box system, control method, computer equipment and storage medium
TW201643828A (en) Management and control system matched with mobile devices
CN102184144A (en) Hardware-encryption mobile hard disk drive and application method thereof
CN1716841A (en) High performance cipher algorithm SoC chip
CN2797547Y (en) Electronic puzzle lock device
CN2824442Y (en) Finger print identifier for electronic signing mane
CN100394502C (en) Hard disk encryption system based on MEMS cipher lock
CN106855923A (en) A kind of electronic installation based on biological identification technology
CN200972673Y (en) Lockset with USB interface and keyboard
CN1588426A (en) Biological key and biological lock
CN200972672Y (en) Lockset with USB interface
CN206451254U (en) A kind of passive intelligent lock cylinder system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090211

Termination date: 20160620