One kind office smart lock control system and method
Technical field
The present invention relates to smart lock applied technical field, and in particular to one kind office smart lock control system and method.
Background technology
With the development of electronic technology, the use of smart lock is more and more extensive, meanwhile, user identification, security and
It is managerial etc. also more intelligent;It has automatic sensing locking system, and sensing compared to traditional mechanical lock
During to door closure state, lock, and can also be unlocked by fingerprint, touch-screen, access card etc. automatically.
In the prior art, for smart lock itself, its performance still has unstability sometimes, exterior severe running into
Environment when(Such as run into high temperature, the impact of strong magnetic etc.), some smart locks are it is possible that the phenomenon of failure;Or make for a long time
Used time, some parts are easily damaged(Such as fingerprint read head), user can not open smart lock from only authority.
Therefore, the prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of the prior art, there is provided one kind office smart lock
Control system and method, it is intended to smart lock and intelligent terminal are connected with each other by gateway, and use a variety of unlocking mechanisms, is realized
Intelligent terminal facilitates the switching manipulation of office worker, so as to provide safety guarantee for working environment to the remote control for door of handling official business.
The technical proposal for solving the technical problem of the invention is as follows:
One kind office smart lock control system, wherein, the office smart lock control system include being in communication with each other the gateway of connection,
Intelligent terminal and smart lock;
The gateway, the first control instruction or the first monitoring instruction for forwarding the intelligent terminal arrive the smart lock;
The intelligent terminal, for sending the first control instruction or the first monitoring instruction to the gateway, by the gateway forwards
The smart lock is arrived in first control instruction or the first monitoring instruction, or refers to for sending the second control to the smart lock
Order or the second monitoring instruction;
The smart lock, the first control instruction or the first monitoring instruction for receiving the gateway forwards are unlocked accordingly
Or locking operates, or the second control instruction or the second monitoring instruction for receiving the intelligent terminal transmission carry out accordingly
Unlock or locking operates;
The smart lock includes:
For carrying out the mechanical lock of mechanical switching operations to the smart lock;
The control panel for driving the mechanical lock-switch is electrically connected and is used for the mechanical lock;
It is arranged on the smart lock and is used for the fingerprint module for gathering user fingerprints information;
It is arranged in the control panel and for the ZigBee module of link communication, reception and feedback information;
It is arranged on the control panel and is used for the acousto-optic hint module for prompting the right and wrong of unlocking operation;
It is arranged on the control panel and is used for the numerical ciphers module for being manually entered password unlocking;
The fingerprint module, ZigBee module, acousto-optic hint module and numerical ciphers module are electrically connected with control panel respectively.
The office smart lock control system, wherein, the mechanical lock includes housing, is arranged in the housing and uses
Motor in driving, with motor rotation connection and for control lock tongue unlock or the clutch pack of locking, with it is described from
Clutch component is rotatablely connected and is used for the square tongue locked and is rotatablely connected with the clutch pack and is used to unlock or lock
Ball-type latch bolt.
The office smart lock control system, wherein, the acousto-optic hint module includes being electrically connected with the control panel
And it is used for the buzzer of alarm and is electrically connected with the control panel and is used for the indicator light of display reminding.
The office smart lock control system, wherein, the control panel includes being arranged in the control panel and being used for
The control chip of control circuit and it is electrically connected with the control chip and for showing intelligent lock information and electronic key information
Display screen.
The office smart lock control system, wherein, the smart lock further includes the mechanical key for emergent unlocking
And for storing the access card of electron key.
The office smart lock control system, wherein, the smart lock is equipped with emergent the filling for being used for circumscribed USB charging
Power port and the lockhole unlocked for mechanical key.
The office smart lock control system, wherein, the intelligent terminal includes being used for all intelligent lock rights managements
Computer and be connected with the computer wireless and for presumptive area intelligence lock rights management mobile terminal.
A kind of control method for smart lock control system of handling official business, wherein, the control method includes:
The finger print information of user is obtained by fingerprint module, and the finger print information is associated with user information, is saved in
Intelligent terminal;
By the finger print information according to classification setting electron key, and the electron key is issued to corresponding smart lock;
The electron key is matched according to finger print information input by user, and is unlocked to the smart lock, by result of unlocking
Feed back to the intelligent terminal.
The control method, wherein, it is described that the electron key is matched according to finger print information input by user, and to institute
State smart lock to unlock, unlocking result, which is fed back to after the intelligent terminal, to be included:
When it fails to match for the finger print information, user information is matched by mobile terminal, is unlocked to the smart lock, and
Unlocking result is fed back into the intelligent terminal.
The control method, wherein, it is described that the electron key is matched according to finger print information input by user, and to institute
State smart lock to unlock, unlocking result is fed back to after the intelligent terminal and is further included:
When it fails to match for the finger print information, the smart lock is carried out by numerical ciphers, mechanical key and access card
Unlock, and unlocking result is fed back into intelligent terminal.
The present invention provides one kind office smart lock control system and method, the office smart lock control system includes phase
Gateway, intelligent terminal and the smart lock of mutual communication connection;The smart lock includes:For carrying out mechanical open to the smart lock
Close the mechanical lock of operation;The control panel for driving the mechanical lock-switch is electrically connected and is used for the mechanical lock;It is arranged on described
On smart lock and for gathering the fingerprint module of user fingerprints information;It is arranged in the control panel and for linking communication
ZigBee module;It is arranged on the control panel and is used for the acousto-optic hint module for prompting the right and wrong of unlocking operation;If
Put on the control panel and be used for the numerical ciphers module for being manually entered password unlocking.It is by gateway that smart lock and intelligence is whole
End is connected with each other, and uses a variety of unlocking mechanisms, is realized remote control of the intelligent terminal to door of handling official business, is facilitated office worker
Switching manipulation, so as to provide safety guarantee for working environment.
Brief description of the drawings
Fig. 1 is a kind of structure diagram for smart lock control system of handling official business of the present invention;
Fig. 2 is a kind of first preferred embodiment flow chart of the control method for smart lock control system of handling official business of the present invention.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Embodiment one
Fig. 1 is a kind of structure diagram for smart lock control system of handling official business of the present invention, and office smart lock control system 100 includes intelligence
It can lock 10, be in communication with each other the gateway 20 and intelligent terminal 30 of connection, wherein:
The gateway 20, the first control instruction or the first monitoring instruction for forwarding the intelligent terminal 30 arrive the smart lock
10;Preferably, the gateway 20 uses ZigBee(Short distance, the wireless communication technique of low-power consumption)Networking mode, by multiple
The ZigBee module of smart lock 10, based on 3G/4G or WIFI network, uploads data to intelligent terminal, through intelligent terminal
It is monitored and manages;The ZigBee module can match more(1-3 handles)Smart lock 10, and can be to the smart lock 10
It is managed, also the smart lock 10 individually can be managed and controlled;It can be realized to the intelligence by the gateway 20
10 remote control can be locked, and remotely distributes authority.
The intelligent terminal 30, for sending the first control instruction or the first monitoring instruction to the gateway 20, by described
Gateway 20 forwards first control instruction or first monitors instruction and arrive the smart lock 10, or for the smart lock 10
Send the second control instruction or the second monitoring instruction;Preferably, the intelligent terminal 30 includes computer and mobile terminal, the electricity
End is set based on brain, for the rights management of whole smart locks and the remote management of total gateway;Set supplemented by the mobile terminal
End, for predeterminable area(1-3 handles)The rights management of smart lock and predeterminable area(1-3 handles)Gateway remote management;Pass through institute
Computer is stated, can be with the on off state of all smart locks of remote control, can be with remote control regional area by the mobile terminal
Smart lock on off state;The computer can distribute the administration authority of the mobile terminal, can also forbid the movement
The administration authority of terminal.
The smart lock 10, the first control instruction or the first monitoring instruction progress phase forwarded for receiving the gateway 20
The unlocking or locking operation answered, or for receiving the second control instruction or the second monitoring instruction that the intelligent terminal 30 is sent
Carry out operation of unlocking or lock accordingly.
The smart lock 10 includes:
For carrying out the mechanical lock 11 of mechanical switching operations to the smart lock 10;
The control panel 12 for driving the mechanical lock 11 to switch is electrically connected and is used for the mechanical lock 11;
It is arranged in the control panel 12 and for the ZigBee module 13 of link communication, reception and feedback information;
It is arranged on the smart lock 10 and is used for the fingerprint module 14 for gathering user fingerprints information;
It is arranged on the control panel 12 and is used for the acousto-optic hint module 15 for prompting the right and wrong of unlocking operation;
It is arranged on the control panel 12 and is used for the numerical ciphers module 16 for being manually entered password unlocking;
The ZigBee module 13, fingerprint module 14, acousto-optic hint module 15 and numerical ciphers module 16 respectively with control panel
12 are electrically connected.
The mechanical lock 11 uses top uncoupling type lock body, including housing, is arranged in the housing and for driving
Motor and the motor are rotatablely connected and for controlling lock tongue unlocking or the clutch pack of locking and the clutch pack
It is rotatablely connected and is used for the square tongue locked and is rotatablely connected and is used for the ball-type unlocked or locked with the clutch pack
Latch bolt.
Operation principle:Motor is driven by the control panel 12, clutch pack is driven by motor, control machinery lock 11
Lock tongue(Latch bolt and square tongue)Operation is unlocked, locked and is locked to office door;Preferably, the latch bolt uses ball-type,
By changing common latch bolt into roller ball form, common outward opening office door is applicable not only to, is applied also for interior outward opening
Office door;By by the clutch pack and lock tongue(Latch bolt and square tongue)Rotation connection, can control in the control panel 12
Mechanical lock 11 is locked automatically after locking.
The control panel 12 include being arranged on control chip in the control panel 12 and for control circuit and with institute
State control chip and be electrically connected and be used for the display screen for showing intelligent lock information and electronic key information;Preferably, the display screen
Using LED display, cost is low, small power consumption, and display effect is good;The control chip, is stored with driver, the control core
Piece starts the driver by receiving unlocking instruction, and drives 11 motor internal of mechanical lock, is rotated and controlled by motor
Clutch pack in the mechanical lock 11, completes the unlocking or locking instruction of the smart lock 10.
The ZigBee module 13, is communicated for linking the gateway 20, receives the data that the gateway 20 is sent
Information, forms control instruction, is sent to the control panel 12, and unlocking result, lock status information are fed back to the gateway 20.
The fingerprint module 14, it is preferable that using USB semiconductors, accuracy of identification is high, is quick on the draw, can identify scraping
Fingerprint.
The acousto-optic hint module 15 include being connected with the control panel 12 and the buzzer for alarm and with
The control panel 12 connects and for the indicator light of display reminding.
Operation principle:When user unlocks successfully, the buzzer rings a sound and is prompted;When user unlocks failure,
The buzzer rings two sound and is prompted;Unsuccessfully exceed certain number when user unlocks(Setting 3 times)When, the buzzer rings five
Sound is prompted;When user unlocks successfully, the indicator light dodges green light and is once prompted;When user unlocks failure, institute
Indicator light sudden strain of a muscle red light is stated to be prompted twice;Unsuccessfully exceed certain number when user unlocks(Setting 3 times)When, the indicator light dodges
Red light is prompted for five times.
The numerical ciphers module 16, is attached with control panel 12 by circuit, for be manually entered password unlocking and
Ask remote control;There is 10 function button of numerical ciphers button and smart lock in the numerical ciphers module 16, such as:Confirmation is pressed
Key, cancel button and request remote control button etc..
The smart lock 10 is further included for the mechanical key of emergent unlocking and the access card for storing electron key.
The smart lock 10 is equipped with the lock for being used for the emergent charging mouth of circumscribed USB charging and unlocking for mechanical key
Hole, when the smart lock 10 cannot unlock because of out of power, can be charged, and then opened by the emergent charging mouth
Lock;Preferably, the emergent charging mouth uses USB interface, is applicable in all charging equipments;In the case of no emergency power supply, also
It can be unlocked by lockhole using mechanical key.
Embodiment two
Fig. 2 is a kind of first preferred embodiment flow chart of the control method for smart lock control system of handling official business of the present invention, as schemed institute
Show, a kind of control method for smart lock control system of handling official business, the control method includes:
Step S100, the finger print information of user is obtained by fingerprint module, and the finger print information is closed with user information
Connection, is saved in intelligent terminal.
In the embodiment of the present invention, beforehand through the fingerprint identification module on smart lock, the finger print information of typing user, and set
Fixed main unlocking fingerprint and spare unlocking fingerprint, from multi-faceted typing finger print information, then by the finger print information and user information
Storage is associated, in the management file for storing intelligent terminal, manager can be from management file to the finger print information
Increased, deleted and changed, and select main unlocking fingerprint and spare unlocking fingerprint that user fingerprints are set as fingerprint template
Unlocking authority.
Step S200, by the finger print information according to classification setting electron key, and the electron key is issued to pair
The smart lock answered.
In the embodiment of the present invention, after intelligent terminal preserves user fingerprints information, subscriber data is edited by manager, is pressed
According to department, name, time and classification to the subscriber data into edlin, and user's unlocking authority is set, i.e., corresponding finger
Which smart lock line can open, and can unlock etc. in which time, after subscriber data has been edited, pass through software design patterns electricity
Sub- key, and the electron key is issued to corresponding smart lock, the smart lock then preserves the electron key, in user
During unlocking, automatically according to the information matches user information of the electron key.
Step S300, the electron key is matched according to finger print information input by user, and the smart lock is opened
Lock, the intelligent terminal is fed back to by unlocking result
In the embodiment of the present invention, smart lock matches the electron key that intelligent terminal issues according to finger print information input by user;When
During successful match, then control motor to drive clutch component to unlock by control panel, after unlocking successfully, unlocking result is fed back
To intelligent terminal, the intelligent terminal and dual lock temporal information, corresponding intelligent lock information, electronic key information and user
Information etc. is recorded;By definitely recording the enabling information of user, manager is set to trace relevant management responsibility, it is real
Existing responsibility can trace.
When user inputs finger print information failure on smart lock(User fingerprints obscure, finger is dirty or fingerprint head is bad)
When, user can use the APP of mobile terminal to unlock, and unlocking authority, successful match are obtained by the APP of mobile terminal
Afterwards, unlock, and unlocking result is sent to computer and mobile terminal.
, can be with when the fingerprint module of the smart lock is unavailable, and when the mobile terminal APP unlocks unavailable
Unlocked by numerical ciphers, mechanical key and access card to the smart lock, and unlocking result is fed back into intelligent end
End;By using a variety of unlocking mechanisms, when electron key is unavailable, multi-ensuring is realized, user's unlocking is facilitated, avoids
Trouble during maintenance.
In conclusion the invention discloses one kind office smart lock control system and method, the office smart lock control
System includes being in communication with each other the gateway, intelligent terminal and smart lock of connection;The smart lock includes:For being locked into the intelligence
The mechanical lock of row mechanical switching operations;The control panel for driving the mechanical lock-switch is electrically connected and is used for the mechanical lock;
It is arranged on the smart lock and is used for the fingerprint module for gathering user fingerprints information;It is arranged in the control panel and is used for chain
Connect the ZigBee module of news;It is arranged on the control panel and is used for the acousto-optic hint for prompting the right and wrong of unlocking operation
Module;It is arranged on the control panel and is used for the numerical ciphers module for being manually entered password unlocking.By gateway by smart lock
It is connected with each other with intelligent terminal, and uses a variety of unlocking mechanisms, is realized remote control of the intelligent terminal to door of handling official business, facilitate
The switching manipulation of office worker, so as to provide safety guarantee for working environment.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method,
It is that related hardware can be instructed by computer program(Such as processor, controller etc.)To complete, the program can store
In a computer-readable storage medium, which may include such as the flow of above-mentioned each method embodiment upon execution.Its
Described in storage medium can be memory, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.