Method for recovering password through anti-prying switch and intelligent door lock

The method of password recovery through the anti-pry switch solves the problem of users forgetting management passwords and manufacturer security risks, enabling password recovery without built-in backdoors, reducing costs and improving security.

CN118537952AActive Publication Date: 2024-08-23GUANGDONG JIANLANG HIBES INTELLIGENT TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410768985.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-23
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Users forget the management password of smart door locks, and due to security risks, door lock manufacturers cannot build in a backdoor to recover the password, leading to increased costs for users and manufacturers.

Method used

The method of password recovery through the anti-pry switch includes determining and starting the anti-pry retrieval process, determining whether the conditions for entering the anti-pry initialization mode are met, entering the anti-pry initialization mode, and initializing the management password through the signal input by the anti-pry switch, and performing smart door operations. The lock works again, eliminating the need for a built-in backdoor.

Benefits of technology

It enables the management password to be recovered without a built-in backdoor, reducing the manufacturer's processing procedures and labor costs, while improving security and ensuring that users can recover their passwords by themselves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537952A
    Figure CN118537952A
Patent Text Reader

Abstract

The invention discloses a method for recovering a password through an anti-prying switch and an intelligent door lock, and the method for recovering the password through the anti-prying switch comprises the following steps: judging and starting an anti-prying retrieving process; judging whether the condition of entering the anti-prying initialization mode is met or not; after it is judged that the condition for entering the prying-resistant initialization mode is met, the prying-resistant initialization mode is entered, and unrelated tasks are suspended; in the anti-prying initialization mode, whether a signal input through the anti-prying switch meets the requirement or not is judged; if yes, the management password is initialized; and performing work recovery of the intelligent door lock. Password recovery is carried out through an existing anti-prying switch input signal, a back door does not need to be built in, and the problem that management passwords are recovered without the back door built in can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent locks, and in particular to a method for recovering a password through an anti-pry switch and an intelligent door lock. Background Art

[0002] Smart door locks contain a default management password with the highest authority. It is the default value before leaving the factory, but users often forget to modify it and ask to retrieve the management password. However, due to security risks, door lock manufacturers have no way to retrieve the management password, otherwise there will be security loopholes; and most door locks are standard locks without networking functions, so the solution through the network is not feasible.

[0003] Existing conventional solutions: Some manufacturers build a physical button into the back lock, which triggers the initialization or password retrieval action when long pressed. However, as door lock design reduces costs, it tends to be a single chip and a single motherboard. The back lock does not have any motherboard or button (if it is to be added, it will increase the cost), so this method is limited in scope.

[0004] Currently, when retrieving the management password, the manufacturer needs to send someone to bring a spare PCBA (the model must be correct) to the site to replace the door lock electronic PCBA hardware, and then return the problematic PCBA to the factory for processing, which also increases the manufacturer's processing procedures and manpower investment costs.

[0005] In summary, on the one hand, users forget the management password and hope to recover it, and on the other hand, door lock manufacturers cannot build in backdoors due to security risks, so the management password cannot be recovered, which causes a contradiction between the two. Therefore, a method that can recover the management password without building in backdoors is urgently needed. Summary of the invention

[0006] The main purpose of the present invention is to provide a method for recovering a password through an anti-pry switch and an intelligent door lock, which are used to solve the problem of recovering a management password without a built-in backdoor.

[0007] The present invention proposes a method for recovering a password through an anti-pry switch, comprising the following steps:

[0008] Determine and initiate the anti-theft recovery process;

[0009] Determine whether the conditions for entering the anti-theft initialization mode are met;

[0010] After determining that the conditions for entering the anti-tamper initialization mode are met, the anti-tamper initialization mode is entered and irrelevant tasks are suspended;

[0011] In the anti-tamper initialization mode, it is determined whether the signal input through the anti-tamper switch meets the requirements;

[0012] If it meets the requirements, the management password will be initialized;

[0013] Restore the smart door lock.

[0014] Furthermore, the steps of determining and initiating the anti-theft recovery process include:

[0015] Determine whether the obtained recovery startup password is correct;

[0016] If so, the anti-theft recovery process is initiated.

[0017] Further, the step of determining whether the conditions for entering the anti-theft initialization mode are met includes:

[0018] Determine whether the reset flag is a USB power-on reset or a non-USB power-on reset;

[0019] If it is a USB power-on reset, it is determined that the conditions for entering the anti-tamper initialization mode are not met;

[0020] If it is not a USB power-on reset, it is determined that the condition for entering the anti-tamper initialization mode is met.

[0021] Further, after the step of determining whether the condition for entering the anti-theft initialization mode is met, the method further includes:

[0022] If the conditions for entering the anti-theft initialization mode are not met, proceed to the smart door lock recovery step.

[0023] Furthermore, the step of initializing the management password includes:

[0024] Depending on the setting, the management password is initialized or the management password is initialized by initializing the entire lock.

[0025] Furthermore, the steps of restoring the working state of the smart door lock include:

[0026] Change the reset flag to USB power-on reset;

[0027] Exit the anti-theft initialization mode to restore the smart door lock to working state.

[0028] Further, in the anti-tamper initialization mode, after the step of determining whether the signal input through the anti-tamper switch meets the requirement, the following steps are included:

[0029] If it is determined that the signal input through the anti-tamper switch does not meet the requirements, a corresponding voice broadcast is made according to the setting and the reset flag is changed to a USB power-on reset step;

[0030] If no signal is received through the anti-tamper switch within the set time, a corresponding voice broadcast is performed according to the setting and the reset flag is changed to a USB power-on reset step.

[0031] Further, in the anti-tamper initialization mode, the step of determining whether the signal input through the anti-tamper switch meets the requirement includes:

[0032] One of the preset multiple signal combinations is randomly selected, and the signal combination is used to compare with the signal input through the anti-pry switch.

[0033] The present application also proposes a smart door lock for applying the above-mentioned method of recovering a password through an anti-pry switch.

[0034] The present invention discloses a method for recovering a password through an anti-pry switch and a smart door lock. The method for recovering a password through an anti-pry switch includes the following steps: judging and starting an anti-pry retrieval process; judging whether a condition for entering an anti-pry initialization mode is met; after judging whether the condition for entering an anti-pry initialization mode is met, entering the anti-pry initialization mode and suspending irrelevant tasks; in the anti-pry initialization mode, judging whether a signal input through the anti-pry switch meets the requirements; if so, initializing the management password; and recovering the smart door lock. By recovering a password through an existing anti-pry switch input signal, a built-in backdoor is not required, and the problem of recovering the management password without a built-in backdoor can be solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 1 is a schematic diagram of the steps of an embodiment of a method for recovering a password through an anti-pry switch of the present invention;

[0036] Figure 2 is a flow chart of an embodiment of a method for recovering a password through an anti-pry switch of the present invention;

[0037] Figure 3 It is a preset electronic code rule in one embodiment of the method for recovering a password through an anti-pry switch of the present invention;

[0038] Figure 4 It is a preset electronic code rule in another embodiment of the method for recovering a password through an anti-pry switch of the present invention;

[0039] Figure 5 It is the preset electronic code rule of the third embodiment of the method for recovering a password through an anti-pry switch of the present invention. DETAILED DESCRIPTION

[0040] The technical solution of this article will be further described in detail below in conjunction with the accompanying drawings.

[0041] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.

[0042] Reference Figure 1-5 The present invention proposes a method for recovering a password through an anti-pry switch, comprising the following steps:

[0043] S1. Determine and start the anti-theft recovery process;

[0044] S2. If yes, determine whether the conditions for entering the anti-theft initialization mode are met;

[0045] S3, after determining that the conditions for entering the anti-pry initialization mode are met, entering the anti-pry initialization mode and suspending irrelevant tasks;

[0046] S4, in the anti-pry initialization mode, determining whether the signal input through the anti-pry switch meets the requirements;

[0047] S5. If it meets the requirements, the management password is initialized;

[0048] S6. Restore the smart door lock.

[0049] Specifically, in the above step S1, in some embodiments, whether to start the anti-theft retrieval process is determined by whether a recovery startup password is received; the recovery startup password can be entered by the input button of the smart door lock; in some embodiments, the recovery startup password can be obtained by voice input, terminal scanning input, etc.; in some embodiments, the recovery startup password is preset; in some embodiments, the recovery startup password can be generated by the smart door lock and sent to the bound terminal, thereby improving security.

[0050] In the above step S2, in some embodiments, whether to enter the anti-pry initialization mode is determined by judging whether the reset flag is a USB power-on reset or a non-USB power-on reset; when the reset flag is a USB power-on reset, it means that the power-on operation is performed through the USB interface outside the door, which is risky and it is not appropriate to enter the anti-pry initialization mode; when the reset flag is a non-USB power-on reset, it means that the operation is performed from the inside of the door, such as a power-on operation performed by a power-off restart method on the inside, etc. The risk of the user operating from the inside of the door is lower. Therefore, in some embodiments, when it is determined that the reset flag is a non-USB power-on reset, the conditions for entering the anti-pry initialization mode are met.

[0051] In the above step S3, when in the anti-theft initialization mode, corresponding operations need to be performed, and therefore other irrelevant tasks need to be suspended, for example, the anti-theft switch will not cause an alarm due to being triggered, so as to avoid adverse effects on the anti-theft initialization; in some embodiments, there will be a prompt sound during step S3, such as "please wait", which can not only notify the operator of the progress, but also because abnormal operators are in a more impatient state and do not want others to know that they are handling the door lock, the prompt sound can have a certain deterrent effect.

[0052] In the above step S4, since the anti-pry switch is not exposed under normal circumstances, it is usually convenient for only the user to disassemble the smart door lock to expose the anti-pry switch and then generate a signal by triggering the anti-pry switch. That is, the signal generated by triggering the anti-pry switch is most likely operated by the user himself or the maintenance personnel, and safety is guaranteed; pressing and popping out the anti-pry switch represent 1 and 0 respectively. Through the custom code rules, repeatedly pressing and popping out can realize the flipping of 1 and 0 levels, and the signal generated by the anti-pry switch is determined by identifying the flipping level, such as Figure 3-5 As shown, the code rule can be set according to actual requirements; when the signal input by the anti-pry switch is determined to be consistent with the preset code rule, the signal input by the anti-pry switch is determined to meet the requirements; in some embodiments, only one preset code rule is preset, which can be set at the factory; in some embodiments, multiple preset code rules can be preset, and one of the preset code rules is randomly selected, so that professionally trained maintenance personnel can more easily verify it, thereby improving safety.

[0053] In the above step S5, in some embodiments, the management password is initialized according to a set method; in some embodiments, the management password can also be temporarily selected, depending on the actual situation; in some embodiments, only the management password can be initialized to achieve recovery of the management password. In some embodiments, the management password can be initialized by initializing the entire smart door lock to achieve recovery of the management password.

[0054] In the above step S6, resuming the operation of the smart door lock includes resuming the suspended tasks, etc., so that the smart door lock can work normally.

[0055] Further, in some embodiments, step S1 of determining and starting the anti-theft recovery process includes:

[0056] S11, determining whether the obtained recovery startup password is correct;

[0057] S12: If yes, start the anti-theft recovery process.

[0058] In the above steps S11-S12, in some embodiments, the recovery startup password can be a trigger shortcut key, for example, notifying that pressing multiple set buttons for a set time can determine that the obtained recovery startup password is correct; in some embodiments, the recovery startup password is a password entered by buttons, for example: 1234#12345#; in some embodiments, the recovery startup password can be entered through voice recognition input or through scanning recognition input and other feasible methods.

[0059] Further, in some embodiments, step S2 of determining whether the condition for entering the anti-theft initialization mode is met includes:

[0060] S21, determining whether the reset flag is a USB power-on reset or a non-USB power-on reset;

[0061] S22, if it is a USB power-on reset, it is determined that the condition for entering the anti-pry initialization mode is not met;

[0062] S23: If it is not a USB power-on reset, determine that the condition for entering the anti-pry initialization mode is met.

[0063] In the above steps S21-S23, the USB power-on reset can be triggered by plugging a power bank or a mobile phone into the USB interface of the front lock for power supply. This function can be implemented through a hardware circuit, or the software can detect whether a USB power supply is inserted through the GPIO level to determine whether the USB power-on reset is triggered. The USB power-on reset is usually implemented outside the door through the smart door lock; the non-USB power-on reset is usually caused by resetting the battery inside the door after the smart door lock is removed; therefore, if it is a USB power-on reset, it is outside the door and is determined not to meet the conditions for entering the anti-theft initialization mode, and is not suitable for the user to voluntarily recover the management password; if it is a non-USB power-on reset, the operation when inside the door meets the conditions for entering the anti-theft initialization mode, and is suitable for the user to voluntarily recover the management password, which can reduce the risk.

[0064] Further, in some embodiments, after step S2 of determining whether the condition for entering the anti-theft initialization mode is met, the following steps are included:

[0065] S24: If the conditions for entering the anti-theft initialization mode are not met, the smart door lock operation recovery step is entered.

[0066] In the above step S24, in some embodiments, before performing the smart door lock operation recovery step S6, a corresponding voice prompt, such as "operation is restricted", etc., may be performed.

[0067] Further, in some embodiments, the step S5 of initializing the management password includes:

[0068] S51. Initialize the management password according to the setting or initialize the management password through the whole lock initialization.

[0069] In the above step S51, the setting can be pre-set before leaving the factory, or it can be a pre-set option for selecting a specific implementation method, by temporarily selecting before the management password is initialized, whether to initialize the management password only or initialize the management password through the entire lock initialization.

[0070] Further, in some embodiments, step S6 of resuming the operation of the smart door lock includes:

[0071] S61, changing the reset flag to USB power-on reset;

[0072] S62: Exit the anti-theft initialization mode to restore the smart door lock to a working state.

[0073] In the above steps S61-S62, the reset flag is changed to USB power-on reset, which can make the smart door lock unable to pass step S2, preventing others from restoring the password again through the anti-pry switch after the management password is restored, thereby improving security; in some embodiments, when the password needs to be restored again through the anti-pry switch, the battery needs to be removed again before it can be performed.

[0074] Further, in some embodiments, in the anti-tamper initialization mode, after step S4 of determining whether the signal input through the anti-tamper switch meets the requirements, the following steps are included:

[0075] S7, if it is determined that the signal input through the anti-tamper switch does not meet the requirements, a corresponding voice broadcast is performed according to the setting and the reset flag is changed to USB power-on reset step S61;

[0076] S8. If no signal is received through the anti-tamper switch within the set time, a corresponding voice broadcast is performed according to the setting and the reset flag is changed to USB power-on reset step S61.

[0077] In the above step S7, the voice announcement not only serves as a reminder of the progress, such as "operation is limited", but also makes informal users feel uncomfortable and has a certain deterrent effect. The voice announcement can also be just a reminder sound without specific content.

[0078] In the above step S8, in the case of no operation for a long time, a voice announcement is used to remind the progress, such as "system exit", and the voice announcement can also be just a reminder sound without specific content.

[0079] Further, in some embodiments, in the anti-tamper initialization mode, before step S4 of determining whether the signal input through the anti-tamper switch meets the requirement, the following steps are included:

[0080] S401. Randomly select one of a plurality of preset signal combinations, and the signal combination is used to compare with the signal input through the anti-pry switch.

[0081] In the above step S401, the signal combination is a comparison rule used to determine whether the signal input through the anti-pry switch meets the required comparison rules; in some embodiments, the signal combination can be a high-low level combination or a rising edge falling edge combination; the high-low level combination refers to the use of the distribution rules of high and low levels as the judgment standard; the rising edge falling edge combination refers to the combination of high and low levels with time added, for example, a high level of 1 for one second, a low level of two seconds, and a high level of one second. Since the time control cannot be completely consistent, errors can be allowed. If the error is allowed, it can be determined that the signal input through the anti-pry switch meets the requirements.

[0082] The present application also proposes a smart door lock for applying the above-mentioned method of recovering a password through an anti-pry switch.

[0083] Specifically, the smart door lock includes an anti-pry switch and an MCU main control, the anti-pry switch and the MCU main control are electrically connected, and the signal generated by the anti-pry switch is acquired and recognized by the MCU main control; the smart door lock can be used to apply the above-mentioned method of recovering the password through the anti-pry switch.

[0084] The present invention discloses a method for recovering a password through an anti-pry switch and a smart door lock. The method for recovering a password through an anti-pry switch includes the following steps: judging and starting an anti-pry retrieval process; judging whether a condition for entering an anti-pry initialization mode is met; after judging whether the condition for entering an anti-pry initialization mode is met, entering the anti-pry initialization mode and suspending irrelevant tasks; in the anti-pry initialization mode, judging whether a signal input through the anti-pry switch meets the requirements; if so, initializing the management password; and recovering the smart door lock. By recovering a password through an existing anti-pry switch input signal, a built-in backdoor is not required, and the problem of recovering the management password without a built-in backdoor can be solved.

[0085] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for recovering a password through an anti-pry switch, characterized in that: The steps include: Determine and initiate the anti-theft recovery process; Determine whether the conditions for entering the anti-theft initialization mode are met; After determining that the conditions for entering the anti-tamper initialization mode are met, entering the anti-tamper initialization mode and suspending irrelevant tasks; In the anti-pry initialization mode, determining whether the signal input through the anti-pry switch meets the requirements; If it meets the requirements, the management password will be initialized; Restore the smart door lock.

2. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: The steps of determining and starting the anti-theft recovery process include: Determine whether the obtained recovery startup password is correct; If so, the anti-theft recovery process is initiated.

3. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: The step of determining whether the conditions for entering the anti-theft initialization mode are met includes: Determine whether the reset flag is a USB power-on reset or a non-USB power-on reset; If it is a USB power-on reset, it is determined that the conditions for entering the anti-tamper initialization mode are not met; If it is not a USB power-on reset, it is determined that the condition for entering the anti-tamper initialization mode is met.

4. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: After the step of determining whether the condition for entering the anti-theft initialization mode is met, the method further comprises: If the conditions for entering the anti-theft initialization mode are not met, proceed to the steps for restoring the smart door lock.

5. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: The step of initializing the management password includes: According to the setting, the management password is initialized or the management password is initialized by initializing the entire lock.

6. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: The steps of restoring the working state of the smart door lock include: Change the reset flag to USB power-on reset; Exit the anti-theft initialization mode to restore the smart door lock to a working state.

7. The method for recovering a password through an anti-pry switch according to claim 6, characterized in that: In the anti-pry initialization mode, after the step of determining whether the signal input through the anti-pry switch meets the requirements, the following steps are included: If it is determined that the signal input through the anti-tamper switch does not meet the requirements, a corresponding voice broadcast is performed according to the setting and the step of changing the reset flag to USB power-on reset is entered; If no signal input through the anti-tamper switch is received within the set time, a corresponding voice broadcast is performed according to the setting and the step of changing the reset flag to USB power-on reset is entered.

8. The method for recovering a password through an anti-pry switch according to claim 1, characterized in that: In the anti-pry initialization mode, the step of determining whether the signal input through the anti-pry switch meets the requirements includes: A plurality of preset signal combinations is randomly selected, and the signal combination is used for comparison with the signal input through the anti-pry switch.

9. A smart door lock, characterized in that: Used to apply the method of recovering a password through an anti-pry switch as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Safety reset device of intelligent door lock and safety reset method of safety reset device

    CN107339018A

  • Prying-resistant protection circuit for electronic lockset

    CN107784716A

  • Method and system for enhancing intelligent lock anti-interference capability and intelligent lock

    CN110517396A

  • Intelligent door lock

    CN115083059A

  • electronic lock

    JP1989064564U