CN113129478A - Control method and system of intelligent door lock - Google Patents

Control method and system of intelligent door lock Download PDF

Info

Publication number
CN113129478A
CN113129478A CN201911390834.7A CN201911390834A CN113129478A CN 113129478 A CN113129478 A CN 113129478A CN 201911390834 A CN201911390834 A CN 201911390834A CN 113129478 A CN113129478 A CN 113129478A
Authority
CN
China
Prior art keywords
state
door lock
power
communication module
control module
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.)
Pending
Application number
CN201911390834.7A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201911390834.7A priority Critical patent/CN113129478A/en
Publication of CN113129478A publication Critical patent/CN113129478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C2009/00634Power supply for the lock

Abstract

According to the control method and the control system of the intelligent door lock, the main control module and the communication module are arranged in the door lock system, the main control module sends a starting instruction to the communication module in response to a preset operation, the communication module switches from a power-off state to a power-on state according to the starting instruction after acquiring the starting instruction, and switches from the power-on state to the power-off state after judging that a preset condition is met, so that the communication module is started in response to the starting instruction, and is powered off to enter a low-power-consumption state of the door lock after meeting a certain condition, and the problem of energy consumption caused by long-term power supply of the communication module of the door lock is solved.

Description

Control method and system of intelligent door lock
Technical Field
The invention relates to the technical field of intelligent home, in particular to a control method and a control system of an intelligent door lock.
Background
Communication module extensively applies to in the middle of the intelligent home systems, for example intelligent TV, intelligent door lock or intelligent air conditioner, but to the like product by battery powered of lock, for example communication module such as wifi communication, its consumption is a shortcoming greatly, opens communication module for a long time, can lead to smart machine power consumption to increase, if use the battery to supply power, need often change the battery. The method for solving the problem of high power consumption of equipment in the prior art is to adopt a department low power consumption technology, but because the working time of the door lock is uncertain, if the door lock does not continuously supply power for a communication module of the door lock, when the door lock needs to be remotely controlled, the door lock cannot receive and send information through the communication module, and the remote control of the door lock cannot be realized, so the low power consumption technology used in the prior art cannot meet the requirements of the door lock on low power consumption and remote control.
Therefore, the prior art is subject to further improvement.
Disclosure of Invention
In view of the defects in the prior art, the invention provides a control method and a control system for an intelligent door lock, which overcome the defect that the intelligent door lock in the prior art cannot realize remote control while keeping low power consumption.
In a first aspect, the present embodiment discloses a method for controlling an intelligent door lock, where the intelligent door lock includes a communication module applied to a door lock system, the communication module is connected to a main control module in the door lock system, and the method includes:
acquiring a starting instruction, wherein the starting instruction is sent by the main control module in response to a preset operation;
responding to the starting instruction, switching from a power-off state to a power-on state, and connecting with a monitoring terminal;
and if the preset condition is met, switching from the power-on state to the power-off state.
Optionally, before the step of obtaining the start instruction, the method further includes:
and calculating an encryption factor through a preset encryption algorithm according to the MAC address and the equipment identification of the monitoring terminal and sending the encryption factor to the monitoring terminal and the main control module.
Optionally, after the step of responding to the start instruction, switching from a power-off state to a power-on state, and connecting with the monitoring terminal, the method further includes:
when the monitoring terminal is connected with the main control module, the real-time timestamp is obtained from the monitoring terminal and is sent to the main control module, so that the main control module calibrates the local timestamp according to the real-time timestamp.
Optionally, the preset operation is an unlocking operation; after the step of responding to the starting instruction, switching from a power-off state to a power-on state and connecting with the monitoring terminal, the method further comprises the following steps:
receiving first data sent by a main control module, and sending the first data to the monitoring terminal, wherein the first data is a door lock state code sent by the main control module in response to the unlocking operation, the door lock state code corresponds to the on-off state of a door lock, and the on-off state of the door lock is determined by the main control module according to a received first temporary password and a second temporary password generated by the main control module; .
Optionally, if the preset condition is met, switching from the power-on state to the power-off state includes:
and if the first data is sent out completely, or when the continuous operation time of the power-on state exceeds the preset time, switching the power-on state to the power-off state.
Optionally, after the step of switching from the power-on state to the power-off state if the preset condition is met, the method further includes:
after receiving the password checking instruction, the monitoring terminal sends a temporary unlocking password to the client; the temporary unlocking password is calculated by the monitoring terminal at preset time intervals according to the received encryption factor, the real-time timestamp and the preset number through a preset encryption algorithm.
Optionally, after the step of switching from the power-on state to the power-off state if the preset condition is met, the method further includes:
and the monitoring terminal calculates a real-time temporary password by using a preset encryption algorithm at preset time intervals according to the received encryption factor, the real-time timestamp and the preset number, and updates the temporary unlocking password by using the real-time temporary password.
The second aspect, this embodiment also disclose an intelligent door lock control system, wherein, include: the monitoring system comprises a main control module, a communication module and a monitoring terminal, wherein the communication module is connected with the main control module;
the main control module is used for responding to a starting instruction of the communication module sent by a preset operation;
the communication module is used for acquiring the starting instruction, responding to the starting instruction, switching from a power-off state to a power-on state, and connecting with the monitoring terminal; and if the preset condition is met, switching from the power-on state to the power-off state.
Optionally, the communication module further calculates an encryption factor according to the MAC address and the device identifier of the communication module, and sends the encryption factor to the monitoring terminal and the main control module.
Optionally, the monitoring terminal includes: a password generation unit; the master control module comprises: the password verifying module and the unlocking control module;
the password generation unit is used for calculating a temporary unlocking password through a preset encryption algorithm at intervals of preset time according to the received encryption factor, the real-time timestamp and the preset number;
the password checking module is used for calculating a second temporary password by using a preset encryption algorithm according to the received encryption factor, the local timestamp and the preset number; when the preset operation is unlocking operation, comparing the received first temporary password with the second temporary password, and judging whether the first temporary password and the second temporary password are consistent;
and the unlocking control module is used for controlling unlocking when the first temporary password is consistent with the second temporary password and sending the door lock state code corresponding to the unlocking operation to the communication module.
According to the control method and the control system of the intelligent door lock, the main control module and the communication module are arranged in the door lock system, the main control module sends out a starting instruction in response to preset operation, the communication module acquires the starting instruction, switches from a power-off state to a power-on state according to the starting instruction, and switches from the power-on state to the power-off state after judging that a preset condition is met, so that the communication module is started in response to the starting instruction, and enters a low-power-consumption state of the door lock after a certain condition is met, and the problem of energy consumption caused by long-term power supply of the communication module of the door lock is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating steps of a method for controlling an intelligent door lock according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a main control module according to an embodiment of the present invention;
FIG. 3 is a flowchart of the steps of the method of the present invention for low or medium power consumption;
FIG. 4 is a flow chart of steps of remote unlocking in a specific embodiment of a method according to an embodiment of the present invention;
fig. 5 is a block diagram of the schematic structure of the system in the embodiment of 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.
The inventor finds through research that a communication module is generally installed in an existing intelligent door lock control device, door lock use state information is obtained through the communication module, or unlocking passwords are received through the communication module to carry out remote unlocking, but in the use process of the door lock, the unlocking time of the door lock is unfixed, so that the condition that the communication module is powered continuously can be met, and the communication module carries out existing information interaction in real time according to the received information. However, the power supply for the communication module for a long time causes high power consumption of a battery of the door lock, and if the door lock is controlled to be in a low power consumption state, the communication module is in a power-off state, and the door lock cannot be remotely controlled.
The present embodiment can be applied in the following scenarios: install intelligent lock on intelligent door, this intelligent lock includes: the master control module is used for controlling the communication module to be powered on and powered off, the communication module can be used for wifi communication, Bluetooth communication or Zigbee communication and the like, and the master control module is also used for controlling the communication module to receive and send information. When the intelligent door lock is used, firstly, a main control module of the intelligent door lock is opened, the main control module is used for monitoring whether the intelligent door lock is subjected to door lock operation or not, when the intelligent door lock is subjected to unlocking operation, an alarm is given or picking operation is carried out, then the main control module controls a communication module to be powered on, the communication module is started, communication connection is established between the communication module and a monitoring terminal, data information corresponding to the door lock operation is sent to the monitoring terminal through the communication module, and a user can log in the monitoring terminal to inquire the data information received by the monitoring terminal at any time by using a mobile terminal of the user. In addition, after the communication module sends the data information to the monitoring terminal, the information that the data information is successfully sent is transmitted to the main control module, the main control module controls the switch module to perform power-off processing on the communication module, or when the communication module is monitored to continuously work for a preset time, the communication module is automatically powered off. Therefore, when the door lock is not operated, the door lock is in a low power consumption state, the communication module is powered off, when the door lock receives a starting instruction or receives an operation, the communication module is automatically powered on, the communication module is connected into a network, and data information corresponding to the door lock operation is received and sent through the communication module, so that the remote control of the door lock is realized.
It should be noted that the above application scenarios are only presented to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the present embodiment discloses a control method for an intelligent door lock, where the intelligent door lock includes a communication module applied in a door lock system, the communication module is connected with a main control module in the door lock system, and the control method includes:
step S1, obtaining a start instruction, where the start instruction is sent by the main control module in response to a preset operation.
Install intelligent lock on the intelligence door of this embodiment, be provided with the lock system that is used for controlling intelligent lock on the intelligence lock, the lock system includes host system and communication module, host system and communication module connect. In specific application, the communication module is a wifi module, and the wifi module is electrically connected with the main control module.
And when the main control module receives a preset operation, sending a starting instruction to the communication module according to the preset operation. Specifically, the preset operation may be a digital unlocking operation that a user directly inputs to a door lock, or an unlocking operation through a non-contact NFC technology, or an unlocking operation that a door card is used to unlock the door lock, and the like, and when the main control module receives the preset operation, a start instruction is sent to the communication module, where the start instruction is used to start the communication module and to turn on a power supply for the communication module.
Further, as shown in fig. 2, the master control module monitors whether the door lock is operated, the master control module is provided with a door lock master control CPU, the door lock master control CPU is respectively connected with the communication module and the flash memory module, and is further connected with at least one of the fingerprint module, the card detection module and the key input module, and the preset operation is an unlocking operation as an example: the door lock master control CPU monitors the modules connected with the door lock master control CPU, judges whether unlocking operation exists in the key input module or not, or judges whether received fingerprint patterns exist in the fingerprint module or not, or judges whether intelligent card information is input in the card detection module or not, and judges that the door lock is operated if information input operation exists in the modules.
Furthermore, the preset operation can be other operations on the door lock besides the unlocking operation, for example, whether the intelligent door lock is prized or not, whether the intelligent door is alarmed or not, or other abnormal conditions occur on the door lock, and if the intelligent door lock operates in any condition, the main control module sends a starting instruction to the communication module.
And step S2, responding to the starting instruction, switching from a power-off state to a power-on state, and connecting with the monitoring terminal.
When receiving the start instruction, then host system is the communication module circular telegram, starts communication module, contain battery module in the lock, battery module is the host system power supply, be provided with the battery unit in the host system, the battery unit is used for supplying power to communication module, the battery unit is connected with a switch circuit, opening and closing of host system control switch circuit, work as when switch circuit opens, battery unit and communication module disconnection, communication module are in the outage state, work as when switch circuit closes, the battery unit is the communication module power supply, communication module is in the access circuit state.
And step S3, if the preset condition is met, switching from the power-on state to the power-off state.
When the communication module is powered on and meets the preset conditions, the power-on state of the communication module is switched to the power-off state, and the purpose of energy conservation is achieved. The preset condition may be that when the power-on time of the communication module exceeds the preset time, the communication module is controlled to be powered off, or when a power-off application signal sent by the communication module is received, the main control module controls the communication module to be powered off, or when the main control module monitors that the communication module transmits data to be transmitted to the monitoring terminal, the communication module is controlled to be powered off.
The data to be transmitted by the communication module is specifically data information received by the communication module from the main control module, the data information is corresponding to the preset operation, and after the main control module receives the preset operation, the data information corresponding to the preset operation is acquired and sent to the communication module.
When the communication module sends out the data information acquired from the main control module, the information of finishing data information sending can be automatically reported to the main control module, and when the main control module receives the reported information, the switch circuit is controlled to cut off the power of the communication module, so that the door lock is restored to the low power consumption state. Further, the data information may further include: unlocking password information corresponding to the unlocking operation.
Specifically, after the communication module sends the data information to the monitoring terminal, a signal indicating that the data information is successfully sent can be automatically reported to the main control module, and the main control module controls the switch circuit to power off the communication module. The master control module can also monitor the state of the communication module, and when the communication module is monitored to finish sending data information, the master control module automatically performs power-off operation on the communication module.
The data information corresponding to the preset operation is sent to the communication module through a serial port after being acquired by the door lock main control CPU from the fingerprint module, the card detection module and/or the key input module which are connected with the door lock main control CPU, and the data information is sent out after being acquired by the communication module.
The data information contains unlocking passwords, unlocking fingerprints, unlocking card IDs and other data information corresponding to unlocking operations, so that the communication module sends the data information to the monitoring terminal, a user can acquire the data information from the monitoring terminal by using the mobile terminal, the state information of the current door lock is obtained according to the acquired data information, and whether the door lock is abnormally unlocked or not is judged.
In another embodiment, if the communication module does not report the information that the data information is successfully sent to the main control module, the main control module may automatically time the power-on time after the communication module is started, and control the communication module to power off when the power-on time of the communication module exceeds a preset time. The preset time can be set as the time length of the unlocking operation of the user, and is generally set within 10 minutes.
Because the work flow of the communication module in the conventional intelligent door lock system is mainly as follows: electrifying- > connecting the router- > logging in the monitoring terminal- > monitoring serial port data. When the door lock is operated, for example, the door lock is unlocked or the lock is picked by someone, the communication module receives the serial port data, reports the serial port data to the monitoring terminal, and then the communication module is in a waiting state to wait for the arrival of the serial port data next time.
The method disclosed by the embodiment has the characteristic of low power consumption that the communication module is not in a always-on state, whether the communication module is powered on is determined by the main control module according to whether door lock operation is monitored, such as unlocking, prying a door by someone and the like, and if the communication module is powered on, the communication module is controlled to supply power
In one embodiment, the communication module is controlled as follows: when the master control module detects that someone opens the door or prizes the door, the master control module supplies power to the communication module and sends data information corresponding to door lock operation to the communication module through the serial port, the communication module is connected with a preset router immediately after being powered on, logs in the monitoring terminal, reports the received serial port data of the master control of the door lock to the monitoring terminal, and immediately informs the master control of the door lock of powering off the communication module after reporting. If the main control module does not receive the report information sent by the communication module within the preset time, the power of the communication module is automatically controlled to be cut off, for example: the door lock can directly power off the communication module within 15 seconds after the power supply is opened.
In order to better control the door lock, before the step of obtaining the starting instruction, the communication module further comprises:
and calculating an encryption factor through a preset encryption algorithm according to the MAC address and the equipment identification of the monitoring terminal and sending the encryption factor to the monitoring terminal and the main control module.
Specifically, when a user firstly connects a network with the door lock, at the moment, the communication module obtains an encryption factor through an encryption algorithm according to the mac address and the equipment identification of the communication module, the encryption factor is generated through information based on the mac address and the equipment identification of each communication module, so that the encryption factor of each door lock can be guaranteed to be different, and after the encryption factor is generated by the communication module, the encryption factor is sent to the main control module through serial port communication and sent to the monitoring terminal through communication.
The distribution network refers to that when a user adds a door lock to an application program installed on a monitoring terminal or a mobile terminal and used for door lock management, a random number is fixed and unchanged after being selected, when the user re-distributes the network, or when the door lock is added to the application program installed on the monitoring terminal or the mobile terminal again, the random number is regenerated, and when the user is replaced, an encryption factor is updated.
In one embodiment, the preset operation is an unlocking operation; after the step of responding to the starting instruction, switching from a power-off state to a power-on state and connecting with the monitoring terminal, the method further comprises the following steps:
receiving first data sent by a main control module, and sending the first data to the monitoring terminal, wherein the first data is a door lock state code sent by the main control module in response to the unlocking operation. The door lock state code corresponds to the opening and closing state of the door lock, and the opening and closing state of the door lock is determined by the main control module according to the received first temporary password and the second temporary password generated by the main control module.
The door lock state code represents the current state of the door lock, such as: when the door lock state code is 00, the current door lock is in a closed state, when the door lock state code is 01, the current door lock is in an unlocked state, the communication module sends the door lock state code to the monitoring terminal, the monitoring terminal can display the state of the current door lock according to the received door lock state code, and a user can know the use condition of the door lock by checking the door lock state displayed in the monitoring terminal.
Specifically, when the preset operation is the unlocking operation, the unlocking operation sent by the user is specifically the operation of inputting a first temporary password for unlocking, the main control module receives the first temporary password input by the user through the input module, compares the received first temporary password with a second temporary password generated by the main control module, judges whether the first temporary password is consistent with the second temporary password, controls the door lock to unlock if the first temporary password is consistent with the second temporary password, and does not execute the unlocking operation if the first temporary password is inconsistent with the second temporary password. The first data are door lock state codes sent to the communication module after the main control module judges that the first temporary password is the same as the second temporary password and performs unlocking operation or judges that the first temporary password is different from the second temporary password and does not perform unlocking operation, the communication module sends the door lock state codes to the monitoring terminal, and then a user can check the state of the current door lock by logging in the monitoring terminal.
Here, it should be noted that: and when the first temporary password is a temporary password generated by the monitoring terminal and is used within a set time, namely the first temporary password is the same as the second temporary password, executing unlocking operation.
Specifically, in order to achieve smooth unlocking, when the communication module is connected with the monitoring terminal, the real-time timestamp is acquired from the monitoring terminal, and the real-time timestamp is sent to the main control module, so that the main control module calibrates the local timestamp according to the real-time timestamp.
When the communication module is connected with the monitoring terminal at each time, the real-time timestamp is obtained from the monitoring terminal and is sent to the main control module, and the main control module calibrates the local timestamp on the system according to the real-time timestamp transmitted by the communication module. In this embodiment, the real-time timestamp is a time point when the communication module is connected to the monitoring terminal, but the setting of the timestamp is not limited in this embodiment, and the timestamp may be a time set manually on the monitoring terminal or a time set according to a time rule.
And after the main control module calibrates the local timestamp, a second temporary password is generated according to the encryption factor obtained from the communication module and a preset encryption algorithm.
And the monitoring terminal calculates a real-time temporary password by using a preset encryption algorithm at preset time intervals according to the received encryption factor, the real-time timestamp and the preset number, and updates the temporary unlocking password by using the real-time temporary password.
In order to realize that the unlocking password input into the intelligent door lock by a user is consistent with the first temporary password and the second temporary password generated in the main control module, the monitoring terminal calculates the obtained temporary unlocking password through a preset encryption algorithm at intervals of preset time according to the received encryption factor, the real-time timestamp and preset numbers, and after receiving a password checking instruction, the monitoring terminal sends the temporary unlocking password to the client. And the main control module generates a second temporary password according to the local timestamp, the encryption factor which is sent by the communication module and stored locally and a preset encryption algorithm. The user uses the temporary unlocking password obtained from the monitoring terminal to carry out unlocking operation, at the moment, the first temporary password input by the user is the temporary unlocking password obtained from the monitoring terminal, and as the encryption factors and the encryption algorithm used by the temporary unlocking password and the second temporary password obtained by the user are the same, the main control module compares the temporary unlocking password and the second temporary password to be the same, so as to control unlocking.
After the main control module receives the real-time timestamp sent by the communication module each time, the timestamp received before is updated, and the most accurate real-time timestamp is used for calculating the second temporary password when the temporary password is calculated each time.
Furthermore, the master control module also times the continuous operation time after the communication module is started, and controls the communication module to be powered off after the starting time of the communication module lasts for the preset time.
In another embodiment, the step of starting a communication module of the door lock and sending data information corresponding to the door lock operation through the communication module when the door lock operation is monitored includes:
and controlling the communication module to be electrified, and controlling the communication module to send the data information to a monitoring terminal, so that a user terminal obtains the data information from the monitoring terminal and displays the data information.
Before the communication module of the door lock is started, the switch circuit is controlled to supply power to the communication module, and after the monitoring terminal receives data information sent by the communication module, the user terminal obtains the data information from the monitoring terminal and displays the data information on the user terminal so that a user can check the state information of the door lock in time.
The control process of the present embodiment regarding the low power consumption of the door lock will be further described with reference to fig. 3.
When the master control module (which can also be a door lock master control circuit) can detect unlocking operations such as unlocking with a key, fingerprint unlocking, intelligent card unlocking and the like, and conditions such as lock picking or alarming of a door lock occur, communication between a serial port of the master control module and the communication module is established, data information corresponding to the unlocking operation is sent to the communication module, the communication module transmits the data information of the operation to the server end through the wireless network, the server end transmits the information to the app end, a user is informed of the real-time condition of the intelligent door lock, and meanwhile, after the communication module finishes sending the data information, the master control module controls the communication module to be powered off, so that the door lock enters a low power consumption state again.
The control method for unlocking based on the timestamp in this embodiment is further explained with reference to fig. 4. When the method is specifically implemented, the unlocking of relatives and friends of the user by using the temporary password can be realized.
Firstly, when the intelligent door lock is accessed to a network for the first time and is in communication connection with a monitoring terminal, a communication module of the intelligent door lock automatically generates an encryption factor according to a mac address of the network where the intelligent door lock is located and a random number added to the equipment ID of the communication module or a main control module by using a preset encryption algorithm, and the communication module sends the generated encryption factor to the main control module.
Meanwhile, the communication module uploads the encryption factors to the cloud server, and the cloud server can ensure that the encryption factors obtained in the main control module and the cloud monitoring terminal are the same due to the fact that the encryption algorithm, the mac address and the equipment ID used in the steps are the same, but the encryption factors of each door lock are different due to the fact that the mac address of each door lock is different and the equipment ID is different, the encryption factors are sent to a door lock main control program through a serial port, and the encryption factors are reported to the cloud server.
Communication module is when awakening up at every turn, acquires the real-time timestamp of high in the clouds server, and this real-time timestamp is used for the door lock master control to generate interim password used, and host system keeps the timestamp update at local after acquireing real-time timestamp to when communication module was awaken up at every turn, the timestamp is updated in step.
When the cloud server generates an unlocking password according to an encryption factor sent by the communication module and a real-time timestamp and according to a preset encryption algorithm, the unlocking password is sent to the user terminal after being generated, the user sends the unlocking password displayed in the user terminal to friends and relatives, the friends and relatives of the user carry out key input on the door lock for the unlocking password, the door lock carries out matching verification on the unlocking password and a temporary password generated according to the own encryption factor and timestamp when detecting the input unlocking password, and if the unlocking password is consistent, the unlocking password is effective and can be successfully unlocked.
For example: time stamping: 201910221658, encryption factor: dhaajls, in a cloud monitoring terminal: according to the real-time timestamp 201910221658 and the encryption factor dhaajls, a six-digit number 892455 is obtained through a two-party agreed algorithm, and the algorithm can be set to change the obtained number every few minutes. Such as one set for a 10 minute change. Such as: between 20: 50 and 17:00 on month 10/2019, ten minutes, the 892455 produced was fixed, and the door lock end: the temporary password 892455 is calculated according to 201910221658+ dhaajls, and the door can be opened when the password is consistent with the password taken by the user.
Above, app generates the process of interim password to the user use interim password, need not pass through the network, communicates through communication module, has realized communication module when not supplying power, also can realize passing through app by the owner of lock and temporarily generate the password in order to supply relatives and friends to use temporarily, has reached the interim password function under the low-power consumption communication module mode.
Exemplary device
This embodiment also discloses an intelligence lock control system, as shown in fig. 5, includes: the intelligent door lock 10 is characterized in that a main control module 101, a communication module 102 connected with the main control module 101 and a monitoring terminal 20 are arranged in the intelligent door lock 10;
the main control module 101 is configured to respond to a start instruction for the communication module 102 sent by a preset operation;
the communication module 102 is configured to obtain the start instruction, respond to the start instruction, switch from a power-off state to a power-on state, and connect to the monitoring terminal 20; and if the preset condition is met, switching from the power-on state to the power-off state.
The communication module 102 further calculates an encryption factor according to the MAC address and the device identifier, and sends the encryption factor to the monitoring terminal and the main control module.
The monitor terminal 20 includes: a password generation unit; the main control module 101 includes: the password verifying module and the unlocking control module;
the password generation unit is used for calculating a temporary unlocking password through a preset encryption algorithm at intervals of preset time according to the received encryption factor, the real-time timestamp and the preset number;
the password checking module is used for calculating a second temporary password by using a preset encryption algorithm according to the received encryption factor, the local timestamp and the preset number; when the preset operation is unlocking operation, comparing the received first temporary password with the second temporary password, and judging whether the first temporary password and the second temporary password are consistent;
and the unlocking control module is used for controlling unlocking when the first temporary password is consistent with the second temporary password and sending the door lock state code corresponding to the unlocking operation to the communication module.
The invention discloses a control method and a system of an intelligent door lock, which monitor whether the door lock has door lock operation or not, start a communication module of the door lock when the door lock operation is monitored, and send out data information corresponding to the door lock operation through the communication module; and when the communication module finishes sending the data information or the continuous operation time of the communication module exceeds the preset time, controlling the communication module to be powered off. This embodiment is through taking place the operation to the lock and monitoring, takes place the operation when monitoring the lock, then starts communication module work, sends the information of lock operation through communication module to after wifi accomplishes the information and sends, control is the communication module outage, gets into the low-power consumption state of lock, thereby avoided the power consumptive that the communication module long-term power supply of lock brought, also solved the lock and continuously be in under the low-power consumption state, can't carry out remote control's defect to it.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A control method of an intelligent door lock is characterized in that the intelligent door lock comprises a communication module applied to a door lock system, the communication module is connected with a main control module in the door lock system, and the control method comprises the following steps:
acquiring a starting instruction, wherein the starting instruction is sent by the main control module in response to a preset operation;
responding to the starting instruction, switching from a power-off state to a power-on state, and connecting with a monitoring terminal;
and if the preset condition is met, switching from the power-on state to the power-off state.
2. The method for controlling an intelligent door lock according to claim 1, wherein the step of obtaining the start command further comprises:
and calculating an encryption factor through a preset encryption algorithm according to the MAC address and the equipment identification of the monitoring terminal and sending the encryption factor to the monitoring terminal and the main control module.
3. The method according to claim 1 or 2, wherein after the step of switching from the power-off state to the power-on state in response to the activation command and connecting the power-on state to the monitoring terminal, the method further comprises:
when the monitoring terminal is connected with the main control module, the real-time timestamp is obtained from the monitoring terminal and is sent to the main control module, so that the main control module calibrates the local timestamp according to the real-time timestamp.
4. The control method of an intelligent door lock according to claim 3, wherein the preset operation is an unlocking operation; after the step of responding to the starting instruction, switching from a power-off state to a power-on state and connecting with the monitoring terminal, the method further comprises the following steps:
receiving first data sent by a main control module, and sending the first data to the monitoring terminal, wherein the first data is a door lock state code sent by the main control module in response to the unlocking operation, the door lock state code corresponds to the on-off state of a door lock, and the on-off state of the door lock is determined by the main control module according to a received first temporary password and a second temporary password generated by the main control module.
5. The method according to claim 4, wherein the switching from the power-on state to the power-off state if the predetermined condition is satisfied comprises:
and if the first data is sent out completely, or when the continuous operation time of the power-on state exceeds the preset time, switching the power-on state to the power-off state.
6. The method according to claim 4 or 5, wherein after the step of switching from the power-on state to the power-off state if the predetermined condition is satisfied, the method further comprises:
after receiving the password checking instruction, the monitoring terminal sends a temporary unlocking password to the client; the temporary unlocking password is calculated by the monitoring terminal at preset time intervals according to the received encryption factor, the real-time timestamp and the preset number through a preset encryption algorithm.
7. The method according to claim 6, wherein the step of switching from the power-on state to the power-off state if the predetermined condition is satisfied further comprises:
and the monitoring terminal calculates a real-time temporary password by using a preset encryption algorithm at preset time intervals according to the received encryption factor, the real-time timestamp and the preset number, and updates the temporary unlocking password by using the real-time temporary password.
8. An intelligent door lock control system, comprising: the monitoring system comprises a main control module, a communication module and a monitoring terminal, wherein the communication module is connected with the main control module;
the main control module is used for responding to a starting instruction of the communication module sent by a preset operation;
the communication module is used for acquiring the starting instruction, responding to the starting instruction, switching from a power-off state to a power-on state, and connecting with the monitoring terminal; and if the preset condition is met, switching from the power-on state to the power-off state.
9. The intelligent door lock control system according to claim 7, wherein the communication module further calculates an encryption factor according to its own MAC address and its own device identifier by a preset encryption algorithm, and sends the encryption factor to the monitoring terminal and the main control module.
10. The intelligent door lock control system according to claim 8, wherein the monitor terminal comprises: a password generation unit; the master control module comprises: the password verifying module and the unlocking control module;
the password generation unit is used for calculating a temporary unlocking password through a preset encryption algorithm at intervals of preset time according to the received encryption factor, the real-time timestamp and the preset number;
the password checking module is used for calculating a second temporary password by using a preset encryption algorithm according to the received encryption factor, the local timestamp and the preset number; when the preset operation is unlocking operation, comparing the received first temporary password with the second temporary password, and judging whether the first temporary password and the second temporary password are consistent;
and the unlocking control module is used for controlling unlocking when the first temporary password is consistent with the second temporary password and sending the door lock state code corresponding to the unlocking operation to the communication module.
CN201911390834.7A 2019-12-30 2019-12-30 Control method and system of intelligent door lock Pending CN113129478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911390834.7A CN113129478A (en) 2019-12-30 2019-12-30 Control method and system of intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911390834.7A CN113129478A (en) 2019-12-30 2019-12-30 Control method and system of intelligent door lock

Publications (1)

Publication Number Publication Date
CN113129478A true CN113129478A (en) 2021-07-16

Family

ID=76767550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911390834.7A Pending CN113129478A (en) 2019-12-30 2019-12-30 Control method and system of intelligent door lock

Country Status (1)

Country Link
CN (1) CN113129478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286431A (en) * 2021-12-02 2022-04-05 海尔优家智能科技(北京)有限公司 Method and device for starting low power consumption mode, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530924A (en) * 2013-10-25 2014-01-22 北京金储自动化技术有限公司 Dynamic password lock system and method for self-help network management
CN106952378A (en) * 2017-04-11 2017-07-14 徐士兰 Method for unlocking and device, electronic lock
CN107733994A (en) * 2017-09-20 2018-02-23 美的智慧家居科技有限公司 Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock
CN108510626A (en) * 2018-02-23 2018-09-07 深圳同心科技有限公司 A kind of dynamic password access control management method and its management system
CN109816824A (en) * 2018-12-27 2019-05-28 宁波玖优电子科技有限公司 A kind of control method of smart lock
CN110005266A (en) * 2018-01-05 2019-07-12 深圳市欧瑞博科技有限公司 Control method, device and its relevant device of intelligent door lock
CN110400405A (en) * 2019-07-29 2019-11-01 北京小米移动软件有限公司 A kind of method, apparatus and medium of access control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530924A (en) * 2013-10-25 2014-01-22 北京金储自动化技术有限公司 Dynamic password lock system and method for self-help network management
CN106952378A (en) * 2017-04-11 2017-07-14 徐士兰 Method for unlocking and device, electronic lock
CN107733994A (en) * 2017-09-20 2018-02-23 美的智慧家居科技有限公司 Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock
CN110005266A (en) * 2018-01-05 2019-07-12 深圳市欧瑞博科技有限公司 Control method, device and its relevant device of intelligent door lock
CN108510626A (en) * 2018-02-23 2018-09-07 深圳同心科技有限公司 A kind of dynamic password access control management method and its management system
CN109816824A (en) * 2018-12-27 2019-05-28 宁波玖优电子科技有限公司 A kind of control method of smart lock
CN110400405A (en) * 2019-07-29 2019-11-01 北京小米移动软件有限公司 A kind of method, apparatus and medium of access control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286431A (en) * 2021-12-02 2022-04-05 海尔优家智能科技(北京)有限公司 Method and device for starting low power consumption mode, storage medium and electronic device
CN114286431B (en) * 2021-12-02 2024-03-22 海尔优家智能科技(北京)有限公司 Method and device for starting low-power mode, storage medium and electronic device

Similar Documents

Publication Publication Date Title
WO2016112642A1 (en) Method and apparatus for monitoring intelligent device
US11184366B1 (en) Service authorization for IoT devices operating locally
US9898921B2 (en) Security system installation
CN110677899B (en) Data transmission method, device, terminal equipment and storage medium
EP3779105A1 (en) Door lock, door lock control method and device
CN105741126A (en) Management method and management apparatus of air conditioner, server, terminal and communication module
US11854324B2 (en) Intelligent lock
CN109360299A (en) A kind of control method of WIFI module, door lock control system and intelligent door lock
US11950325B2 (en) Gateway with backup power and communications system
US10223902B2 (en) Methods and systems for operating a point device included in a system of point devices
CN102606006A (en) Wireless cloud drawer lock and operating method thereof
CN113129478A (en) Control method and system of intelligent door lock
CN106066658B (en) Internet of things intelligent household temperature control system
CN114582052A (en) Control method and device of intelligent door lock, intelligent door lock and storage medium
US11283642B2 (en) Event management method and event management device
CN113850938A (en) Intelligent door lock control method and device, storage medium and electronic equipment
CN112862120A (en) Power maintenance and repair supervision system and method
CN111311791A (en) Intelligent lock verification system and method based on Bluetooth communication
KR20030008895A (en) Entrance management system and method thereof
TW201439990A (en) Access control and burglarproof system with immediately monitoring and controlling by mobile device
CN114627580A (en) Intelligent door lock, state reporting method thereof and home equipment linkage system
JP2023022614A (en) Control system, and, control method
CN115186840A (en) Inspection and source tracing method, storage medium and system for equipment safety inspection
CN113364121A (en) Power distribution cabinet unattended operation method, system, device and storage medium
CN115718000A (en) Vehicle detection automatic power-on method and device, readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210716

RJ01 Rejection of invention patent application after publication