CN117649712A - Intelligent door lock control method, device, equipment and medium - Google Patents

Intelligent door lock control method, device, equipment and medium Download PDF

Info

Publication number
CN117649712A
CN117649712A CN202311527792.3A CN202311527792A CN117649712A CN 117649712 A CN117649712 A CN 117649712A CN 202311527792 A CN202311527792 A CN 202311527792A CN 117649712 A CN117649712 A CN 117649712A
Authority
CN
China
Prior art keywords
door lock
information
identity information
data
acquiring
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
CN202311527792.3A
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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN202311527792.3A priority Critical patent/CN117649712A/en
Publication of CN117649712A publication Critical patent/CN117649712A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention discloses an intelligent door lock control method, device, equipment and medium, wherein the method comprises the following steps: acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information for whether simulation control command or change front lock panel can't be right motor control in the lock can effectively reduce the potential safety hazard, improves the security.

Description

Intelligent door lock control method, device, equipment and medium
Technical Field
The invention relates to the technical field of intelligent home furnishing, in particular to an intelligent door lock control method, an intelligent door lock control device, intelligent door lock control equipment and an intelligent door lock control medium.
Background
The intelligent door lock is an improved lock which is different from the traditional mechanical lock and is more intelligent and simplified in the aspects of user safety, identification and manageability. The intelligent door lock is an executive component for locking the door in an access control system. The intelligent door lock is different from the traditional mechanical lock, and is a composite lock with safety, convenience and advanced technology. Mature technologies that use non-mechanical keys as user identification identity information, such as: fingerprint lock, iris recognition entrance guard (biological recognition class, the security is high, does not have to lose the damage). Meanwhile, the intelligent door lock is also a part of the intelligent home, and the intelligent door lock can be controlled through the client.
At present, when a front plate is disassembled in a mode of directly driving a motor, the door can be driven to rotate by directly inputting a high-low control level through the outside to open a door, and almost no protective capability exists; even if the driving circuit board is used for controlling the driving motor, a professional can send a control signal through an analog communication protocol, so that the driving board is mistakenly a real signal, and the door is opened, thereby causing potential safety hazard.
Disclosure of Invention
In view of the above, the invention provides a method, a device, equipment and a medium for controlling an intelligent door lock, which are used for solving the problem that the intelligent door lock in the prior art is easily broken in a mode of disassembling a door lock panel, thereby bringing potential safety hazard.
To achieve one or a part or all of the above or other objects, the present invention provides an intelligent door lock control method, comprising:
acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information;
acquiring user request data, and constructing a control instruction according to the user request data and the pairing information;
and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
Optionally, the step of obtaining first identity information of a door lock panel of the door lock and second identity information of a driving board corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information includes:
acquiring history request information acquired based on the door lock panel;
determining a driving board set responding to the history request information according to the history request information, and acquiring second identity information of each driving board to obtain a second identity information set;
binding the first identity information with each second identity information in the second identity information set respectively to obtain a data pair of the first identity information and each second identity information, and taking the data pair as the pairing information.
Optionally, the step of constructing a control instruction according to the user request data and the pairing information includes:
acquiring calculation force attribute data of a data processing device in the door lock;
determining an initial encryption mode set in preset encryption mode data based on the calculation force attribute data;
acquiring encryption grade data of the environment where the door lock is located;
determining a target encryption mode in the initial encryption mode set according to the encryption grade data;
and encrypting the user request data and the pairing information based on the target encryption mode to obtain the control instruction.
Optionally, before the step of verifying the control instruction based on the preset information base to obtain a verification result, the method further includes:
acquiring first factory identity information of a door lock panel of the door lock and second factory identity information of a driving plate corresponding to the door lock panel;
generating factory pairing information based on the first factory identity information and the second factory identity information;
constructing an initial preset information base based on the factory pairing information;
and acquiring password updating data of the door lock, and generating a preset information base according to the password updating data and the initial preset information base.
Optionally, the step of verifying the control instruction based on a preset information base to obtain a verification result includes:
determining target pairing information and target password data in the control instruction based on an encryption rule of the target encryption mode;
verifying the target pairing information based on the preset information base, and if the target pairing information is not verified, generating a first result in the verification results;
if the target pairing information passes verification, verifying the target password data based on the preset information base, and if the target password data does not pass verification, generating a second result in the verification results;
and if the target password data passes the verification, generating a third result in the verification results.
Optionally, the method further comprises:
acquiring a connection state of the driving plate and the door lock panel;
when the connection state is the disconnection state, acquiring image information in a preset range;
identifying feature data of the portrait in the image information through an image identification technology, and judging the authority level of the portrait in the image information through a preset identity information base and the feature data;
If the authority level is greater than or equal to a preset authority level, acquiring third identity information of an alternative door lock panel when the driving plate is connected with the alternative door lock panel, and updating the preset information base according to the third identity information;
and if the authority level is smaller than the preset authority level, generating first alarm information based on the image information.
Optionally, the step of identifying feature data of the person in the image information by an image identification technology includes:
judging the disconnection type of the disconnection state according to the image information;
when no portrait exists in the image information, determining that the disconnection type is fault disconnection, recording first disconnection time, and generating second alarm information according to the first disconnection time;
when the portrait exists in the image information, determining that the disconnection type is artificial disconnection, and identifying feature data of the portrait in the image information through an image identification technology.
In another aspect, an embodiment of the present application provides an intelligent door lock control device, including:
the data acquisition module is used for acquiring first identity information of a door lock panel of the door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information;
The generation module is used for acquiring user request data and constructing a control instruction according to the user request data and the pairing information;
and the control module is used for verifying the control instruction based on a preset information base, obtaining a verification result and controlling the motor in the door lock according to the verification result.
In another aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate through the bus when the electronic device is running, and the machine-readable instructions are executed by the processor to perform the steps of intelligent door lock control as described above.
In another aspect, an embodiment of the present application provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to perform the steps of the intelligent door lock control method as described above.
The implementation of the embodiment of the invention has the following beneficial effects:
the method comprises the steps of obtaining first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information, if meet with disassembling for whether simulation control command or change the front lock panel can't be right the motor is controlled in the lock, can effectively reduce the potential safety hazard, improves the security.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
fig. 1 is an application scenario diagram of an intelligent door lock control method provided in an embodiment of the present application;
fig. 2 is a scene diagram of man-machine interaction in an intelligent door lock control method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an intelligent door lock according to an embodiment of the present application;
fig. 4 is a flowchart of an intelligent door lock control method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent door lock according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an intelligent door lock control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, an embodiment of the present application provides an application scenario of an intelligent door lock control method, where the application scenario includes: intelligent device 101, server 102, gateway 104, intelligent door lock 103, and router 105. The smart device 101 may be any electronic device with a control function, for example: smart phones, desktop computers, notebook computers, tablet computers, or other intelligent communication devices with network connection functions. Server 102 may be a network access server, database server, cloud server, or the like.
Illustratively, the gateway 104 may be built based on a standard wireless technology (ZigBee) protocol, the intelligent cooking device 103 may be a device that is pre-incorporated into the gateway 104, for example, the intelligent door lock 103 may be a device in a suite to which the gateway 104 belongs when shipped; or may be a device that is subsequently connected to gateway 104 by user operation.
Illustratively, the smart device 101 is provided with a client capable of managing the smart door lock 103, where the client may be an application client (such as mobile phone software) or a web client, which is not limited herein, and the user performs interaction with the smart device 101.
For example, the smart device 101 may be an electronic device having a data receiving function and a data calculating function, i.e., an electronic device having a function of acquiring control for the smart door lock 103.
For example, the smart door lock 103 may establish a network connection with the gateway 104 based on the ZigBee protocol, thereby joining the ZigBee network.
The gateway 104 and the intelligent device 101 can be connected with the router 105, and are connected into the Ethernet through the router 105, and the router 105 can be connected into the server through a wired or wireless communication connection mode. For example, gateway 104 and smart device 101 may store the acquired sound information in server 102. Optionally, the intelligent device 101 may also establish a network connection with the server 102 through a mobile phone communication technology (2G/3G/4G/5G), wireless communication (WiFi), and so on, so as to obtain data issued by the server 102.
Illustratively, the local area network path as shown in fig. 1 represents that the smart device 101 is in the same local area network as the router 105 and the gateway 104, and the wide area network path represents that the smart device 101 is in the same local area network as the router 105 and the gateway 104. Wherein, when the smart device 101 is in the same lan as the router 105 and the gateway 104, the smart device 101 may interact with the gateway 104 and the smart door lock 103 connected to the gateway 104 through the lan path as shown in fig. 1; interaction with gateway 104 and smart door lock 103 connected to gateway 104 may also be through a wide area network path as shown in fig. 1. When the smart device 101 is not in the same local area network as the router 105 and gateway 104, the smart device 101 may interact with the gateway 104 and the smart door lock 103 connected to the gateway 104 through a wide area network path as shown in fig. 1.
In one scenario, as shown in fig. 2, the human-computer interaction process is: the intelligent device 101 acquires a control signal (data such as a password and a fingerprint) for the intelligent door lock 103 and sends the control signal to the intelligent door lock 103, and the intelligent door lock 103 acquires first identity information of a door lock panel of the door lock and second identity information of a driving plate corresponding to the door lock panel and generates pairing information based on the first identity information and the second identity information; acquiring user request data (control signals) and constructing control instructions according to the user request data (control signals) and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
In one scenario, a server 102 is used for data interaction of the smart device 101 with the smart door lock 103; meanwhile, in order to alleviate the calculation pressure of the intelligent door lock 103, the intelligent door lock 103 acquires first identity information of a door lock panel of the door lock and second identity information of a driving plate corresponding to the door lock panel, the intelligent door lock 103 sends the first identity information of the door lock panel of the door lock and the second identity information of the driving plate corresponding to the door lock panel to the server 102, and the server 102 generates pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
In one scenario, the smart device 101 may directly interact with the smart door lock 103, and the smart device 101 may also forward data through the server 102, thereby indirectly interacting with the smart door lock 103.
As shown in fig. 3, a control module may be disposed in the intelligent door lock 103, where the control module is configured to obtain first identity information of a door lock panel of the door lock and second identity information of a drive board corresponding to the door lock panel, and generate pairing information based on the first identity information and the second identity information; acquiring user request data (control signals) and constructing control instructions according to the user request data (control signals) and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
As shown in fig. 4, an embodiment of the present application provides an intelligent door lock control method, including:
s101, acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information;
The motor control method adopted by the intelligent full-automatic door lock mainly comprises direct driving, controlling and driving through a driving circuit board and the like, wherein the technology for controlling the motor through the driving circuit board has the characteristics of mature technology, strong adaptability and wide application field, but the direct driving, controlling and driving through the driving circuit board and the like are realized by responding to the control information of the door lock panel, so that the data security between the door lock panel and the driving circuit board is the key point of whether the door lock is safe or not, for example, when the front board is disassembled, the direct driving motor can be directly driven to rotate by inputting high and low control levels, so that the door is opened, and the door is hardly protected; even if the driving circuit board is used for controlling the driving motor, a professional can send a control signal through an analog communication protocol, so that the driving board is mistaken for a real signal, and the intelligent door lock is opened.
By way of example, the first identity information of the door lock panel of the door lock and the second identity information of the driving board corresponding to the door lock panel are acquired, and the door lock panel and the driving board are bound (paired) through the first identity information and the second identity information, so that the driving board responds to the communication information sent by the corresponding door lock panel, namely, the identity of the door lock panel sending the communication information is verified, the situation that a control signal is sent through an analog communication protocol is avoided, the door lock is opened, and safety is improved.
The door lock panel is an exemplary data acquisition device for acquiring data such as a user fingerprint, a face, a password, and the like, and can directly acquire the data such as the user fingerprint, the face, the password, and the like, or can acquire the data such as the user fingerprint, the face, the password, and the like through other devices (e.g., an intelligent mobile terminal), for example, a user inputs the password on the intelligent mobile terminal, and the intelligent mobile terminal sends the password to the door lock panel. The driving plate is a controller of the motor in the door lock and is used for controlling the action of the motor in the door lock. The first identity information of the door lock panel and the second identity information of the driving plate can be identity coding information or identity identification code data.
S102, acquiring user request data, and constructing a control instruction according to the user request data and the pairing information;
for example, the pairing information is considered, and meanwhile, the working mode of the intelligent door lock is considered, namely, the working mode of replacing a traditional key by a digital password, a fingerprint password and a face password is combined, the user request information and the pairing information are combined, a control instruction for the intelligent door lock is constructed, double protection (pairing information and password) is realized, and safety is ensured.
Illustratively, the user request data includes motion information for indicating a door lock motion, such as a locking motion, an unlocking motion, etc., and a password for unlocking a door lock motion right, such as a digital password, a fingerprint password, etc.
And S103, verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
The method includes the steps that whether the pairing relation between a door lock panel and a driving board in the control instruction is correct or not is verified through a preset information base, the situation that a control signal is sent through an analog communication protocol and a door lock is opened is avoided, and whether a user who sends request information has authority to operate the door lock is determined through verifying password data in the control instruction.
For example, the control instruction is "door lock panel a-driving board a, a digital code (111111)", whether "door lock panel a-driving board a" exists is searched in the preset information base, if so, the "door lock panel a-driving board a" is considered to be correct pairing information, that is, the driving board a can respond to the communication information of the door lock panel a, then, whether "111111" is the same as the prestored code is verified through the preset information base, if so, the driving board a responds to the action information of the door lock panel a, for example, locking action, unlocking action and the like.
The method comprises the steps of obtaining first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information, if meet with disassembling for whether simulation control command or change the front lock panel can't be right the motor is controlled in the lock, can effectively reduce the potential safety hazard, improves the security.
In one possible implementation manner, the step of obtaining first identity information of a door lock panel of a door lock and second identity information of a drive board corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information includes:
acquiring history request information acquired based on the door lock panel;
Determining a driving board set responding to the history request information according to the history request information, and acquiring second identity information of each driving board to obtain a second identity information set;
binding the first identity information with each second identity information in the second identity information set respectively to obtain a data pair of the first identity information and each second identity information, and taking the data pair as the pairing information.
For example, in different situations, as shown in fig. 5, there may be a difference in the number of driving boards that the same door lock panel can control, for example, in a specific situation, the safety requirement on the door lock is high, two locking devices are required to be provided, and the two locking devices all have driving boards (driving board a and driving board B), and the two locking devices need to be unlocked sequentially, so that it is required to ensure that the two locking devices are not unlocked by mistake when being disassembled, and therefore, the driving board a and the driving board B need to be respectively bound with the door lock panel, that is, two pairing information is obtained.
The method includes the steps that when unlocking (action) is completed through the door lock panel, a set (a driving board A and a driving board B) of all driving boards correspondingly controlled by the door lock panel is obtained, and second identity information of each driving board is obtained, so that a second identity information set (second identity information A and second identity information B) is obtained; binding the first identity information with each second identity information in the second identity information set respectively to obtain a data pair (first identity information-second identity information A, first identity information-second identity information B) of the first identity information and each second identity information, and taking the first identity information-second identity information A and the first identity information-second identity information B as the pairing information.
In a possible implementation manner, the step of constructing a control instruction according to the user request data and the pairing information includes:
acquiring calculation force attribute data of a data processing device in the door lock;
determining an initial encryption mode set in preset encryption mode data based on the calculation force attribute data;
acquiring encryption grade data of the environment where the door lock is located;
determining a target encryption mode in the initial encryption mode set according to the encryption grade data;
and encrypting the user request data and the pairing information based on the target encryption mode to obtain the control instruction.
The intelligent door locks are various in types, and calculators and data transmission modes used by different intelligent door locks are different, so that the calculation force attribute data of the different intelligent door locks are different, and the data calculation amount is selected to meet the initial encryption mode of the calculation force attribute data of the intelligent door locks in order to ensure the normal use of the intelligent door locks.
For example, when ensuring the normal operation of the intelligent door lock, the requirement of the actual scene on safety should be considered, for example, the safety requirement of the home scene is different from the safety requirement of the commercial material storage scene, so that the target encryption mode meeting the requirement of the actual scene on safety is selected in the initial encryption mode set.
Exemplary, the encryption modes in the preset encryption mode data include: national cipher SM4 (stacked encryption using a packet data algorithm), AES (advanced encryption standard), DES (data encryption standard ), MD5 (message digest algorithm encryption), and the like.
Illustratively, a specific encryption scheme includes: raw data is received and dimensions of an encryption matrix are calculated. In addition, the encryption length is calculated, so that the data fragments with the encryption length are sequentially taken out from the original data according to the encryption length. The extracted data segments are respectively encrypted by an encryption matrix to obtain a plurality of encrypted segments. Preventing the expansion of data during manufacturing and affecting the normal operation of the intelligent door lock.
In one possible implementation manner, before the step of verifying the control instruction based on the preset information base to obtain a verification result, the method further includes:
acquiring first factory identity information of a door lock panel of the door lock and second factory identity information of a driving plate corresponding to the door lock panel;
generating factory pairing information based on the first factory identity information and the second factory identity information;
constructing an initial preset information base based on the factory pairing information;
And acquiring password updating data of the door lock, and generating a preset information base according to the password updating data and the initial preset information base.
An initial preset information base is constructed according to factory data (first factory identity information of a door lock panel of the door lock and second factory identity information of a driving plate corresponding to the door lock panel) in an exemplary mode, and accuracy of the initial preset information base is guaranteed.
For example, since the door lock panel is set in an exposed state, the damage risk and damage probability of the door lock panel are greater than those of the driving board, when the door lock panel is damaged, a new door lock panel needs to be replaced, at this time, the identity information of the replaced door lock panel needs to be obtained, and then the initial preset information needs to be updated according to the identity information of the replaced door lock panel.
For example, in order to reduce the risk of password decoding, users often replace passwords at random in daily life, so that the initial preset information base is updated by acquiring password updating data of the door lock to generate a preset information base, and normal use of the intelligent door lock is ensured.
For example, when fingerprint data is used as a password, an authorized user (authorized fingerprint) is often added, so that the initial preset information base needs to be updated by acquiring newly added fingerprint data, so as to generate a preset information base, and ensure the normal use of the intelligent door lock.
In one possible implementation manner, the step of verifying the control instruction based on a preset information base to obtain a verification result includes:
determining target pairing information and target password data in the control instruction based on an encryption rule of the target encryption mode;
verifying the target pairing information based on the preset information base, and if the target pairing information is not verified, generating a first result in the verification results;
if the target pairing information passes verification, verifying the target password data based on the preset information base, and if the target password data does not pass verification, generating a second result in the verification results;
and if the target password data passes the verification, generating a third result in the verification results.
For example, when the target pairing information and the target password data in the control instruction are determined by decoding the control instruction according to the encryption rule of the target encryption mode, for example, DES (data encryption standard ) is adopted as the target encryption mode, the decrypted data are "data a, data B, and data C", and as known from the encryption rule of DES (data encryption standard ), the "data a" is the target pairing information, and the "data B" is the target password data.
The process of verifying the target pairing information is used as a first verification process, and whether the target password data need to be continuously verified is judged according to the first verification result, so that an invalid process of verifying the target password data can be avoided, the calculation pressure is reduced, for example, the target password data is fingerprint data, fingerprint characteristic data are required to be obtained in a fingerprint data comparison process, fingerprint characteristic data comparison and the like, and if the process of verifying the target password data is performed first, more invalid calculation processes exist, and calculation resources of a data processing device in the door lock are wasted.
In one possible embodiment, the method further comprises:
acquiring a connection state of the driving plate and the door lock panel;
when the connection state is the disconnection state, acquiring image information in a preset range;
identifying feature data of the portrait in the image information through an image identification technology, and judging the authority level of the portrait in the image information through a preset identity information base and the feature data;
if the authority level is greater than or equal to a preset authority level, acquiring third identity information of an alternative door lock panel when the driving plate is connected with the alternative door lock panel, and updating the preset information base according to the third identity information;
And if the authority level is smaller than the preset authority level, generating first alarm information based on the image information.
By way of example, more and more intelligent door locks are provided with image acquisition devices, so that image information in a preset range can be acquired by the image acquisition devices when the connection state of the driving plate and the door lock panel is in a disconnection state, and the preset range can be set as a front fixed range of the door lock panel.
The preset identity information base comprises preset characteristic data and authority levels corresponding to the preset characteristic data.
The method includes that when the authority of the person in the preset range is greater than or equal to a preset authority level, the person in the preset range is considered to be capable of replacing a door lock panel of a door lock, and then third identity information of the door lock panel is obtained when the driving plate is connected with the door lock panel, and the preset information base is updated according to the third identity information.
If the authority level is smaller than the preset authority level, the operation of the door lock panel of the current door lock is considered to be unreasonable, and then first alarm information is generated, related personnel are timely informed, and safety is guaranteed.
In one possible implementation manner, the step of identifying the feature data of the portrait in the image information through an image identification technology includes:
judging the disconnection type of the disconnection state according to the image information;
when no portrait exists in the image information, determining that the disconnection type is fault disconnection, recording first disconnection time, and generating second alarm information according to the first disconnection time;
when the portrait exists in the image information, determining that the disconnection type is artificial disconnection, and identifying feature data of the portrait in the image information through an image identification technology.
When the image information is not provided with the portrait, the connection between the driving plate and the door lock panel is considered to be faulty, the first disconnection time is recorded, and the second warning information is generated according to the first disconnection time, so that maintenance personnel can repair the door lock in time, and the door lock is prevented from being influenced.
By way of example, feature data of the person in the image information is identified through an image identification technology, so that post-accident identification, recovery and other processing can be facilitated.
The image recognition technology is exemplified by a popular field of computer technology research, which belongs to the biological feature recognition technology and is to distinguish organism individuals by the biological features of organisms (generally, particularly persons). The biological characteristics researched by the biological characteristic recognition technology comprise face, fingerprint, palm print, iris, retina, voice (voice), figure, personal habit (such as strength and frequency for knocking a keyboard, signature) and the like, and the corresponding recognition technologies comprise portrait recognition, fingerprint recognition, palm print recognition, iris recognition, retina recognition, voice recognition (identity recognition can be carried out by voice recognition and voice content recognition can be carried out, only the former belongs to the biological characteristic recognition technology), figure recognition, keyboard knocking recognition, signature recognition and the like.
In a possible implementation manner, as shown in fig. 6, an embodiment of the present application provides an intelligent door lock control device, which includes:
the data acquisition module 201 is configured to acquire health data and habit data of an acquisition target user, where the habit data includes eating habit information and work and rest habit information;
an analysis module 202 for determining intake data for the target user based on the health data;
the food material determining module 203 is configured to obtain the standby information of the target user and nutritional ingredient data of various food materials in the standby information, and generate a food material menu to be recommended based on the intake data and the nutritional ingredient data;
the intelligent door lock control module 204 is configured to formulate a menu of dishes to be recommended according to the menu of food materials to be recommended and the habit data, and complete intelligent door lock control according to the menu of dishes to be recommended.
The method comprises the steps of obtaining first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information, if meet with disassembling for whether simulation control command or change the front lock panel can't be right the motor is controlled in the lock, can effectively reduce the potential safety hazard, improves the security.
In one possible implementation, as shown in fig. 7, an embodiment of the present application provides an electronic device 300, including: comprising a memory 310, a processor 320 and a computer program 311 stored on the memory 310 and executable on the processor 320, the processor 320 implementing, when executing the computer program 311: acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
The method comprises the steps of obtaining first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information, if meet with disassembling for whether simulation control command or change the front lock panel can't be right the motor is controlled in the lock, can effectively reduce the potential safety hazard, improves the security.
In one possible implementation, as shown in fig. 8, the present embodiment provides a computer-readable storage medium 400, on which is stored a computer program 411, which computer program 411, when executed by a processor, implements: acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
The method comprises the steps of obtaining first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information; acquiring user request data, and constructing a control instruction according to the user request data and the pairing information; and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result. Through generating the pairing information, make the drive plate with lock panel binds each other, and then construct control command according to the pairing information, if meet with disassembling for whether simulation control command or change the front lock panel can't be right the motor is controlled in the lock, can effectively reduce the potential safety hazard, improves the security.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, and the like, or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (10)

1. The intelligent door lock control method is characterized by comprising the following steps of:
acquiring first identity information of a door lock panel of a door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information;
Acquiring user request data, and constructing a control instruction according to the user request data and the pairing information;
and verifying the control instruction based on a preset information base to obtain a verification result, and controlling the motor in the door lock according to the verification result.
2. The intelligent door lock control method according to claim 1, wherein the step of acquiring first identity information of a door lock panel of a door lock and second identity information of a drive board corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information, comprises:
acquiring history request information acquired based on the door lock panel;
determining a driving board set responding to the history request information according to the history request information, and acquiring second identity information of each driving board to obtain a second identity information set;
binding the first identity information with each second identity information in the second identity information set respectively to obtain a data pair of the first identity information and each second identity information, and taking the data pair as the pairing information.
3. The intelligent door lock control method as claimed in claim 1, wherein the step of constructing a control instruction according to the user request data and the pairing information comprises:
Acquiring calculation force attribute data of a data processing device in the door lock;
determining an initial encryption mode set in preset encryption mode data based on the calculation force attribute data;
acquiring encryption grade data of the environment where the door lock is located;
determining a target encryption mode in the initial encryption mode set according to the encryption grade data;
and encrypting the user request data and the pairing information based on the target encryption mode to obtain the control instruction.
4. The intelligent door lock control method according to claim 1, further comprising, before the step of verifying the control instruction based on a preset information base, the step of obtaining a verification result:
acquiring first factory identity information of a door lock panel of the door lock and second factory identity information of a driving plate corresponding to the door lock panel;
generating factory pairing information based on the first factory identity information and the second factory identity information;
constructing an initial preset information base based on the factory pairing information;
and acquiring password updating data of the door lock, and generating a preset information base according to the password updating data and the initial preset information base.
5. The intelligent door lock control method according to claim 3, wherein the step of verifying the control command based on a preset information base to obtain a verification result comprises:
Determining target pairing information and target password data in the control instruction based on an encryption rule of the target encryption mode;
verifying the target pairing information based on the preset information base, and if the target pairing information is not verified, generating a first result in the verification results;
if the target pairing information passes verification, verifying the target password data based on the preset information base, and if the target password data does not pass verification, generating a second result in the verification results;
and if the target password data passes the verification, generating a third result in the verification results.
6. The intelligent door lock control method according to claim 1, wherein the method further comprises:
acquiring a connection state of the driving plate and the door lock panel;
when the connection state is the disconnection state, acquiring image information in a preset range;
identifying feature data of the portrait in the image information through an image identification technology, and judging the authority level of the portrait in the image information through a preset identity information base and the feature data;
if the authority level is greater than or equal to a preset authority level, acquiring third identity information of an alternative door lock panel when the driving plate is connected with the alternative door lock panel, and updating the preset information base according to the third identity information;
And if the authority level is smaller than the preset authority level, generating first alarm information based on the image information.
7. The intelligent door lock control method according to claim 6, wherein the step of recognizing feature data of a person in the image information by an image recognition technique comprises:
judging the disconnection type of the disconnection state according to the image information;
when no portrait exists in the image information, determining that the disconnection type is fault disconnection, recording first disconnection time, and generating second alarm information according to the first disconnection time;
when the portrait exists in the image information, determining that the disconnection type is artificial disconnection, and identifying feature data of the portrait in the image information through an image identification technology.
8. An intelligent door lock control device, characterized in that the device comprises:
the data acquisition module is used for acquiring first identity information of a door lock panel of the door lock and second identity information of a driving plate corresponding to the door lock panel, and generating pairing information based on the first identity information and the second identity information;
the generation module is used for acquiring user request data and constructing a control instruction according to the user request data and the pairing information;
And the control module is used for verifying the control instruction based on a preset information base, obtaining a verification result and controlling the motor in the door lock according to the verification result.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the smart door lock control method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the intelligent door lock control method according to any one of claims 1 to 7.
CN202311527792.3A 2023-11-15 2023-11-15 Intelligent door lock control method, device, equipment and medium Pending CN117649712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311527792.3A CN117649712A (en) 2023-11-15 2023-11-15 Intelligent door lock control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311527792.3A CN117649712A (en) 2023-11-15 2023-11-15 Intelligent door lock control method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117649712A true CN117649712A (en) 2024-03-05

Family

ID=90046967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311527792.3A Pending CN117649712A (en) 2023-11-15 2023-11-15 Intelligent door lock control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117649712A (en)

Similar Documents

Publication Publication Date Title
US10542013B2 (en) User behavior profile in a blockchain
US10187211B2 (en) Verification of password using a keyboard with a secure password entry mode
CN105429761B (en) A kind of key generation method and device
CN107274532A (en) The temporary password gate control system that encryption parameter dynamically updates
CN105827576A (en) Unlocking method and system based on dynamic cipher lock
CN112134956A (en) Distributed Internet of things instruction management method and system based on block chain
CN109979047B (en) Multi-network intelligent door lock control method, storage medium, controller and fingerprint lock
CN113674455B (en) Remote control method, device, system, equipment and storage medium for intelligent door lock
CN104052817A (en) Intelligent door and intelligent door control method and system
CN101986351A (en) Networking type access control device and method based on biometric identification technology
CN109035499A (en) A kind of electronic password lock authentication method based on dynamic password
US10437971B2 (en) Secure authentication of a user of a device during a session with a connected server
KR102160656B1 (en) Login Method Using Palm Vein
CN111340987A (en) Internet of things door lock communication method, device and system and computer storage medium
CN109660514A (en) A kind of implementation method of smart machine system, smart machine control method and system
CN105426727B (en) Fingerprint decryption method and mobile terminal
US20240031381A1 (en) Systems and methods for facilitating detection of a security event associated with an iot device
CN112488872A (en) Electric power operation data monitoring system
CN107070864A (en) Safe verification method and system based on fingerprint
CN108537924B (en) Method for realizing network intelligent lock
CN115118751B (en) Blockchain-based supervision system, method, equipment and medium
CN117649712A (en) Intelligent door lock control method, device, equipment and medium
CN106375304A (en) One-time authentication method realized by utilization of intelligent hardware
Zou et al. Information Security Transmission Technology in Internet of Things Control System.
CN205656689U (en) Intelligence tool to lock with cut tube replacement reason fast

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