CN103218865B - A kind of dynamic code electronic lock system and authentication method thereof - Google Patents

A kind of dynamic code electronic lock system and authentication method thereof Download PDF

Info

Publication number
CN103218865B
CN103218865B CN201310134480.6A CN201310134480A CN103218865B CN 103218865 B CN103218865 B CN 103218865B CN 201310134480 A CN201310134480 A CN 201310134480A CN 103218865 B CN103218865 B CN 103218865B
Authority
CN
China
Prior art keywords
password
electronic lock
authentication method
access times
user
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.)
Expired - Fee Related
Application number
CN201310134480.6A
Other languages
Chinese (zh)
Other versions
CN103218865A (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 CN201310134480.6A priority Critical patent/CN103218865B/en
Publication of CN103218865A publication Critical patent/CN103218865A/en
Application granted granted Critical
Publication of CN103218865B publication Critical patent/CN103218865B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of dynamic code electronic lock system and authentication method thereof, system is made up of an electronic lock (1) and some password boards (2) of arranging respective distinct device sequence number, and authentication method comprises: electronic lock carries out adding up and preserving to the access times of each password board by equipment Serial Number respectively; Each password board carries out adding up and preserving to self access times; At password board end, add up to calculate by certain rule generate dynamic password and show based on equipment of itself sequence number and access times; At electronic lock end, based on the permissible error scope that the password board corresponding device sequence number used and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and receive user and input password: concentrate at optional dynamic password if user inputs password, then perform unlock instruction, otherwise unblank unsuccessfully.This system and method thereof, need not time reference, can improve serviceable life and safety and simplify hardware design.

Description

A kind of dynamic code electronic lock system and authentication method thereof
Technical field
The present invention relates to anti-theft electronic lock, be specifically related to a kind of dynamic code electronic lock system and authentication method thereof.
Background technology
Along with the development of electronics industry, the development of electronic lock is also maked rapid progress, and in succession occurs various electronic lock, such as combination padlock, Fingerprint Lock, IC card lock, biological lock, dynamic password coded lock.Electronic password lock, by keyboard or alternate manner input password, is controlled the opening and closing of mechanical switch, completes and unblank and locking by main control unit.It has the following advantages: simple to operate; Main control unit, by increasing peripheral circuit, can realize violence and enter the multiple utility functions such as warning, fire alarm.China " has electronic lock and the control method thereof of automatic generating cipher function " in first patent application, application number " 201110159168.3 ", and its patent password produces in batches and be stored in EEPROM in advance, has certain potential safety hazard; Another China is at first patent application " electronic lock system and Demonstration Method based on dynamic password ", application number " 201110264483.2 ", this patent is based on the time, because electronic lock and token are all produce dynamic password based on the time, thus running status is in for a long time, the token life-span is very limited, and time-based generation circuit relative complex many.
But these existing electronic ciphers are latched in following several respects problem: 1, password is single, is easily stolen; 2, dynamic token is based on the time, is in running status for a long time, affects by battery electric quantity, and the life-span is very limited; 3, dynamic token and electronic lock itself do not have cipher protection function, and security has much room for improvement and fragile.
Summary of the invention
The technical issues that need to address of the present invention are, how to provide a kind of dynamic code electronic lock system and authentication method thereof, can elevator system security and serviceable life and easy to use.
Above-mentioned first technical matters of the present invention solves like this: build a kind of dynamic code electronic lock system authentication method, it is characterized in that, uses an electronic lock and the some password boards arranging respective distinct device sequence number, comprises the following steps:
Electronic lock carries out adding up and being kept in electronic lock to the access times of each password board by equipment Serial Number respectively;
Each password board carries out adding up and being kept at therein to self access times;
At password board end, add up to calculate by certain rule generate dynamic password and be shown to user based on equipment of itself sequence number and access times;
At electronic lock end, based on the permissible error scope that the password board corresponding device sequence number used and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and receive the password of user's input: if the password of user's input is concentrated at optional dynamic password, then perform unlock instruction, otherwise unblank unsuccessfully.
According to dynamic code electronic lock system authentication method provided by the invention, include, but are not limited to following two kinds of implementations:
(i) an input scheme: the password of described user's input comprises equipment Serial Number part and dynamic password part, this authentication method is at electronic lock end, receive the password also extraction equipment Serial Number part wherein of user's input, again based on the permissible error scope that the equipment Serial Number be extracted and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated: if dynamic password part is concentrated at optional dynamic password in the password that inputs of user by calculate with password board end same rule, then perform unlock instruction, otherwise unblank unsuccessfully.
(ii) secondary input scheme: this authentication method is at electronic lock end, receive the equipment Serial Number of user's input in advance, again based on the permissible error scope that this equipment Serial Number and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and again receive the password of user's input: if the password of user's input is concentrated at optional dynamic password, then perform unlock instruction, otherwise unblank unsuccessfully.Further,
According to dynamic code electronic lock system authentication method provided by the invention, at electronic lock end and password board end, generate certain rule of dynamic password also based on key; Described key is built in electronic lock end and password board end.
According to dynamic code electronic lock system authentication method provided by the invention, at electronic lock end and password board end, the certain rule generating dynamic password is identical, refers to the close algorithm of business based on key.
According to dynamic code electronic lock system authentication method provided by the invention, this authentication method also comprises: password board start or reset after, receive user input password, if with access to your password consistent; allow use, otherwise prompting mistake, shutdown or do not allow use.
According to dynamic code electronic lock system authentication method provided by the invention, electronic lock end, access times add up corresponding permissible error scope be 0, ± 3, ± 5 or ± 10 within, further:
1) error range can be arranged;
2) number of times is accumulated in certain authority and can reads and change.
According to dynamic code electronic lock system authentication method provided by the invention, at electronic lock end and token end, the initial value that access times add up includes, but are not limited to be inputted by user obtain, or presses custom rule generation.
According to dynamic code electronic lock system authentication method provided by the invention, described dynamic code electronic lock system also comprises standby key, and described electronic lock has low-voltage detection function, when voltage is lower than setting value, just allows to use described standby key to unblank.
Another technical matters above-mentioned of the present invention solves like this: build a kind of dynamic code electronic lock system, it is characterized in that, is made up of an electronic lock and the some password boards arranging respective distinct device sequence number, wherein:
Electronic lock, comprises the lock display module of lock control module and electrical connection thereof, lock dynamic password generation modules, lock load module and event of always the unblanking generation module for adding up each password board access times respectively by equipment Serial Number;
Password board, comprises the token display module of Token Control module and electrical connection thereof, token dynamic password generation modules, token load module and the son for accumulative this password board access times and to unblank event generation module.
According to dynamic code electronic lock system provided by the invention, described lock load module is keyboard.
According to dynamic code electronic lock system provided by the invention, described keyboard includes, but are not limited to touch class or physical keyboard.
According to dynamic code electronic lock system provided by the invention, the number of times of electronic lock and token adds up, the memory carrier of sequence number and key is all volatile memory, and namely power down lost efficacy.
According to dynamic code electronic lock system provided by the invention, also comprise the standby key supporting with described electronic lock, during for described electronic lock voltage lower than setting value, described electronic lock just allows to use this standby key to unblank.
Dynamic code electronic lock system provided by the invention and authentication method thereof, comparatively prior art has following advantage:
1, long service life;
2, start can be arranged to access to your password, strengthen security;
3, circuit is produced relatively simple.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail further:
Fig. 1 is the electrical block diagram of electronic lock in dynamic code electronic lock System Preferred embodiments of the present invention;
Fig. 2 is the electrical block diagram of the E-token dynamic password card supporting with electronic lock shown in Fig. 1;
Fig. 3 is applied in dynamic code electronic lock System Preferred embodiments of the present invention shown in Fig. 1-2 certification control program schematic flow sheet of unblanking.
Embodiment
First, the core of embodiment of the present invention electronic lock system authentication method is described:
1, dynamic password is one group of character string be made up of random digit or character, and figure place can set as required;
2, dynamic password generation modules carries out computing to device coding A, event of unblanking accumulative total B and ciphering key to generate dynamic password F (A, B, C);
3, function F (A, B, C) is hash algorithm, includes, but are not limited to HA hash algorithm, SM3, SM4 or the close algorithm of other business;
4, dynamic password has necessarily ageing.
The second, the core of embodiment of the present invention electronic lock system is described:
1, password board and electronic lock all have keyboard, can turn off time no;
2, the keyboard of electronic lock starts and can arrange ordinary password, if figure place is not to more than N time, can only try for M hour, N, M are natural number, all can set later again;
3, the keyboard of password board starts and can arrange ordinary password, if figure place is not to more than N time, can only try for M hour, N, M are natural number, all can set later again.
Below, the specific implementation of the embodiment of the present invention is illustrated:
As shown in Figure 1-2, the invention provides the electronic lock system producing password based on event of unblanking, they some E-token dynamic password cards comprising electronic lock and respective distinct device sequence number is set.
Described password board 2 comprises the token display module 25 of Token Control module 24 and electrical connection thereof, token dynamic password generation modules 22, token keyboard 23 and the son for accumulative this password board access times unblanks event generation module 21, built-in token power module 26.
Described electronic lock 1 comprises lock control module 14 and the lock display module 15 be electrically connected, lock dynamic password generation modules 12, keyboard 13 and event of always the unblanking generation module 11 for adding up each password board access times respectively by equipment Serial Number, built-in lock power module 16.
Described electronic lock and token dynamic password generation modules produce dynamic password based on the event of unblanking (unlocking times adds up), equipment Serial Number and key;
Described dynamic password has necessarily ageing;
Described equipment Serial Number is for distinguishing different password boards;
Described event of unblanking adopts number of times aggregate-value to distinguish the same event do not inputted in the same time; Described number of times aggregate-value production method:
1) by custom algorithm, batch produces at random, and consistent with the value of password board;
2) inquired about voluntarily under certain authority by user, set;
3) each accumulative can ± 1 or ± 3 etc.
Described number of times aggregate-value produces the equipment Serial Number requiring corresponding password board, to identify different password boards.
The dynamic password that described token display module generates for showing secret generation module.
Whether the password that described lock control module produces for the secret generation module of the secret generation module with password board that contrast electronic lock is consistent, makes electronic lock open time consistent.
Described lock and token display module include, but are not limited to liquid crystal (LCD), Organic Light Emitting Diode (OLED) display.
Described lock and token power module include, but are not limited to button cell, lithium battery or electricity sun can battery and control circuit thereof.
As shown in Figure 3, interactive controlling flow process of unblanking of the present invention comprises the following steps:
Input lock accesses to your password (can not establish), opens electronic lock load module;
Input token accesses to your password (can not establish), opens E-token dynamic password card;
Electronic lock inputs token serial number, and based on token serial number, corresponding access times, accumulative and key carries out hash computing to electronic lock, obtains dynamic password;
E-token dynamic password card is pressed dynamic password and is produced key, and accumulative based on token serial number, access times equally and key carries out hash computing, obtains dynamic password, and is shown on display module by dynamic password;
This dynamic password inputs by user on the input end of electronic lock;
Whether the dynamic password of the control module contrast user input of electronic lock is consistent with the dynamic password that himself produces;
If consistent, electronic lock is opened;
If inconsistent, then do not open, and after inconsistent number of times reaches user's Previous designs value, give the alarm.
Certainly, the above is only preferred embodiment of the present invention, therefore all equivalence changes of doing according to structure, feature and the flow process described in patent claim of the present invention or modify, and is included in patent claim of the present invention is.

Claims (12)

1. a dynamic code electronic lock system authentication method, is characterized in that, uses an electronic lock and the some password boards arranging respective distinct device sequence number, comprises the following steps:
Electronic lock carries out adding up and being kept in electronic lock to the access times of each password board by equipment Serial Number respectively;
Each password board carries out adding up and being kept at therein to self access times;
At password board end, add up to calculate by certain rule generate dynamic password and be shown to user based on equipment of itself sequence number and access times;
At electronic lock end, based on the permissible error scope that the password board corresponding device sequence number used and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and receive the password of user's input: if the password of user's input is concentrated at optional dynamic password, then perform unlock instruction, otherwise unblank unsuccessfully; The password of described user's input comprises equipment Serial Number part and dynamic password part, this authentication method is at electronic lock end, receive user input password and the equipment Serial Number part extracted in this password, again based on the permissible error scope that the equipment Serial Number be extracted and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated: if dynamic password part is concentrated at optional dynamic password in the password that inputs of user by calculate with password board end same rule, then perform unlock instruction, otherwise unblank unsuccessfully.
2. authentication method according to claim 1, is characterized in that, at electronic lock end and password board end, generates certain rule of dynamic password also based on key; Described key is built in electronic lock end and password board end.
3. authentication method according to claim 1, is characterized in that, at electronic lock end and password board end, the certain rule generating dynamic password is identical, refers to the close algorithm of business based on key.
4. authentication method according to claim 1, it is characterized in that, this authentication method also comprises: password board start or after resetting, and receives user and inputs password, if with access to your password consistent; allow to use, otherwise prompting mistake, shutdown or do not allow use.
5. authentication method according to claim 1, is characterized in that, electronic lock end, access times add up corresponding permissible error scope be 0, ± 3, ± 5 or ± 10 within.
6. authentication method according to claim 1, is characterized in that, at electronic lock end and token end, the accumulative initial value of access times is inputted by user and obtains, or press custom rule generation.
7. a dynamic code electronic lock system authentication method, is characterized in that, uses an electronic lock and the some password boards arranging respective distinct device sequence number, comprises the following steps:
Electronic lock carries out adding up and being kept in electronic lock to the access times of each password board by equipment Serial Number respectively;
Each password board carries out adding up and being kept at therein to self access times;
At password board end, add up to calculate by certain rule generate dynamic password and be shown to user based on equipment of itself sequence number and access times;
At electronic lock end, based on the permissible error scope that the password board corresponding device sequence number used and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and receive the password of user's input: if the password of user's input is concentrated at optional dynamic password, then perform unlock instruction, otherwise unblank unsuccessfully; This authentication method is at electronic lock end, receive the equipment Serial Number of user's input in advance, again based on the permissible error scope that this equipment Serial Number and the corresponding access times of this equipment Serial Number add up, optional dynamic password collection is generated by calculating with password board end same rule, and again receive the password of user's input: if the password of user's input is concentrated at optional dynamic password, then perform unlock instruction, otherwise unblank unsuccessfully.
8. authentication method according to claim 7, is characterized in that, at electronic lock end and password board end, generates certain rule of dynamic password also based on key; Described key is built in electronic lock end and password board end.
9. authentication method according to claim 7, is characterized in that, at electronic lock end and password board end, the certain rule generating dynamic password is identical, refers to the close algorithm of business based on key.
10. authentication method according to claim 7, it is characterized in that, this authentication method also comprises: password board start or after resetting, and receives user and inputs password, if with access to your password consistent; allow to use, otherwise prompting mistake, shutdown or do not allow use.
11. authentication methods according to claim 7, is characterized in that, electronic lock end, access times add up corresponding permissible error scope be 0, ± 3, ± 5 or ± 10 within.
12. authentication methods according to claim 7, is characterized in that, at electronic lock end and token end, the accumulative initial value of access times is inputted by user and obtains, or press custom rule generation.
CN201310134480.6A 2013-04-17 2013-04-17 A kind of dynamic code electronic lock system and authentication method thereof Expired - Fee Related CN103218865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310134480.6A CN103218865B (en) 2013-04-17 2013-04-17 A kind of dynamic code electronic lock system and authentication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310134480.6A CN103218865B (en) 2013-04-17 2013-04-17 A kind of dynamic code electronic lock system and authentication method thereof

Publications (2)

Publication Number Publication Date
CN103218865A CN103218865A (en) 2013-07-24
CN103218865B true CN103218865B (en) 2016-01-27

Family

ID=48816605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310134480.6A Expired - Fee Related CN103218865B (en) 2013-04-17 2013-04-17 A kind of dynamic code electronic lock system and authentication method thereof

Country Status (1)

Country Link
CN (1) CN103218865B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618605B (en) * 2013-11-26 2017-07-14 中国联合网络通信集团有限公司 The generation method and server of time-varying access token
WO2015101210A1 (en) * 2013-12-31 2015-07-09 马要武 Keys and locks
CN104123775B (en) * 2014-07-22 2017-10-20 南京多泰智能科技有限公司 A kind of dynamic puzzle-lock
CN104616373A (en) * 2014-12-08 2015-05-13 杜明浩 Dynamic-password electronic password lock
CN105678871A (en) * 2015-12-28 2016-06-15 美的集团股份有限公司 Temporary unlocking method, temporary unlocking system and mobile terminal
CN105897705A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Gateway equipment connection method and device
CN106097494A (en) * 2016-06-03 2016-11-09 北京小米移动软件有限公司 The method for unlocking of smart lock and device
CN106713431B (en) * 2016-12-13 2019-07-30 上海众人网络安全技术有限公司 A kind of control method and system that vehicle is unlocked/shut
CN106530470A (en) * 2016-12-14 2017-03-22 余仁植 Vehicle unlocking method, lock unlocking device, vehicle and vehicle system
CN106504431A (en) * 2016-12-29 2017-03-15 刘文尧 A kind of movable object management system
CN106846589A (en) * 2017-03-06 2017-06-13 南京邮电大学 A kind of mobile phone A PP and single-chip computer control system based on bluetooth
CN107979472A (en) * 2017-12-01 2018-05-01 江苏乐希科技有限公司 A kind of coding lock system and authentication method
CN108288314A (en) * 2017-12-20 2018-07-17 珠海耀阳电子科技有限公司 It is a kind of intelligence lock cipher generate and verification method
CN108922065A (en) * 2018-07-26 2018-11-30 江苏恒宝智能系统技术有限公司 A kind of control method and device applied to intellectual access system
CN109671200B (en) * 2019-01-12 2022-01-04 深圳旦倍科技有限公司 Fingerprint identification lock system based on thing networking
CN110400405B (en) * 2019-07-29 2021-10-26 北京小米移动软件有限公司 Method, device and medium for controlling access control
CN111599048A (en) * 2020-05-31 2020-08-28 西安亿力通网络科技有限公司 Dynamic coded lock with multiple unlocking modes and management system
CN112381976A (en) * 2020-11-17 2021-02-19 宁波久婵物联科技有限公司 One-time password verification method for electronic lock
CN114422133B (en) * 2022-03-29 2022-07-05 合肥智辉空间科技有限责任公司 Method and system for safely distributing electronic lock secret keys in staggered time

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6300873B1 (en) * 1999-09-16 2001-10-09 Atlantes Services, Inc. Locking mechanism for use with one-time access code
CN1922845A (en) * 2004-02-23 2007-02-28 弗里塞恩公司 Token authentication system and method
CN101977202A (en) * 2010-11-11 2011-02-16 北京航空航天大学 One-time password authentication system and authentication method used for B/S (Browser/Server) network structure
CN102477820A (en) * 2011-09-07 2012-05-30 贾松仁 Dynamic password-based electronic lock system and authentication method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4621967B2 (en) * 2003-03-26 2011-02-02 日本電気株式会社 Locking system and unlocking method thereof
CN100518411C (en) * 2005-05-24 2009-07-22 北京宇信易诚科技有限公司 Dynamic cipher system and method based on mobile communication terminal
CN101699820B (en) * 2009-10-30 2013-02-13 飞天诚信科技股份有限公司 Method and device for authenticating dynamic passwords

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6300873B1 (en) * 1999-09-16 2001-10-09 Atlantes Services, Inc. Locking mechanism for use with one-time access code
CN1922845A (en) * 2004-02-23 2007-02-28 弗里塞恩公司 Token authentication system and method
CN101977202A (en) * 2010-11-11 2011-02-16 北京航空航天大学 One-time password authentication system and authentication method used for B/S (Browser/Server) network structure
CN102477820A (en) * 2011-09-07 2012-05-30 贾松仁 Dynamic password-based electronic lock system and authentication method thereof

Also Published As

Publication number Publication date
CN103218865A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103218865B (en) A kind of dynamic code electronic lock system and authentication method thereof
US10246905B2 (en) Wireless ultra-low power portable lock
CN102477820A (en) Dynamic password-based electronic lock system and authentication method thereof
CN103927809B (en) A kind of smart electronics lock management system and management method thereof
US20210225100A1 (en) Universal smart interface for electronic locks
CN104462938A (en) Intelligent equipment and unlock method thereof
CN205068524U (en) Intelligent gate inhibition system
CN205743358U (en) Energy-conservation lock
CN103617383A (en) Sound unlocking system and method thereof based on mobile terminal
CN205318502U (en) Developments trick lock
CN103742057B (en) There is the antitheft door device of fingerprint identification function
CN110660147A (en) Multi-party matched unlocking safe and unlocking method thereof
CN207096988U (en) The cryptosecurity manager that a kind of dynamic random number and authentication combine
CN204856667U (en) Developments password controls fingerprint input trick lock
CN103839307A (en) Intelligent electronic coded lock
CN104484933A (en) Electronic coded lock
CN209312116U (en) A kind of self-powered intelligent door lock, door lock control system
CN201130947Y (en) Hardware token
CN104021325A (en) Locking and unlocking method for inverter
CN203759775U (en) Double-encrypted access control system based on two-dimensional code recognition
CN204102211U (en) Electronic password lock
CN103310520A (en) Intelligent electronic coded lock
CN103061616A (en) Electronic lock device
CN206616962U (en) A kind of autonomous learning formula radio frequency electric theftproof lock for intelligent anti-theft door lock
CN103093525A (en) Security control device and method

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

Granted publication date: 20160127