Control method of intelligent door lock

By generating a collection of multiple circle temporary passwords in smart door locks and using circle encoding, device fingerprint fields and timestamp fields, the problem of insufficient permission allocation in smart door lock temporary password management is solved, and more accurate permission management and higher security is achieved.

CN120048034AInactive Publication Date: 2025-05-27SHENZHEN ISURPASS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510288512.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-05-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The temporary password management of existing smart door locks has problems such as insufficient permission allocation, risk of permission abuse, and temporary passwords are easily guessed.

Method used

By asynchronously generating a multi-circle temporary password collection, it is refined to manage according to the user's social relationship level, permission grading and temporary password uniqueness are guaranteed using circle encoding and device fingerprint fields, and the validity period and security of temporary passwords are ensured through timestamp fields and dynamic verification codes.

Benefits of technology

It realizes refined management of user social relationships, and more accurate permission allocation, reducing the risk of permission abuse and the risk of temporary password being guessed, and improving the security and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120048034A_ABST
    Figure CN120048034A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of an intelligent door lock, and the method comprises the following steps: asynchronously generating a multi-ring layer temporary password set according to a preset rule, and synchronously updating the encrypted multi-ring layer temporary password set to a server to form a temporary password library; receiving an input target temporary password, and verifying the input target temporary password with the temporary password set by using a preset verification mechanism to obtain a verification result; the target temporary password is determined in a temporary password library by the server according to visiting request information sent by the terminal equipment, and is sent to the terminal equipment to inform a visitor; and matching a corresponding action instruction according to the verification result and executing the action instruction. Therefore, unlocking authority control of different ring layers of visitors is differentiated, and the potential safety hazard of temporary passwords is minimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent door locks, and particularly to a control method for an intelligent door lock. Background Art

[0002] With the rapid implementation of 5G construction, the smart home industry has developed relatively fast. As a key component of the whole-house intelligence, the door lock market has become increasingly booming. Higher security levels and convenience have gradually made door locks the first choice for people during decoration. The implementation solutions for temporary passwords on the market are mainly divided into three categories: preset, algorithm-generated, and actively issued. The disadvantages are as follows: the unlocking steps are cumbersome, and users need to perform multiple steps to unlock, resulting in a poor user experience; the requirement for network real-time performance is relatively high: the door lock needs to be connected to the network for unlocking. Due to the poor network connection quality at the door lock end, the experience of unlocking with a temporary password is poor; the effective duration of the temporary password is short. After the temporary password expires, cumbersome operations are required; or additional corresponding hardware costs need to be increased.

[0003] The Chinese invention patent with the patent application number 202210077708.1 discloses a control method for a door lock. The door lock asynchronously generates multiple groups of temporary passwords with different effective durations at preset time intervals, and sends these passwords to the server for storage. The user inputs the target effective duration through an external device, and the server matches the most suitable password in the temporary password library according to this information and returns it to the user. After the user inputs the password into the door lock, the door lock performs offline verification and unlocks or keeps the locked state according to the verification result. It simplifies the unlocking steps, improves the user experience, and reduces power consumption.

[0004] In the intelligent door lock temporary password access service, although the remote authorization and temporary password management of the door lock are realized, the refined management of the user's social relationships is lacking, resulting in inaccurate permission allocation and the risk of permission abuse; in addition, the temporarily generated passwords randomly by the system may have similar or duplicate problems, and may still be maliciously guessed after expiration, increasing the risk of unauthorized password cracking access. Summary of the Invention

[0005] This application provides a control method for an intelligent door lock, which controls the unlocking permissions of different circles of visitors differently and minimizes the security risks of temporary passwords.

[0006] This application provides a control method for an intelligent door lock, including the following steps:

[0007] S101, asynchronously generate a multi-circle temporary password set according to a preset rule, and synchronously update the encrypted multi-circle temporary password set to the server to form a temporary password library;

[0008] S102. Receive the input target temporary password, and use a preset verification mechanism to verify it against the set of temporary passwords to obtain a verification result. The target temporary password is determined by the server in the temporary password library according to the visiting request information sent by the terminal device, and is sent to the terminal device to inform the visitor.

[0009] S103. Match the corresponding action instruction according to the verification result and execute it.

[0010] Preferably, the multi-layer temporary password set is composed of temporary password sets of several layers. The layers include an intimate circle, a trust circle, and a service circle. Each layer is assigned a unique code. According to the unique code of the layer and N groups of operation codes generated asynchronously, the temporary password set of this layer is formed. The unique code of the layer is used to represent the level of the social relationship between the visitor and the door lock manager.

[0011] Preferably, the preset rules are set as follows:

[0012] A1. Set an effective duration range [h min , h max for each layer, where h min is the shortest effective duration and h max is the longest effective duration;

[0013] A2. Based on each layer, generate N groups of operation codes asynchronously. For each operation code, add the unique code of the layer at the beginning of the operation code to form a temporary password, and generate N groups of temporary passwords.

[0014] A3. According to the effective duration range corresponding to the layer, in the order of descending arithmetic progression from the longest effective duration to the shortest effective duration, match the effective duration for each of the N groups of temporary passwords one by one and bind them.

[0015] A4. Use the N groups of temporary passwords corresponding to the layer as the temporary password set of this layer. Each temporary password includes the layer code and the operation code, and is bound with an effective duration field.

[0016] A5. Every preset time interval, periodically execute steps A1 to A3 to update the temporary password library.

[0017] Preferably, the process for the server to determine the target temporary password specifically includes:

[0018] S201. Receive the visiting request information sent by the terminal device. The visiting request information includes the layer code to which the visitor belongs and the allowed effective duration.

[0019] S202. According to the visiting request information, match the first temporary password in the temporary password library.

[0020] S203. Use the first temporary password as the target temporary password.

[0021] Preferably, matching the first temporary password in the temporary password library according to the visit request information includes:

[0022] B1. Locate the set of temporary passwords for the circle layer code in the temporary password library according to the circle layer code in the visit request information;

[0023] B2. In the set of temporary passwords, match the temporary password closest to the allowable effective duration and determine it as the first temporary password.

[0024] Preferably, the visit request information further includes: a device fingerprint field;

[0025] Before the S203, it further includes:

[0026] Based on the device fingerprint field, perform overlay splicing on the first temporary password to form a new temporary password to replace the first temporary password, and update the first temporary password in the temporary password library.

[0027] Preferably, each of the temporary passwords is further bound with a timestamp field, and the timestamp field includes the initial generation time T1 of the temporary password. If the temporary password is overwritten and updated, the timestamp field further includes the device fingerprint overwrite time T2 and the dynamic verification code validity period T3, and the dynamic verification code validity period is set as the sum value of the device fingerprint overwrite time T2 and the effective duration.

[0028] Preferably, the preset verification mechanism specifically includes:

[0029] S301. Transmit the target temporary password to the server for matching with the temporary password library. If the target temporary password is matched, execute step S302; otherwise, the verification result is failed.

[0030] S302. Obtain the timestamp field bound to the target temporary password in the temporary password library. If the timestamp field includes a dynamic verification code, verify the status of the target temporary password; otherwise, the verification fails. The status of the target temporary password is valid and invalid. If the current time Tc ∈ [T2, T3], the status is valid; otherwise, it is invalid.

[0031] S303. If the status of the target temporary password is valid, the verification passes; otherwise, the verification fails.

[0032] Preferably, each of the temporary passwords is further bound with a used frequency field K, and the initial value is 0;

[0033] Before the step S103, the method further includes: when the verification result is successful, obtaining the used frequency field K bound to the target temporary password in the temporary password library, updating the used frequency field of the target temporary password to K + 1, synchronously updating the valid duration and the dynamic verification code validity period of the target temporary password in the temporary password library according to the preset timestamp fusing mechanism, and updating the dynamic verification code validity period T3 to the new valid duration plus the current time T2.

[0034] Preferably, the preset timestamp fusing mechanism includes:

[0035]

[0036] where H new is the updated valid duration, H is the original valid duration, K is the used frequency field of the target temporary password, and α is the attenuation coefficient.

[0037] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0038] Through the multi-layer temporary password set, the refined management of the user's social relationships is realized, and the permission password allocation is more accurate; through the layer coding, the password permissions are graded, and a longer valid time can be set for the intimate circle, and the service circle permissions are more strict, reducing the risk of long-term permission retention for non-trusted personnel such as housekeeping and express delivery;

[0039] By covering and splicing the temporary password with the device fingerprint field, the temporary password for each visitor is unique, and the device fingerprint field can prove that it comes from the terminal device of the authorized administrator, making it difficult to be maliciously guessed and used by illegal devices; even if the temporary password in the original password library is intercepted, due to the update and coverage mechanism of the terminal device including the device fingerprint field, it indicates that the password is authorized by the administrator, effectively preventing the abuse of password cracking permissions;

[0040] By introducing the timestamp field and the dynamic verification code, it is ensured that each temporary password can only be used within a specific time period, effectively preventing the risk that the visitor unlocks the door by guessing and entering other passwords; even if the temporary password is intercepted, due to the inclusion of the dynamic verification code, the attacker cannot use other passwords outside the valid duration of its exclusive password, further improving the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic flowchart of the control method of the intelligent door lock according to the embodiment of the present invention. DETAILED DESCRIPTION

[0042] To facilitate the understanding of the present invention, the present application will be described more comprehensively below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present invention more thorough and comprehensive.

[0043] It should be noted that the terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only embodiments.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0045] Example 1: Figure 1 It is a schematic flowchart of the control method of the intelligent door lock according to the embodiment of the present invention.

[0046] As Figure 1 shown, a control method of an intelligent door lock is applied to the door lock. The door lock is connected to the server and includes the following steps:

[0047] S101, asynchronously generate a multi-layer temporary password set according to a preset rule, and synchronously update the encrypted multi-layer temporary password set to the server to form a temporary password library.

[0048] It should be noted that the server is connected to and communicates with several terminal devices. The multi-layer temporary password set is stored locally in the door lock. The door lock sends the multi-layer temporary password set to the server so that the server can store the multi-layer temporary password set. The terminal device can obtain the target temporary password for opening the door lock from the server.

[0049] Specifically, the multi-layer temporary password set is composed of temporary password sets of several layers. The layers include an intimate circle, a trust circle, and a service circle. Each layer is assigned a unique code. According to the layer unique code and the asynchronously generated N groups of operation codes, the temporary password set of this layer is formed. The unique code of the layer is used to represent the social relationship level between the visitor and the door lock manager.

[0050] Among them, the preset rule is set as:

[0051] A1. Set an effective duration range for each layer (which can be set and specified by the manager of the door lock) [h min ,h max, h min is the shortest effective duration, h max is the maximum effective duration;

[0052] A2. Based on each layer, asynchronously generate N groups of operation codes. For each operation code, add the unique layer code at the beginning of the operation code to form a temporary password, and generate N groups of temporary passwords;

[0053] Specifically, the operation code can be set as a random combination of numbers, letters, and characters or any one form.

[0054] A3. According to the effective duration range corresponding to the layer, starting from the maximum effective duration to the shortest effective duration in an arithmetic descending order (the equal difference value is determined according to the effective duration range and the N value), match the effective duration for each of the N groups of temporary passwords one by one and bind them;

[0055] A4. Use the N groups of temporary passwords corresponding to the layer as the temporary password set for that layer. Each temporary password includes a layer code and an operation code, and is bound with an effective duration field;

[0056] A5. Every preset time interval, periodically execute steps A1 to A3 to update the temporary password library. For example, the preset time interval can be set to 12 hours.

[0057] S102. Receive the input target temporary password, and use the preset verification mechanism to verify it with the temporary password set to obtain a verification result.

[0058] Among them, the preset verification mechanism can be set as: match the target temporary password with the temporary password set. If a match is found, verify the effective duration. When the target temporary password is generated, mark the timestamp information. The target temporary password becomes effective at this timestamp and remains valid until the effective duration is reached, at which point the target temporary password becomes invalid. If the visitor does not enter the password within the effective duration after it becomes effective, the target temporary password cannot be used again.

[0059] In some embodiments, the server determines the target temporary password in the temporary password library according to the visit request information sent by the terminal device, and sends it to the terminal device to inform the visitor. The process of the server determining the target temporary password specifically includes:

[0060] S201. Receive the visit request information sent by the terminal device. The visit request information includes the layer code to which the visitor belongs and the allowed effective duration.

[0061] Specifically, the user (the manager of the door lock, which can be understood as the household owner or a family member of the household owner) inputs the visit request information through the terminal device, and the server receives the visit request information.

[0062] S202. Match the first temporary password in the temporary password library according to the visit request information.

[0063] Specifically, matching the first temporary password in the temporary password library according to the visit request information includes:

[0064] B1. Locate the temporary password set of the circle layer code in the temporary password library according to the circle layer code in the visit request information;

[0065] B2. In the temporary password set, match the temporary password closest to the allowed valid duration and determine it as the first temporary password.

[0066] S203. Use the first temporary password as the target temporary password.

[0067] S103. Match the corresponding action instruction according to the verification result and execute it.

[0068] Specifically, the verification result includes success and failure. If it is successful, the action instruction is to unlock the lock. If it is failed, the action instruction is to close tightly and prompt that the unlocking fails.

[0069] The technical solutions in the embodiments of the present application at least have the following technical effects or advantages:

[0070] Through the multi-layer circle temporary password set, the refined management of the user's social relationship is realized, and the permission password distribution is more accurate; through the circle layer code, the password permission grading is realized. A longer effective time can be set for the intimate circle, and the service circle permission is more strict, reducing the risk of long-term permission retention of non-trusted personnel such as housekeeping and express delivery.

[0071] Embodiment 2: In Embodiment 1, although the management of multi-layer circle temporary passwords is realized, the temporary password may still be maliciously guessed or intercepted and misused across devices.

[0072] Therefore, the embodiments of the present application are optimized on the basis of the above embodiments.

[0073] In some embodiments, the visit request information further includes: a device fingerprint field.

[0074] The device fingerprint field can be set as the hash value of the terminal device IP address. For example, it is generated by SHA-256 hashing, and the last 4 bits are intercepted as the device fingerprint field.

[0075] Specifically, when the terminal device sends a visiting request message to the server, the server first obtains the device information of the device (such as unique identifiers like device ID, operating system information, hardware information, IP address, etc.), processes the device information using a preset encryption algorithm, and intercepts the last 4 digits as the device fingerprint field (the specific number of intercepted digits can be set according to the actual situation, or it can be set to intercept the last two digits); the server binds the target temporary password with the device fingerprint and stores the relevant binding information for subsequent verification. For example, the terminal device that can communicate with the server determines the bound identity according to the device fingerprint field, preventing other illegal devices from hacking the server to forge requests for the target temporary password.

[0076] Further, before step S203, it further includes:

[0077] Based on the device fingerprint field, perform overwriting splicing on the first temporary password (starting from the end of the first temporary password) to form a new temporary password to replace the first temporary password, and update the first temporary password in the temporary password library.

[0078] Among them, the coverage rate is set to 40% of the first temporary password, and it can also be adjusted according to the actual situation. It should be noted that it is necessary to avoid overwriting the layer coding.

[0079] Thus, the server generates a unique target temporary password containing the device fingerprint field in combination with the device fingerprint information, and this password is specific to the terminal device and the current request.

[0080] The technical solutions in the above embodiments of the present application at least have the following technical effects or advantages:

[0081] By performing overwriting splicing on the temporary password with the device fingerprint field, the temporary password of each visitor is unique, and the device fingerprint field can prove that it comes from the terminal device of the authorized administrator, making it difficult to be maliciously guessed and used by illegal devices; even if the temporary password in the original password library is intercepted, since the update and overwrite mechanism of the terminal device includes the device fingerprint field, it indicates that the password is authorized by the administrator, effectively preventing the abuse of password cracking permissions.

[0082] Embodiment 3: In Embodiment 2, although the authorization uniqueness of the temporary password is enhanced, there is still a risk that the visitor may accidentally unlock the lock by guessing and inputting other passwords in the password library, thus using a password that is not authorized for the visitor to effectively unlock the lock, and there is a possibility of accidental brute force cracking. The attacker can use the time after the original password becomes invalid to try other passwords.

[0083] Therefore, the embodiments of the present application are optimized to a certain extent on the basis of the above embodiments.

[0084] In some embodiments, each temporary password is also bound with a timestamp field. The timestamp field includes the initial generation time T1 of the temporary password. If the temporary password is overwritten and updated (indicating that the password becomes effective and is activated and authorized by the administrator on the terminal device), it also includes the device fingerprint overwrite time T2 (the overwrite update time of the temporary password, that is, the timestamp information for updating the first temporary password using the device fingerprint field), and the dynamic verification code validity period T3. The dynamic verification code validity period is set as the sum value of T2 and the effective duration.

[0085] It should be noted that if the timestamp field only includes the initial generation time, it indicates that the password has not been activated and authorized.

[0086] In some embodiments, the preset verification mechanism specifically includes:

[0087] S301, transmit the target temporary password to the server to match with the temporary password library. If the target temporary password is matched, execute step S302; otherwise, the verification result is failed.

[0088] S302, obtain the timestamp field bound to the target temporary password in the temporary password library. If the timestamp field includes a dynamic verification code, verify the status of the target temporary password; otherwise, the verification fails.

[0089] Among them, the status of the target temporary password is valid and invalid. If the current time Tc ∈ [T2, T3], the status is valid; otherwise, it is invalid.

[0090] S303, if the status of the target temporary password is valid, the verification passes; otherwise, the verification fails.

[0091] The technical solutions in the embodiments of the present application above have at least the following technical effects or advantages:

[0092] By introducing the timestamp field and the dynamic verification code, it is ensured that each temporary password can only be used within a specific time period, effectively preventing the risk that visitors unlock the door by guessing and entering other passwords. Even if the temporary password is intercepted, due to the inclusion of the dynamic verification code, attackers cannot use other passwords outside the valid duration of their exclusive password, further improving the reliability of the system.

[0093] Embodiment 4: In the foregoing embodiments, although the security of the temporary password is improved through the device fingerprint field and the dynamic verification code, there is still a risk that visitors frequently use the same temporary password within the valid time. The more frequently the door is unlocked within the valid time, the more dangerous the behavior pattern of the visitor is.

[0094] Therefore, the embodiments of the present application are optimized on the basis of the above embodiments.

[0095] In some embodiments, each temporary password is also bound with a used frequency field K, whose initial value is 0; before step S103, when the verification result is successful, obtain the used frequency field K bound to the target temporary password in the temporary password library, update the used frequency field of the target temporary password to K + 1, synchronously update the valid duration and the dynamic verification code validity period of the target temporary password in the temporary password library according to the preset timestamp fusing mechanism, and update the dynamic verification code validity period T3 to the new valid duration plus the current time T2.

[0096] Specifically, the preset timestamp fusing mechanism includes:

[0097]

[0098] where H new is the updated valid duration, H is the original valid duration, K is the used frequency field of the target temporary password, and α is the attenuation coefficient.

[0099] Specifically, the attenuation coefficient is preset according to the circle, and the greater the reliability of the circle, the smaller the attenuation coefficient. The order of reliability is: intimate circle > trusted circle > service circle.

[0100] For example, the attenuation coefficient is determined according to the pre-set circle-α value mapping table, and the pre-set circle-α value mapping table is:

[0101] Intimate circle - α = 0.1, loose attenuation, allowing multiple uses;

[0102] The valid duration is 2 hours, and α increases by 0.1 every time; it should be noted that the unit of H is minutes;

[0103] The valid duration is 1 hour, and α increases by 0.1 every time;

[0104] Thus, for the intimate circle: high-trust scenarios such as family members, the remaining validity period slowly decays after each use, allowing the password to be used multiple times; for the trusted circle: medium-trust scenarios such as friends and colleagues, the longer the valid duration, the faster the decay rate; for the service circle: low-trust scenarios such as housekeeping and express delivery, forced rapid decay.

[0105] Exemplarily, the intimate circle, trust circle, and service circle are divided according to the circle type to obtain circle classification data. For example, the users in the intimate circle are family members, the users in the trust circle are friends, and the users in the service circle are maintenance personnel. By using a pre-set circle-α value mapping table, the attenuation coefficient corresponding to different circles is obtained. According to the current effective duration, the effective duration data of the temporary password is updated using the timestamp fusing mechanism. For example, the effective duration of the temporary password is updated from the original 20 hours to 16 hours; it is judged whether the temporary password exceeds the current effective duration range. For example, the difference between the current time and the effective time is 18 hours. If it is judged whether it exceeds 16 hours, it is determined that it exceeds the effective duration range, and then the timestamp fusing mechanism is triggered to terminate the usage permission of the temporary password. For example, the temporary password is marked as invalid and the unlocking operation is prohibited.

[0106] The technical solutions in the embodiments of the present application described above have at least the following technical effects or advantages:

[0107] By introducing the used frequency field K and the attenuation coefficient, the effective duration of the temporary password gradually decreases as the number of uses increases, thus effectively preventing the abuse of the password; by dynamically adjusting the effective duration of the temporary password, even if the temporary password is intercepted or guessed, it is difficult for an attacker to use the same password to unlock multiple times within the effective duration; the setting of the attenuation coefficient enables visitors with different trust levels to have different password usage permissions, further improving the security of the system;

[0108] By setting different attenuation coefficients according to the circles, the effective duration attenuation speeds of the temporary passwords in the intimate circle, trust circle, and service circle are different, which better meets the trust level requirements in the actual usage scenario.

[0109] The above description is only the preferred implementation manner of the present invention and is not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A control method for a smart door lock, characterized in that: Applied to a door lock, the door lock establishes a connection with a server, including the following steps: S101, asynchronously generating a multi-circle temporary password set according to a preset rule, and synchronously updating the encrypted multi-circle temporary password set to a server to form a temporary password library; S102, receiving the input target temporary password, and verifying it with the temporary password set using a preset verification mechanism to obtain a verification result; the target temporary password is determined by the server in the temporary password library according to the access request information sent by the terminal device, and sent to the terminal device to inform the visitor; S103, matching and executing corresponding action instructions according to the verification result.

2. The control method of the smart door lock according to claim 1, characterized in that: The multi-circle temporary password set is composed of temporary password sets of several circles, including intimacy circle, trust circle and service circle. Each circle is assigned a unique code. The temporary password set of the circle is formed according to the unique code of the circle and N groups of asynchronously generated operation codes. The unique code of the circle is used to characterize the social relationship level between the visitor and the door lock manager.

3. The control method of the smart door lock according to claim 2, characterized in that: The preset rules are set as: A1. Set the effective time range for each circle [h min ,h max ],h min is the shortest effective duration, h max is the maximum effective duration; A2. Based on each circle, N groups of operation codes are asynchronously generated. For each operation code, the circle unique code is added to the beginning of the operation code to form a temporary password, and N groups of temporary passwords are generated; A3. According to the valid time range corresponding to the circle, match the valid time for each of the N groups of temporary passwords in descending order from the longest valid time to the shortest valid time for binding; A4. Use the N groups of temporary passwords corresponding to the circle as the temporary password set of the circle, each temporary password includes a circle code and an operation code, and is bound to a valid duration field; A5. Periodically execute steps A1 to A3 at every preset time interval to update the temporary password library.

4. The control method of the smart door lock according to claim 3, characterized in that: The process of the server determining the target temporary password specifically includes: S201, receiving a visit request message sent by a terminal device, the visit request message including a circle code to which the visitor belongs and a valid time limit; S202, matching a first temporary password in a temporary password library according to the access request information; S203: Use the first temporary password as the target temporary password.

5. The control method of the smart door lock according to claim 4, characterized in that: The matching of the first temporary password in the temporary password library according to the access request information includes: B1. Locate the temporary password set of the circle code in the temporary password library according to the circle code in the access request information; B2. In the temporary password set, a temporary password that is closest to the allowed validity period is matched and determined as the first temporary password.

6. The control method of the smart door lock according to claim 4, characterized in that: The access request information further includes: a device fingerprint field, the device fingerprint field being generated based on device information of the terminal device that sends the access request information; Before S203, the method further includes: Based on the device fingerprint field, the first temporary password is overwritten and spliced ​​to form a new temporary password to replace the first temporary password, and the first temporary password is updated in the temporary password library.

7. The control method of the smart door lock according to claim 6, characterized in that: Each temporary password is also bound to a timestamp field, which includes the initial generation time T1 of the temporary password. If the temporary password is overwritten and updated, the timestamp field also includes the device fingerprint coverage time T2 and the dynamic verification code validity period T3. The dynamic verification code validity period is set to the sum of the device fingerprint coverage time T2 and the validity period.

8. The control method of the smart door lock according to claim 7, characterized in that: The preset verification mechanism specifically includes: S301, transmitting the target temporary password to the server for matching with the temporary password library. If the target temporary password is matched, step S302 is executed, otherwise, the verification result is failure; S302, obtaining the timestamp field bound to the target temporary password in the temporary password library. If the timestamp field includes a dynamic verification code, verify the status of the target temporary password. Otherwise, the verification fails. The status of the target temporary password is valid or invalid. If the current time is Tc∈[T2, T3], the status is valid; otherwise, it is invalid. S303, if the status of the target temporary password is valid, the verification passes, otherwise, the verification fails.

9. The control method of the smart door lock according to claim 8, characterized in that: Each of the temporary passwords is also bound to a usage frequency field K, with an initial value of 0; Before S103, the method further includes: when the verification result is successful, obtaining the used frequency field K bound to the target temporary password in the temporary password library, updating the used frequency field of the target temporary password to K+1, synchronously updating the valid period of the target temporary password and the valid period of the dynamic verification code in the temporary password library according to a preset timestamp fuse mechanism, and updating the valid period T3 of the dynamic verification code to the new valid period plus the current time T2.

10. The control method of the smart door lock according to claim 9, characterized in that: The preset timestamp fuse mechanism includes: Among them, H new is the updated effective duration, H is the original effective duration, K is the used frequency field of the target temporary password, and α is the attenuation coefficient.

Citation Information

Patent Citations

  • Door lock control methods, devices, door locks and storage media

    CN114445936B