Smart door lock locking method, device, storage medium and electronic device

By generating passwords and powering off the fingerprint module during locking time, the problem of smart door locks being easily cracked is solved, improving the security and complexity of locking.

CN115995124BActive Publication Date: 2025-08-26GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111219867.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2025-08-26
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

Existing smart door locks are easily cracked by illegal users through technical means such as trial and error or imitation of biological information when they are out of the box for a long time, and there is a problem of insufficient locking security.

Method used

By obtaining the control information of the smart door lock and the set lock time, generating a password and powering off the fingerprint module, card module and face module during the lock time, increasing the complexity of unlocking and avoiding illegal users cracking.

Benefits of technology

Improve the locking security of smart door locks, preventing illegal users from cracking through multiple trial and error or imitating biological information, and enhancing the security and complexity of locking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115995124B_ABST
    Figure CN115995124B_ABST
Patent Text Reader

Abstract

The present application discloses a locking method, device, storage medium, and electronic device for a smart door lock, which are applied to a terminal device. The smart door lock includes an unlocking control module, which includes a digital password module. The unlocking control module also includes at least one of a fingerprint module, a card module, and a face module. The digital password module is used to input password information, and the fingerprint module, the card module, and the face module are used to unlock the door based on the password information. The method includes: obtaining first control information of the smart door lock and a set first locking time; generating a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off to lock the door within the first locking time. The use of this application can prevent illegal users from damaging the protection mechanism of the smart door lock through multiple trial and error or counterfeiting biometric information, thereby enhancing the security of the smart door lock.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart door lock control technology, and more specifically, to a locking method, device, storage medium, and electronic device for a smart door lock. Background Art

[0002] Smart door locks are primarily used to improve security and ease of use. Currently, smart door locks on the market offer a wide range of features, including fingerprint unlocking, digital password unlocking, card unlocking, mobile terminal remote control, or a combination thereof. However, these technologies all have drawbacks. While the structure of smart door locks has become relatively reliable with the advancement of society and technology, they still present certain security risks. Most of these security risks arise from the fact that when a house is unoccupied for extended periods, unauthorized users can exploit the lock's protection mechanisms through repeated password attempts or biometric authentication techniques. Therefore, in the use of smart door locks, there is a problem of insufficient lock security. Summary of the Invention

[0003] In order to solve the above problems, the embodiments of the present application provide a locking method, device, storage medium and electronic device for a smart door lock, which prevents illegal users from destroying the protection mechanism of the smart door lock through technical means such as multiple trial and error or imitation of biometric information, thereby improving the security of the smart door lock.

[0004] In a first aspect, an embodiment of the present application provides a locking method for a smart door lock, which is applied to a terminal device. The smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, and the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module. The digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information. The method includes:

[0005] Obtaining first control information of the smart door lock and a set first locking time;

[0006] A first password is generated based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, card module and face module are powered off to lock within the first locking time.

[0007] In a second aspect, an embodiment of the present application provides a locking method for a smart door lock, which is applied to a smart door lock, wherein the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information, the method comprising:

[0008] Receive a first password, wherein the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first lock time;

[0009] According to the first password, the fingerprint module, the card module and the face module are powered off within the first locking time to be locked.

[0010] In a third aspect, an embodiment of the present application provides a locking device for a smart door lock, which is applied to a terminal device. The smart door lock includes an unlocking control module, which includes a digital password module, and the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module. The digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information. The device includes:

[0011] A first information acquisition module is used to obtain the first control information of the smart door lock and the set first locking time;

[0012] The first password generation module is used to generate a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, card module and face module are powered off within the first locking time to lock them.

[0013] In a fourth aspect, an embodiment of the present application provides a locking device for a smart door lock, which is applied to a smart door lock, wherein the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock the door based on the password information. The device includes:

[0014] A third receiving module is configured to receive a first password, wherein the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0015] The locking module is used to cut off power to the fingerprint module, the card module and the face module to lock them according to the first password within the first locking time.

[0016] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the first aspect or the second aspect mentioned above.

[0017] In a sixth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps of the above-mentioned first aspect or second aspect.

[0018] The beneficial effects of the technical solutions provided by some embodiments of the present application include at least:

[0019] In an embodiment of the present application, the terminal device obtains the first control information of the smart door lock and the set first locking time, and then generates a first password based on this information, so that the smart door lock locks the smart door lock according to the first password within the first locking time by cutting off the power to the fingerprint module, card module and face module, thereby preventing illegal users from destroying the protection mechanism of the smart door lock through multiple trial and error or imitating biometric information, thereby improving the security of the smart door lock. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A schematic diagram of the architecture of a locking system of a smart door lock is provided for an embodiment of the present application;

[0022] Figure 2 A schematic diagram of the architecture of a locking system of a smart door lock is provided for an embodiment of the present application;

[0023] Figure 3 A timing diagram of a locking system of a smart door lock is provided for an embodiment of the present application;

[0024] Figure 4 A schematic diagram of the power supply of an unlocking control module of a smart door lock in normal mode is provided for an embodiment of the present application;

[0025] Figure 5A schematic diagram of the power supply of an unlocking control module of a smart door lock in a locked mode is provided for an embodiment of the present application;

[0026] Figure 6 A flowchart of a locking method of a smart door lock is provided for an embodiment of the present application;

[0027] Figure 7 A flowchart of a locking method of a smart door lock is provided for an embodiment of the present application;

[0028] Figure 8 A schematic diagram of prompting information on whether a smart door lock has ended locking is provided for an embodiment of the present application;

[0029] Figure 9 An example schematic diagram of selecting whether to end the locking prompt information of the smart door lock is provided for the embodiment of the present application;

[0030] Figure 10 A schematic diagram of the architecture of a locking system of a smart door lock is provided for an embodiment of the present application;

[0031] Figure 11 A schematic diagram of the architecture of a locking system of a smart door lock is provided for an embodiment of the present application;

[0032] Figure 12 A flowchart of a method for unlocking a smart door lock is provided for an embodiment of the present application;

[0033] Figure 13 A schematic diagram of the architecture of an unlocking system for a smart door lock is provided for an embodiment of the present application;

[0034] Figure 14 A schematic diagram of the architecture of an unlocking system for a smart door lock is provided for an embodiment of the present application;

[0035] Figure 15 A schematic diagram of the architecture of an abnormal unlocking system for a smart door lock is provided for an embodiment of the present application;

[0036] Figure 16 A flowchart of a locking method of a smart door lock is provided for an embodiment of the present application;

[0037] Figure 17 A flowchart of a method for unlocking a smart door lock is provided for an embodiment of the present application;

[0038] Figure 18 A schematic structural diagram of a locking device of a smart door lock is provided for an embodiment of the present application;

[0039] Figure 19 A schematic structural diagram of a locking device of a smart door lock is provided for an embodiment of the present application;

[0040] Figure 20 A schematic structural diagram of a locking device of a smart door lock is provided for an embodiment of the present application;

[0041] Figure 21 A schematic structural diagram of a locking device of a smart door lock is provided for an embodiment of the present application;

[0042] Figure 22 A structural diagram of a first decoding module of a locking device is provided for an embodiment of the present application;

[0043] Figure 23 A structural diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0045] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.

[0046] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.

[0047] Smart door locks are primarily used to improve security and ease of use. With the rapid development of technology, smart door lock technology is constantly improving, making it increasingly common in people's daily lives. However, when using smart door locks, some security issues are inevitable. For example, unauthorized users can deduce the unlocking password through trial and error, forge fingerprints, or forge facial features through impersonation or makeup techniques to undermine the protection mechanism of smart door locks. Therefore, it is necessary to improve the locking security of smart door locks when in use.

[0048] The present application provides a locking method for a smart door lock, which obtains control information of the smart door lock and a set locking time, then generates a password based on this information, and sends the password to the smart door lock. The smart door lock locks the smart door lock within the set locking time according to the password. When the user unlocks the smart door lock, it is necessary to power the unlocking control module in the smart door lock to end or release the lock within the first locking time, and then the smart door lock can be unlocked by the unlocking password preset by the unlocking control module of the smart door lock, which increases the complexity of unlocking the smart door lock and prevents illegal users from destroying the protection mechanism of the smart door lock through multiple trial and error or imitating biometric information, thereby improving the security of the smart door lock.

[0049] For example, the locking method of a smart door lock shown in the embodiments of the present application can be applied to a terminal device or a smart door lock. The terminal device may include a smart interactive tablet, mobile phone, tablet computer, laptop computer, desktop computer, all-in-one computer, in-vehicle multimedia, server, or workstation.

[0050] The following will be combined Figures 1 to 17 , the locking method of the smart door lock provided in the embodiment of the present application is introduced in detail.

[0051] See Figure 1 and Figure 2 , provides a schematic diagram of the architecture of a locking system for a smart door lock according to an embodiment of the present application. The system includes a terminal device and a smart door lock. When a user needs to lock the smart door lock, he inputs the first control information of the smart door lock and sets the first locking time in the terminal device. The terminal device generates a first password based on this information using a preset algorithm. Figure 1 As shown, when the smart door lock is connected to the network, the terminal device sends the generated first password directly to the smart door lock, such as Figure 2 As shown, when the smart door lock is not connected to the Internet, the terminal device displays the first password for the user to see. The user enters the first password into the smart door lock. After receiving the first password, the smart door lock decodes the first password using a preset algorithm to obtain a first lock time. During the first lock time, the smart door lock powers off the fingerprint module, card module, and face module to lock the smart door lock. This prevents unauthorized users from breaking the protection mechanism of the smart door lock through repeated trial and error or counterfeiting biometric information, thereby improving the security of the smart door lock.

[0052] See Figure 3 , which provides a timing diagram of the locking system of a smart door lock according to an embodiment of the present application. Take the interaction between the smart door lock and the terminal device as an example to describe, Figure 3As shown, the locking system shown may include the following steps:

[0053] S101, the terminal device obtains first control information of the smart door lock and a set first locking time;

[0054] Specifically, when the user needs to lock the smart door lock during use of the smart door lock, the user inputs the first control information of the smart door lock in the terminal device and sets the first locking time, so that the terminal device reads this information.

[0055] The first control information includes, but is not limited to, user information, the serial number of the smart door lock, and the manufacturer number of the smart door lock. The user information is the user's identity information set by the user when the smart door lock is used for the first time, and may include, but is not limited to, the user's name, age, and ID number.

[0056] The number of the smart door lock is the number assigned to the smart door lock by the manufacturer during production. This number is unique, similar to each person's ID number.

[0057] The manufacturer number of the smart door lock includes but is not limited to the name of the company that produces the smart door lock and the model of the smart door lock.

[0058] The first locking time includes a start time and an end time.

[0059] S102: The terminal device generates a first password based on the first control information and the first locking time, and sends the first password to the smart door lock;

[0060] Specifically, the terminal device generates a first password using a preset encryption algorithm according to the first control information input by the user and the first locking time.

[0061] Among them, the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time. The first password may include but is not limited to numbers, uppercase and lowercase English letters, symbols, etc.

[0062] The preset encryption algorithm includes but is not limited to a symmetric encryption algorithm and an asymmetric encryption algorithm.

[0063] Symmetric encryption algorithms allow the decryption key to be derived from the encryption key, and vice versa. In most cases, the encryption and decryption keys are identical. Decryption is represented by EK(P) = C, and decryption is represented by DK(C) = P. P is the plaintext space, representing the set of all possible plaintexts; C is the ciphertext space, representing the set of all possible ciphertexts; K is the key space, a variable parameter in the encryption algorithm; E is the encryption algorithm, consisting of some formula, rule, or procedure; and D is the decryption algorithm, which is the inverse of E.

[0064] Asymmetric encryption algorithms use two keys for encryption and decryption, typically two keys, called a "public key" and a "private key." These two keys must be used in pairs to open the encrypted file. The "public key" here refers to a publicly available key, while the "private key" cannot be disclosed and is known only to the holder. Asymmetric encryption methods use two keys, and the public key is publicly available, making it safe for others to know. To decrypt the message, the recipient can simply use their private key, effectively avoiding key transmission security issues.

[0065] The first password is sent to the smart door lock. One possible way to implement this is that when the smart door lock is connected to the Internet, the first password can be sent directly to the smart door lock through the terminal device to lock the smart door lock.

[0066] Another feasible method is that when the smart door lock is not connected to the Internet, the terminal device displays the first password, and the user enters the first password into the smart door lock to lock the smart door lock.

[0067] S103, the smart door lock receives the first password;

[0068] Specifically, after receiving the first password, the smart door lock decodes the first password using a preset decryption algorithm to obtain the first lock time. The preset decryption algorithm is the inverse operation of the preset encryption algorithm, and is not specifically limited here.

[0069] Among them, the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time. The first password may include but is not limited to numbers, uppercase and lowercase English letters, symbols, etc.

[0070] The smart door lock receives the first password. One possible implementation is that when the smart door lock is connected to the Internet, it can directly receive the first password sent by the terminal device.

[0071] Another feasible method is to receive the first password displayed on the terminal device input by the user when the smart door lock is not connected to the Internet.

[0072] S104: The smart door lock cuts off power to the fingerprint module, the card module, and the face module according to the first password within the first locking time to lock the door.

[0073] Specifically, the fingerprint module, the card module and the face module are powered off within the first locking time to lock the smart door lock.

[0074] The unlocking control module includes but is not limited to a digital password module, a fingerprint module, a card module, and a face module.

[0075] like Figure 4 The figure shows the power supply status of the unlocking control module of the smart door lock in normal mode. Each unlocking control module is powered normally, and the smart door lock can be unlocked by entering any password preset by the unlocking control module of the smart door lock.

[0076] like Figure 5 The figure shows the power supply status of the unlocking control module of the smart door lock in the locked mode. The fingerprint module, card module and face module are all powered off inside the smart door lock.

[0077] Among them, the digital unlocking password preset by the digital password module cannot unlock the smart door lock in the locked mode.

[0078] In an embodiment of the present application, when a user needs to lock a smart door lock, a first password is generated by inputting the first control information of the smart door lock and the set first lock time through a terminal device. If the smart door lock is connected to the Internet, the user can choose to send the first password to the smart door lock through the terminal device, or the user can enter the first password into the smart door lock himself. If the smart door lock is not connected to the Internet, the user can choose to enter the first password displayed on the terminal device into the smart door lock himself. After receiving the first password, the smart door lock decodes the first password using a preset algorithm to obtain a first lock time, and then powers off the fingerprint module, card module, and face module during the first lock time to lock the smart door lock. In this way, the smart door lock cannot be unlocked by the preset digital password during the first lock time, thereby preventing illegal users from damaging the protection mechanism of the smart door lock through multiple trial and error or counterfeiting biometric information, thereby improving the security of the smart door lock and saving power during the use of the smart door lock.

[0079] See Figure 6 , provides a flowchart of a locking method of a smart door lock according to an embodiment of the present application. Take the terminal device side as an example for description, such as Figure 6 As shown, the locking method may include the following steps:

[0080] S201, obtaining first control information of the smart door lock and a set first locking time;

[0081] Specifically, when the user needs to lock the smart door lock during use of the smart door lock, the user inputs the first control information of the smart door lock in the terminal device and sets the first locking time, so that the terminal device reads this information.

[0082] The first control information includes, but is not limited to, user information, the serial number of the smart door lock, and the manufacturer number of the smart door lock. The user information is the user's identity information set by the user when the smart door lock is used for the first time, and may include, but is not limited to, the user's name, age, and ID number.

[0083] The number of the smart door lock is the number assigned to the smart door lock by the manufacturer during production. This number is unique, similar to each person's ID number.

[0084] The manufacturer number of the smart door lock includes but is not limited to the name of the company that produces the smart door lock and the model of the smart door lock.

[0085] The first locking time includes a start time and an end time.

[0086] S202, generating a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module and the face module are powered off within the first locking time to lock them.

[0087] Specifically, the terminal device generates a first password using a preset encryption algorithm according to the first control information input by the user and the first locking time.

[0088] The preset encryption algorithm includes but is not limited to a symmetric encryption algorithm and an asymmetric encryption algorithm.

[0089] Symmetric encryption algorithms allow the decryption key to be derived from the encryption key, and vice versa. In most cases, the encryption and decryption keys are identical. Decryption is represented by EK(P) = C, and decryption is represented by DK(C) = P. P is the plaintext space, representing the set of all possible plaintexts; C is the ciphertext space, representing the set of all possible ciphertexts; K is the key space, a variable parameter in the encryption algorithm; E is the encryption algorithm, consisting of some formula, rule, or procedure; and D is the decryption algorithm, which is the inverse of E.

[0090] Asymmetric encryption algorithms use two keys for encryption and decryption, typically two keys, called a "public key" and a "private key." These two keys must be used in pairs to open the encrypted file. The "public key" here refers to a publicly available key, while the "private key" cannot be disclosed and is known only to the holder. Asymmetric encryption methods use two keys, and the public key is publicly available, making it safe for others to know. To decrypt the message, the recipient can simply use their private key, effectively avoiding key transmission security issues.

[0091] The first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time. The first password may include but is not limited to numbers, uppercase and lowercase English letters, symbols, etc.

[0092] The first password is sent to the smart door lock. One possible way to implement this is that when the smart door lock is connected to the Internet, the first password can be directly sent to the smart door lock through the terminal device to lock the smart door lock within the first locking time.

[0093] Another feasible way is that when the smart door lock is not connected to the Internet, the user can choose to input the first password displayed on the terminal device into the smart door lock to lock the smart door lock within the first locking time.

[0094] In an embodiment of the present application, when a user needs to lock a smart door lock, the terminal device inputs the first control information of the smart door lock and the set first lock time through the terminal device, and the terminal device generates a first password based on this information. When the smart door lock is connected to the Internet, the user can choose to send the first password to the smart door lock through the terminal device, and power off the fingerprint module, card module, and face module in the smart door lock to achieve remote control and lock the smart door lock within the first lock time. When the smart door lock is not connected to the Internet, the user can enter the first password displayed on the terminal device into the smart door lock, and power off the fingerprint module, card module, and face module in the smart door lock to achieve locking the smart door lock within the first lock time. Because the first control information input by the user is unique, the generated first password is also unique, which provides higher security when locking the smart door lock.

[0095] See Figure 7 , provides a flowchart of a locking method of a smart door lock according to an embodiment of the present application. Take the smart door lock side as an example for description, as shown in FIG. Figure 7 As shown, the locking method may include the following steps:

[0096] S301, obtaining first control information of the smart door lock and a set first locking time;

[0097] The specific implementation of this step can refer to step 201 and will not be described in detail here.

[0098] S302, generating a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, it is locked within the first locking time;

[0099] The specific implementation of this step can refer to step 202 and will not be described in detail here.

[0100] S303: After the first locking time ends, a prompt message is displayed asking whether to end the locking.

[0101] Specifically, after the smart door lock is locked, when the first locking time ends, Figure 8 As shown, the terminal device will display a prompt message whether to end the lock, and you can choose to confirm or deny the end of the lock according to the prompt message.

[0102] When the confirmation command is selected, the first locking time ends and the smart door lock does not receive the command to continue locking, the smart door lock will end the locking within the first locking time and power the unlocking control module of the smart door lock. The user only needs to enter any unlocking password information preset in the unlocking control module to unlock the smart door lock and then enter the room.

[0103] Among them, the unlocking control module includes but is not limited to a digital password module, a fingerprint module, a card module, and a face module.

[0104] S304, in response to a denial instruction of the prompt information, obtaining a set second lock time;

[0105] Specifically, such as Figure 9 As shown, when the deny instruction is selected, the fingerprint module, card module and face module will be controlled to continue to be powered off to lock them, and the user sets a second locking time on the terminal device.

[0106] The second locking time may include a start time and an end time, and the start time of the second locking time may be the end time of the first locking time.

[0107] S305, generating a second password based on the first control information and the second locking time, so that when the smart door lock receives the second password, the fingerprint module, the card module, and the face module continue to be powered off to lock;

[0108] Specifically, the terminal device generates the second password using a preset algorithm according to the second locking time and the first control information input by the user.

[0109] One possible way to send the second password to the smart door lock is as follows: Figure 10 As shown, when the smart door lock is connected to the Internet, you can choose to send the second password to the smart door lock through the terminal device to continue to power off the fingerprint module, card module and face module for locking.

[0110] Another possible way to achieve this is, Figure 11As shown, when the smart door lock is not connected to the Internet, the user can choose to enter the second password displayed on the terminal device into the smart door lock to continue to power off the fingerprint module, card module and face module to lock it.

[0111] In an embodiment of the present application, at the end of the first locking time of the smart door lock, the terminal device will display a prompt message whether to end the locking of the smart door lock. Two options are displayed in the prompt message. When the user chooses to end the locking of the smart door lock, the smart door lock will power its internal unlocking control module. At this time, the user only needs to enter any unlocking password preset by the unlocking control module to unlock the smart door lock and enter the room; when the user needs to continue locking the smart door lock, it is necessary to set a second locking time in the terminal device. The terminal device generates a second password based on the second locking time and the first control information. When the smart door lock is connected to the network, the terminal device can be selected to directly send the second password to the smart door lock to realize remote control of continued locking of the smart door lock; when the smart door lock is not connected to the network, the user can choose to enter the second password displayed by the terminal device into the smart door lock to realize continued locking of the smart door lock.

[0112] See Figure 12 , is a flowchart of a method for unlocking a smart door lock proposed in an embodiment of the present application. Take the smart door lock side as an example for description, Figure 12 As shown, the locking method may include the following steps:

[0113] S401, obtaining first control information of the smart door lock and a set first locking time;

[0114] The specific implementation of this step can refer to step 201 and will not be described in detail here.

[0115] S402, generating a first password based on the first control information and the first locking time, so that the smart door lock is locked within the first locking time when receiving the first password;

[0116] The specific implementation of this step can refer to step 202 and will not be described in detail here.

[0117] S403: The smart door lock receives an unlocking request for the smart door lock within the first locking time;

[0118] Specifically, when the user needs to end the locking of the smart door lock within the first locking time, a related unlocking request can be sent in the terminal device.

[0119] When the terminal device receives an unlock request from the user, a filling box and a selection box pop up.

[0120] The fill-in box needs to fill in the user's information and the second control information of the smart door lock to improve security.

[0121] The second control information is at least one item in the control information of the smart door lock that is the same as or different from the first control information, and may include but is not limited to user information, the number of the smart door lock, and the manufacturer number of the smart door lock.

[0122] The user information is the information set by the user when the smart door lock is used for the first time to prove the user's identity, which may include but is not limited to the user's name, user age, and user ID number.

[0123] The number of the smart door lock is the number assigned to the smart door lock by the manufacturer during production. This number is unique, similar to each person's ID number.

[0124] The manufacturer number of the smart door lock includes but is not limited to the name of the company that produces the smart door lock and the model of the smart door lock.

[0125] In the selection box, the user needs to select the smart door lock number and the first locking time in order to accurately unlock the smart door lock within the locking time period of the smart door lock number.

[0126] The locking time is set by the user when he needs to lock the smart door lock.

[0127] S404, obtaining information carried in the unlock request;

[0128] Specifically, after the user sends an unlock request, the terminal device parses the information carried in the request through a preset algorithm.

[0129] The information carried may include but is not limited to the user information entered by the user, the second control information, the number of the smart door lock and the first locking time.

[0130] The first locking time may include a start time and an end time.

[0131] S405, generating a cancellation code according to the information carried in the unlocking request, so that when the smart door lock receives the cancellation code, it supplies power to the fingerprint module, the card module and the face module to unlock the door.

[0132] Specifically, when the second control information is the same as the first control information or both belong to the control information of the same smart door lock number, the terminal device generates a cancellation code through a preset algorithm based on the information carried in the request.

[0133] Send the cancellation code to the smart door lock. One possible way to do this is: Figure 13As shown, when the smart door lock is connected to the Internet, you can choose to send the cancellation code directly to the smart door lock through the terminal device, or you can choose to enter the cancellation code displayed on the terminal device into the smart door lock yourself, and power the fingerprint module, card module and face module to unlock the smart door lock within the first locking time.

[0134] Another possible way to achieve this is, Figure 14 As shown, when the smart door lock is not connected to the Internet, the user can choose to enter the cancellation code displayed on the terminal device into the smart door lock, power the fingerprint module, card module and face module to unlock the smart door lock within the first locking time.

[0135] It is understandable that if Figure 15 As shown, when someone tries to unlock the smart door lock with a preset digital password within the first locking time, the terminal device will receive an abnormal unlocking reminder sent by the smart door lock. After receiving the abnormal unlocking reminder, the terminal device can output a reminder to the user in the form of text message prompts, sound broadcasts, flashing signal lights, and forced vibrations, but not limited to the above forms, thereby realizing real-time monitoring of the status of the smart door lock within the first locking time and improving the security of the smart door lock when locked.

[0136] In an embodiment of the present application, when a user needs to unlock the smart door lock within the first locking time, the terminal device sends an unlock request and enters the user's information, the smart door lock number and the first locking time. The terminal device generates a cancellation code based on the information carried in the unlock request. When the smart door lock is connected to the network, the terminal device can be selected to directly send the cancellation code and the second control information to the smart door lock. When the smart door lock is not connected to the network, the user can choose to input the cancellation code and the second control information displayed by the terminal device into the smart door lock. When the second control information matches the first control information, the fingerprint module, the card module and the face module are powered to unlock the smart door lock within the first locking time. When an illegal user attempts to unlock the smart door lock within the first locking time, the smart door lock will sound an alarm and send an abnormal unlocking reminder notification to the terminal device to remind the user, thereby realizing real-time monitoring of the smart door lock by the user within the first locking time and improving the security of the smart door lock when locked.

[0137] It should be noted that the unlocking method provided in the above embodiment is only illustrated by the example of unlocking after locking within the above-mentioned first locking time. In actual application, after the smart door lock is further locked, it is necessary to unlock the smart door lock within the set locking time. It belongs to the same concept. The implementation process is detailed in the embodiment of the unlocking method after locking within the first locking time, which will not be repeated here.

[0138] See Figure 16 , a flowchart of a locking method of a smart door lock is provided for an embodiment of the present application. Take the smart door lock side as an example for description, such as Figure 16 As shown, the locking method may include the following steps:

[0139] S501, receiving a first password, wherein the first password is a password generated by a terminal device based on first control information of the smart door lock and a set first locking time;

[0140] The first password may include but is not limited to numbers, uppercase and lowercase English letters, symbols, etc.

[0141] Specifically, a possible way for the smart door lock to receive the first password is that when the smart door lock is connected to the Internet, it can choose to directly receive the first password sent directly by the terminal device.

[0142] Another feasible method is that when the smart door lock is not connected to the Internet, you can choose to receive the first password displayed by the terminal device input by the user.

[0143] S502: According to the first password, the fingerprint module, the card module, and the face module are powered off within the first locking time to lock them.

[0144] Specifically, the smart door lock decodes the first password using a preset decryption algorithm to obtain a first lock time, and then powers off the fingerprint module, card module, and face module to lock the smart door lock during the first lock time. This preset decryption algorithm is the inverse of the encryption algorithm preset in step S202 and is not specifically limited here.

[0145] The unlocking control module includes but is not limited to a digital password module, a fingerprint module, a card module, and a face module.

[0146] The smart door lock is locked by powering off the fingerprint module, card module, and face module of the smart door lock. After locking, the smart door lock cannot be unlocked using the digital unlocking password preset in the digital password module.

[0147] It is understandable that if Figure 7 In the process, when the user chooses to continue locking the smart door lock, the terminal device generates a second password according to the second locking time and the first control information input by the user, and sends the second password and the second control information to the smart door lock. When the smart door lock receives the second password, the smart door lock decodes it through a preset decryption algorithm to obtain the second locking time, and continues to cut off the power to the fingerprint module, card module and face module within the second locking time to lock the smart door lock.

[0148] In an embodiment of the present application, the smart door lock decodes the first password directly sent by the terminal device when the smart door lock is connected to the Internet, or the first password displayed by the terminal device when the smart door lock is not connected to the Internet, through a preset decryption algorithm, to obtain a first locking time, and locks the smart door lock within the first locking time by powering off the fingerprint module, card module, and face module. When the user chooses to continue locking the smart door lock, the smart door lock continues to power off the fingerprint module, card module, and face module to lock the smart door lock within the set locking time based on the received second password and second control information. When the second control information matches the first control information, the smart door lock is prevented from attempting to destroy the protection mechanism of the smart door lock through technical means such as multiple password trials or counterfeiting biometric information, thereby improving the security of the smart door lock during the locking period and saving power during the use of the smart door lock.

[0149] See Figure 17 , provides a flow chart of a method for unlocking a smart door lock according to an embodiment of the present application. Take the smart door lock side as an example for description, as shown in FIG. Figure 17 As shown, the unlocking method may include the following steps:

[0150] S601, receiving a first password, wherein the first password is a password generated by a terminal device based on first control information of the smart door lock and a set first lock time;

[0151] The specific implementation of this step can refer to step 501 and will not be described in detail here.

[0152] S602: According to the first password, the fingerprint module, the card module, and the face module are powered off within the first locking time to lock them.

[0153] The specific implementation of this step can refer to step 502 and will not be described in detail here.

[0154] S603, receiving a cancellation code and second control information within the first locking time, wherein the cancellation code is generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0155] Specifically, when the user needs to unlock the smart door lock within the first locking time, he needs to send an unlocking request on the terminal device and enter the user's information, the smart door lock number and the first locking time. The terminal device generates a cancellation code based on the smart door lock number and the first locking time entered by the user, and sends the cancellation code and the second control information of the smart door lock to the smart door lock.

[0156] One possible way to achieve this is, Figure 13 As shown, when the smart door lock is connected to the Internet, you can choose to receive the cancellation code and the second control information sent by the terminal device to the smart door lock, and power the fingerprint module, card module and face module to unlock it.

[0157] Another possible way to achieve this is, Figure 14 As shown, when the smart door lock is not connected to the Internet, it can choose to receive the cancellation code displayed by the terminal device input by the user and the second control information to the smart door lock, and power the fingerprint module, card module and face module to unlock.

[0158] The user information is the information that the user sets when the smart door lock is used for the first time to prove the user's identity, which may include but is not limited to the user's name, user age, and user ID number. The first locking time may include a start time and an end time.

[0159] The second control information is at least one item of the control information belonging to the same smart door lock that is the same as or different from the first control information, and may include but is not limited to user information, the number of the smart door lock, and the manufacturer number of the smart door lock.

[0160] Among them, the manufacturer number of the smart door lock includes but is not limited to the name of the company that produces the smart door lock and the model of the smart door lock.

[0161] S604: When the second control information matches the first control information, power is supplied to the fingerprint module, the card module, and the face module according to the received cancellation code;

[0162] Specifically, the second control information is matched with the first control information. If the second control information is the same as the first control information or belongs to the control information of the smart door lock with the same number as the first smart door lock, after the match is successful, Figure 5 The lock mode shown is restored to Figure 4 In the normal mode shown, power is supplied to the fingerprint module, card module and face module.

[0163] like Figure 4 As shown, in normal mode, each unlocking control module of the smart door lock is powered normally, and the smart door lock can be unlocked by entering any unlocking password preset by the unlocking control module. Figure 5 As shown, in the lock mode, the fingerprint module, card module and face module of the smart door lock are all powered off inside the smart door lock to lock the smart door lock within the first lock time.

[0164] S605: Unlock the smart door lock based on a preset unlocking password.

[0165] Specifically, any preset unlocking password is input into the unlocking control module of the smart door lock to unlock the smart door lock.

[0166] In an embodiment of the present application, when the user needs to unlock the smart door lock within the first locking time, an unlock request is sent in the terminal device, and the terminal device generates a cancellation code based on the information carried in the user's request. When the smart door lock is connected to the network, you can choose to receive the cancellation code and the second control information sent by the terminal device. When the smart door lock is not connected to the network, you can choose to receive the cancellation code and the second control information displayed by the terminal device input by the user. After the received second control information successfully matches the first control information, the fingerprint module, card module and face module of the corresponding smart door lock are powered according to the cancellation code. After any unlock password preset by the unlock control module is entered into the smart door lock, the smart door lock can be unlocked and the user can enter the room, which increases the complexity of unlocking the smart door lock and improves the safety of the smart door lock during use.

[0167] It should be noted that the method for unlocking the smart door lock within the locking time provided in the above embodiment is only illustrated by the example of unlocking the smart door lock by receiving a cancellation code within the first locking time. In actual applications, the smart door lock can be further locked as needed, and then unlocked by receiving a cancellation code within the set locking time. This belongs to the same concept. The implementation process is detailed in the embodiment of the method for unlocking the smart door lock by receiving a cancellation code within the first locking time of the smart door lock, which will not be repeated here.

[0168] The following will be combined Figure 18 , the locking device of the smart door lock provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 18 The locking device of the smart door lock is used to execute the application Figures 1 to 17 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figures 1 to 17 The method embodiment shown.

[0169] See Figure 18 , which is a schematic diagram of the structure of a locking device of a smart door lock according to an embodiment of the present application. Figure 18 As shown, the locking device 1 of the smart door lock in the embodiment of the present application includes: a first information acquisition module 10 and a first password generation module 11.

[0170] The first information acquisition module 10 is used to obtain the first control information of the smart door lock and the set first locking time;

[0171] The first password generating module 11 is used to generate a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module and the face module are powered off within the first locking time to lock them.

[0172] Optionally, the first password generating module 11 is specifically configured to:

[0173] The first password is displayed so that when the smart door lock receives the first password input by the user, the fingerprint module, the card module and the face module are powered off within the first locking time to lock them.

[0174] Optionally, the first password generating module 11 is specifically configured to:

[0175] The first password is sent to the smart door lock, so that when the smart door lock receives the first password sent by the terminal device, the fingerprint module, the card module and the face module are powered off within the first locking time to lock the door.

[0176] Optional, such as Figure 19 As shown, the locking device of the smart door lock further includes:

[0177] The first display module 12 is used to display a prompt message indicating whether to end the lock after the first lock time ends;

[0178] The first control module 13 is used to control the power supply to the fingerprint module, the card module and the face module to unlock the device in response to a confirmation instruction of the prompt information;

[0179] The second control module 14 is configured to control the fingerprint module, the card module and the face module to continue to be powered off to lock them in response to a denial instruction of the prompt information.

[0180] Optionally, the second control module 14 is specifically configured to:

[0181] Get the set second lock time;

[0182] A second password is generated based on the first control information and the second locking time, so that when the smart door lock receives the second password, the fingerprint module, the card module and the face module are continuously powered off to lock.

[0183] Optional, such as Figure 19 As shown, the locking device of the smart door lock further includes:

[0184] The first receiving module 15 is used to receive an unlocking request for the smart door lock within the first locking time;

[0185] A second information acquisition module 16 is used to obtain information carried in the unlock request;

[0186] The cancellation code generation module 17 is used to generate a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, it powers the fingerprint module, card module and face module to unlock.

[0187] Optionally, the cancellation code generating module 17 is specifically configured to:

[0188] A cancellation code is generated according to the information carried in the unlock request, and the cancellation code is displayed so that when the smart door lock receives the cancellation code and the first control information input by the user, the fingerprint module, the card module and the face module are powered to unlock.

[0189] Optionally, the cancellation code generating module 17 is specifically configured to:

[0190] Generate a cancellation code based on the information carried in the unlock request and send it to the smart door lock, so that when the smart door lock receives the cancellation code and the first control information sent by the terminal device, it will power the fingerprint module, card module and face module of the smart door lock to unlock.

[0191] Optional, such as Figure 19 As shown, the locking device of the smart door lock further includes:

[0192] The second receiving module 18 is used to receive an abnormal unlocking reminder sent by the smart door lock within the first locking time, wherein the abnormal unlocking reminder is generated by the smart door lock when an abnormal unlocking signal is detected;

[0193] The output module 19 is configured to output the abnormal unlocking reminder.

[0194] In an embodiment of the present application, when a user needs to lock a smart door lock, a first password is generated by inputting the first control information of the smart door lock and the set first lock time through a terminal device. If the smart door lock is connected to the Internet, the user can choose to send the first password to the smart door lock through the terminal device, or the user can enter the first password into the smart door lock himself. If the smart door lock is not connected to the Internet, the user can choose to enter the first password displayed on the terminal device into the smart door lock himself. After receiving the first password, the smart door lock decodes the first password through a preset decryption algorithm to obtain the first lock time. Then, during the first lock time, the fingerprint module, card module, and face module are powered off to lock the smart door lock. During the first lock time, the digital password preset in the digital password module cannot unlock the smart door lock. At the same time, it prevents illegal users from destroying the protection mechanism of the smart door lock through technical means such as repeated trial and error or counterfeiting biometric information, thereby improving the security of the smart door lock and making the smart door lock more energy-efficient during use.

[0195] See Figure 20 , which is a schematic diagram of the structure of a locking device of a smart door lock provided in an embodiment of the present application. Taking the smart door lock side as an example, Figure 20 As shown, the locking device 2 of the smart door lock in the embodiment of the present application includes: a first password receiving module 20 and a locking module 21.

[0196] A first password receiving module 20 is configured to receive a first password, wherein the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0197] The locking module 21 is configured to lock the fingerprint module, the card module, and the face module by cutting off power to the fingerprint module, the card module, and the face module according to the first password within a first locking time.

[0198] Optional, such as Figure 21 As shown, the locking device of the smart door lock further includes:

[0199] The decoding module 22 is configured to decode the first password to obtain a first locking time.

[0200] Optional, such as Figure 21 As shown, the locking device of the smart door lock also includes:

[0201] The third receiving module 23 is used to receive a cancellation code and second control information within the first locking time, wherein the cancellation code is generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0202] The first unlocking module 24 supplies power to the fingerprint module, the card module, and the face module according to the cancellation code to unlock the fingerprint module when the second control information matches the first control information.

[0203] Optional, such as Figure 22 As shown, the first unlocking module 24 includes:

[0204] The power supply unit 241 supplies power to the fingerprint module, card module, and face module in the smart door lock according to the cancellation code when the second control information matches the first control information;

[0205] The first unlocking unit 242 is used to unlock the smart door lock based on a preset unlocking password.

[0206] It should be noted that the locking device of the smart door lock provided in the above embodiment only uses the division of the above functional modules as an example when executing the locking method of the smart door lock. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the locking device of the smart door lock provided in the above embodiment and the locking method embodiment of the smart door lock are of the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.

[0207] In an embodiment of the present application, when a user needs to lock the smart door lock, the terminal device generates a first password based on the first control information of the smart door lock input by the user and the set first lock time. When the smart door lock is connected to the Internet, the user can choose to send the first password to the smart door lock through the terminal device, or the user can enter the first password into the smart door lock himself. When the smart door lock is not connected to the Internet, the user can choose to enter the first password displayed on the terminal device into the smart door lock himself. After receiving the first password, the smart door lock decodes the first password through a preset decryption algorithm to obtain the first lock time, and then cuts off the power to the fingerprint module, card module, and face module to lock the smart door lock. During the first lock time, the digital password preset by the digital password module cannot unlock the smart door lock. This prevents illegal users from destroying the protection mechanism of the smart door lock through multiple trial and error or counterfeiting biometric information, thereby improving the security of the smart door lock and making the smart door lock more energy-saving during use.

[0208] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figures 1 to 17 The locking method of the smart door lock in the embodiment shown in the figure can be found in the specific execution process. Figures 1 to 17 The detailed description of the illustrated embodiment will not be repeated here.

[0209] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figures 1 to 17 The locking method of the smart door lock in the embodiment shown in the figure can be found in the specific execution process. Figures 1 to 17 The detailed description of the illustrated embodiment will not be repeated here.

[0210] See Figure 23 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 23As shown, the terminal device 1000 may include: at least one processor 1001, at least one network interface 1002, at least one input / output interface 1003, at least one display unit 1004, at least one memory 1005, and at least one communication bus 1006. Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect the various parts of the entire electronic device 1000, and executes various functions and processes data of the terminal 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. The memory 1005 can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 1005 can optionally be at least one storage device located away from the aforementioned processor 1001. Among them, the network interface 1002 can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). The communication bus 1006 is used to realize the connection and communication between these components. The display unit 1004 can be a touch panel. As Figure 23 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, an input and output interface module, and a locking program of the smart door lock.

[0211] exist Figure 23 In the electronic device 1000 shown, the input and output interface 1003 is mainly used to provide an interface for users and access devices and obtain data input by users and access devices.

[0212] In one embodiment, the processor 1001 may be configured to call a locking program of the smart door lock stored in the memory 1005 and specifically perform the following operations:

[0213] Obtaining first control information of the smart door lock and a set first locking time;

[0214] Generate a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module and the face module are powered off to lock within the first locking time;

[0215] In one embodiment, when the processor 1001 generates a first password based on the first control information and the first lock time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off to lock within the first lock time, the processor 1001 specifically performs the following operations:

[0216] A first password is generated based on the first control information and the first locking time, and the first password is displayed so that when the smart door lock receives the first password input by the user, the fingerprint module, card module and face module are powered off to lock within the first locking time.

[0217] In one embodiment, when the processor 1001 generates a first password based on the first control information and the first lock time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off to lock within the first lock time, the processor 1001 specifically performs the following operations:

[0218] A first password is generated based on the first control information and the first locking time, and the first password is sent to the smart door lock so that when the smart door lock receives the first password sent by the terminal device, the fingerprint module, card module and face module are powered off within the first locking time to lock them.

[0219] In one embodiment, the processor 1001 generates a first password based on the first control information and the first lock time, so that when the smart door lock receives the first password, after powering off the fingerprint module, the card module, and the face module within the first lock time to lock them, further performs the following operations:

[0220] When the first locking time ends, a prompt message is displayed asking whether to end the locking;

[0221] In response to a confirmation instruction of the prompt information, controlling the power supply to the fingerprint module, the card module and the face module to unlock;

[0222] In response to a denial instruction of the prompt information, the fingerprint module, the card module and the face module are controlled to continue to be powered off to lock them.

[0223] In one embodiment, when the processor 1001 executes control to continue to power off the fingerprint module, the card module, and the face module to lock them, it specifically performs the following operations:

[0224] Get the set second lock time;

[0225] A second password is generated based on the first control information and the second locking time, so that when the smart door lock receives the second password, the fingerprint module, the card module and the face module are continuously powered off to lock.

[0226] In one embodiment, the processor 1001 generates a first password based on the first control information and the first lock time, so that when the smart door lock receives the first password, after powering off the fingerprint module, the card module, and the face module within the first lock time to lock them, further performs the following operations:

[0227] Within the first locking time, receiving an unlocking request for the smart door lock;

[0228] Get the information carried in the unlock request;

[0229] A cancellation code is generated according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, the fingerprint module, card module and face module of the smart door lock are powered to unlock.

[0230] In one embodiment, when the processor 1001 generates a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, the smart door lock powers the fingerprint module, the card module, and the face module to unlock the door, specifically performing the following operations:

[0231] A cancellation code is generated according to the information carried in the unlock request, and the cancellation code is displayed so that when the smart door lock receives the cancellation code and the first control information input by the user, the fingerprint module, the card module and the face module are powered to unlock.

[0232] In one embodiment, when the processor 1001 generates a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, it powers the fingerprint module, the card module, and the face module to unlock the door, and specifically performs the following operations:

[0233] A cancellation code is generated according to the information carried in the unlock request and sent to the smart door lock, so that when the smart door lock receives the cancellation code and the first control information sent by the terminal device, the fingerprint module, the card module and the face module are powered to unlock.

[0234] In one embodiment, the processor 1001 generates a first password based on the first control information and the first lock time, so that when the smart door lock receives the first password, after powering the fingerprint module, the card module, and the face module to lock within the first lock time, it further performs the following operations:

[0235] During the first locking time, receiving an abnormal unlocking reminder sent by the smart door lock, wherein the abnormal unlocking reminder is generated by the smart door lock when an abnormal unlocking signal is detected;

[0236] Output abnormal unlock reminder.

[0237] In one embodiment, the processor 1001 may be configured to call a locking program of the smart door lock stored in the memory 1005 and specifically perform the following operations:

[0238] Receive a first password, wherein the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0239] According to the first password, the fingerprint module, the card module and the face module are powered off within a first locking time to be locked.

[0240] In one embodiment, before executing the first password and powering off the fingerprint module, the card module, and the face module to lock the fingerprint module within the first lock time, the processor 1001 further performs the following operations:

[0241] The first password is decoded to obtain a first locking time.

[0242] In one embodiment, after executing the first password and locking the fingerprint module, the card module, and the face module by powering off within the first locking time, the processor 1001 further performs the following operations:

[0243] Within the first locking time, receiving a cancellation code and second control information, wherein the cancellation code is generated by the terminal device based on the first control information of the smart door lock and the set first locking time;

[0244] When the second control information matches the first control information, the fingerprint module, the card module and the face module are powered according to the cancellation code to unlock the device.

[0245] In one embodiment, when the processor 1001 performs power supply to the fingerprint module, the card module, and the face module according to the cancellation code to unlock the fingerprint module when the second control information matches the first control information, the processor 1001 specifically performs the following operations:

[0246] When the second control information matches the first control information, power is supplied to the fingerprint module, the card module, and the face module according to the received cancellation code;

[0247] Unlock the smart door lock based on the preset unlock password.

[0248] In an embodiment of the present application, when a user needs to lock a smart door lock, a first password is generated by inputting the first control information of the smart door lock and the set first lock time through a terminal device. If the smart door lock is connected to the Internet, the user can choose to send the first password to the smart door lock through the terminal device, or the user can enter the first password into the smart door lock himself. If the smart door lock is not connected to the Internet, the user can choose to enter the first password displayed on the terminal device into the smart door lock himself. After receiving the first password, the smart door lock decodes the first password using a preset algorithm to obtain a first lock time, and then powers off the fingerprint module, card module, and face module during the first lock time to lock the smart door lock. In this way, the smart door lock cannot be unlocked by the preset digital password during the first lock time, thereby preventing illegal users from damaging the protection mechanism of the smart door lock through multiple trial and error or counterfeiting biometric information, thereby improving the security of the smart door lock and saving power during the use of the smart door lock.

[0249] Those skilled in the art will clearly understand that the technical solution of the present application can be implemented with the help of software and / or hardware. "Unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0250] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0251] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0252] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0253] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0254] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0255] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes several instructions for enabling an electronic device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0256] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0257] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A locking method for a smart door lock, characterized in that: Applied to a terminal device, the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information. The method includes: Obtaining first control information of the smart door lock and a set first locking time; Generate a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off to lock within the first locking time; receiving an abnormal unlocking reminder sent by the smart door lock within the first locking time, wherein the abnormal unlocking reminder is generated by the smart door lock when it detects that someone has unlocked the smart door lock using a preset digital password within the first locking time; Outputting the abnormal unlocking reminder; receiving an unlocking request for the smart door lock within the first locking time; Obtain information carried by the unlock request; the information carried by the unlock request includes: user information, second control information, the number of the smart door lock, and the first locking time; the second control information is at least one item of the control information of the smart door lock that is the same as or different from the first control information; A cancellation code is generated according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, the fingerprint module, the card module and the face module are powered to unlock the door.

2. The method according to claim 1, characterized in that The generating of a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off within the first locking time to lock the door, includes: A first password is generated based on the first control information and the first locking time, and the first password is displayed so that when the smart door lock receives the first password input by the user, the fingerprint module, card module and face module are powered off to lock within the first locking time.

3. The method according to claim 1, characterized in that The generating of a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off within the first locking time to lock the door, includes: A first password is generated based on the first control information and the first locking time, and the first password is sent to the smart door lock, so that when the smart door lock receives the first password sent by the terminal device, the fingerprint module, card module and face module are powered off within the first locking time to lock them.

4. The method according to claim 1, wherein The method further comprises: generating a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off within the first locking time to lock the door; When the first locking time ends, a prompt message is displayed asking whether to end the locking; In response to a confirmation instruction of the prompt information, controlling the power supply to the fingerprint module, the card module and the face module to unlock; In response to a denial instruction of the prompt information, the fingerprint module, the card module and the face module are controlled to continue to be powered off to lock them.

5. The method according to claim 4, characterized in that The controlling step of continuously powering off the fingerprint module, the card module, and the face module to lock the fingerprint module includes: Get the set second lock time; A second password is generated based on the first control information and the second locking time, so that when the smart door lock receives the second password, the fingerprint module, the card module and the face module continue to be powered off to lock.

6. The method according to claim 1, characterized in that The method of generating a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, the fingerprint module, the card module, and the face module are powered to unlock the door, includes: A cancellation code is generated according to the information carried by the unlock request, and the cancellation code is displayed so that when the smart door lock receives the cancellation code and the first control information input by the user, the fingerprint module, the card module and the face module are powered to unlock.

7. The method according to claim 1, characterized in that The method of generating a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, the fingerprint module, the card module, and the face module are powered to unlock the door, includes: A cancellation code is generated according to the information carried by the unlock request and sent to the smart door lock, so that when the smart door lock receives the cancellation code and the first control information sent by the terminal device, the fingerprint module, card module and face module are powered to unlock.

8. A locking method for a smart door lock, characterized in that: Applied to a smart door lock, the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information, including: Receive a first password, wherein the first password is a password generated by the terminal device based on the first control information of the smart door lock and the set first lock time; According to the first password, the fingerprint module, the card module, and the face module are powered off and locked within the first locking time; Generate an abnormal unlocking reminder when detecting that someone has unlocked the smart door lock using the preset digital password within the first locking time; During the first locking time, receiving a cancellation code and second control information, wherein the cancellation code is generated by the terminal device based on the first control information of the smart door lock and the set first locking time; When the second control information matches the first control information, the fingerprint module, the card module, and the face module are powered according to the cancellation code to unlock the device.

9. The method according to claim 8, characterized in that Before the fingerprint module, the card module, and the face module are powered off to lock the fingerprint module, the card module, and the face module according to the first password within the first locking time, the method further includes: The first password is decoded to obtain the first locking time.

10. The method according to claim 8, characterized in that When the second control information matches the first control information, powering the fingerprint module, the card module, and the face module according to the cancellation code to unlock the device includes: When the second control information matches the first control information, power is supplied to the fingerprint module, the card module, and the face module according to the cancellation code; The smart door lock is unlocked based on a preset unlocking password.

11. A locking device for a smart door lock, characterized in that: Applied to a terminal device, the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock based on the password information. The device includes: A first information acquisition module is used to obtain the first control information of the smart door lock and the set first locking time; a first password generating module, configured to generate a first password based on the first control information and the first locking time, so that when the smart door lock receives the first password, the fingerprint module, the card module, and the face module are powered off to lock the smart door lock within the first locking time; an abnormal unlocking reminder module, configured to receive an abnormal unlocking reminder sent by the smart door lock within the first locking time, wherein the abnormal unlocking reminder is generated by the smart door lock when it detects that someone has unlocked the smart door lock using a preset digital password within the first locking time; An output module, configured to output the abnormal unlocking reminder; An unlock request receiving module, configured to receive an unlock request for the smart door lock within the first locking time; An information acquisition module is configured to acquire information carried in the unlock request; the information carried in the unlock request includes: user information, second control information, a serial number of the smart door lock, and a first lock time; the second control information is at least one item of the control information of the smart door lock that is the same as or different from the first control information; The cancellation code generation module is used to generate a cancellation code according to the information carried in the unlock request, so that when the smart door lock receives the cancellation code, it powers the fingerprint module, card module and face module to unlock the door.

12. A locking device for a smart door lock, characterized in that: Applied to a smart door lock, the smart door lock includes an unlocking control module, the unlocking control module includes a digital password module, the unlocking control module also includes at least one of a fingerprint module, a card module, and a face module, the digital password module is used to input password information, and the fingerprint module, card module, and face module are used to unlock the door based on the password information. The device includes: A first password receiving module, configured to receive a first password, wherein the first password is a password generated by a terminal device based on the first control information of the smart door lock and a set first locking time; a locking module, configured to power off the fingerprint module, the card module, and the face module to lock them within the first locking time according to the first password; A generating module, configured to generate an abnormal unlocking reminder when detecting that someone has unlocked the smart door lock using a preset digital password within the first locking time; a cancellation code receiving module, configured to receive a cancellation code and second control information within the first locking time, wherein the cancellation code is generated by the terminal device based on the first control information of the smart door lock and the set first locking time; The unlocking module is configured to supply power to the fingerprint module, the card module, and the face module according to the cancellation code to unlock the device when the second control information matches the first control information.

13. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 10.

14. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • System and method for managing password authority to smart door lock

    CN106131179A

  • Unlocking method, unlocking system, intelligent terminal and intelligent terminal storage medium

    CN109410397A

  • Wireless unlocking method of intelligent door lock

    CN109509283A