Background technology
In the modern society; along with continuous progress in science and technology; electronic lock and corresponding with it electron key are brought into use in increasing place, and in the existing electronic lock system, the signal that electron key will carry unlocking cipher is transferred to electronic lock; electronic lock is after receiving unlocking cipher; usually can verify the unlocking cipher that receives judge whether this user is legal, if legal; then control electronic lock switch and open, otherwise refusal is unblanked.
Electrical lock apparatus is divided by power supply mode at present two big classes, passive and active.
For passive mode:
(1) electronic lock body charged pool not, external power supply is given its electric energy when need are opened or closed, the energy of lock bodies action, its shortcoming is to meet with the time that can not preserve the lock body unlatching when nonconventional approaches is opened, the shortage property related information when electronic lock;
(2) electronic lock body external power supply, the energy of lock body action is supplied with by the outside, in case but its fatal shortcoming is outage, lock body can't move, and can not preserve the time that lock body is opened when electronic lock meets with when nonconventional approaches is opened in addition, also lacks the property related information.
For active mode:
Advantage: be the shortcoming of avoiding above-mentioned passive lock body;
Shortcoming: can't predict the battery capacity deficiency, in case battery capacity deficiency, will cause the electronic lock dead bolt to open, therefore just need the periodic replacement battery, when using electronic lock greatly and in enormous quantities as this device power consumption of electronic lock, a large amount of batteries that are replaced bring pollution to environment easily, also waste resource, when electronic lock is used by same enterprise simultaneously, also can increase the workload of maintenance, reduce economic benefit of enterprises.
Electronic key device is divided by mode of occupation at present two big classes, the electron key of no Card read/write function and the electron key that the Card read/write function is arranged.The electron key of no Card read/write function, its shortcoming are not know when where electronic lock opened and closed by whom, if electron key is illegally stolen to other people, will cause negative consequence to the electronic lock user.Where when the electron key that the Card read/write function is arranged opened and closed by whom though can grasp electronic lock, and electron key is illegally stolen to other people, will cause negative consequence wayward to the electronic lock user.
The utility model content
The purpose of this utility model is to have overcome above-mentioned shortcoming of the prior art, a kind of electronic lock system of supporting that external power source is opened is provided, this electronic lock system can directly obtain electric energy from the outside and carry out work under the situation that the electronic lock in-line power breaks down, effectively prolong electronic lock body battery application life, and circuit structure is simple and practical, and is convenient to operation, highly versatile, stable and reliable working performance, the scope of application are comparatively extensive.
In order to realize above-mentioned purpose, the electronic lock system that support external power source of the present utility model is opened has following formation:
This supports the electronic lock system that external power source is opened, comprise electrical lock apparatus and the electronic key device that is complementary with it, its main feature is, described electrical lock apparatus comprises the lock body driver module, first data are handled and data memory module, the data transmission interface module, lock body is opened control module, the power supply handover module, first power module and first interface module, described first interface module is connected in described first power module by the power supply handover module, and described lock body driver module is opened control module by described lock body successively, the first data processing and data memory module and data transmission interface module are connected in described first interface module, described electronic key device comprises the Card read/write control module, the key status control module, the electric energy output control module, second data are handled and data memory module, electron key first interface module and second source module, described electron key first interface module is connected with described second source module by described electric energy output control module, described second data are handled and are connected with described electron key first interface module with the electric energy output control module by the key status control module successively with data memory module, and these second data are handled and are connected with described electron key first interface module by the Card read/write control module with data memory module, and described first interface module and electron key first interface module are complementary.
First interface module in the electrical lock apparatus in the electronic lock system that this support external power source is opened can read the TM read head of iButton device for compatibility, and described electron key first interface module also can read the TM read head of iButton device for compatibility.
Electron key first interface module in the electronic lock system that this support external power source is opened is connected with supervisory computer system by communication line.
Also include second interface module in the electrical lock apparatus in the electronic lock system that this support external power source is opened, described first data are handled with data memory module and are connected in the external information receiving equipment by the described data transmission interface module and second interface module successively.
First data in the electronic lock system that this support external power source is opened are handled and data memory module is the MCU control module.
Second data in the electronic lock system that this support external power source is opened are handled and data memory module is the MCU control module.
Adopted the electronic lock system of the support external power source unlatching of this utility model, because it can support external power source to open, the electric energy that the electronic lock dead bolt opens and closes directly obtains from the outside, thereby under the condition of electronic lock operate as normal, can calculate the service time of battery, externally under the fortuitous event of electric energy deficiency in the electrical lock apparatus battery also can provide dead bolt to drive energy, effectively prolong electronic lock body battery application life; And ingenious being combined togather of advantage that passive electronic lock and active electronic are locked, overcome the shortcoming of the two, can according to circumstances change key type flexibly, the key user mode is set, the content of key reading writing information is set, thereby reduced to lose the negative consequence of being brought, also can have the information of screening to read simultaneously, significantly reduced management workload according to regulatory requirement because of electron key; Moreover, circuit structure of the present utility model is simple and practical, and is convenient to operation, highly versatile, and stable and reliable working performance, the scope of application are comparatively extensive, for the fine-grained management of electronic lock system creates conditions, and create conditions for enterprise increases economic efficiency.
The specific embodiment
In order more to be expressly understood technology contents of the present utility model, describe in detail especially exemplified by following examples.
See also Fig. 1 to shown in Figure 4, this supports the electronic lock system that external power source is opened, the electronic key device 2 that comprises electrical lock apparatus 1 and be complementary with it, wherein, described electrical lock apparatus 1 comprises lock body driver module 11, first data are handled and data memory module 12, data transmission interface module 13, lock body is opened control module 14, power supply handover module 15, first power module 16 and first interface module 17, described first interface module 17 is connected in described first power module 16 by power supply handover module 15, and described lock body driver module 11 is opened control module 14 by described lock body successively, first data are handled with data memory module 12 and data transmission interface module 13 and are connected in described first interface module 17, described electronic key device 2 comprises Card read/write control module 21, key status control module 22, electric energy output control module 23, second data are handled and data memory module 24, electron key first interface module 25 and second source module 26, described electron key first interface module 25 is connected with described second source module 26 by described electric energy output control module 23, described second data are handled and are connected with described electron key first interface module 25 with electric energy output control module 23 by key status control module 22 successively with data memory module 24, and these second data are handled and are connected with described electron key first interface module 25 by Card read/write control module 21 with data memory module 24, and described first interface module 17 is complementary with electron key first interface module 25.
Wherein, first interface module 17 in the described electrical lock apparatus can also support to read the TM read head of iButton device for compatibility, and corresponding described electron key first interface module 25 also can also support to read the TM read head of iButton device for compatibility; Described first data processing and data memory module, second data are handled with data memory module and are the MCU control module, can certainly adopt other to have the electronic device of data processing and data storage function.
Simultaneously, this electron key first interface module 25 can also be connected with supervisory computer system 3 by communication line.
Moreover, also include second interface module 18 in this electrical lock apparatus 1, described first data are handled with data memory module 12 and are connected in external information receiving equipment 4 by the described data transmission interface module 13 and second interface module 18 successively.
In the middle of reality was used, the electronic lock system that support external power source of the present utility model is opened mainly is divided into two bigger devices: electronic key device and electrical lock apparatus, they respectively had the following stated function and annexation.
1, electrical lock apparatus: this electrical lock apparatus comprises that lock body driver module, data are handled, data are stored and information transmission interface module, electronic lock are opened control module, power supply handover module, power supply unit.It has following characteristics:
(1) described electrical lock apparatus externally fed interface and information transmission interface parts are same external interface unit, and both interface one.Described information transmission interface links to each other with the information transmission interface module by data wire/supply lines, and described externally fed interface links to each other with the power supply handover module by data/supply lines.
(2) device of described electrical lock apparatus externally fed interface/information transmission interface can be applicable to the iButton device is read and write.
(3) battery in the described electronic lock is mainly supplied with the MCU control module and is used, and when only externally electric flux is not enough to drive lock body motion in the electronic lock, drives lock body motion in the electronic lock by the power supply handover module by the battery power in the lock again.
(4) the intrinsic characteristic information of the work state information of the various information in the electronic key device of described switching electronic lock, electronic lock and electronic lock screening can be arranged outputs in the external equipment.
(5) can increase an output interface of electrical lock apparatus according to customer requirements, promptly interface two, its various work state informations can be passed to miscellaneous equipment in real time, and described interface two links to each other with the MCU control module by data transmission interface module 13.
Wherein, in electrical lock apparatus, see also shown in Figure 2ly, for interface one, its device can adopt the parts of the TM read head structure that is applicable to read-write iButton device, wherein, Button device and TM read/write head are the high-tech products that grows up on the basis of intellective IC card, can use safely and reliably more than 10 years, adopt the monobus communication, do not need read-write equipment output electric energy, with only chlamydate the two poles of the earth of being connected of read-write equipment; Have perfect verification, fault-tolerant, high speed data transfer, maintain secrecy, data storage function.Shortcomings such as general IC-card is easy to damage, pintle hook lock, read-write equipment complexity, is subject to interference and waterproof because Button device and TM read/write head can overcome, protection against the tide, dust protection pollutant performance difference, thereby be a kind ofly to be adapted at most carrying under the long-term adverse circumstances and frequent the use, be applicable to complicated intelligent building environment, thereby in the electronic lock field, can be widely used.
Simultaneously, " device of interface one " on circuit not only same " data transmission interface module " links to each other but also links to each other with " power supply handover module ".When need drive the lock body energy, external power source arrives " power supply handover module " by interface one, battery voltage value and extraneous supply voltage value in the voltage comparator circuit of " power supply handover module " lining is relatively locked, if extraneous supply voltage value is greater than battery voltage value in the lock, driving the required energy of lock body is supplied with by external electric energy, battery provides electric energy in the lock in case extraneous supply voltage value less than battery voltage value in the lock, then has.When need exchange with external information, external information arrives " data transmission interface module " by interface 1, communicate information to the MCU control module by " data transmission interface module " again and handle, at last information needed is kept in the memory in the lock or uploads the information handled and give external equipment.Though can exchange with external information by interface 1, but its information transmission belongs to non real-time, therefore in electrical lock apparatus, laid an interface two, see also shown in Figure 3, should " device of interface two " on circuit, link to each other with " data transmission interface module ", be connected to the MCU control module by " data transmission interface module " again, when take place opening and closing electronic lock or electronic lock duty when changing, the MCU control module is immediately passed to external equipment to information or the electronic lock work state information that the partial information of obtaining from interface one and electronic lock body have by interface two.
2, electronic key device: interface module and power supply unit that this electronic key device comprises the reading writing information control module, store various information, key status control module, the key state setting module of unlocking electronic lock, electric energy output control module that electronic lock opens is provided, carry out information exchange with computer.It has following characteristics:
(1) described electronic key device can be powered to electronic lock, can carry out information exchange with electronic lock and computer.
(2) described electronic key device information transmission interface and power supply interface are same device.
(3) described electronic key device information transmission interface links to each other with the reading writing information control module by data wire/supply lines, and described electronic key device power supply interface links to each other with the electric energy output control module by data wire/supply lines.
(4) described electronic key device can be arranged to be equal to various iButton devices by programming, and is applicable to the part of appliance that meets iButton device communications protocol.
(5) described electronic key device is by being provided with the electron key that can be endowed different rights, makes the electronic lock that an electron key can only switching station limits or the electronic lock of affiliated area.
(6) described electronic key device can be provided with by certain end user, makes it to become the end user that this key only can be set and uses.
(7) described electronic key device can become the key of difference in functionality by setting.
(8) described electronic key device can have various information in the screening ground read-write electronic lock.
Wherein, in electronic key device, see also shown in Figure 4, " device of interface " adopts external form to be similar to the parts of iButton device, " device of interface " on circuit not only same " reading writing information control module " links to each other but also links to each other with " electric energy output control module ", the work schedule of " key status control module " control " reading writing information control module " and " electric energy output control module ", when need externally transmit information, out-put supply is cut off in control " electric energy output control module ", make the information of electron key can normally externally carry out information exchange, when need externally transmitted electric energy, control " reading writing information control module " disconnected the information output channel.By being connected of computer and key " device of interface ", the electron key classification can be set, give the difference in functionality of electron key, example: zero clearing key (can rewrite electronic lock storage characteristic information), assembling key (electronic lock is not provided with working region and rank, can opens the electronic lock that characteristic information is not set), work key (according to corresponding work zone and rank ability unlocking electronic lock), emergency key (not distinguishing working region and rank) etc. with regard to the energy unlocking electronic lock.By to the different operating order of electron key panel button, can start the electron key normal read breath of winning the confidence.
In sum, the electronic lock system that support external power source of the present utility model is opened, the public interface device of the electrical lock apparatus wherein and the information exchange of electronic key device and mutual current supply circuit, the electric flux that electronic lock is opened press actual needs and not only can but also can be supplied with by the electronic lock internal electric source by power supply supply in the electron key, described electronic key device is connected with the electronic lock interface, can be applicable to the structure of the TM read head of read-write iButton device, can read and write by the interface device type of two device agreements of electronic lock system again, described electrical lock apparatus is connected with the electronic key device interface, can be applicable to read-write iButton device, can read and write by the interface device type form of two device agreements of electronic lock system again, electronic key device carries out exchange message with computer interface device is an identical device with the interface device of the information exchange of electrical lock apparatus and electronic key device, electronic key device can be read and write the relevant information that stores in the electronic lock as required can all read the electronic lock store information again, the type of electronic key device and duty can be as required by computer installations, the user of electronic key device can be by the button input service password on the electronic key device, it can only could be used behind the input service password, and when the user needs, an output interface of electrical lock apparatus can be increased, its various work state informations miscellaneous equipment can be passed in real time.
The electronic lock system that has adopted above-mentioned support external power source to open, because it can support external power source to open, the electric energy that the electronic lock dead bolt opens and closes directly obtains from the outside, thereby under the condition of electronic lock operate as normal, can calculate the service time of battery, externally under the fortuitous event of electric energy deficiency in the electrical lock apparatus battery also can provide dead bolt to drive energy, effectively prolong electronic lock body battery application life; And ingenious being combined togather of advantage that passive electronic lock and active electronic are locked, overcome the shortcoming of the two, can according to circumstances change key type flexibly, the key user mode is set, the content of key reading writing information is set, thereby reduced to lose the negative consequence of being brought, also can have the information of screening to read simultaneously, significantly reduced management workload according to regulatory requirement because of electron key; Moreover, circuit structure of the present utility model is simple and practical, and is convenient to operation, highly versatile, and stable and reliable working performance, the scope of application are comparatively extensive, for the fine-grained management of electronic lock system creates conditions, and create conditions for enterprise increases economic efficiency.
In this manual, the utility model is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from spirit and scope of the present utility model.Therefore, manual and accompanying drawing are regarded in an illustrative, rather than a restrictive.