Intelligent lockset and control method thereof
Technical Field
The invention relates to the technical field of locks, in particular to an intelligent lock and a control method thereof.
Background
The intelligent lock with the Bluetooth unlocking function comprises a door lock body and an owner mobile terminal which is arranged outside the door lock body and is provided with a Bluetooth module, wherein the owner mobile terminal is a mobile phone, a controller and an electronic lock are arranged on the inner side of the door lock body, the controller comprises a control module and the Bluetooth module which is electrically connected with the control module, the electronic lock is also electrically connected with the control module, the Bluetooth module of the controller monitors and receives Bluetooth signals sent by the owner mobile terminal outside the door lock body in real time, and if password information carried by the Bluetooth signals is correct, the electronic lock is controlled by the control module to execute unlocking action. The intelligent lockset with the Bluetooth unlocking function is widely applied, small enough to a safe and large enough to entrance guard, hotel and student dormitory building.
However, the existing intelligent lock still has the following technical problems: because the bluetooth module of the controller needs to monitor and receive the bluetooth signal sent by the owner mobile terminal outside the door lock body in real time, the bluetooth module of the controller is usually set to be in a working state all the time so as to facilitate the owner mobile terminal to search and pair when needing to unlock, but in this way, illegal molecules are easy to be multiplied, and communication is established with the bluetooth module of the controller through an illegal means and illegal unlocking is carried out, so the safety is still not high.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the intelligent lockset with higher safety is provided.
The technical solution of the invention is as follows: the utility model provides an intelligent lockset, includes the lock body and sets up the owner mobile terminal who has bluetooth module in the lock body outside, lock body inboard is equipped with first controller and electronic lockset, first controller includes first control module and the bluetooth module of being connected with first control module electricity, electronic lockset also is connected with first control module electricity, owner mobile terminal passes through bluetooth module and the first control module communication connection of first controller, its characterized in that: still including setting up the second controller in the door lock body outside, the second controller includes second control module, fingerprint collection module and first infrared emission module all are connected with the second control module electricity, first controller still includes the first infrared receiving module who is connected with first control module electricity, the infrared signal that is used for awakening up the bluetooth module of first controller of the transmission of the first infrared emission module of second controller is received by first infrared receiving module through an infrared window that sets up on the door lock body.
After adopting the structure, the invention has the following advantages:
the intelligent lockset is provided with a Bluetooth module of a first controller at the inner side of a door lock body which does not work in a dormant mode under a common condition, so that the Bluetooth module of the first controller can be hidden and is not easy to be searched by illegal molecules, fingerprint information is collected through a fingerprint collecting module arranged at the outer side of the door lock body only when the door needs to be opened, an infrared signal for awakening the Bluetooth module of the first controller is allowed to be transmitted by a first infrared transmitting module only after the fingerprint information is verified to be correct, the Bluetooth module in the first controller is triggered to start working only after the infrared signal is received by a first infrared receiving module of the first controller at the inner side of the door lock body, and the safety is further improved compared with a networking mode because the infrared communication is a short-distance non-networking communication mode because the infrared communication needs to be verified.
Preferably, the inner side of the door lock body is further provided with a second infrared transmitting module electrically connected with the first control module of the first controller and a switch detection module used for detecting the switch state of the electronic lock, the second controller is further provided with a second infrared receiving module electrically connected with the second control module, a switch state signal of the electronic lock transmitted by the second infrared transmitting module of the first controller is received by the second infrared receiving module of the second controller through an infrared window, the door lock body further comprises a background server, and the second control modules of the master mobile terminal and the second controller are both in communication connection with the background server. This set up accessible switch detection module and detect electronic lock's on off state, then send the second controller to through the infrared communication mode that the short distance is not networked, upload to backstage server by the second controller again, backstage server sends electronic lock's on off state to owner's mobile terminal again on, in this information transfer process, need not first controller networking, but still can upload electronic lock's on off state information to backstage server and monitor, and still make things convenient for owner to look over electronic lock's on off state at any time.
The invention also aims to solve the technical problems that: the control method of the intelligent lock with high safety is provided.
The other technical solution of the invention is as follows: a control method of an intelligent lockset is characterized in that: it comprises the following steps:
(1) the Bluetooth module of the first controller on the inner side of the door lock body is set to be in a dormant state by default;
(2) waiting for a second control module of a second controller at the outer side of the door lock body to acquire fingerprint information through a fingerprint acquisition module, if the fingerprint information is acquired, comparing the fingerprint information with master fingerprint information which is stored in the second control module in advance, if the fingerprint information is consistent with the master fingerprint information, entering the next step, and otherwise, returning to the step (2) again;
(3) the first control module of the first controller receives the infrared signal through the infrared window and the first infrared receiving module and controls the Bluetooth module of the first controller to be converted from a dormant state to a working state;
(4) the master mobile terminal sends a box opening password to a first control module of the first controller through the Bluetooth module, the first controller calls the box opening password stored in advance and compares the box opening password with the box opening password sent by the master mobile terminal, if the box opening password is not consistent with the box opening password, the electronic lock is not opened, and if the box opening password is consistent with the box opening password, the electronic lock is controlled to be opened;
(5) after a first control module of a first controller detects that the electronic lockset is opened for more than a set time T, the Bluetooth module of the first controller is controlled to be converted from a working state to a dormant state.
After the method is adopted, the invention has the following advantages:
the control method of the intelligent lockset defaults to set the Bluetooth module of the first controller at the inner side of the door lock body to be in a dormant state, so that the Bluetooth module of the first controller can be hidden and is not easy to be searched by illegal persons; only when the door needs to be opened, fingerprint information is collected through the fingerprint collecting module arranged on the outer side of the door lock body, only after the fingerprint information is verified to be correct, the first infrared transmitting module is allowed to transmit infrared information for awakening the Bluetooth module of the first controller, and after the infrared information is received by the first infrared receiving module of the first controller on the inner side of the door lock body, the Bluetooth module in the first controller is triggered to start working; in addition open the back at electronic lock in time with the bluetooth module of first controller change over into dormant state, can hide it once more, the security obtains guaranteeing.
Preferably, in the step (4), after the electronic lock is controlled to be opened, a switch detection module arranged in the first controller detects that the switch state of the electronic lock is changed, the first control module controls a second infrared emission module arranged in the first controller to send a switch state signal of the electronic lock, a second control module of the second controller receives the switch state signal of the electronic lock through an infrared window and a second infrared receiving module, the second control module uploads the switch state signal of the electronic lock to a background server, and the background server pushes the switch state signal of the electronic lock to a host mobile terminal. According to the arrangement, the on-off state information of the electronic lock can be uploaded to the background server for monitoring without networking of the first controller, and the on-off state of the electronic lock can be conveniently checked by a master at any time.
Preferably, in the step (1), the first infrared emitting module and the second infrared emitting module are set to be out of operation by default. This setting makes first infrared emission module just begin work after detecting fingerprint signal, and second infrared emission module just begins work after detecting the on-off state change of electronic lock, can reach energy-conserving power saving's purpose.
Preferably, in the step (1), the first infrared receiving module and the second infrared receiving module are set to operate intermittently by default. The arrangement can achieve the purpose of energy saving and electricity saving.
Preferably, in the step (3), after the bluetooth module of the first controller is switched from the sleep state to the working state, the second control module controls the first infrared emission module not to work. This setting can in time close the bluetooth wake-up signal after first infrared emission module transmission to can further reach energy-conserving power saving's purpose.
Preferably, in the step (4), after the background server pushes the switch state signal of the electronic lock to the host mobile terminal, the first control module controls the second infrared emission module not to work. The electronic lock is timely closed after the second infrared emission module emits a switch state signal of the electronic lock, so that the aims of saving energy and electricity can be further fulfilled.
Description of the drawings:
FIG. 1 is a schematic structural diagram of an intelligent lock of the present invention;
FIG. 2 is a functional diagram of the intelligent lockset of the present invention;
in the figure: the system comprises a door lock body 1, a master mobile terminal 2, a first controller 3, an electronic lock 4, a first control module 5, a Bluetooth module 6, a second controller 7, a second control module 8, a fingerprint acquisition module 9, a first infrared emission module 10, a first infrared receiving module 11, an infrared window 12, a second infrared emission module 13, a switch detection module 14, a second infrared receiving module 15 and a background server 16.
Detailed Description
The invention is further described with reference to the following embodiments in conjunction with the accompanying drawings.
Example 1:
an intelligent lockset comprises a door lock body 1 and an owner mobile terminal 2 which is arranged on the outer side of the door lock body 1 and is provided with a Bluetooth module, wherein the inner side of the door lock body 1 is provided with a first controller 3 and an electronic lockset 4, the first controller 3 comprises a first control module 5 and a Bluetooth module 6 which is electrically connected with the first control module 5, the electronic lockset 4 is also electrically connected with the first control module 5, the owner mobile terminal 2 is in communication connection with the first control module 5 of the first controller 3 through the Bluetooth module 6, the intelligent lockset further comprises a second controller 7 which is arranged on the outer side of the door lock body 1, the second controller 7 comprises a second control module 8, a fingerprint acquisition module 9 and a first infrared emission module 10, the fingerprint acquisition module 9 and the first infrared emission module 10 are both electrically connected with the second control module 8, the first controller 3 further comprises a first infrared receiving module 11 which is electrically connected with the first control module 5, the infrared signal which is transmitted by the first infrared transmitting module 10 of the second controller 7 and used for waking up the bluetooth module 6 of the first controller 3 is received by the first infrared receiving module 11 through an infrared window 12 arranged on the door lock body 1.
The intelligent lockset of the invention is provided with the Bluetooth module 6 of the first controller 3 at the inner side of the door lock body 1 to be dormant and not work under the common condition, so that the Bluetooth module 6 of the first controller 3 can be hidden, therefore, the door lock is not easy to be searched by illegal molecules, only when the door needs to be opened, the fingerprint information is collected through the fingerprint collecting module 9 arranged at the outer side of the door lock body 1, and only after the fingerprint information is verified to be correct, the first infrared transmission module 10 is allowed to transmit an infrared signal for waking up the bluetooth module 6 of the first controller 3, the infrared signal is received by the first infrared receiving module 11 of the first controller 3 at the inner side of the door lock body 1, then the Bluetooth module 6 in the first controller 3 is triggered to start working, because the authentication is needed, the security is higher, and the infrared communication is a short-distance non-networking communication mode, compared with a networking mode, the security is further improved.
Preferably, the inner side of the door lock body 1 is further provided with a second infrared emitting module 13 electrically connected with the first control module 5 of the first controller 3 and a switch detecting module 14 for detecting the switch state of the electronic lock 4, the second controller 7 is further provided with a second infrared receiving module 15 electrically connected with the second control module 8, a switch state signal of the electronic lock 4 emitted by the second infrared emitting module 13 of the first controller 3 is received by the second infrared receiving module 15 of the second controller 7 through the infrared window 12, and the door lock further comprises a background server 16, and the second control modules 8 of the owner mobile terminal 2 and the second controller 7 are both in communication connection with the background server 16. This set up accessible switch detection module 14 and detect electronic lock 4's on off state, then send second controller 7 to through the infrared communication mode that the short distance is not networked, upload to backstage server 16 by second controller 7 again, backstage server 16 sends electronic lock 4's on off state to owner's mobile terminal 2 again, in this information transfer process, need not first controller 3 networking, but still can upload electronic lock 4's on off state information to backstage server 16 and monitor, and still make things convenient for the owner to look over electronic lock 4's on off state at any time.
Example 2:
a control method of an intelligent lock is based on the intelligent lock in embodiment 1, and comprises the following steps:
(1) the Bluetooth module 6 of the first controller 3 on the inner side of the door lock body 1 is set to be in a dormant state by default, the first infrared transmitting module 10 and the second infrared transmitting module 13 are set to be out of work by default, and the first infrared receiving module 11 and the second infrared receiving module 15 are set to be in intermittent work by default;
(2) waiting for a second control module 8 of a second controller 7 at the outer side of the door lock body 1 to acquire fingerprint information through a fingerprint acquisition module 9, if the fingerprint information is acquired, comparing the fingerprint information with master fingerprint information which is stored in the second control module 8 in advance, if the fingerprint information is consistent with the master fingerprint information, entering the next step, and otherwise, returning to the step (2) again;
(3) the second control module 8 of the second controller 7 controls the first infrared emission module 10 to emit an infrared signal for waking up the bluetooth module 6 of the first controller 3, the first control module 5 of the first controller 3 receives the infrared signal through the infrared window 12 and the first infrared receiving module 11, and controls the bluetooth module 6 of the first controller 3 to be converted from a dormant state to a working state, and then the second control module 8 controls the first infrared emission module 10 to be out of work;
(4) the master mobile terminal 2 sends a box opening password to the first control module 5 of the first controller 3 through the Bluetooth module 6, the first controller 3 calls the box opening password stored in advance and compares the box opening password with the box opening password sent by the master mobile terminal 2, if the box opening password and the box opening password are not consistent, the electronic lock 4 is not opened, if the box opening password and the box opening password are consistent, the electronic lock 4 is controlled to be opened, a switch detection module 14 arranged in the first controller 3 detects that the switch state of the electronic lock 4 changes, the first control module 5 controls a second infrared emission module 13 arranged in the first controller 3 to send a switch state signal of the electronic lock 4, a second control module 8 of the second controller 7 receives the switch state signal of the electronic lock 4 sent by the second infrared emission module 13 through an infrared window 12 and a second infrared receiving module 15, the second control module 8 uploads the switch state signal of the electronic lock 4 to a server 16, the background server 16 then pushes the on-off state signal of the electronic lock 4 to the host mobile terminal 2, and then the first control module 5 controls the second infrared emission module 13 not to work;
(5) after the first control module 5 of the first controller 3 detects that the electronic lockset 4 is opened for more than the set time T, the Bluetooth module 6 of the first controller 3 is controlled to be converted from the working state to the dormant state.