CN208477614U - Electronic lock system - Google Patents

Electronic lock system Download PDF

Info

Publication number
CN208477614U
CN208477614U CN201821066623.9U CN201821066623U CN208477614U CN 208477614 U CN208477614 U CN 208477614U CN 201821066623 U CN201821066623 U CN 201821066623U CN 208477614 U CN208477614 U CN 208477614U
Authority
CN
China
Prior art keywords
electronic lock
key
data processing
processing module
data transmission
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
CN201821066623.9U
Other languages
Chinese (zh)
Inventor
岑耀荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201821066623.9U priority Critical patent/CN208477614U/en
Application granted granted Critical
Publication of CN208477614U publication Critical patent/CN208477614U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The utility model provides a kind of electronic lock system, including electron key and electronic lock, and electron key includes: instruction triggers device;The first data processing module being connected with instruction triggers device, for generating corresponding operational order to the operation of instruction triggers device according to user;The first data transmission module being connected with the first data processing module, for the key information of operational order and electron key to be sent to electronic lock, electronic lock includes: the second data transmission module, for receiving the key information of operational order and electron key;The second data processing module being connected with the second data transmission module, for being based on operational order and key information, it establishes and stores the cipher key relation between electronic lock and electron key, remove cipher key relation, and it is unlocked according to the first unlocking instruction and cipher key relation control electronic lock, it is also used to control electronic lock and opens or closes guest state, and unlocked after electronic lock opens guest state according to the second unlocking instruction and cipher key relation control electronic lock.

Description

Electronic lock system
Technical field
The utility model relates to electronic lock technical fields, and in particular to a kind of electronic lock system.
Background technique
Now with the development of electronic technology, quick light electronic lock initially enters the public visual field, but current electricity Son lock is generally using quick unlocking manners such as key-press input password, fingerprint recognition, face recognition, radio-frequency card, bluetooths, with certain The safety of degree exchanges convenience, and the acquisition identification module that most of needs are relatively complicated for, increases electronic lock Cost causes certain restrictions in the number of the number and extension electron key that extend electronic lock.
Utility model content
The utility model is to solve that current electronic lock degree of safety is more single to be inconvenient to adjust extension, cannot be easily according to making With time or accidental high-frequency service condition to electronic lock carrying out the adjustment appropriate such as reduce degree of safety and increase convenience The technical issues of, provide a kind of electronic lock system.
The technical solution adopted in the utility model is as follows:
A kind of electronic lock system, including electron key and electronic lock, wherein
The electron key includes:
Instruction triggers device, described instruction trigger device is for receiving user's operation;
First data processing module, first data processing module are connected with described instruction trigger device, and described first Data processing module is used to generate corresponding operational order to the operation of described instruction trigger device according to user, wherein described Operational order includes that cipher key relation establishes instruction, cipher key relation clearance order, the first unlocking instruction, the second unlocking instruction, visitor Status switching instruction and licensing status switch order;
First data transmission module, the first data transmission module is connected with first data processing module, described First data transmission module is used to the key information of the operational order and the electron key being sent to the electronic lock,
The electronic lock includes:
Second data transmission module, second data transmission module and the first data transmission module establish connection pass After system, the key information of the operational order and the electron key is received;
Second data processing module, second data processing module is connected with second data transmission module, described Second data processing module is used to establish the key information and the electronics of instruction, the electron key according to the cipher key relation The cipher key relation between the electronic lock and the electron key is established and stored to the key information of lock, and is closed according to the key It is that clearance order removes the cipher key relation, and controls the electronics according to first unlocking instruction and the cipher key relation Lock is unlocked, second data processing module be also used to be controlled according to the guest state switch order electronic lock open or Guest state is closed, and is closed after the electronic lock opens the guest state according to second unlocking instruction and the key System controls the electronic lock and unlocks.
The electronic lock further include: lock status sensing module, the lock status sensing module and second data processing Module is connected, and the lock status sensing module is used to detect the opening and closing lock status of the electronic lock;Lock opening and closing motor drive mechanism, it is described Lock opening and closing motor drive mechanism is connected with second data processing module, and second data processing module is opened by controlling the lock Motor drive mechanism is closed to control the electronic lock and unlock or be latched.
First data processing module and second data processing module include corresponding processor, memory and Controller.
The first data transmission module and second data transmission module include corresponding physical interface and data Signal circuit.
The cipher key relation is established with the electronic lock and possesses the first of the electron key of licensing status opening and closing permission Data transmission module sends licensing status switch order to the second data transmission module of the electronic lock, and the of the electronic lock Two data processing modules control the electronic lock according to the licensing status switch order and the cipher key relation and open or close Licensing status, after the electronic lock opens the licensing status, the first data transmission module also receives second number According to the key information for the electronic lock that transmission module is sent, first data processing module is built also according to the cipher key relation The key information of vertical instruction, the key information of the electron key and the electronic lock establish and store the electronic lock with it is described Cipher key relation between electron key, and the cipher key relation is removed according to the cipher key relation clearance order.
The operational order further includes reset indication, first data processing module and second data processing module The information of itself storage is reset also according to the reset indication.
The electron key or the electronic lock are multiple.
The electronic lock system further includes power supply, and the power supply is arranged in the electron key and/or the electronic lock In.
The electronic lock system further includes external signal output equipment, opens the guest state in the electronic lock Afterwards, and after second data transmission module and the external signal output equipment establish signal connection relationship, described second Data transmission module receives the external unlocking signal of the external signal output equipment, the direct root of the second data processing module The electronic lock is controlled according to the external unlocking signal to unlock.
The electron key and the electronic lock include the MCU (Microcontroller of model HT66F70A Unit, micro-control unit, also known as single-chip microcontroller).
The utility model has the beneficial effects that
The electronic lock system of the utility model, it is real by information transmitting, the ability of storage between electron key and electronic lock The Dynamic link library for having showed electron key and electronic lock may be implemented single electron key can be actually used according to user and correspond to more Electronic lock, list can actually use electronic lock according to user corresponding more electron key;By setting guest state, it can be achieved that its Its electronic lock system is used in conjunction with the utility model electronic lock system, establishes the compound of adjustable degree of safety and convenient degree Electronic lock system gives user to adjust the convenient degree of the composite electronic lock system according to its practical service condition, gives use The better usage experience in family;By the foundation and removing of cipher key relation, may be implemented losing the electronics key in electronic lock system Full powers limit recycling can be carried out in electron key of the inside to loss to the electronic lock in electronic lock system by certain means when spoon Remove the relevant information for establishing cipher key relation that it is stored in electronic lock or change that its own uses to key, to mention The safety of high electronic lock and guarantee that electronic lock remains to safely reuse again when losing electron key.
Detailed description of the invention
Fig. 1 is the block diagram of the electronic lock system of the utility model embodiment;
Fig. 2 is the block diagram of the electronic lock of the utility model one embodiment;
Fig. 3 is the block diagram of the electron key of the utility model one embodiment;
Fig. 4 is the structural schematic diagram of the electronic lock system of the utility model one embodiment;
Fig. 5 is the circuit structure diagram of the electron key of one specific embodiment of the utility model;
Fig. 6 is the circuit structure diagram of the electronic lock of one specific embodiment of the utility model;
Fig. 7 is the partial process view of the control method of the electronic lock system of one specific embodiment of the utility model;
Fig. 8 is that the electronic lock of one specific embodiment of the utility model establishes the flow chart of cipher key relation with electron key;
Fig. 9 is the flow chart of the unlocking control method under the guest state of one specific embodiment of the utility model.
Specific embodiment
The following will be combined with the drawings in the embodiments of the present invention, carries out the technical scheme in the embodiment of the utility model Clearly and completely describe, it is clear that the described embodiments are only a part of the embodiments of the utility model, rather than whole Embodiment.Based on the embodiments of the present invention, those of ordinary skill in the art are without making creative work Every other embodiment obtained, fall within the protection scope of the utility model.
As shown in Figure 1, the electronic lock system of the utility model embodiment, including electron key 10 and electronic lock 20.Electronics Key 10 includes instruction triggers device 11, the first data processing module 12 and first data transmission module 13, instruction triggers device 11 for receiving user's operation;First data processing module 12 is connected with instruction triggers device 11, the first data processing module 12 For generating corresponding operational order to the operation of instruction triggers device 11 according to user, wherein operational order includes that key closes System establishes instruction, cipher key relation clearance order, the first unlocking instruction, the second unlocking instruction, guest state switch order and authorization Status switching instruction;First data transmission module 13 is connected with the first data processing module 12, and first data transmission module 13 is used In the key information of operational order and electron key 10 is sent to electronic lock 20.Electronic lock 20 includes the second data transmission module 21 and second data processing module 22, after the second data transmission module 21 establishes a connection with first data transmission module 13, Receive the key information of operational order and electron key;Second data processing module 22 is connected with the second data transmission module 21, Second data processing module 22 is used to establish the close of instruction, the key information of electron key 10 and electronic lock 20 according to cipher key relation The cipher key relation between electronic lock 20 and electron key 10 is established and stored to key information, and is removed according to cipher key relation clearance order The cipher key relation, and unlocked according to the first unlocking instruction and cipher key relation control electronic lock 20, the second data processing module 22 It is also used to control electronic lock 20 according to guest state switch order and opens or closes guest state, and open visitor in electronic lock 20 It is unlocked after state according to the second unlocking instruction and cipher key relation control electronic lock 20.
Further, cipher key relation is established with electronic lock 20 and possess the electron key 10 of licensing status opening and closing permission First data transmission module 13 can send licensing status switch order, electronic lock to the second data transmission module 21 of electronic lock 20 20 the second data processing module 22 can be opened or be closed according to the licensing status switch order and cipher key relation control electronic lock 20 Close licensing status.
In one embodiment of the utility model, the process for opening licensing status is specifically included: opening with licensing status 10 pairs of electron key of electronic lock 20 for closing permission sends licensing status opening and closing signal, and electronic lock 20 confirms that electron key 10 has The electron key 10 of permission identification signal extremely is sent after being opened and closed licensing status permission, electronic lock 20 is sent to according to electron key 10 The counterpart keys that are stored with itself of key identified, obtain recognition result and be it is correct after open licensing status.It opens and visits The process of objective state specifically includes: 10 pairs of electron key of the electronic lock 20 with guest state opening and closing permission sends licensing status Opening and closing signal, electronic lock 20, which confirms, sends the electronics of permission identification signal extremely after electron key 10 has opening and closing guest state permission Key 10, the counterpart keys that the key according to transmitted by electron key 10 to electronic lock 20 is stored with itself are identified, are obtained Recognition result and be it is correct after open guest state.
In one embodiment of the utility model, as shown in Fig. 2, electronic lock 20 further includes 23 He of lock status sensing module Lock opening and closing motor drive mechanism 24, lock status sensing module 23 are connected with the second data processing module 22, and lock status sensing module 23 is used In the opening and closing lock status of detection electronic lock 20;Lock opening and closing motor drive mechanism 24 is connected with the second data processing module 22, the second data Processing module 22 controls the unlocking of electronic lock 20 or locking by control lock opening and closing motor drive mechanism 24.
As shown in Figures 2 and 3, the first data processing module 12 and the second data processing module 22 include corresponding processing Device, memory and controller, first data transmission module 13 and the second data transmission module 21 include corresponding physical interface And data signaling circuit.
In one embodiment of the utility model, after electronic lock 20 opens licensing status, first data transmission module 13 also receive the key information of the electronic lock 20 of the second data transmission module 21 transmission, and the first data processing module 12 is also according to close Electronic lock 20 and electricity are established and stored to the key information that key relationship establishes instruction, the key information of electron key 10 and electronic lock 20 Cipher key relation between sub- key 10, and the cipher key relation is removed according to cipher key relation clearance order.
Further, operational order may also include blocking order and reset indication, and the second data processing module 22 can basis Blocking order and cipher key relation control electronic lock 20 are latched, the first data processing module 12 and second data processing module 22 The information of itself storage can be also reset according to reset indication.
In one embodiment of the utility model, electron key 10 or electronic lock 20 are multiple.That is, electronics Key 10 and electronic lock 20 can have the relational structure of multi-to-multi, i.e., single electron key 10 can be with multiple electronic locks 20 Cipher key relation can be established with corresponding multiple electron key 10 by establishing cipher key relation or single electronic lock 20.
In one embodiment of the utility model, electronic lock system further includes power supply, and power supply may be provided at electron key And/or in electronic lock.That is, power supply may be disposed in electron key 10, or in the electronic lock 20 being set to or electronic lock 20 with electron key 10 in be provided with power supply.Electron key 10 is connected with the electronic lock 20 by corresponding physical interface When, mainly realize the interconnection of respective data transmission module, while the direction with power supply can also be made not with power supply One side power supply.In one embodiment of the utility model, power supply and electronic lock 20 used in lock opening and closing motor drive mechanism 24 and Power supply used in electron key 10 is identical.
In one embodiment of the utility model, electronic lock system further includes external signal output equipment, in electronic lock After 20 open guest states, and after the second data transmission module 21 establishes signal connection relationship with external signal output equipment, Second data transmission module 21 receives the external unlocking signal of external signal output equipment, and the second data processing module 22 can be direct Electronic lock 20 is controlled according to external unlocking signal to unlock.
In general, the electronic lock 20 of the utility model embodiment has data and cipher key delivery, processing, storage and close Function that key compares, pair electron key 10 data input with and pair typing electron key information management Some or all of function, the function of transmitting the electron key 10 of itself decruption key extremely, the resetting storage of electronic lock 20 electronics key The movement of the function, the function of licensing status, the function of guest state, the lock opening and closing motor drive mechanism 24 provided of the information of spoon 10 is held The function of row signal.Electron key 10 has the function of data and key handling, transmission and storage and opens licensing status Electronic lock 20 carries out typing or cancels the function of typing, resetting electron key 10 stores the function of information, sends to electronic lock 20 The function of operation signal.
The electronic lock of multilevel system can be set up jointly including but not limited to following with the electronic lock of the example of the utility model The electronic lock of act: (Integrated Circuit is integrated by Bluetooth electronic lock, fingerprint recognition electronic lock, radio-frequency card electronic lock, IC Circuit) card electronic lock etc..
In one embodiment of the utility model, as shown in figure 4, electron key 10 and electronic lock 20 include model The MCU of HT66F70A.Electron key 10 and electronic lock 20 share a power supply, which may be provided in electron key 10, have Body may include two 10440 iron lithium phosphate batteries, be a kind of No. 7 rechargeable batteries, it is possible to provide the DC voltage of 6.4V.Electronics key Physical interface in spoon 10 can be 3.0 Type B male connector of Micro USB, and the physical interface in electronic lock 20 can be Micro USB 3.0 Type B bases, when electron key 10 is matched with electronic lock 20, the physical interface of the two is connected, corresponding signal wire, Positive electricity polar curve is connected with negative electrode wire, can not only be carried out the transmission of SPI and status signal, can also be carried out the transmission of electric energy.Such as Fig. 4 Shown, electron key 10 and electronic lock 20 provide battery by voltage-stablizer including the voltage-stablizer of model AMS1117-3.3 6.4V voltage converted, be supplied to respective MCU.As shown in figure 4, the instruction triggers device of electron key 10 can be to touch Key, MCU can generate different operational orders according to different key trigger sequences;The lock opening and closing motor drive mechanism of electronic lock can wrap The decelerating motor of model GA12-N20 is included, the MCU of electronic lock 20 is slowed down electric by issuing control signal to triode with control Machine is switched on or switched off electric power loop, realizes the control to the operating of decelerating motor, stalling and revolving speed.In addition, the MCU of electronic lock 20 It further include external signal input terminals, to input lock status signal, external unlocking signal etc..Electron key 10 and electronic lock 20 are equal It may include the LED to carry out state instruction.
In a specific embodiment of the utility model, the circuit structure of electron key 10 is as shown in figure 5, include monolithic Machine HT66F70A1, AMS1117-3.3 voltage-stablizer, power input, 3.0 Type B male connector of Micro USB, Micro USB 3.0B Type base, self reset signal port, multiple keys (in figure by taking K0~K4 totally five as an example) and multiple LED (in figure with D1~ D2 is for totally two).Wherein, data processing mould of the single-chip microcontroller HT66F70A as the electron key of the utility model embodiment Block;AMS1117-3.3 voltage-stablizer is used to convert 3.3V stable in error range for externally input 5~12V DC voltage DC voltage, being output in single-chip microcontroller HT66F70A makes its normal work;3.0 Type B male connector of Micro USB and Micro USB 3.0 Type B bases are one of first data transmission module physical interface.
As shown in figure 5, the end VCC of power input is connected with the end Vin of AMS1117-3.3 voltage-stablizer;Power input The end GND connection AMS1117-3.3 voltage-stablizer the end GND series connection;The end Vin of AMS1117-3.3 voltage-stablizer, capacity cell C1 and The end GND of AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end Vin of AMS1117-3.3 voltage-stablizer, capacity cell C2 and The end GND of AMS1117-3.3 voltage-stablizer is sequentially connected in series.The end Vout of AMS1117-3.3 voltage-stablizer is with single-chip microcontroller HT66F70A's Vdd terminal series connection;It connects with the end VSS of single-chip microcontroller HT66F70A at the end GND of AMS1117-3.3 voltage-stablizer;AMS1117-3.3 pressure stabilizing The end Vout of device, the end GND of capacity cell C3 and AMS1117-3.3 voltage-stablizer are sequentially connected in series;AMS1117-3.3 voltage-stablizer The end Vout, capacity cell C4 and AMS1117-3.3 voltage-stablizer the end GND be sequentially connected in series;The Vout of AMS1117-3.3 voltage-stablizer End, resistive element R5, capacity cell C5 and AMS1117-3.3 voltage-stablizer the end GND be sequentially connected in series;AMS1117-3.3 voltage-stablizer The end Vout, resistive element R5 and single-chip microcontroller HT66F70A the end PB0/RSE be sequentially connected in series.AMS1117-3.3 voltage-stablizer The end SCS at the end Vout, resistive element R4 and single-chip microcontroller HT66F70A is sequentially connected in series.The end VCC of 3.0 Type B male connector of Micro USB It connects with the end Vin of AMS1117-3.3 voltage-stablizer;The end GND of 3.0 Type B male connector of Micro USB and AMS1117-3.3 pressure stabilizing It connects at the end GND of device;It connects with the end PC2 of single-chip microcontroller HT66F70A at the end PC2 of 3.0 Type B male connector of Micro USB;Micro It connects with the end PA4 of single-chip microcontroller HT66F70A at the end PA4 of 3.0 Type B male connector of USB;The SDI of 3.0 Type B male connector of Micro USB It connects with the end SDI of single-chip microcontroller HT66F70A at end;The end SDO of 3.0 Type B male connector of Micro USB is with single-chip microcontroller HT66F70A's The series connection of the end SDO;It connects with the end SCK of single-chip microcontroller HT66F70A at the end SCK of 3.0 Type B male connector of Micro USB.Micro USB It connects with the end PC7 of single-chip microcontroller HT66F70A at the end PC7 of 3.0 Type B bases;The end PC6 of 3.0 Type B base of Micro USB with It connects at the end PC6 of single-chip microcontroller HT66F70A;The end SDOA of 3.0 Type B base of Micro USB and the SDOA of single-chip microcontroller HT66F70A End series connection;It connects with the end SDIA of single-chip microcontroller HT66F70A at the end SDIA of 3.0 Type B base of Micro USB;Micro USB It connects with the end SCKA of single-chip microcontroller HT66F70A at the end SCKA of 3.0 Type B bases;The end SCKA of single-chip microcontroller HT66F70A, resistance member The end GND of part and AMS1117-3.3 voltage-stablizer is sequentially connected in series.The port REST at key self reset end, resistive element R1 and The end Vout of AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end PC4 at key self reset end 6 and the end PC4 of single-chip microcontroller HT66F70A Series connection.The end Vout of AMS1117-3.3 voltage-stablizer 2, resistive element R2, light emitting diode D1 and single-chip microcontroller HT66F70A PC0 End is sequentially connected in series;The end Vout, resistive element R2, light emitting diode D2 and the single-chip microcontroller HT66F70A of AMS1117-3.3 voltage-stablizer The end PC1 be sequentially connected in series.The end PG0 of single-chip microcontroller HT66F70A, resistive element R11, inching button K0 and AMS1117-3.3 pressure stabilizing The end GND of device is sequentially connected in series;The end PG1 of single-chip microcontroller HT66F70A, resistive element R10, inching button K1 and AMS1117-3.3 are steady The end GND of depressor is sequentially connected in series;The end PG2 of single-chip microcontroller HT66F70A, resistive element R7, inching button K2 and AMS1117-3.3 The end GND of voltage-stablizer is sequentially connected in series;The end PG3 of single-chip microcontroller HT66F70A, resistive element R8, inching button K3 and AMS1117- The end GND of 3.3 voltage-stablizers is sequentially connected in series;The end PG4 of single-chip microcontroller HT66F70A, resistive element R9, inching button K4 and The end GND of AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end PG4 of single-chip microcontroller HT66F70A and the INT0 of single-chip microcontroller HT66F70A End series connection;The end SCSA of single-chip microcontroller HT66F70A, the end GND of resistive element R6 and AMS1117-3.3 voltage-stablizer are sequentially connected in series.
In a specific embodiment of the utility model, the circuit structure of electronic lock 20 is as shown in fig. 6, include single-chip microcontroller HT66F70A, AMS1117-3.3 voltage-stablizer, Micro USB 3.0B type base, switch lock driving signal output end, lock status letter Number input terminal, the second unlocking signal input terminal and multiple LED.Wherein, single-chip microcontroller HT66F70A is implemented as the utility model The data processing module of the electronic lock of example;AMS1117-3.3 voltage-stablizer is used to convert externally input 5~12V DC voltage For 3.3V DC voltage stable in error range, being output in single-chip microcontroller HT66F70A makes its normal work;Micro USB 3.0B type base is one of the second data transmission module physical interface.Switch lock driving signal output end is used for single-chip microcontroller HT66F70A sends driving lock switching mechanism and executes signal;Lock status signal input terminal obtains current for single-chip microcontroller HT66F70A Lock the signal of open and-shut mode;Second unlocking signal input terminal obtains the second unlocking signal for single-chip microcontroller HT66F70A, i.e., external Unlocking signal.
As shown in fig. 6, the GND at the end Vin of AMS1117-3.3 voltage-stablizer, capacity cell C1 and AMS1117-3.3 voltage-stablizer End is sequentially connected in series;The end Vin of AMS1117-3.3 voltage-stablizer, capacity cell C2 and AMS1117-3.3 voltage-stablizer the end GND successively Series connection.It connects with the vdd terminal of single-chip microcontroller HT66F70A at the end Vout of AMS1117-3.3 voltage-stablizer;AMS1117-3.3 voltage-stablizer It connects with the end VSS of single-chip microcontroller HT66F70A at the end GND;The end Vout of AMS1117-3.3 voltage-stablizer, capacity cell C3 and The end GND of AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end Vout of AMS1117-3.3 voltage-stablizer, capacity cell C4 and The end GND of AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end Vout of AMS1117-3.3 voltage-stablizer, resistive element R8, capacitor member The end GND of part C5 and AMS1117-3.3 voltage-stablizer is sequentially connected in series;The end Vout of AMS1117-3.3 voltage-stablizer, resistive element R8 and The end PB0/RSE of single-chip microcontroller HT66F70A is sequentially connected in series.The end GND, resistive element R7 and the single-chip microcontroller of AMS1117-3.3 voltage-stablizer The end SCS of HT66F70A is sequentially connected in series.The end VCC of 3.0 Type B base of Micro USB and the Vin of AMS1117-3.3 voltage-stablizer End series connection;It connects with the end GND of AMS1117-3.3 voltage-stablizer at the end GND of 3.0 Type B base of Micro USB;Micro USB It connects with the end PC2 of single-chip microcontroller HT66F70A at the end PC2 of 3.0 Type B bases;The end PC1 of 3.0 Type B base of Micro USB with It connects at the end PC1 of single-chip microcontroller HT66F70A;The end SDI of 3.0 Type B base of Micro USB and the end SDI of single-chip microcontroller HT66F70A Series connection;It connects with the end SDO of single-chip microcontroller HT66F70A at the end SDO of 3.0 Type B base of Micro USB;Micro USB 3.0 B It connects with the end SCK of single-chip microcontroller HT66F70A at the end SCK of type base.The end VCC of switch lock driving signal output end and Micro It connects at the end VCC of 3.0 Type B base of USB;The end GND of switch lock driving signal output end and 3.0 Type B base of Micro USB The end GND series connection;The C-terminal of switch lock driving signal output end with and the end PF2 of single-chip microcontroller HT66F70A connect;Switch lock driving The end O of signal output end with and the end PF5 of single-chip microcontroller HT66F70A connect;The end K1 of lock status signal input terminal and single-chip microcontroller It connects at the end PC0 of HT66F70A;It connects with the end PE4 of single-chip microcontroller HT66F70A at the end S2 of second unlocking signal input terminal. The end PC1 at the end Vout of AMS1117-3.3 voltage-stablizer, resistive element R5 and single-chip microcontroller HT66F70A is sequentially connected in series;AMS1117- The end PC2 at the ends Vout of 3.3 voltage-stablizers, resistive element R6 and single-chip microcontroller HT66F70A is sequentially connected in series;AMS1117-3.3 voltage-stablizer The end Vout, resistive element R1, light emitting diode D1 and single-chip microcontroller HT66F70A the end PC3 be sequentially connected in series;AMS1117-3.3 is steady The end Vout of depressor, resistive element R2, light emitting diode D2 and single-chip microcontroller HT66F70A the end PC4 be sequentially connected in series;AMS1117- The ends Vout of 3.3 voltage-stablizers, resistive element R3, light emitting diode D3 and single-chip microcontroller HT66F70A the end PC5 be sequentially connected in series; The end Vout of AMS1117-3.3 voltage-stablizer, resistive element R4, light emitting diode D4 and single-chip microcontroller HT66F70A the end PC6 successively Series connection.
Based on foregoing circuit structure, user can press according to self-demand corresponds to the corresponding behaviour of key sending on electron key It instructs in electronic lock, electronic lock is by judging whether the identity of the electron key of connection has the operational order permission with determination Whether need to carry out next step confirmation or executes the required operation of operational order.
Electron key not only has 3.0 Type B male connector of Micro USB in above-described embodiment, also has Micro USB 3.0 Type B base, when electron key A passes through Micro USB 3.0 by 3.0 Type B male connector of Micro USB and another electron key B When Type B base connects, corresponding signal wire connection, user can be requested by the specified keystroke sequence on another electron key B Obtain the second unblocking key having on electron key A.
When the physical interface of electron key does not carry out any connection, nothing is awarded by the way that specified keystroke sequence is achievable The key of power state and guest state opening and closing permission carries out cipher key relation removing and is deposited with obtaining certain cipher key relation memory space Put more crucial cipher key relation.
When electron key or electronic lock, it is attached by physical interface or corresponding equipment with corresponding management software, and When corresponding management software obtains the administration authority of electron key or electronic lock, user can be in electron key by management software Or the information for any established cipher key relation specified in electronic lock is deleted.
One of optional example applied to the utility model electronic lock system presented below simply about The design scheme of authentication: write-in length is the independent sequence code of 3 bytes and interprets key to locate before electron key factory The related algorithm of random code is managed, write-in length is the independent key of 4 bytes and the correlation for handling random code before electronic lock factory Algorithm.The 4th byte is only with rear 6 binary systems in 4 byte keys wherein stored in electronic lock.Electron key and electronics locking phase When mutually establishing cipher key relation, the data processing module of electron key by the sequence code of itself and will be used to store this secondary key pass It is that the storage location of information is transferred in the data processing module of electronic lock by data processing module, the data processing of electronic lock Module transmits the key of itself and preceding 2 binary systems of the 4th byte according to the permission modification key given by data Module transfer is into the data processing module of electron key.The data processor of electronic lock and electron key difference is as needed It handles the cipher key relation information received and stores into the memory of itself.When electron key and electronic lock are attached, Electron key sends the sequence code of itself to electronic lock, and electronic lock is found in memory according to the sequence code received is The no cipher key relation about the sequence code confirms authority information if having and sends relevant information to electron key, otherwise neglects Default value is slightly sent to electron key.
In a specific embodiment of the utility model, as shown in fig. 7, the control method of electronic lock system can include: Electronic lock powers on and initializes waiting connection, obtains ID and sends information and wait instruction.Electron key powers on and initializes waiting Connection sends ID and obtains information, waits push button signalling, sends operational order to electronic lock when there is push button signalling, and further Judge whether to need to verify.Electronic lock judges whether there is permission after receiving operational order, i.e. whether electron key has matching The permission of cipher key relation if it is, further determining whether to need to verify, while sending checking signal to electron key.It connects The electronic lock that gets off sends random code, and electron key receives random code, and the two all handles random code, electron key according to cipher key relation Processing result is sent, electronic lock receives processing as a result, the two judges whether to match, returns to waiting for instructing respectively if mismatching The step of with waiting push button signalling, if it does, then executing corresponding operating.
In a specific embodiment of the utility model, as shown in figure 8, electronic lock and electron key in electronic lock system Establish the process of cipher key relation can include: electronic lock powers on and initialize waiting connection, obtains ID and sends information and wait instruction. Electron key powers on and initializes waiting connection, sends ID and obtains information, push button signalling is waited, when there is push button signalling to electronics Lock sends cipher key relation and establishes instruction.Electronic lock, which receives after cipher key relation establishes instruction, judges whether licensing status is opened, such as Fruit is opened, then judges whether to meet preset condition, such as whether electronic lock confirmation electronic key based identity meets preset condition, and to Electron key sends consequential signal.Electron key judges whether to be allowed to according to consequential signal, if electronic lock judgement meet it is pre- If condition and electron key judgement is allowed to, then both cipher key relation is established.
In a specific embodiment of the utility model, as shown in figure 9, the unlocking control method under guest state can Include: that electronic lock powers on and initialize waiting connection, obtains ID and send information and wait instruction or signal.Electron key powers on simultaneously Initialization waits connection, sends ID and obtains information, visitor's unlocking push button signalling is waited, when there is visitor's unlocking push button signalling to electricity Son lock sends the second unlocking instruction.Electronic lock not only can receive electron key is sent second during waiting instruction or signal and open Lock instruction also can receive the second unlocking signal that external signal output equipment is sent, i.e., external unlocking signal.Receiving second After unlocking instruction or the second unlocking signal, electronic lock judges whether guest state is opened, if open if judgement be instruction or Signal.If it is signal, i.e. the second unlocking signal, then direct unlocking electronic lock;If it is instruction, i.e. the second unlocking instruction, then Electronic lock further determines whether to meet preset condition, and sends consequential signal to electron key.Electron key is believed according to result Number judge whether to be allowed to, if electronic lock judgement meets preset condition and electron key judgement is allowed to, electron key hair Guest key is sent, electronic lock receives guest key, and judges whether guest key matches, if it does, then unlocking electronic lock.
That is, the application method of above-mentioned guest state, comprising: there is a certain electronic lock guest key and possess and give The electron key of the permission of its guest key gives another electron key, so that it possesses the guest state unlatching in the electronic lock In the state of send the second unlocking instruction can make the electronic lock execute unlocking signal send ability.
The application method of above-mentioned guest state, further includes: by the electronic lock identity of external equipment such as other electronic lock systems The second unlocking signal that the unlocking signal of authentication module is output to the electronic lock of the electronic lock system of the utility model embodiment is defeated Inbound port.When the electronic lock of the electronic lock system of utility model embodiment opens guest state, user can be by using Electronic lock system of the unlocking signal of the electronic lock authentication module output of other electronic lock systems to the utility model embodiment The electronic lock of system carries out unlocking operation.
When in the electronic lock system of the utility model embodiment electronic lock or electron key abandon or lose when, reservation makes The electronic lock or electron key for having corresponding relationship can guarantee that it continues to come into operation by the means of inside setting, such as abandon It can be connected with each other and execute cipher key relation clear operation;To retain the electronic lock that uses if losing or electron key can connect can only It obtains shallow-layer cipher key relation and the electronic lock system management software of the utility model embodiment of cipher key relation removing can only be carried out Cipher key relation is carried out to specified loss or the electronic lock abandoned or electron key to remove to guarantee the electronic lock or electricity that retain Sub- key can possess the space that more cipher key relations are established and be come into operation with continuing to come into operation or can safely continue.
In conclusion according to the electronic lock system of the utility model embodiment, by believing between electron key and electronic lock Breath transmitting, the ability stored realize the Dynamic link library of electron key and electronic lock, and list may be implemented can basis electron key User's actual use is corresponding more electronic lock, and list can actually use electronic lock according to user corresponding more electron key;Pass through Guest state is set, it can be achieved that other electronic lock systems are used in conjunction with the utility model electronic lock system, is established adjustable The composite electronic lock system of degree of safety and convenient degree gives user to adjust the composite electronic according to its practical service condition The convenient degree of lock system gives the better usage experience of user;By the foundation and removing of cipher key relation, may be implemented losing When electron key in electronic lock system can by certain means to the electronic lock in electronic lock system in inside to the electricity of loss Sub- key carries out full powers limit recycling and removes the relevant information for establishing cipher key relation or change it certainly that it is stored in electronic lock Body use to key, to improve the safety of electronic lock and guarantee that electronic lock remains to pacify again when losing electron key It reuses entirely.
While there has been shown and described that the embodiments of the present invention, for the ordinary skill in the art, It is understood that these embodiments can be carried out with a variety of variations in the case where not departing from the principles of the present invention and spirit, repaired Change, replacement and variant, the scope of the utility model is defined by the appended claims and the equivalents thereof.

Claims (10)

1. a kind of electronic lock system, which is characterized in that including electron key and electronic lock, wherein
The electron key includes:
Instruction triggers device, described instruction trigger device is for receiving user's operation;
First data processing module, first data processing module are connected with described instruction trigger device, first data Processing module is used to generate corresponding operational order to the operation of described instruction trigger device according to user, wherein the operation Instruction includes that cipher key relation establishes instruction, cipher key relation clearance order, the first unlocking instruction, the second unlocking instruction, guest state Switch order and licensing status switch order;
First data transmission module, the first data transmission module are connected with first data processing module, and described first Data transmission module is used to the key information of the operational order and the electron key being sent to the electronic lock,
The electronic lock includes:
Second data transmission module, second data transmission module establish a connection with the first data transmission module Afterwards, the key information of the operational order and the electron key is received;
Second data processing module, second data processing module are connected with second data transmission module, and described second Data processing module is used to establish instruction, the key information of the electron key and the electronic lock according to the cipher key relation The cipher key relation between the electronic lock and the electron key is established and stored to key information, and clear according to the cipher key relation Except the cipher key relation is removed in instruction, and the electronic lock is controlled according to first unlocking instruction and the cipher key relation and is opened Lock, second data processing module are also used to control the electronic lock according to the guest state switch order and open or close Guest state, and according to second unlocking instruction and the cipher key relation control after the electronic lock opens the guest state The electronic lock is made to unlock.
2. electronic lock system according to claim 1, which is characterized in that the electronic lock further include:
Lock status sensing module, the lock status sensing module are connected with second data processing module, and the lock status passes Sense module is used to detect the opening and closing lock status of the electronic lock;
Lock opening and closing motor drive mechanism, the lock opening and closing motor drive mechanism are connected with second data processing module, second data Processing module is opened and closed motor drive mechanism by controlling the lock to control the electronic lock and unlock or be latched.
3. electronic lock system according to claim 1, which is characterized in that first data processing module and described second Data processing module includes corresponding processor, memory and controller.
4. electronic lock system according to claim 1, which is characterized in that the first data transmission module and described second Data transmission module includes corresponding physical interface and data signaling circuit.
5. electronic lock system according to claim 1, which is characterized in that establish the cipher key relation with the electronic lock And the first data transmission module for possessing the electron key of licensing status opening and closing permission is transmitted to the second data of the electronic lock Module sends licensing status switch order, and the second data processing module of the electronic lock is according to the licensing status switch order The electronic lock is controlled with the cipher key relation and opens or closes licensing status, opens the licensing status in the electronic lock Afterwards, the first data transmission module also receives the key information for the electronic lock that second data transmission module is sent, First data processing module establishes the key information and the electricity of instruction, the electron key also according to the cipher key relation The cipher key relation between the electronic lock and the electron key is established and stored to the key information of son lock, and according to the key Relationship clearance order removes the cipher key relation.
6. electronic lock system according to claim 1 or 5, which is characterized in that the operational order further includes reset indication, First data processing module and second data processing module reset the letter of itself storage also according to the reset indication Breath.
7. electronic lock system according to claim 1, which is characterized in that the electron key or the electronic lock are more It is a.
8. electronic lock system according to claim 1, which is characterized in that further include power supply, the power supply is arranged described In electron key and/or the electronic lock.
9. electronic lock system according to claim 1, which is characterized in that further include external signal output equipment, described After electronic lock opens the guest state, and second data transmission module and the external signal output equipment are established and are believed After number connection relationship, second data transmission module receives the external unlocking signal of the external signal output equipment, described Second data processing module directly controls the electronic lock according to the external unlocking signal and unlocks.
10. electronic lock system according to claim 1, which is characterized in that the electron key and the electronic lock wrap Include the MCU of model HT66F70A.
CN201821066623.9U 2018-07-06 2018-07-06 Electronic lock system Expired - Fee Related CN208477614U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821066623.9U CN208477614U (en) 2018-07-06 2018-07-06 Electronic lock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821066623.9U CN208477614U (en) 2018-07-06 2018-07-06 Electronic lock system

Publications (1)

Publication Number Publication Date
CN208477614U true CN208477614U (en) 2019-02-05

Family

ID=65213250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821066623.9U Expired - Fee Related CN208477614U (en) 2018-07-06 2018-07-06 Electronic lock system

Country Status (1)

Country Link
CN (1) CN208477614U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877010A (en) * 2018-07-06 2018-11-23 岑耀荣 Electronic lock system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877010A (en) * 2018-07-06 2018-11-23 岑耀荣 Electronic lock system

Similar Documents

Publication Publication Date Title
JP4253186B2 (en) Smart lock that can be set by the key and realizes a lock of 10,000 keys and its key and setting tool
CN108877010A (en) Electronic lock system
EP1805633A1 (en) Iris identification system integrated usb storage device
CN208477614U (en) Electronic lock system
CN106934903A (en) A kind of blue-tooth intelligence lock
CN102624742A (en) Method for enhancing security of communication between mobile equipment and home intelligent terminal
CN104831998B (en) A kind of security device of intelligent antitheft mechanical lock
CN207892381U (en) Based on the intelligent lock system for referring to hand vein recognition
WO2024149121A1 (en) Electronic lock and control method for electronic lock
CN112365636B (en) Intelligent lock management system based on mobile intelligent terminal and working method thereof
CN206400658U (en) A kind of electric lockset of multiple fingerprints certification
CN101144349A (en) Household intelligent door lock system
CN203626429U (en) Intelligent safe-guard chain door lock
CN108661459A (en) A kind of intelligence handcuffss management system
CN108694766A (en) The Intelligent key for opening intelligent lock authorized based on fingerprint recognition and NFC communications
CN104933372A (en) Security apparatus for energy storage system
CN209312116U (en) A kind of self-powered intelligent door lock, door lock control system
CN106597926A (en) Portable intelligent gun box device
CN212201671U (en) Emergency unlocking key based on dual authentication protection
CN105684258A (en) Electrically autonomous installation and method of management
CN209212081U (en) Intelligent door lock
CN207946857U (en) Lock control system
CN207946858U (en) Lock control system
WO2021110861A1 (en) Electronic lock configured to receive power from a mobile phone
CN207458165U (en) A kind of public affairs based on Internet of Things are rented a house intelligent iris recognition door-locking system

Legal Events

Date Code Title Description
GR01 Patent grant
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: 20190205