A kind of device of intelligent electronic password lock, control and its control method and management system thereof
Technical field
The present invention relates to a kind of corollary apparatus of Intelligent electronic coded lock, in particular, the present invention relates generally to a kind of device of intelligent electronic password lock, control and its control method and management system thereof.
Background technology
Electronic password lock a kind of comes control circuit or chip operation by Password Input, thus control the closed of mechanical switch, complete unblank, the electronic product of locking task, because of its good confidentiality, encoding amount is many, be far longer than cylinder lock, its performance and safety greatly exceed mechanical lock, current electronic cipher is widely used in security door, in attendance recorder and cipher counter, but it is single still to there is password in the application of existing electronic password lock, problem that can be little by the number of password used, there is certain random openability or the risk of Brute Force password in actual use, and violence is unblanked without prompting, and its time that cannot access to your password to password user carry out condition management, as long as namely Password Input is correct, can infinitely use at any time, virtually also reduce the safety of password, namely poor to the protective capability of password, in the field of employment that some confidentiality are high, such as business archive room, the coded lock device that Defence procurement agency needs security performance higher, therefore be necessary that the mode to structure and the password of existing electronic password lock use makes further improvement.
Summary of the invention
An object of the present invention is to solve above-mentioned deficiency, a kind of device of intelligent electronic password lock, control and its control method and management system thereof are provided, little to expect to solve electronic password lock number of password in prior art, the time that cannot access to your password to password user carries out condition management, and password is cracked, violence is unblanked, unblanked by violence after the technical problem such as alarm free.
For solving above-mentioned technical problem, the present invention by the following technical solutions:
One aspect of the present invention provides a kind of device of intelligent electronic password lock, control, described control device at least comprises single-chip microcomputer, opening drive circuit and cipher input, described opening drive circuit and cipher input access single-chip microcomputer respectively, and opening drive circuit also accesses motion device; Described single-chip microcomputer also distinguishes access pin data receiver interface and FLASH memory;
Described cipher input is used for single-chip microcomputer input password;
Described single-chip microcomputer is used for reading by code data receiving interface the code data and password service condition that come from password storage medium, and the encrypted message in FLASH memory and password service condition renewal follow-up continuing are stored in FLASH memory, export unlock instruction to opening drive circuit when the encrypted message simultaneously stored in the password judging cipher input input and FLASH memory and password service condition match;
Described opening drive circuit comes from the unlock instruction of single-chip microcomputer for receiving, conducting after it receives unlock instruction control action device performs corresponding unlocking action;
Further technical scheme is: the password in control device uses record to be also stored in FLASH memory by described single-chip microcomputer, when it reads by code data interface the code data and password service condition that come from password storage medium, use record to transfer in password storage medium in the password in control device, or use record to the password in password storage medium transmission control unit after it receives the command adapted thereto of password storage medium.
Further technical scheme is: described control device also comprises microswitch, microswitch access opening drive circuit, and microswitch is used for after the shake-up sensing motion device, makes motion device perform action of locking by opening drive circuit.
Further technical scheme is: described control device also comprises acousto-optic circuit, acousto-optic circuit also accesses single-chip microcomputer, when cipher input does not mate to the password that single-chip microcomputer inputs with the encrypted message stored in FLASH memory or password service condition, single-chip microcomputer sends corresponding instruction to acousto-optic circuit, and acousto-optic circuit performs corresponding acousto-optic hint or actuation of an alarm according to this instruction.
Further technical scheme is: described code data receiving interface is USB interface, and password storage medium is USB storage device, and single-chip microcomputer is by the code data in USB interface reading USB storage device and password service condition.
Further technical scheme is: described code data receiving interface is the mobile communication module of GSM/CDMA, loads SIM card in the module, and password storage medium is Email; In the mode of annex, code data and password service condition are sent to the mobile communication module of GSM/CDMA by GPRS or 3G network by the E-mail address of specifying, single-chip microcomputer reads code data and password service condition from the mobile communication module of GSM/CDMA, and send confirmation note by the mobile communication module of GSM/CDMA to the phone number of specifying, after confirming, the encrypted message in FLASH memory and password service condition upgrade and are stored in FLASH memory follow-up continuing by single-chip microcomputer.
The present invention provides a kind of control method of device of intelligent electronic password lock, control on the other hand, and described control method comprises the steps:
Steps A, described cipher input input password to single-chip microcomputer;
Step B, described single-chip microcomputer read the code data and password service condition that come from password storage medium by code data receiving interface, and the encrypted message in FLASH memory and password service condition renewal follow-up continuing are stored in FLASH memory, export unlock instruction to opening drive circuit when the encrypted message simultaneously stored in the password judging cipher input input and FLASH memory and password service condition match; Otherwise then do not export unlock instruction, single-chip microcomputer sends corresponding instruction to acousto-optic circuit, and acousto-optic circuit performs corresponding acousto-optic hint or actuation of an alarm according to this instruction.
Step C, described opening drive circuit receive the unlock instruction coming from single-chip microcomputer, conducting after it receives unlock instruction control action device performs corresponding unlocking action;
Further technical scheme is: the password in control device uses record to be also stored in FLASH memory by described single-chip microcomputer, when it reads by code data interface the code data and password service condition that come from password storage medium, use record to transfer in password storage medium in the password in control device, or use record to the password in password storage medium transmission control unit after it receives the command adapted thereto of password storage medium.
The present invention also provides a kind of management system of device of intelligent electronic password lock, control on the one hand, described management system comprises control system and above-mentioned device of intelligent electronic password lock, control as terminal device, control system is by USB storage device, the code data of generation and password service condition transfer in terminal device and complete password update by any one mode in the middle of GPRS network and 3G network, and also by USB storage device, any one mode in the middle of GPRS network and 3G network sends instruction and receives the password coming from terminal device and uses record.
Further technical scheme is: the mark corresponding to the Time of Day record that described password uses the number of times record, the password coupling that are recorded as Password Input to use with unmatched detail record, password, different password use and mating with password service condition and unmatched detail record; Described control system comprises password generation unit, cryptographic check unit, password service condition generation unit, password outgoing management unit, data transmission interface unit, storage device and exports print unit.
Further technical scheme is: also comprise system time setup unit in described control system, password service condition password service condition generation unit being generated by this unit initialization system time is being transferred to after in terminal device by data transmission interface, and it is consistent that the mode that terminal device performs and password service condition generation unit generate original password service condition.
Further technical scheme is: temporary in described password generation unit have 1 to 10000 group code data stochastic generation, and password service condition generation unit generates corresponding password service condition according to time concrete in time setting unit setting and random cipher data export simultaneously; Described password service condition is the time interval of password use or the number of times of same password use.
Further technical scheme is: described storage device, for storing the code data and password service condition that do not send after the password coming from data transmission interface unit uses record and generation, exports print unit and is used for being used by the password in storage device record output to print.
Further technical scheme is: described password outgoing management unit is used for carrying out Password Management when password exports, and just exports by any one mode in the middle of USB storage device, GPRS network and 3G network the code data and password service condition that generate to terminal device when the password exported and the code matches pre-set in this unit.
Compared with prior art, one of beneficial effect of the present invention is: received the code data and the password service condition that come from stochastic generation in password storage medium by code data receiving interface, while lifting number of password, also the restriction by being subject to password service condition during cipher input input password is made, therefore password user can only access to your password unlatching coded lock in the scope of official hour or number of times, and can by being arranged to be reported to the police by mobile communication module by during violence damage at coded lock, the safety of intelligent cipher lock is greatly enhanced, can be managed concentratedly terminal password control device by management system simultaneously, and upgrade the code data of each terminal control mechanism respectively, add the controllability of intelligent cipher lock, use more flexible, simultaneously a kind of device of intelligent electronic password lock, control provided by the present invention and its control method and management system thereof, control device structure is simple, be suitable for suitability for industrialized production, and can be applicable on the various safeties such as security door and safety cabinet, range of application is wide, be easy to promote.
Accompanying drawing explanation
Fig. 1 is the device of intelligent electronic password lock, control circuit structure block diagram in an embodiment of the present invention;
Fig. 2 is the device of intelligent electronic password lock, control control method schematic block diagram in the another kind of embodiment of the present invention;
Fig. 3 is the management system structured flowchart of the device of intelligent electronic password lock, control of the another kind of embodiment of the present invention;
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is further elaborated.
As shown in Figure 1, the first embodiment provided by the present invention is device of intelligent electronic password lock, control, described control device at least comprises single-chip microcomputer, opening drive circuit and cipher input, described opening drive circuit and cipher input access single-chip microcomputer respectively, and opening drive circuit also accesses motion device; Described single-chip microcomputer also distinguishes access pin data receiver interface and FLASH memory;
Described cipher input is used for single-chip microcomputer input password;
Described single-chip microcomputer is used for reading by code data receiving interface the code data and password service condition that come from password storage medium, and the encrypted message in FLASH memory and password service condition renewal follow-up continuing are stored in FLASH memory, export unlock instruction to opening drive circuit when the encrypted message simultaneously stored in the password judging cipher input input and FLASH memory and password service condition match;
Described opening drive circuit comes from the unlock instruction of single-chip microcomputer for receiving, conducting after it receives unlock instruction control action device performs corresponding unlocking action;
And the power supply of above-mentioned device of intelligent electronic password lock, control generally adopts 6V battery pack, also can the actual power brought of the function different according to it select.
State on the invention on the basis of embodiment, more preferred technological means is that the password in control device uses record to be also stored in FLASH memory by described single-chip microcomputer, when it reads by code data interface the code data and password service condition that come from password storage medium, use record to transfer in password storage medium in the password in control device, or use record to the password in password storage medium transmission control unit after it receives the command adapted thereto of password storage medium.This technological means combines with a kind of embodiment of the present invention, can as the relatively preferred a kind of embodiment of the present invention.
Simultaneously as inventing the technical scheme be more preferably, for making the function of opening drive circuit more perfect, the present inventor is with reference to microswitch technology of the prior art, and acousto-optic circuit alarm technique, also the present invention is done following improvement on above-mentioned basis, described control device also comprises microswitch, microswitch access opening drive circuit, microswitch is used for after the shake-up sensing motion device, makes motion device perform action of locking by opening drive circuit.Described control device also comprises acousto-optic circuit, acousto-optic circuit also accesses single-chip microcomputer, when cipher input does not mate to the password that single-chip microcomputer inputs with the encrypted message stored in FLASH memory or password service condition, single-chip microcomputer sends corresponding instruction to acousto-optic circuit, and acousto-optic circuit performs corresponding acousto-optic hint or actuation of an alarm according to this instruction.
The acting as of above-mentioned mentioned code data receiving interface makes single-chip microcomputer can read code data and password service condition etc. in password storage medium, this the present inventor is considered to the situation of the actual use of device of intelligent electronic password lock, control, two kinds of different forms are adopted for code data receiving interface, these two kinds of forms are the preferred embodiments as code data interface, and realize identical technique effect by different transmission technologys:
As shown in Figure 2, the first kind of way of above-mentioned code data receiving interface is for be set to USB interface, and password storage medium is USB storage device, and single-chip microcomputer is by the code data in USB interface reading USB storage device and password service condition.The second way is the mobile communication module being set to GSM/CDMA, loads SIM card in the module, and password storage medium is Email; In the mode of annex, code data and password service condition are sent to the mobile communication module of GSM/CDMA by GPRS or 3G network by the E-mail address of specifying, single-chip microcomputer reads code data and password service condition from the mobile communication module of GSM/CDMA, and send confirmation note by the mobile communication module of GSM/CDMA to the phone number of specifying, after confirming, the encrypted message in FLASH memory and password service condition upgrade and are stored in FLASH memory follow-up continuing by single-chip microcomputer.
The object of two kinds of above-mentioned code data receiving interfaces is and code data and password service condition is transferred to terminal from control end, it combines with other technologies means of the present invention, can be improved at least two kinds of similar but not identical embodiments of the present invention thus.
In the present invention on the basis of above-mentioned several embodiment, invention also provides the control method of the device of intelligent electronic password lock, control being different from above-described embodiment with the form of another kind of embodiment, more as shown in Figure 2, described control method comprises the steps:
Steps A, described cipher input input password to single-chip microcomputer;
Step B, described single-chip microcomputer read the code data and password service condition that come from password storage medium by code data receiving interface, and the encrypted message in FLASH memory and password service condition renewal follow-up continuing are stored in FLASH memory, export unlock instruction to opening drive circuit when the encrypted message simultaneously stored in the password judging cipher input input and FLASH memory and password service condition match; Otherwise then do not export unlock instruction, single-chip microcomputer sends corresponding instruction to acousto-optic circuit, and acousto-optic circuit performs corresponding acousto-optic hint or actuation of an alarm according to this instruction.
Step C, described opening drive circuit receive the unlock instruction coming from single-chip microcomputer, conducting after it receives unlock instruction control action device performs corresponding unlocking action;
Corresponding code data and password service condition are read in acting as of single-chip microcomputer, the more preferred a kind of embodiment of control method as more above-mentioned device of intelligent electronic password lock, control, and where necessary, password in control device also can use record to be also stored in FLASH memory by single-chip microcomputer, when it reads by code data interface the code data and password service condition that come from password storage medium, record is used to transfer in password storage medium in the password in control device, or after it receives the command adapted thereto of password storage medium, use record to the password in password storage medium transmission control unit.
Further, the present invention is also on the basis of above-mentioned two groups of embodiments, a kind of management system of device of intelligent electronic password lock, control is provided, as shown in Figure 3, described management system comprises control system and at least one above-mentioned device of intelligent electronic password lock, control as terminal device, control system is by USB storage device, the code data of generation and password service condition transfer in terminal device and complete password update by any one mode in the middle of GPRS network and 3G network, and also by USB storage device, any one mode in the middle of GPRS network and 3G network sends instruction and receives the password coming from terminal device and uses record.
State on the invention between the control system described in embodiment and terminal device and carry out exchanges data, it is code data and password service condition that described exchanges data in the present embodiment can regard as, and password uses the exchange of the data such as record, and for supporting the exchange of these data in control system, password generation unit is provided with in the middle of it, cryptographic check unit, password service condition generation unit, password outgoing management unit, data transmission interface unit, the virtual modules such as storage device and output print unit, certainly different according to its concrete function, aforesaid also can be partly or entirely entity module.
Temporary in above-mentioned password generation unit have 1 to 10000 group code data stochastic generation, and password service condition generation unit generates corresponding password service condition according to time concrete in time setting unit setting and random cipher data export simultaneously; Described password service condition is the time interval of password use or the number of times of same password use.And the time interval that aforesaid password uses specifically can between time, time interval or date, date field, week, partly or entirely combining in week interval, password effectively can use and be referred to as effective duration in these time intervals, namely uses the time of inefficacy for the first time.
Above-mentioned storage device, for storing the code data and password service condition that do not send after the password coming from data transmission interface unit uses record and generation, exports print unit and is used for being used by the password in storage device record output to print.
Above-mentioned password outgoing management unit is used for carrying out Password Management when password exports, and just exports by any one mode in the middle of USB storage device, GPRS network and 3G network the code data and password service condition that generate to terminal device when the password exported and the code matches pre-set in this unit.
Simultaneously under normal conditions, receive above by any one mode in the middle of USB storage device, GPRS network and 3G network the Time of Day record that the password coming from terminal device uses the number of times record, the password coupling that are recorded as Password Input to use with unmatched detail record, password, different password use corresponding to mark and mate with password service condition and unmatched detail record; And aforesaid password use is recorded as set file format, transfer to after in control system at it, control system adopts the computer program matched with this set file format to be read, and ensure that this password uses the safety of record.And aforesaid set file format with reference to file ciphering technology existing in field, can read after adopting the computer program deciphering matched with it again after adopting any one mode existing to be encrypted.
On above-mentioned basis, the another kind of embodiment be more preferably about the management system of device of intelligent electronic password lock, control be in above-mentioned control system except above-mentioned virtual or solid element, also be provided with system time setup unit, password service condition password service condition generation unit being generated by this unit initialization system time is being transferred to after in terminal device by data transmission interface, and it is consistent that the mode that terminal device performs and password service condition generation unit generate original password service condition.
Spoken of in this manual " embodiment ", " another embodiment ", " embodiment ", etc., refer to the specific features, structure or the feature that describe in conjunction with this embodiment and be included at least one embodiment of the application's generality description.Multiple place occurs that statement of the same race is not necessarily refer to same embodiment in the description.Furthermore, when describing specific features, structure or a feature in conjunction with any embodiment, what advocate is also fall within the scope of the invention to realize this feature, structure or feature in conjunction with other embodiments.
Although with reference to multiple explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and embodiment, these amendments and embodiment will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of, accompanying drawing open in the application and claim, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the modification of carrying out building block and/or layout is with except improvement, to those skilled in the art, other purposes also will be obvious.