Office intelligent lock control system and method
Technical Field
The invention relates to the technical field of intelligent lock application, in particular to an office intelligent lock control system and method.
Background
With the development of electronic technology, the intelligent lock is more and more widely used, and meanwhile, the intelligent lock is more intelligent in the aspects of user identification, safety, manageability and the like; it compares in traditional mechanical lock, has auto-induction locking system to when sensing the door closed state, lock automatically, and can also unblank through fingerprint, touch-sensitive screen, entrance guard's card etc..
In the prior art, as for the intelligent lock, the performance of the intelligent lock is still unstable sometimes, and when the intelligent lock is subjected to a severe external environment (for example, high temperature, strong magnetic impact and the like), some intelligent locks may malfunction; or when the intelligent lock is used for a long time, some parts are easy to damage (such as a fingerprint reading head), and a user cannot open the intelligent lock from the only authority.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention aims to solve the technical problem that the intelligent office lock control system and the intelligent office lock control method aim to connect an intelligent lock and an intelligent terminal through a gateway, adopt various unlocking mechanisms, realize remote control of the intelligent terminal on an office door, facilitate the opening and closing operation of office workers and further provide safety guarantee for office environment.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an office intelligent lock control system comprises a gateway, an intelligent terminal and an intelligent lock, wherein the gateway, the intelligent terminal and the intelligent lock are in communication connection;
the gateway is used for forwarding a first control instruction or a first monitoring instruction of the intelligent terminal to the intelligent lock;
the intelligent terminal is used for sending a first control instruction or a first monitoring instruction to the gateway, and the gateway forwards the first control instruction or the first monitoring instruction to the intelligent lock, or is used for sending a second control instruction or a second monitoring instruction to the intelligent lock;
the intelligent lock is used for receiving a first control instruction or a first monitoring instruction forwarded by the gateway to perform corresponding unlocking or locking operation, or is used for receiving a second control instruction or a second monitoring instruction sent by the intelligent terminal to perform corresponding unlocking or locking operation;
the intelligence lock includes:
a mechanical lock for mechanically switching the smart lock;
the control panel is electrically connected with the mechanical lock and is used for driving the mechanical lock switch;
the fingerprint module is arranged on the intelligent lock and is used for collecting user fingerprint information;
the ZigBee module is arranged in the control panel and is used for linking communication, receiving and feeding back information;
the acousto-optic prompting module is arranged on the control panel and used for prompting the correctness and the mistake of the unlocking operation;
the digital password module is arranged on the control panel and is used for manually inputting a password to unlock;
the fingerprint module, the ZigBee module, the sound and light prompt module and the digital code module are respectively and electrically connected with the control panel.
The intelligent office lock control system comprises a mechanical lock, a motor, a clutch assembly, a square bolt and a ball type inclined bolt, wherein the mechanical lock comprises a shell, the motor is arranged in the shell and used for driving, the clutch assembly is rotationally connected with the motor and used for controlling the lock bolt to be unlocked or locked, the square bolt is rotationally connected with the clutch assembly and used for reversely locking, and the ball type inclined bolt is rotationally connected with the clutch assembly and used for unlocking or locking.
The office intelligent lock control system comprises an audible and visual prompt module and a control panel, wherein the audible and visual prompt module comprises a buzzer which is electrically connected with the control panel and used for alarming and prompting and an indicator lamp which is electrically connected with the control panel and used for displaying and prompting.
The office intelligent lock control system comprises a control panel and a display screen, wherein the control panel comprises a control chip arranged in the control panel and used for controlling a circuit, and the display screen is electrically connected with the control chip and used for displaying intelligent lock information and electronic key information.
The intelligent office lock control system further comprises a mechanical key for emergency unlocking and an access card for storing an electronic key.
The intelligent office lock control system is characterized in that an emergency charging port for external USB charging and a lock hole for mechanical key unlocking are arranged on the intelligent lock.
The intelligent office lock control system comprises an intelligent terminal and a mobile terminal, wherein the intelligent terminal comprises a computer for managing all intelligent lock authorities and the mobile terminal is in wireless connection with the computer and is used for managing the intelligent lock authorities in a preset area.
A control method of an office intelligent lock control system, wherein the control method comprises the following steps:
acquiring fingerprint information of a user through a fingerprint module, associating the fingerprint information with the user information, and storing the fingerprint information and the user information to an intelligent terminal;
setting the fingerprint information into electronic keys according to classification, and issuing the electronic keys to corresponding intelligent locks;
and matching the electronic key according to fingerprint information input by a user, unlocking the intelligent lock, and feeding back an unlocking result to the intelligent terminal.
The control method, wherein the matching of the electronic key according to the fingerprint information input by the user, the unlocking of the intelligent lock, and the feedback of the unlocking result to the intelligent terminal comprise:
and when the fingerprint information matching fails, matching user information through the mobile terminal, unlocking the intelligent lock, and feeding back an unlocking result to the intelligent terminal.
The control method, wherein the matching of the electronic key according to the fingerprint information input by the user, the unlocking of the intelligent lock, and the feedback of the unlocking result to the intelligent terminal further comprise:
and when the fingerprint information is failed to be matched, unlocking the intelligent lock through the digital password, the mechanical key and the access card, and feeding back an unlocking result to the intelligent terminal.
The invention provides an office intelligent lock control system and a method, wherein the office intelligent lock control system comprises a gateway, an intelligent terminal and an intelligent lock which are in communication connection with each other; the intelligence lock includes: a mechanical lock for mechanically switching the smart lock; the control panel is electrically connected with the mechanical lock and is used for driving the mechanical lock switch; the fingerprint module is arranged on the intelligent lock and is used for collecting user fingerprint information; the ZigBee module is arranged in the control panel and is used for linking communication; the acousto-optic prompting module is arranged on the control panel and used for prompting the correctness and the mistake of the unlocking operation; and the digital password module is arranged on the control panel and is used for manually inputting a password to unlock. Through gateway with intelligent lock and intelligent terminal interconnect to adopt multiple mechanism of unblanking, realized that intelligent terminal to the remote control of office door, made things convenient for office staff's on-off operation, thereby provided the safety guarantee for office environment.
Drawings
FIG. 1 is a schematic structural diagram of an intelligent office lock control system according to the present invention;
FIG. 2 is a flowchart of a first preferred embodiment of a control method of an office intelligent lock control system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Fig. 1 is a schematic structural diagram of an office intelligent lock control system of the present invention, and the office intelligent lock control system 100 includes an intelligent lock 10, a gateway 20 and an intelligent terminal 30, which are communicatively connected to each other, wherein:
the gateway 20 is configured to forward the first control instruction or the first monitoring instruction of the intelligent terminal 30 to the intelligent lock 10; preferably, the gateway 20 adopts a ZigBee (short-distance, low-power wireless communication technology) networking mode, uploads data to the intelligent terminal through the ZigBee modules of the plurality of intelligent locks 10 on the basis of a 3G/4G or WIFI network, and is monitored and managed by the intelligent terminal; the ZigBee module can be matched with a plurality of (1-3) intelligent locks 10, can manage the intelligent locks 10, and can also independently manage and control the intelligent locks 10; remote control of the intelligent lock 10 and remote assignment of rights can be achieved through the gateway 20.
The intelligent terminal 30 is configured to send a first control instruction or a first monitoring instruction to the gateway 20, and the gateway 20 forwards the first control instruction or the first monitoring instruction to the intelligent lock 10, or is configured to send a second control instruction or a second monitoring instruction to the intelligent lock 10; preferably, the intelligent terminal 30 includes a computer and a mobile terminal, and the computer is a main setting end and is used for authority management of all intelligent locks and remote management of a main gateway; the mobile terminal is an auxiliary setting end and is used for authority management of the intelligent lock in the preset area (1-3) and gateway remote management of the preset area (1-3); the on-off states of all intelligent locks can be remotely controlled through the computer, and the on-off states of the intelligent locks in a local area can be remotely controlled through the mobile terminal; the computer may assign the management authority of the mobile terminal and may also prohibit the management authority of the mobile terminal.
The intelligent lock 10 is configured to receive the first control instruction or the first monitoring instruction forwarded by the gateway 20 to perform corresponding unlocking or locking operation, or receive the second control instruction or the second monitoring instruction sent by the intelligent terminal 30 to perform corresponding unlocking or locking operation.
The smart lock 10 includes:
a mechanical lock 11 for mechanically switching the smart lock 10;
a control panel 12 electrically connected to the mechanical lock 11 and used for driving the mechanical lock 11 to open and close;
a ZigBee module 13 arranged in the control panel 12 and used for linking communication, receiving and feeding back information;
the fingerprint module 14 is arranged on the intelligent lock 10 and is used for collecting user fingerprint information;
the acousto-optic prompting module 15 is arranged on the control panel 12 and is used for prompting the correctness and the mistake of the unlocking operation;
a digital code module 16 arranged on the control panel 12 and used for manually inputting codes to unlock;
the ZigBee module 13, the fingerprint module 14, the sound and light prompt module 15 and the digital code module 16 are respectively electrically connected with the control panel 12.
Mechanical lock 11 adopts the formula lock body of lifting up, wherein include the casing, set up in just be used for the driven motor in the casing, with the motor rotates to be connected and is used for controlling the spring bolt to unblank or the clutch pack who locks, with the clutch pack rotates to be connected and is used for the square bolt of anti-lock and with the clutch pack rotates to be connected and is used for unblanking or the ball formula latch bolt that locks.
The working principle is as follows: the control panel 12 drives the motor, the motor drives the clutch assembly, and the lock bolts (latch bolts and square bolts) of the mechanical lock 11 are controlled to unlock, lock and reversely lock the office door; preferably, the latch bolt is of a ball type, and a common latch bolt is changed into a ball type, so that the latch bolt is not only suitable for a common outward opening type office door, but also suitable for an inward and outward opening type office door; by rotationally connecting the clutch assembly with the lock tongue (latch bolt and dead bolt), the control board 12 can automatically perform the back locking after controlling the mechanical lock 11 to lock.
The control panel 12 comprises a control chip arranged in the control panel 12 and used for controlling a circuit and a display screen which is electrically connected with the control chip and used for displaying information of the intelligent lock and information of the electronic key, preferably, the display screen adopts an L ED display screen, the cost is low, the power consumption is low, the display effect is good, the control chip stores a driving program, the control chip starts the driving program by receiving an unlocking instruction and drives a motor inside the mechanical lock 11, and the motor rotates to control a clutch assembly in the mechanical lock body 11 so as to complete the unlocking or locking instruction of the intelligent lock 10.
The ZigBee module 13 is configured to link the gateway 20 for communication, receive data information sent by the gateway 20, form a control instruction, send the control instruction to the control board 12, and feed back an unlocking result and lock state information to the gateway 20.
The fingerprint module 14, preferably, adopts a USB semiconductor, has high recognition accuracy and sensitive response, and can recognize a scratch fingerprint.
The sound and light prompt module 15 comprises a buzzer connected with the control panel 12 and used for alarming and prompting and an indicator light connected with the control panel 12 and used for displaying and prompting.
The working principle is as follows: when the user successfully unlocks the lock, the buzzer makes a sound to prompt; when the user fails to unlock the lock, the buzzer sounds two sounds to prompt; when the unlocking failure of the user exceeds a certain number of times (set for 3 times), the buzzer sounds five sounds to prompt; when the user successfully unlocks the lock, the indicator lamp flashes the green light once to prompt; when the user fails to unlock the lock, the indicator light flashes the red light twice to prompt; when the unlocking failure of the user exceeds a certain number of times (set for 3 times), the indicator light flashes the red light five times to prompt.
The digital password module 16 is connected with the control panel 12 through a circuit and used for manually inputting a password to unlock and requesting remote control; the digital password module 16 has digital password keys and function keys of the intelligent lock 10, such as: confirm button, cancel button and request remote control button, etc.
The smart lock 10 also includes a mechanical key for emergency unlocking and an access card for storing an electronic key.
The intelligent lock 10 is provided with an emergency charging port for external USB charging and a lockhole for unlocking by a mechanical key, and when the intelligent lock 10 cannot be unlocked due to power failure, the intelligent lock can be charged through the emergency charging port so as to be unlocked; preferably, the emergency charging port adopts a USB interface, and is suitable for all charging devices; under the condition of no emergency power supply, the lock can be unlocked by using a mechanical key through the lock hole.
Example two
Fig. 2 is a flowchart of a first preferred embodiment of a control method of an office intelligent lock control system according to the present invention, and as shown in the drawing, the control method of an office intelligent lock control system includes:
and S100, acquiring fingerprint information of a user through a fingerprint module, associating the fingerprint information with the user information, and storing the fingerprint information and the user information to the intelligent terminal.
In the embodiment of the invention, fingerprint information of a user is input in advance through a fingerprint identification module on the intelligent lock, a main unlocking fingerprint and a standby unlocking fingerprint are set, fingerprint information is input from multiple directions, then the fingerprint information and the user information are stored in a related manner and stored in a management file of the intelligent terminal, a manager can add, delete and modify the fingerprint information from the management file, and selects the main unlocking fingerprint and the standby unlocking fingerprint as fingerprint templates to set the unlocking authority of the user fingerprint.
And S200, setting the electronic keys according to the fingerprint information in a classified manner, and issuing the electronic keys to corresponding intelligent locks.
In the embodiment of the invention, after the user fingerprint information is stored in the intelligent terminal, the user data is edited by a manager according to departments, names, time and classifications, and the user unlocking authority is set, namely, the corresponding fingerprint can unlock the intelligent lock, the intelligent lock can be unlocked at the time, and the like.
S300, matching the electronic key according to fingerprint information input by a user, unlocking the intelligent lock, and feeding back an unlocking result to the intelligent terminal
In the embodiment of the invention, the intelligent lock is matched with the electronic key issued by the intelligent terminal according to the fingerprint information input by the user; when the matching is successful, the motor is controlled by the control panel to drive the clutch assembly to unlock, after the unlocking is successful, an unlocking result is fed back to the intelligent terminal, and the intelligent terminal records unlocking time information, corresponding intelligent lock information, electronic key information, user information and the like; by accurately recording the door opening information of the user, a manager can trace related management responsibilities, and the responsibilities can be traced.
When the user input fingerprint information failure (user's fingerprint is fuzzy, the finger is dirty or the fingerprint head is bad) on the intelligence lock, the user can use mobile terminal's APP to unblank, acquires the authority of unblanking through mobile terminal's APP, and after the matching succeeds, unblank to will unblank the result and send computer and mobile terminal.
When the fingerprint module of the intelligent lock is unavailable and the mobile terminal APP cannot be unlocked, the intelligent lock can be unlocked through a digital password, a mechanical key and an access control card, and the unlocking result is fed back to the intelligent terminal; through adopting multiple mechanism of unblanking, when the electron key is unavailable, realized multiple guarantee, made things convenient for the user to unblank, trouble when having avoided the maintenance.
In summary, the invention discloses an office intelligent lock control system and method, wherein the office intelligent lock control system comprises a gateway, an intelligent terminal and an intelligent lock which are in communication connection with each other; the intelligence lock includes: a mechanical lock for mechanically switching the smart lock; the control panel is electrically connected with the mechanical lock and is used for driving the mechanical lock switch; the fingerprint module is arranged on the intelligent lock and is used for collecting user fingerprint information; the ZigBee module is arranged in the control panel and is used for linking communication; the acousto-optic prompting module is arranged on the control panel and used for prompting the correctness and the mistake of the unlocking operation; and the digital password module is arranged on the control panel and is used for manually inputting a password to unlock. Through gateway with intelligent lock and intelligent terminal interconnect to adopt multiple mechanism of unblanking, realized that intelligent terminal to the remote control of office door, made things convenient for office staff's on-off operation, thereby provided the safety guarantee for office environment.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.