Method for controlling intelligent door lock and intelligent door lock

By identifying or predicting the unlocking scenario of a smart door lock, the charging stop threshold voltage is dynamically adjusted, solving the problem of voltage drop in traditional smart door locks under high load, improving power supply efficiency and adaptability, and extending the life of dry cell batteries.

CN121982806APending Publication Date: 2026-05-05TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TP-LINK INT SHENZHEN CO LTD
Filing Date
2026-03-13
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Traditional smart door locks are prone to voltage drops under high load and high current demand, affecting power supply reliability. Furthermore, the load-carrying capacity of dry batteries decreases after prolonged use, leading to system malfunctions or recognition failures.

Method used

By identifying or predicting unlocking scenarios, the charging stop threshold voltage is dynamically adjusted to control the charging process of the dry cell battery to the energy storage circuit, thereby matching the energy storage capacity with the power demand and optimizing the combined power supply efficiency of the dry cell battery and the energy storage circuit.

Benefits of technology

While ensuring power supply reliability, the energy consumption of dry cell batteries has been optimized, improving the overall power supply efficiency and adaptability of the combined power supply unit, and avoiding voltage drops and energy redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121982806A_ABST
    Figure CN121982806A_ABST
Patent Text Reader

Abstract

The invention relates to a method for controlling an intelligent door lock and the intelligent door lock. The intelligent door lock comprises a dry battery for providing electric energy and an energy storage circuit. The method comprises the following steps: identifying an unlocking scene category based on the last unlocking process of the intelligent door lock or predicting the unlocking scene category based on the number of external clients of the intelligent door lock; determining a charging stop threshold voltage based on the unlocking scene category; the dry battery is controlled to charge the energy storage circuit to the charging stop threshold voltage, and the unlocking scene types comprise a normal unlocking scene, a clamping stagnation scene, a repeated attempt scene, a fault scene and a dense passing scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of smart devices, and more particularly to a method for controlling a smart lock and a smart lock. Background Technology

[0002] With the advancement and development of technology, various smart devices for home and office environments have been widely integrated into users' daily lives. These smart devices include, for example, smart door locks, smart curtains, smart doorbells, and so on.

[0003] While smart locks enhance convenience and intelligence, they also place higher demands on the stability and reliability of the power supply system. Traditional smart locks typically use dry cell batteries for power. When the drive motor, fingerprint recognition module, and wireless communication module are operating simultaneously, a large instantaneous operating current is generated, which can easily cause a sudden drop in the voltage at the dry cell battery terminals, leading to problems such as system restarts, recognition failures, or abnormal lock operation. Furthermore, the load-bearing capacity of the dry cell batteries themselves decreases with increasing usage time.

[0004] To meet the power supply needs of different application scenarios, a combined power supply scheme using dry cell batteries and energy storage circuits has been proposed for smart door locks in recent years. Dry cell batteries, as the basic power supply unit, have advantages such as simple structure, low cost, and easy replacement, making them the mainstream power supply choice for many low-power smart devices. Energy storage circuits refer to auxiliary power supply circuits that can store electrical energy and perform rapid charging and discharging. They can work in conjunction with dry cell batteries to enhance the load-bearing capacity of the power supply unit formed by the dry cell batteries and energy storage circuits, and extend the lifespan of the dry cell batteries. Common implementations of energy storage circuits include, but are not limited to, combinations of rechargeable lithium batteries, supercapacitors, and other energy storage elements or units with energy storage characteristics.

[0005] When the smart lock is in operation, such as when the drive motor or fingerprint recognition module is running, the dry cell battery and energy storage circuit can work together to output power to supply the electrical load, meet the instantaneous high current demand, and prevent voltage drops. When the smart lock is in standby, sleep, or locked states, and the power consumption of the electrical load is low, the dry cell battery can charge the energy storage circuit, allowing the energy storage circuit to replenish and store electrical energy, reserving energy for the next high-power operation.

[0006] Typically, a charging start threshold voltage and a charging stop threshold voltage can be set. The charging start threshold voltage controls when the dry cell battery begins charging the energy storage circuit; when the terminal voltage of the energy storage circuit drops to this voltage value, the dry cell battery begins charging the energy storage circuit. The charging stop threshold voltage controls when the dry cell battery stops charging the energy storage circuit; when the terminal voltage of the energy storage circuit rises to this voltage value, the dry cell battery stops charging the energy storage circuit. Summary of the Invention

[0007] This disclosure provides a method for controlling a smart door lock and a smart door lock, which can identify or predict the unlocking scenario category involved in the most recent unlocking process. When distinguishing different unlocking scenario categories, it adaptively adjusts the charging stop threshold voltage to control the charging process of the dry cell battery to the energy storage circuit, so that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario. While ensuring power supply reliability, it optimizes the energy consumption of the dry cell battery and improves the overall power supply efficiency and adaptability of the combined power supply unit composed of the dry cell battery and the energy storage circuit.

[0008] According to one aspect of this disclosure, a method for controlling a smart lock is provided. The smart lock includes a dry cell battery for providing electrical power and an energy storage circuit. The method includes: identifying an unlocking scenario category based on the smart lock's most recent unlocking process or predicting the unlocking scenario category based on the number of external clients of the smart lock; determining a charging stop threshold voltage based on the unlocking scenario category; and controlling the dry cell battery to charge the energy storage circuit to the charging stop threshold voltage, wherein the unlocking scenario category includes normal unlocking scenarios, stuck scenarios, repeated attempts scenarios, fault scenarios, and dense passage scenarios.

[0009] In some embodiments, identifying the unlocking scenario category based on the most recent unlocking process of the smart door lock includes: identifying the unlocking scenario category based on the comparison of the peak current of the drive motor of the smart door lock during the most recent unlocking process with a first peak current threshold, the comparison of the average current of the drive motor during the most recent unlocking process with an average current threshold, and the comparison of the action time of the most recent unlocking process with a first time threshold and a second time threshold, wherein the first time threshold is less than the second time threshold.

[0010] In some embodiments, the unlocking scenario category is identified based on the comparison of peak current with a first peak current threshold, the comparison of average current with an average current threshold, and the comparison of action time with a first time threshold and a second time threshold, including: in response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, and the action time being greater than the first time threshold and less than the second time threshold, the unlocking scenario category is identified as a stuck scenario.

[0011] In some embodiments, the unlocking scenario category is identified based on the comparison of peak current with a first peak current threshold, the comparison of average current with an average current threshold, and the comparison of action time with a first time threshold and a second time threshold. This includes: in response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, the action time being greater than the first time threshold and less than the second time threshold, and the most recent unlocking process being successful, the unlocking scenario category is identified as a stuck scenario.

[0012] In some embodiments, the unlocking scenario category is identified based on a comparison of peak current with a first peak current threshold, a comparison of average current with an average current threshold, and a comparison of action time with a first time threshold and a second time threshold, including: in response to a peak current greater than the first peak current threshold, an average current greater than the average current threshold, and an action time greater than the second time threshold, the unlocking scenario category is identified as a fault scenario.

[0013] In some embodiments, the unlocking scenario category is identified based on a comparison of peak current with a first peak current threshold, a comparison of average current with an average current threshold, and a comparison of action time with a first time threshold and a second time threshold. This includes: identifying the unlocking scenario category as a fault scenario in response to a peak current greater than the first peak current threshold, an average current greater than the average current threshold, an action time greater than the second time threshold, and the most recent unlocking process failing.

[0014] In some embodiments, identifying an unlocking scenario category based on the most recent unlocking process of the smart lock includes: in response to the number of predetermined current pulses detected within a first preset time window during the most recent unlocking process being greater than or equal to a pulse number threshold, identifying the unlocking scenario category as a repeated attempt scenario, wherein the peak current of the predetermined current pulse is lower than a second peak current threshold and the duration of the predetermined current pulse is shorter than a duration threshold.

[0015] In some embodiments, predicting the unlocking scenario category based on the number of external clients of the smart lock includes: predicting the unlocking scenario category as a dense passage scenario in response to the increase in the number of external clients within a second preset time window being greater than or equal to a growth threshold.

[0016] In some embodiments, predicting the unlocking scenario category based on the number of external clients of the smart lock includes: predicting the unlocking scenario category as a dense passage scenario in response to the increase in the number of external clients within a second preset time window being greater than or equal to a growth threshold, and the second preset time window falling within a preset time period of a day.

[0017] In some embodiments, determining the charging stop threshold voltage based on the unlocking scenario category includes: determining the charging stop threshold voltage as a first voltage in response to the unlocking scenario category being a normal unlocking scenario; and determining the charging stop threshold voltage as a second voltage higher than the first voltage in response to the unlocking scenario category being one of a stuck scenario, a repeated attempt scenario, a fault scenario, and a dense passage scenario.

[0018] In some embodiments, in response to the unlocking scenario being classified as a jamming scenario, the second voltage is equal to the sum of the first voltage and the dynamic compensation value, the dynamic compensation value depending on the number of jamming events within a preset time period.

[0019] In some embodiments, in response to the unlocking scenario being one of repeated attempts, a failure scenario, or a dense traffic scenario, the second voltage is equal to the sum of the first voltage and a preset fixed value.

[0020] In some embodiments, the method further includes: in response to the unlocking scenario category being a repeated attempt scenario or a dense passage scenario, controlling the wireless communication module of the smart door lock to enter a connected mode from a sleep mode.

[0021] In some embodiments, the method further includes: in response to the unlocking scenario category being a dense passage scenario, increasing the charging start threshold voltage of the energy storage circuit, the charging start threshold voltage being used to trigger the dry battery to charge the energy storage circuit.

[0022] According to another aspect of this disclosure, a smart lock is provided. The smart lock includes a dry cell battery, an energy storage circuit, an electrical load, and a controller. The dry cell battery is used to supply power to the electrical load or charge the energy storage circuit under the control of the controller. The energy storage circuit, under the control of the controller, supplies power to the electrical load together with the dry cell battery. The controller is configured to perform the above-described method for controlling the smart lock.

[0023] Based at least on the above embodiments of this disclosure, it is possible to identify or predict the unlocking scenario category involved in the most recent unlocking process, and, in distinguishing different unlocking scenario categories, to control the charging process of the dry cell battery to the energy storage circuit by adaptively adjusting the charging stop threshold voltage, so that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario, thereby optimizing the energy consumption of the dry cell battery while ensuring power supply reliability, and improving the overall power supply efficiency and adaptability of the combined power supply unit composed of the dry cell battery and the energy storage circuit. Attached Figure Description

[0024] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to offer a further understanding of the embodiments of this disclosure and form part of the specification. The drawings, together with the embodiments of this disclosure, are used to explain this disclosure but do not constitute a limitation thereof. In the drawings, unless explicitly stated otherwise, the same reference numerals denote the same parts, steps, or elements.

[0025] Figure 1 A schematic diagram illustrating an example scenario involved in an embodiment of this disclosure is shown;

[0026] Figure 2 A flowchart of a method for controlling a smart door lock according to an embodiment of the present disclosure is shown;

[0027] Figure 3 A schematic diagram of the current characteristics of a smart door lock according to an embodiment of the present disclosure is shown;

[0028] Figure 4 Sub-steps of a method for controlling a smart door lock according to an embodiment of the present disclosure are shown;

[0029] Figure 5 Sub-steps of a method for controlling a smart door lock according to an embodiment of the present disclosure are shown;

[0030] Figure 6 A schematic diagram of a smart door lock according to an embodiment of the present disclosure is shown.

[0031] Those skilled in the art will understand that the elements in the accompanying drawings are illustrated for simplicity and clarity and are not necessarily drawn to scale. For example, the dimensions of some elements in the illustrations, block diagrams, or flowcharts may be exaggerated relative to other elements to aid in accurate understanding of this embodiment. Detailed Implementation

[0032] The technical solutions of this disclosure will now be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are part of, but not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without any creative effort fall within the protection scope of this disclosure.

[0033] In the description of this disclosure, it should be noted that terms such as “first,” “second,” and “third” are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Similarly, words such as “a,” “an,” or “the” do not indicate a quantity limitation but rather indicate the presence of at least one. Words such as “including” or “comprising” mean that the element or object preceding the word encompasses those elements or objects listed following the word and their equivalents, without excluding other elements or objects.

[0034] Furthermore, the technical features involved in the different embodiments of this disclosure described below can be combined with each other, as long as there is no conflict between them.

[0035] As mentioned above, dry cell batteries can work in conjunction with energy storage circuits to output electrical energy to power electrical loads, and dry cell batteries can also charge the energy storage circuit. Charging start-up and charging stop-down threshold voltages can be set to control the start and stop of the charging process. Typically, these threshold voltages are set to fixed values, allowing charging control to be based solely on the voltage state of the energy storage circuit. However, in practical applications, smart door locks encounter various unlocking scenarios, such as normal unlocking, unlocking with significant resistance to door jamming, and repeated high-frequency unlocking. Under different unlocking scenarios, the instantaneous current magnitude, duration, and peak power demand of the load vary significantly, resulting in different requirements for the load-carrying capacity and instantaneous output capacity of the combined power supply unit composed of dry cell batteries and energy storage circuits. If a fixed charging stop threshold voltage is used, on the one hand, in unlocking scenarios with high load and high current demand, the pre-charge voltage of the energy storage circuit may be insufficient, failing to meet the instantaneous high power output, resulting in insufficient power supply capacity of the combined power supply unit and abnormal door lock operation; on the other hand, if the charging stop threshold voltage is set too high, the energy storage circuit will be charged to an excessively high voltage in light load or normal unlocking scenarios, causing energy redundancy, increasing unnecessary power consumption of the dry cell battery, and shortening the overall battery life.

[0036] To address at least some of the aforementioned problems, this disclosure provides a method for controlling a smart lock and a smart lock that can identify or predict the unlocking scenario category involved in the most recent unlocking process. Furthermore, by adaptively adjusting the charging stop threshold voltage, it controls the charging process of the dry cell battery to the energy storage circuit, ensuring that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario. This optimizes the energy consumption of the dry cell battery while guaranteeing power supply reliability, thereby improving the overall power supply efficiency and adaptability of the combined power supply unit composed of the dry cell battery and the energy storage circuit.

[0037] Figure 1 A schematic diagram of an example scenario 100 involving embodiments of this disclosure is shown. For example... Figure 1As shown, a smart lock may include a dry cell battery 110, an energy storage circuit 120, an electrical load 130, and a controller 140. The dry cell battery 110 has advantages such as simple structure, low cost, and easy replacement, and can serve as a basic power supply unit for smart devices, being a mainstream power supply choice for many low-power smart devices. The energy storage circuit 120 can be a power supply circuit that realizes energy storage and rapid charging and discharging. It can cooperate with the dry cell battery to improve the load capacity of the combined power supply unit formed by the dry cell battery and the energy storage circuit and extend the lifespan of the dry cell battery. Common implementations of the energy storage circuit 120 include, but are not limited to, combinations of rechargeable lithium batteries, supercapacitors, and other energy storage elements or units with energy storage characteristics. Under the control of the controller 140, the dry cell battery 110 can supply power to the electrical load 130 independently, can supply power to the electrical load 130 together with the energy storage circuit 120, can charge the energy storage circuit 120, or the energy storage circuit 120 can supply power to the electrical load 130 independently.

[0038] The electrical load 130 is an energy-consuming unit, which may include one or more heavy-load modules and one or more light-load modules. The heavy-load modules may be, for example, the drive motor of the smart door lock, the wireless communication module, etc.; while the light-load modules may be, for example, the sensor module of the smart door lock, the fingerprint recognition module, etc.

[0039] When the smart lock is in operation, such as when the electrical load 130 (e.g., the drive motor, wireless communication module, fingerprint recognition module) is running, the dry cell battery 110 and the energy storage circuit 120, under the control of the controller 140 in the smart device, can work together to output power to supply the electrical load 130, meeting the instantaneous high current demand and preventing voltage drops. When the smart lock is in standby, sleep, or locked states, the power consumption of the electrical load 130 is low. The dry cell battery 110, under the control of the controller 140, can charge the energy storage circuit 120, replenishing and storing electrical energy to reserve energy for the next high-power operation.

[0040] The controller 140 can be implemented by a processor or a microcontroller unit (MCU). In this disclosure, the controller 140 can identify or predict the unlocking scenario category involved in the most recent unlocking process. The unlocking scenario categories can include, for example, normal unlocking scenarios, jamming scenarios, repeated attempts scenarios, fault scenarios, and dense traffic scenarios. A normal unlocking scenario refers to a single, routine unlocking operation performed by the user, where the lock's bolt or actuator moves smoothly without significant resistance, and the operating current and duration of the drive motor are within the normal range. A jamming scenario refers to an abnormal unlocking scenario where the lock's bolt or actuator is obstructed by foreign objects, experiences excessive assembly resistance, or is mechanically jammed, resulting in increased load on the drive motor, increased operating current, and prolonged unlocking time, but the lock still unlocks successfully. A repeated attempt scenario refers to a continuous operating scenario where the user makes multiple unlocking attempts within a short period but fails to trigger the unlocking action normally, causing the combined power supply unit to frequently output current. Fault scenarios refer to situations where the door lock experiences mechanical failures, electrical abnormalities, or drive circuit malfunctions, resulting in abnormal fluctuations and persistently high operating current in the drive motor, leading to unlocking failures. High-traffic scenarios refer to situations where multiple people continuously enter and exit within a short period, causing the door lock to be triggered multiple times to attempt unlocking. Jammed, repeated attempt, fault, and high-traffic scenarios typically involve greater current demands than normal unlocking scenarios, placing higher requirements on the instantaneous load-carrying capacity and continuous power supply capability of the combined power supply unit composed of dry cell batteries and energy storage circuits.

[0041] The controller 140 can adaptively adjust the charging stop threshold voltage to control the charging process of the dry cell battery 110 to the energy storage circuit 120, based on different unlocking scenarios. This ensures that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario. Therefore, on the one hand, in unlocking scenarios with high load and high current demands, the energy storage circuit can be pre-charged to a relatively high voltage to meet high power output requirements, ensuring the power supply capacity of the combined power supply unit consisting of the dry cell battery and the energy storage circuit. On the other hand, in light load or normal unlocking scenarios, the energy storage circuit is charged to an appropriate voltage to avoid energy redundancy and unnecessary power consumption of the dry cell battery. By doing so, while ensuring power supply reliability, the energy consumption of the dry cell battery is optimized, improving the overall power supply efficiency and adaptability of the combined power supply unit consisting of the dry cell battery and the energy storage circuit.

[0042] Now for reference Figure 2 . Figure 2 A flowchart of a method 200 for controlling a smart door lock according to an embodiment of the present disclosure is shown. Figure 2 Method 200 in the middle can be derived from Figure 1 The controller 140 in the middle executes. The following is in conjunction with... Figure 1 To describe Figure 2 The method in [the text]. For example... Figure 2As shown, method 200 may include steps S210 to S230. In step 210, the unlocking scenario category may be identified based on the most recent unlocking process of the smart lock or predicted based on the number of external clients of the smart lock.

[0043] As described above, unlocking scenarios can include normal unlocking scenarios, stuck scenarios, repeated attempts scenarios, fault scenarios, and dense traffic scenarios. Different unlocking scenarios correspond to different power demands, thus placing different requirements on the energy stored in the energy storage circuit. For example, stuck scenarios, repeated attempts scenarios, fault scenarios, and dense traffic scenarios typically involve greater current demands than normal unlocking scenarios, requiring higher instantaneous load-carrying capacity and continuous power supply capacity from the combined power supply unit composed of the dry cell battery and the energy storage circuit. In the embodiments of this disclosure, the charging stop threshold voltage related to the charging process of the dry cell battery 110 to the energy storage circuit 120 can be dynamically changed based on the unlocking scenario to adapt to the power demands under different scenarios. For this purpose, it is necessary to first determine the unlocking scenario. The unlocking scenario here can be the unlocking scenario involved in the most recent unlocking process or a predicted future unlocking scenario. In the embodiments of this disclosure, the unlocking scenario categories that can be identified based on the most recent unlocking process of the smart door lock include, for example, normal unlocking scenarios, stuck scenarios, repeated attempts scenarios, and fault scenarios. Unlocking scenarios that can be predicted based on the number of external clients of a smart lock include, for example, dense traffic scenarios.

[0044] The normal unlocking scenario, jamming scenario, repeated attempt scenario, and fault scenario involved in the most recent unlocking process of a smart door lock can be characterized by the current characteristics of the smart door lock's drive motor during this unlocking process. The drive motor of the smart door lock is used to drive the bolt movement to realize the bolt retraction (unlocking) and extension (locking). Figure 3 A schematic diagram illustrating the current characteristics of a smart door lock according to an embodiment of the present disclosure is shown. Figure 3 As shown, compared to normal unlocking scenarios, jamming and malfunction scenarios typically involve a larger current flowing through the drive motor (which can be represented by, for example, instantaneous current, peak current, average current, etc.) and a longer unlocking process duration. Here, the unlocking process duration can refer to the time interval from the start of the drive motor's drive signal output to the stop of that drive signal output. Repeated attempts can typically be characterized as follows: Figure 3 The illustration shows multiple current pulses flowing through the dry cell battery.

[0045] Therefore, the unlocking scenario involved in the most recent unlocking process of the smart door lock can be identified based on the above current characteristics. Figure 4 An embodiment according to this disclosure is shown. Figure 2 The sub-step of step S210 in the example. Figure 4As shown, step S210 may include sub-step S211. Sub-step S211 involves identifying the unlocking scenario category based on the aforementioned current characteristics during the most recent unlocking process. Specifically, in sub-step S211, the peak current I of the smart lock's drive motor during the most recent unlocking process can be used as a basis. peak With the first peak current threshold I peak_thresh1 Comparison, average current I of the drive motor during the most recent unlocking process avg With average current threshold I avg_thresh The comparison, and the action time T of the most recent unlocking process. action With the first time threshold T thresh1 Second time threshold T thresh2 The comparison identifies the unlocking scenario category. Here, the first time threshold T... thresh1 It can be less than the second time threshold T thresh2 Those skilled in the art will understand that the aforementioned peak current I peak It can refer to the maximum operating current of the drive motor during the operation time of the most recent unlocking process, the aforementioned average current I avg It can refer to the average operating current of the drive motor during the operation time of the most recent unlocking process, the aforementioned operation time T. action It can refer to the time interval from the start of the drive motor's drive signal output to the stop of the drive signal output during the most recent unlocking process.

[0046] First peak current threshold I peak_thresh1 Average current threshold I avg_thresh First time threshold T thresh1 Second time threshold T thresh2 The settings can be configured based on various parameters corresponding to the smart lock under normal unlocking scenarios. For example, the peak current of the drive motor can be collected during N (N is a positive integer greater than 1) normal unlocking processes of the smart lock, such as 50 times, and the average value can be calculated to obtain the peak current reference value. The first peak current threshold I... peak_thresh1 This can be set to a preset multiple of the peak current reference value, such as 1.3 times, 1.5 times, etc. Similarly, the average current of the drive motor during the above N normal unlocking processes can be collected, and its average value can be calculated to obtain the average current reference value. Average current threshold I avg_thresh This can be set to a preset multiple of the average current reference value, such as 1.3 times, 1.5 times, etc. Simultaneously, the action time of the above N normal unlocking processes can be collected, and their average value can be calculated to obtain the action time reference value. Based on this action time reference value, a first time threshold T is set for each of these N times. thresh1 Second time threshold T thresh2 For example, the first time threshold T thresh1It can be set to a preset multiple of the action time base value, such as 1.3 times, 1.5 times, etc., and the second time threshold T thresh2 It can also be set to a preset multiple of the baseline value for the action time, such as 5 times, 10 times, etc. During actual use, smart locks are affected by normal factors such as installation environment, door deformation, bolt friction, natural battery voltage decay, and temperature changes. The peak current, average current, and action time during different unlocking processes will fluctuate within a certain range. By setting the above thresholds as preset multiples of the baseline value, a reasonable tolerance range is established for each parameter (peak current, average current, and action time). This effectively filters out normal fluctuations caused by environmental factors, assembly, and wear and tear. Only when each parameter significantly exceeds the normal fluctuation range is it judged as an abnormal unlocking scenario, thereby improving the accuracy and robustness of unlocking scenario category recognition and avoiding misjudgments and frequent adjustments.

[0047] Compared to normal unlocking scenarios, in jammed scenarios, both the peak and average currents of the drive motor increase, and the unlocking process takes slightly longer than in normal unlocking scenarios. Based on these current characteristics and the thresholds set above, the unlocking scenario category of the most recent unlocking process can be identified. Accordingly, in some embodiments, step S211 may include responding to the peak current I... peak Greater than the first peak current threshold I peak_thresh1 Average current I avg Greater than the average current threshold I avg_thresh Action time T action Greater than the first time threshold T thresh1 And less than the second time threshold T thresh2 This allows the unlocking scenario to be identified as a stuck scenario. By combining parameters from three dimensions—peak current, average current, and action time—for a comprehensive judgment, the accuracy and reliability of unlocking scenario classification can be effectively improved, avoiding misjudgments caused by fluctuations in a single parameter.

[0048] Similar to the stuck scenario, in the fault scenario, the peak and average currents of the drive motor are both increased compared to the peak and average currents in the normal unlocking scenario. Furthermore, the unlocking process time in the fault scenario is significantly longer than that in the normal unlocking scenario. In fact, the action time in the fault scenario can be even longer than that in the stuck scenario, exceeding the aforementioned second time threshold T. thresh2 Based on these current characteristics and in conjunction with the various thresholds set above, the unlocking scenario category of the most recent unlocking process can be identified. Accordingly, in some embodiments, step S211 above may include, in response to peak current I... peak Greater than the first peak current threshold I peak_thresh1 Average current Iavg Greater than the average current threshold I avg_thresh And the action time T action Greater than the second time threshold T thresh2 This allows for the identification of unlocking scenarios as fault scenarios. By combining parameters from three dimensions—peak current, average current, and action time—for comprehensive judgment, the accuracy and reliability of unlocking scenario identification can be effectively improved, avoiding misjudgments caused by fluctuations in a single parameter.

[0049] In the process of identifying the aforementioned stuck and faulty scenarios, it is actually based on the action time T. action Compared with the first time threshold T respectively thresh1 Second time threshold T thresh2 The comparison is used to indirectly determine whether the unlocking action was successful, thus distinguishing between jammed and faulty scenarios. However, in practical applications, misjudgments may still occur. For example, when the lock body is jammed with very high resistance, although the drive motor may barely complete the unlocking action, the required action time may exceed the second time threshold T. thresh2 If the judgment is based solely on the threshold of action time, such stuck scenarios may be misclassified as fault scenarios, affecting the accuracy of recognition.

[0050] To effectively eliminate the aforementioned misjudgment problem and improve the accuracy and robustness of identifying stuck scenarios, in some embodiments, in the identification of stuck and fault scenarios, in addition to the three dimensions of peak current, average current and action time mentioned above, an additional judgment condition of whether the unlocking process is successful can be introduced.

[0051] Therefore, for the identification of stuck scenarios, step S211 above may include, in response to peak current I peak Greater than the first peak current threshold I peak_thresh1 Average current I avg Greater than the average current threshold I avg_thresh Action time T action Greater than the first time threshold T thresh1 And less than the second time threshold T thresh2 Furthermore, if the most recent unlocking process was successful, the unlocking scenario is identified as a stuck scenario. Similarly, for the identification of fault scenarios, step S211 above may include, in response to peak current I... peak Greater than the first peak current threshold I peak_thresh1 Average current I avg Greater than the average current threshold I avg_thresh Action time T action Greater than the second time threshold T thresh2Furthermore, if the most recent unlocking attempt failed, the unlocking scenario will be classified as a failure scenario. The success of the unlocking process can be determined using known detection methods, such as based on signals from a bolt position sensor. If the bolt position sensor detects that the bolt has fully retracted to the unlock position and maintained it for a preset duration, the unlocking process is considered successful; otherwise, it is considered a failure.

[0052] Such as combination Figure 3 As described, in the repeated attempt scenario, due to multiple unlocking attempts within a short period without successfully triggering the unlocking action, the drive motor does not operate; that is, the drive motor does not run. In this case, only some low-power modules (such as the controller (MCU), fingerprint recognition module, LED indicator module, etc.) repeatedly operate. The current characteristics in the repeated attempt scenario differ from those in the normal unlocking scenario and the stuck scenario. There is no operating current from the drive motor; instead, it manifests as multiple relatively small, discrete current pulses due to the repeated operation of low-power modules. This current characteristic can be used to distinguish the repeated attempt scenario from other unlocking scenarios. Accordingly, in some embodiments, such as... Figure 4 As shown, step S210 may further include sub-step S212. In sub-step S212, in response to the first preset time window T during the most recent unlocking process... win1 The number N of predetermined current pulses detected internally pulse Greater than or equal to the pulse number threshold N pulse_thresh This allows the unlocking scenario to be categorized as a repeated attempt scenario. Here, the predetermined current pulse can refer to a current pulse with a peak current I. pulse_peak Below the second peak current threshold I peak_thresh2 And the duration D pulse Shorter than the duration threshold D thresh .

[0053] First preset time window T win1 and pulse number threshold N pulse_thresh The value can be set according to the actual application scenario of the smart lock. For example, the first preset time window T win1 It can be set to 30 seconds to cover the typical duration of multiple unlock attempts by a user within a short period. Pulse count threshold N pulse_thresh It can be set to 3 to distinguish between normal unlocking operations and abnormal continuous triggering behavior.

[0054] During the most recent unlocking process, the operating current signal flowing through the dry cell battery can be collected in real time. The collected current signal is preprocessed, including filtering and peak detection, to select a predetermined current pulse that meets preset conditions. As mentioned above, the peak current I of the predetermined current pulse... pulse_peakBelow the second peak current threshold I peak_thresh2 And the duration D of the predetermined current pulse pulse Shorter than the duration threshold D thresh Set the second peak current threshold I. peak_thresh2 This is to distinguish between short, minute current pulses in repeated trial scenarios and the large currents continuously flowing from the motor in normal unlocking or jamming scenarios, thus avoiding misinterpreting current signals from non-repeated trial scenarios as pulses. A duration threshold D is set. thresh This is to limit the short-term characteristics of the current pulse, exclude current fluctuations during normal motor operation, and ensure that the selected current pulses are all caused by the repeated operation of low-power modules in repeated trial scenarios. The second peak current threshold I... peak_thresh2 and duration threshold D thresh The value can also be set according to the actual application scenario of the smart lock. For example, the second peak current threshold I can be set. peak_thresh2 Set to 100mA, and set the duration threshold D. thresh Set to 200ms.

[0055] Subsequently, the first preset time window T was statistically analyzed. win1 The number N of the aforementioned predetermined current pulses detected internally pulse When the statistically obtained number of pulses is greater than or equal to the pulse number threshold N. pulse_thresh If the user makes multiple attempts to unlock the door within a short period of time without successfully triggering the unlocking action, this indicates a repeated attempt scenario. In this case, the unlocking scenario category of the most recent unlocking process can be identified as a repeated attempt scenario. This identification method, based on the aforementioned current characteristics and multiple thresholds, can distinguish repeated attempt scenarios from other unlocking scenarios, providing a reliable scenario basis for subsequent processing and power consumption control strategies.

[0056] In addition, as mentioned above, in step S210, besides identifying the unlocking scenario category based on the smart lock's most recent unlocking process, the unlocking scenario category can also be predicted based on the number of external clients of the smart lock. The smart lock can obtain the number of external clients within a short range in real time through its wireless communication module. The external clients described here refer to wireless terminal devices located near the smart lock that are not part of the home local area network, including but not limited to user mobile phones, tablets, smart wearable devices, and other terminal devices that can establish a communication connection with the lock. In densely populated scenarios such as family gatherings and visits from relatives and friends, the number of visitors is generally large, often resulting in a rapid increase in the number of external clients within a short period. Therefore, a time window and a threshold for the increase in the number of clients can be preset. By monitoring the dynamic changes in the number of external clients, the unlocking scenario category can be predicted, thereby addressing the potential higher demands on the instantaneous load-bearing capacity and continuous power supply capacity of the combined power supply unit due to the arrival of more visitors.

[0057] Therefore, as Figure 4 As further shown, step S210 may also include sub-step S213. In sub-step S213, in response to the number of external clients, a second preset time window T... win2 The growth amount within △ is greater than or equal to the growth amount threshold △ thresh The unlocking scenario can be predicted as a dense traffic scenario. The smart lock's wireless communication module can periodically scan surrounding wireless signals such as Bluetooth or Wi-Fi to determine the number of external clients. For example, the wireless communication module can obtain the identification information of surrounding devices, Received Signal Strength Indicator (RSSI), and / or Service Set Identifier (SSID) through the above scan, and send the scan results to the controller 140. The controller 140 can then determine the number of external clients based on the above information. The smart lock can count the data in real time within a second preset time window T. win2 Calculate the change in the number of internal and external clients, and the increase in the number of clients. If the number of external clients increases within the second preset time window T... win2 The growth amount within △ is greater than or equal to the growth amount threshold △ thresh This indicates that multiple external clients are located near the smart lock in the current environment, which matches the scenario characteristics of multiple people being present simultaneously and passing through continuously. In this case, the unlocking scenario category can be predicted as a dense passage scenario. The second preset time window T win2 It can be flexibly configured according to actual application needs, such as setting it to 3 minutes, 5 minutes, etc., to capture the behavior of multiple clients converging or appearing in a short period of time. Growth threshold △ thresh It can also be flexibly configured according to actual application needs, and can be adaptively adjusted according to parameters such as the number of permanent residents in the household and visitor frequency, for example, set to 3, 5, etc. For example, the second preset time window T can be...win2 Set to 5 minutes, and set the growth threshold △ thresh Setting it to 3 ensures that if the number of external clients increases by 3 or more within 5 minutes, the unlocking scenario is predicted as a dense passage scenario.

[0058] By using the scenario prediction method based on the number of external clients, dense passage scenarios can be identified in advance before a large number of unlocking actions occur. This allows the door lock system to switch to a working mode that adapts to continuous passage of multiple people in advance, such as enabling high-response drive strategies and optimizing power consumption output modes in advance. This ensures smooth unlocking and passage efficiency while improving system stability.

[0059] In some cases, in addition to considering the increase in the number of external clients within a preset time window, time periods throughout the day can also be considered to help determine the unlocking scenario category. In home or office environments, unlocking needs involving multiple people and dense traffic usually concentrate at specific times, such as after get off work in the evening, evening gatherings, and peak visitor times on holidays. The probability of a large number of external clients appearing in a short period during the early morning or weekday daytime is lower. Therefore, introducing time periods throughout the day as an auxiliary judgment condition can improve the accuracy and reliability of unlocking scenario category identification, avoiding misjudgments caused by occasional fluctuations in client connections during off-peak hours.

[0060] Therefore, the aforementioned sub-step S213 can be replaced by a sub-step S213' (not shown in the figure) that additionally considers time periods within a day. In sub-step S213', in response to the number of external clients, a second preset time window T... win2 The growth amount within △ is greater than or equal to the growth amount threshold △ thresh And the second preset time window T win2 Falling into the preset time period P of the day preset This allows us to predict unlocking scenarios as high-traffic scenarios. The time period P during the day... preset This typically corresponds to typical scenarios involving multiple people traveling continuously, such as visits from relatives and friends or evening gatherings, and matches the rapidly growing number of clients. The second preset time window T win2 As described above, it can be flexibly configured according to actual application needs, such as setting it to 3 minutes, 5 minutes, etc., to capture the behavior of multiple external clients appearing in the vicinity of the smart lock within a short period of time. Growth threshold △ thresh As mentioned above, it can be flexibly configured according to actual application needs, and can also be adaptively adjusted based on parameters such as the number of permanent residents in the household and visitor frequency, for example, set to 3, 5, etc. For example, a preset time period P in a day preset It can be set to the time period from 18:00 to 22:00, and the second preset time window T can be set.win2 Set to 5 minutes, and set the growth threshold △ thresh Setting it to 3 ensures that if the number of external clients increases by 3 or more within 5 minutes, and that 5 minutes falls within the 18:00 to 22:00 time period, the unlocking scenario can be predicted as a dense traffic scenario. By combining the increase in the number of clients within a preset time window with a preset time period of day, the false positive rate of the scenario can be significantly reduced, and the accuracy and reliability of unlocking scenario category recognition can be improved.

[0061] It is understandable that although sub-steps S211 to S213 are shown as being executed sequentially, they are not actually executed in strict order as shown in the diagram. Instead, they can be executed one by one, in parallel, or in a loop, depending on the smart lock’s most recent unlocking process and the number of external clients.

[0062] Return to reference Figure 2 After identifying or predicting the unlocking scenario category through step S210, in step S220, the charging stop threshold voltage V can be determined based on the unlocking scenario category. stop As mentioned above, the charging stop threshold voltage V stop This is used to control when the dry cell battery 110 stops charging the energy storage circuit 120. When the terminal voltage of the energy storage circuit 120 rises to this voltage value, the dry cell battery 110 stops charging the energy storage circuit 120. In embodiments of this disclosure, the charging stop threshold voltage V associated with the charging process of the dry cell battery 110 to the energy storage circuit 120 is... stop It can dynamically change based on the unlocking scenario category to adapt to the power demand in different scenarios. The energy storage capacity of the energy storage circuit can be matched with the power demand of the corresponding unlocking scenario, so as to optimize the energy consumption of dry cell batteries while ensuring power supply reliability, and improve the overall power supply efficiency and adaptability of the combined power supply unit composed of dry cell batteries and energy storage circuit.

[0063] Different unlocking scenarios may have different requirements for the charging stop threshold voltage and subsequent processing.

[0064] For example, if the smart lock's most recent unlocking process involved a jamming scenario, it indicates that the mechanical resistance of the latch or actuator was high and the drive motor was under heavy load during unlocking. This places higher demands on the instantaneous high-current output capability and continuous power supply capability of the combined power supply unit composed of the dry cell battery 112 and the energy storage circuit 120. To ensure that the combined power supply unit has sufficient load-carrying capacity for the next unlocking attempt and to avoid unlocking failure or system abnormalities due to voltage drops, it is necessary to appropriately increase the charging stop threshold voltage. This allows the energy storage circuit 120 to be charged to a higher voltage and store more energy when the smart lock is not in operation. Corresponding follow-up processing requirements may include controlling the smart lock's alarm module to issue reminders to the user through voice prompts, information displayed on the screen, etc., to inform the user of the jamming situation and prompt the user to check and clear any obstructions.

[0065] Similarly, if the smart lock's most recent unlocking process involved a fault scenario, it indicates that the lock may have electrical abnormalities, drive circuit malfunctions, or mechanical structural failures. After a fault occurs, the smart lock typically needs to perform fault detection, emergency activation, or activate wireless communication modules such as Bluetooth or Wi-Fi to promptly report fault information and push abnormal notifications to the user's client. This leads to increased system power consumption. To prevent the lock from malfunctioning, experiencing communication interruptions, or failing due to insufficient power supply, the charging stop threshold voltage needs to be increased. This allows the energy storage circuit to be charged to a higher voltage when the smart lock is not in operation, storing more energy. This enhances the load-bearing capacity and voltage stability of the combined power supply unit consisting of the dry cell battery and the energy storage circuit, ensuring that the smart lock can still perform fault detection, information reporting, and emergency activation in fault scenarios, thus improving overall security and reliability. Corresponding follow-up processing requirements may include controlling the smart lock's drive motor to stop working, and controlling the smart lock's alarm module to issue an alarm, report fault information (via the wireless communication module), and push abnormal notifications.

[0066] In actual use of smart locks, repeated attempts are quite common. For example, homeowners can set a temporary password for visitors with a validity period of 3 days. If the visitor tries to unlock the door again after 4 days using the expired password, the lock will determine the unlocking command is invalid and refuse to unlock because the password has expired. At this time, the visitor is unaware that the password has expired and will repeatedly enter the password to try to unlock the door, thus triggering multiple unlocking verification processes in a short period of time. Although each verification fails, the smart lock will still sequentially activate the fingerprint / password recognition module, the key detection module, and related control circuits, forming multiple consecutive power-triggered processes in a short period of time.

[0067] When a recent unlocking attempt involves repeated attempts, it typically indicates a possible invalid unlocking credential, input error, or permission change. In such cases, the homeowner often subsequently sends a new temporary password, updates unlocking permissions, or initiates a remote unlocking request to the smart lock via a client application (e.g., a mobile app). To handle these transactions, the smart lock needs to activate its Bluetooth or other wireless communication modules to establish a continuous connection and exchange data with the homeowner's client. This high communication load results in significant instantaneous power consumption and current fluctuations. To ensure stable operation of the wireless communication module and prevent connection interruptions, command failures, or communication anomalies due to insufficient power supply, the charging stop threshold voltage needs to be increased, allowing the energy storage circuit to pre-store more energy. Subsequent processing may include controlling the wireless communication module to maintain a stable connection, receiving and parsing the temporary password sent by the client, and updating local unlocking permission information.

[0068] For example, if it is predicted that the smart lock will subsequently enter a high-traffic scenario, the charging stop threshold voltage also needs to be increased. High-traffic scenarios typically involve multiple people frequently entering and exiting within a short period, with the lock repeatedly performing unlocking and locking actions. The high frequency of unlocking and the dense actions cause the combined power supply unit, consisting of the dry cell battery and energy storage circuit, to operate in a continuous, high-frequency, high-current output state. Furthermore, high-traffic scenarios may also involve activating the smart lock's Bluetooth or other wireless communication modules to issue temporary passwords or update unlocking permissions. In this situation, if the energy storage circuit's energy reserves are insufficient, the combined power supply unit may experience insufficient power supply capacity, leading to slower unlocking response, abnormal actions, or even unlocking failure. By increasing the charging stop threshold voltage, the energy storage circuit can be pre-charged to a higher voltage when the smart lock is not in operation, storing more energy. This improves the combined power supply unit's continuous load-carrying capacity and instantaneous output capacity, stably handling the continuous high-power demand from frequent door opening and closing during high-traffic periods, ensuring the lock continues to operate reliably and stably even when multiple people are continuously entering and exiting. Furthermore, the corresponding follow-up processing may include increasing the charging frequency of the energy storage circuit 120 to replenish the energy storage circuit 120 more frequently and promptly during the intervals between unlocking actions. This can be achieved by increasing the charging start-up threshold voltage of the energy storage circuit 120.

[0069] As can be seen from the above description, different unlocking scenario categories may have different requirements for the charging stop threshold voltage and subsequent processing. Specifically, the charging stop threshold voltage in jammed scenarios, repeated attempt scenarios, fault scenarios, and dense traffic scenarios can be higher than the charging stop threshold voltage in normal unlocking scenarios to meet the higher energy storage requirements of the energy storage circuit in these scenarios. Therefore, in some embodiments, step S220 may include determining the charging stop threshold V for each of the normal unlocking scenario and the jammed scenario, repeated attempt scenario, fault scenario, and dense traffic scenario. stop Sub-steps. Figure 5 These sub-steps of step S220 according to an embodiment of this disclosure are shown. For example... Figure 5 As shown, step S220 may include sub-steps S221 and S222.

[0070] In sub-step S221, in response to the unlocking scenario category being a normal unlocking scenario, the charging stop threshold voltage V can be set. stop The first voltage V1 is determined. The first voltage V1 can be the default charging stop voltage of the smart door lock in normal working mode. It can meet the basic power requirements such as normal single unlocking, standby maintenance, and normal low-power communication. While ensuring the reliable operation of the door lock, it helps to reduce the charging frequency, reduce power consumption and extend the life of dry cell batteries.

[0071] In sub-step S222, in response to the unlocking scenario category being one of the following: stuck scenario, repeated attempt scenario, fault scenario, and dense passage scenario, the charging stop threshold voltage V can be increased. stop The second voltage V2 is determined. This second voltage V2 can be higher than the first voltage V1. This is achieved by adjusting the charging stop threshold voltage V. stop By increasing the voltage from the conventional first voltage V1 to a higher second voltage V2, the energy storage circuit 120 can be charged to a higher voltage level when the smart lock is not in operation, thereby pre-storing more electrical energy, improving the instantaneous load-carrying capacity and voltage stability of the combined power supply unit, and avoiding problems such as insufficient power supply, abnormal operation, communication interruption or unlocking failure caused by high load, high current or continuous power consumption. This ensures that the smart lock can still operate stably and reliably in various scenarios with high power consumption, high load or high reliability requirements.

[0072] It is understandable that although sub-steps S221 and S222 are shown as being executed sequentially, they are not actually executed in strict order as shown in the diagram. Instead, they can be executed selectively based on the unlocking scenario category.

[0073] Furthermore, the calculation method for the second voltage can be further refined based on the different power demand and load characteristics of scenarios such as stuck scenarios, repeated attempts, fault scenarios, and dense traffic scenarios.

[0074] On the one hand, jamming scenarios typically stem from intermittent, short-lived mechanical anomalies, such as slight obstruction of the latch or temporary jamming by foreign objects in the door gap. Their duration and load intensity are usually not high. Therefore, in some embodiments, for jamming scenarios, a dynamic adjustment method can be used to gradually increase the second voltage V2 to achieve an adaptive match between the power supply capacity and the actual degree of anomaly. For example, the second voltage V2 can be set equal to the first voltage V1 plus the dynamic compensation value V. dynamic The sum. That is, the second voltage V2 can be calculated using the formula V2 = V1 + V. dynamic To calculate. In some embodiments, the dynamic compensation value V dynamic It can depend on the number of stuck events N within a preset time period. sticky The charging stop threshold voltage is adjusted incrementally based on the frequency of jamming. For example, the dynamic compensation value V... dynamic It can be determined by the following formula:

[0075] V dynamic =min (N sticky ×0.1V, 0.4V).

[0076] N sticky This counts the number of lag events detected within a preset time period. Within this preset time period (e.g., within 24 hours, 3 days, etc.), each time a lag scenario is identified, the lag event is counted as N. sticky Accumulate the values. 0.1V is the voltage compensation step size corresponding to a single jamming event, and 0.4V is the upper limit threshold of the dynamic compensation value. Through the above settings, the dynamic compensation value V can be... dynamic Count N of stuck events sticky The voltage gradually increases with each increment, and is limited to no further increase after reaching 0.4V. This allows for a gradual, adaptive increase in the charging stop threshold voltage. This ensures that the energy storage circuit 120 has sufficient energy reserves and driving capability in jammed scenarios, while preventing the energy storage circuit 120 from being in a prolonged overcharged state due to an excessively high charging stop threshold voltage, which could lead to reduced lifespan and stability. Simultaneously, it avoids unnecessary charging losses to the dry cell battery 110, achieving an optimal balance between reliability, safety, and energy consumption in the combined power supply unit composed of the dry cell battery 110 and the energy storage circuit 120, thus realizing adaptive and gradual charging process adjustment.

[0077] On the other hand, for repeated trial scenarios, fault scenarios, and dense traffic scenarios, which are typically characterized by high instantaneous power consumption, high continuous load, frequent communication interactions, or continuous driving, the requirements for the energy storage circuit's energy reserve and instantaneous output capability are higher. Therefore, when any of the above scenarios is identified based on the most recent unlocking process, a one-time boost adjustment strategy can be adopted to directly raise the second voltage V2 to a preset higher level. For example, the second voltage V2 can be set as the first voltage V1 plus a preset fixed value V set The sum, that is, the second voltage V2, can be calculated using the formula V2 = V1 + V set This is used for calculation. In this way, the charging stop threshold voltage of the energy storage circuit can be quickly and sufficiently increased, allowing it to be charged to a higher voltage and store more energy. This significantly improves the load-carrying capacity and instantaneous output capacity of the combined power supply unit, meeting the power requirements of the smart lock to operate continuously and reliably under high power consumption and high load scenarios. Indicatively, a preset fixed value V... set A value of 0.4V can be used to quickly improve power supply capacity while taking into account the operational safety of the energy storage circuit and the power consumption of the dry cell battery.

[0078] Return to reference Figure 2 .like Figure 2 As shown, method 200 may further include step S230. In step 230, the dry cell battery 110 can be controlled to charge the energy storage circuit 120 to the charging stop threshold voltage V determined in step S220. stop Step S230 can be executed when the smart lock is not in operation, such as when the smart lock is in standby, hibernation, or locked state, or during the idle period between two adjacent unlocking actions. This allows for the replenishment of power to the energy storage circuit 120 without affecting the normal operation and response of the smart lock. By charging the energy storage circuit 120 to a charging stop threshold voltage matching the unlocking scenario category, the energy storage circuit 120 can store sufficient power to provide stable and reliable power supply support for subsequent high-power operations such as unlocking, motor driving, and wireless communication.

[0079] In addition, as mentioned above, after identifying the stuck scenario, in addition to adjusting the charging stop threshold voltage, corresponding subsequent processing operations can also be performed.

[0080] For example, in some embodiments, in response to the unlocking scenario being a stuck scenario, method 200 may further include controlling the alarm module of the smart lock to issue a reminder to the user through voice prompts, information displayed on the screen, etc., to inform the user that there is a stuck situation and to prompt the user to check and clear the obstruction.

[0081] In addition, as mentioned above, after identifying repeated trial scenarios, fault scenarios, or predicted dense traffic scenarios, in addition to adjusting the charging stop threshold, corresponding follow-up processing operations can be performed to further improve the security, fault traceability, and user interaction experience of the smart door lock.

[0082] For example, as mentioned above, in scenarios involving repeated attempts or dense passage, subsequent processing operations may include waking up the smart lock's wireless communication module, such as a Bluetooth or Wi-Fi module, to establish a stable communication connection with the user's client and perform data interaction, thereby enabling functions such as issuing temporary passwords and updating unlocking permissions. In traditional low-power design strategies, the smart lock's wireless communication module (e.g., Wi-Fi, Bluetooth, Zigbee, or NB-IoT module) is typically in a deep sleep mode or intermittent broadcast mode for extended periods, only briefly waking up during a preset heartbeat cycle or upon receiving a specific interrupt signal. However, in scenarios involving repeated attempts or dense passage, this strategy may lead to communication response delays, slow connection establishment, command timeouts, or interrupted data interaction, making it difficult to meet the high-concurrency and high-real-time usage requirements such as frequent unlocking and real-time permission changes. Therefore, in some embodiments, such as Figure 2 As further shown, method 200 may also include step S240. In step S240, in response to the unlocking scenario category being a repeated attempt scenario or a dense passage scenario, the wireless communication module of the smart lock can be controlled to enter the connection mode from the sleep mode to establish a stable wireless communication link, meeting the rapid response requirements in scenarios with high concurrency, high interactivity and real-time requirements.

[0083] For example, as mentioned above, in densely populated traffic scenarios, to cope with the frequent unlocking, locking, and motor-driven actions caused by multiple people entering and exiting in a short period of time, subsequent processing operations may include increasing the charging frequency of the energy storage circuit 120, so as to replenish the energy storage circuit 120 more frequently and promptly during the intervals between unlocking actions, and to replenish the energy storage circuit 120 more frequently and promptly during the intervals between adjacent unlocking actions. This can be achieved by increasing the charging start-up threshold voltage V of the energy storage circuit 120. start This is achieved by, as described above, the charging start-up threshold voltage V. start This can be used to trigger the dry cell battery 110 to charge the energy storage circuit 120. After the voltage of the energy storage circuit 120 drops to the charging start threshold voltage, the dry cell battery 110 can begin charging the energy storage circuit 120 until the voltage of the energy storage circuit 120 rises back to the charging stop threshold voltage V. stopBy increasing the charging start-up threshold voltage of the energy storage circuit 120, charging can be triggered when the energy storage circuit 120 is at a higher voltage point, thereby shortening the time interval between two charging cycles. This allows for more frequent and timely energy replenishment of the energy storage circuit 120, ensuring that the voltage of the energy storage circuit 120 remains in a higher voltage range under dense traffic conditions, and improving the continuous load-carrying capacity and instantaneous output capacity of the combined power supply unit. Therefore, in some embodiments, such as... Figure 2 As further shown, method 200 may also include step S250. In step S250, in response to the unlocking scenario category being a dense passage scenario, the charging start threshold voltage V of the energy storage circuit 120, which is used to trigger the dry cell battery 110 to charge the energy storage circuit 120, can be increased. start This increases the charging frequency of the energy storage circuit 120, replenishes the energy storage circuit 120 with power during the unlocking interval, and ensures that the smart door lock works continuously, stably, and reliably in dense traffic scenarios.

[0084] For example, as mentioned above, in a fault scenario, subsequent processing operations may include controlling the drive motor of the smart lock to stop working to avoid continuous operation under abnormal conditions and potential damage to the device. In a fault scenario, subsequent processing operations may also include controlling the alarm module of the smart lock to issue a local alarm, reporting fault information via the wireless communication module, and pushing abnormal notifications, so that the user can be promptly informed of the lock's status and take appropriate measures. Therefore, in some embodiments, method 200 may further include, in response to the unlocking scenario being a fault scenario, controlling the drive motor of the smart lock to stop working, and controlling the alarm module of the smart lock to issue an alarm, report fault information, and push abnormal notifications.

[0085] It is understood that the above steps are not strictly executed in the order shown in the diagram. For example, although steps S240 and S250 are shown as being executed sequentially, they are not actually executed in the exact order shown in the diagram. Instead, they can be executed selectively, in parallel, or cyclically depending on the unlocking scenario category. Furthermore, although steps S230 and S240 are shown as being executed sequentially, it is understood that they can be executed in parallel.

[0086] The method 200 for controlling a smart door lock according to embodiments of the present disclosure can identify or predict the unlocking scenario category involved in the most recent unlocking process, and, in distinguishing different unlocking scenario categories, adaptively adjust the charging stop threshold voltage to control the charging process of the dry cell battery to the energy storage circuit, so that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario. While ensuring power supply reliability, it optimizes the energy consumption of the dry cell battery and improves the overall power supply efficiency and adaptability of the combined power supply unit composed of the dry cell battery and the energy storage circuit.

[0087] Embodiments of this disclosure also provide a smart door lock. Figure 6 A schematic diagram of a smart door lock 600 according to an embodiment of the present disclosure is shown. (As shown) Figure 6 As shown, the smart lock 600 may include a dry cell battery 610, an energy storage circuit 620, an electrical load 630, and a controller 640. The dry cell battery 610 can be used, under the control of the controller 640, to supply power to the electrical load 630 or to charge the energy storage circuit 620. The energy storage circuit 620 can be used, under the control of the controller 640, to supply power to the electrical load 630 together with the dry cell battery 610. The controller 640 can be configured to perform the above-mentioned... Figures 2 to 5 The method described is 800. Specifically, the dry cell battery 610, energy storage circuit 620, electrical load 630, and controller 640 functionally correspond to the methods described above. Figures 1 to 5 The dry cell battery 110, energy storage circuit 120, electrical load 130 and controller 140 described herein will not be repeated here.

[0088] The smart door lock 600 according to the embodiments of this disclosure can identify or predict the unlocking scenario category involved in the most recent unlocking process, and, in distinguishing different unlocking scenario categories, adaptively adjust the charging stop threshold voltage to control the charging process of the dry cell battery to the energy storage circuit, so that the energy storage capacity of the energy storage circuit matches the power demand of the corresponding unlocking scenario. While ensuring power supply reliability, it optimizes the energy consumption of the dry cell battery and improves the overall power supply efficiency and adaptability of the combined power supply unit composed of the dry cell battery and the energy storage circuit.

[0089] Unless otherwise stated, an element mentioned in the singular is not intended to mean "one and only one," but rather "one or more." Similarly, a plural reference to an element does not mean "more than one," but rather "one or more," unless otherwise stated or contradicting description elsewhere. Terms such as "if," "when," and "although" should be interpreted as "under the condition of," rather than implying an immediate temporal relationship or response. That is, these phrases, such as "when," do not imply an immediate action in response to an action occurring or during an action, but merely imply that an action will occur if the condition is met, but does not require a specific or immediate time constraint for the action to occur. Combinations, such as "at least one of A, B, or C," "one or more of A, B, or C," "at least one of A, B, and C," "one or more of A, B, and C," and "A, B, C, or any combination thereof," include any combination of A, B, and / or C, and may include multiple A, multiple B, or multiple C. Combinations such as “at least one of A, B or C”, “one or more of A, B or C”, “at least one of A, B and C”, “one or more of A, B and C” and “A, B, C or any combination thereof” can be only A, only B, only C, A and B, A and C, B and C or A, B and C, wherein any such combination may contain one or more members of A, B or C.

[0090] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible structures, functions, and operations of the methods and apparatus according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, a program segment, or a portion of code containing at least one executable instruction for implementing a specified logical function. It should also be noted that in some alternative embodiments, the functions described in a block may occur in a different order than those described in the accompanying drawings. For example, two blocks shown consecutively may actually be executed in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware system that performs the specified function or operation, or by a combination of dedicated hardware and computer instructions.

[0091] The various embodiments described in this disclosure are for illustrative purposes and are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principles of the embodiments, their practical application, or improvements to techniques found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

[0092] Throughout the description and claims of this specification, the word “comprising” and variations thereof, such as “comprising” and “including,” means “including, but not limited to,” and are not intended to exclude, for example, other additives, components, integers, or steps. “Exemplary” means “an example of a preferred or ideal implementation and is not intended to convey its indication.” “Like” is not used in a limiting sense but for interpretative purposes.

[0093] As used in this disclosure, the term "determine" can include a variety of operations. For example, "determine," calculation, operation, processing, derivation, investigation, search (e.g., searching in a table, database, or other data structure), and ascertainment are all considered "determine." Additionally, "determine" also refers to receiving (e.g., receiving information), sending (e.g., sending information), inputting, outputting, and accessing (e.g., accessing data in memory). Furthermore, "determine" can also refer to parsing, selecting, picking, opening, and comparing. In other words, several actions can be considered "determine."

[0094] As used in this disclosure, terms such as “connection,” “coupling,” or any variations thereof refer to any direct or indirect connection or combination between two or more units, which may include situations where one or more intermediate units exist between two units that are “connected” or “coupled” to each other. The coupling or connection between units may be physical or logical, or a combination of both. As used in this disclosure, two units may be considered electrically connected by means of one or more wires, cables, and / or printing, and as numerous non-limiting and non-exhaustive examples, may be “connected” or “coupled” to each other by means of electromagnetic energy in the radio frequency region, microwave region, and / or light (visible and invisible) region, etc.

[0095] The present disclosure has been described in detail above; however, it will be apparent to those skilled in the art that the present disclosure is not limited to the embodiments described herein. The present disclosure may be implemented in modified and altered forms without departing from the spirit and scope of the present disclosure as defined by the claims.

Claims

1. A method for controlling a smart lock, the smart lock comprising a dry cell battery for providing electrical power and an energy storage circuit, the method comprising: The unlocking scenario category can be identified based on the most recent unlocking process of the smart lock or the unlocking scenario category can be predicted based on the number of external clients of the smart lock. Determine the charging stop threshold voltage based on the unlocking scenario category; and The dry cell battery is controlled to charge the energy storage circuit to the charging stop threshold voltage. The unlocking scenario categories include normal unlocking scenarios, stuck scenarios, repeated attempts scenarios, fault scenarios, and dense traffic scenarios.

2. The method according to claim 1, wherein, The unlocking scenario category is identified based on the most recent unlocking process of the smart lock, including: Based on the comparison of the peak current of the drive motor of the smart door lock during the most recent unlocking process with a first peak current threshold, the comparison of the average current of the drive motor during the most recent unlocking process with an average current threshold, and the comparison of the action time of the most recent unlocking process with a first time threshold and a second time threshold, the unlocking scenario category is identified, wherein the first time threshold is less than the second time threshold.

3. The method according to claim 2, wherein, Based on the comparison of the peak current with the first peak current threshold, the comparison of the average current with the average current threshold, and the comparison of the action time with the first time threshold and the second time threshold, the unlocking scenario category is identified, including: In response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, and the action time being greater than the first time threshold and less than the second time threshold, the unlocking scenario category is identified as the stuck scenario.

4. The method according to claim 2, wherein, Based on the comparison of the peak current with the first peak current threshold, the comparison of the average current with the average current threshold, and the comparison of the action time with the first time threshold and the second time threshold, the unlocking scenario category is identified, including: In response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, the action time being greater than the first time threshold and less than the second time threshold, and the most recent unlocking process being successful, the unlocking scenario category is identified as the stuck scenario.

5. The method according to claim 2, wherein, Based on the comparison of the peak current with the first peak current threshold, the comparison of the average current with the average current threshold, and the comparison of the action time with the first time threshold and the second time threshold, the unlocking scenario category is identified, including: In response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, and the action time being greater than the second time threshold, the unlocking scenario category is identified as the fault scenario.

6. The method according to claim 2, wherein, Based on the comparison of the peak current with the first peak current threshold, the comparison of the average current with the average current threshold, and the comparison of the action time with the first time threshold and the second time threshold, the unlocking scenario category is identified, including: In response to the peak current being greater than the first peak current threshold, the average current being greater than the average current threshold, the action time being greater than the second time threshold, and the most recent unlocking process failing, the unlocking scenario category is identified as the fault scenario.

7. The method according to claim 1, wherein, The unlocking scenario category is identified based on the most recent unlocking process of the smart lock, including: In response to the fact that the number of predetermined current pulses detected within a first preset time window during the most recent unlocking process is greater than or equal to a pulse count threshold, the unlocking scenario category is identified as the repeated attempt scenario. Wherein, the peak current of the predetermined current pulse is lower than the second peak current threshold and the duration of the predetermined current pulse is shorter than the duration threshold.

8. The method according to claim 1, wherein, Based on the number of external clients of the smart lock, the unlocking scenario categories are predicted, including: In response to the fact that the increase in the number of external clients within a second preset time window is greater than or equal to the increase threshold, the unlocking scenario category is predicted as the dense passage scenario.

9. The method according to claim 8, wherein, Based on the number of external clients of the smart lock, the unlocking scenario categories are predicted, including: In response to the fact that the increase in the number of external clients within a second preset time window is greater than or equal to the increase threshold, and the second preset time window falls within a preset time period of a day, the unlocking scenario category is predicted as the dense passage scenario.

10. The method according to claim 1, wherein, Determining the charging stop threshold voltage based on the unlocking scenario category includes: In response to the unlocking scenario category being the normal unlocking scenario, the charging stop threshold voltage is determined as a first voltage; and In response to the unlocking scenario being one of the following: stuck scenario, repeated attempt scenario, fault scenario, and dense traffic scenario, the charging stop threshold voltage is determined to be a second voltage higher than the first voltage.

11. The method according to claim 10, wherein, In response to the unlocking scenario category being the jamming scenario, the second voltage is equal to the sum of the first voltage and the dynamic compensation value, wherein the dynamic compensation value depends on the number of jamming events within a preset time period.

12. The method according to claim 10, wherein, In response to the unlocking scenario being one of the repeated attempt scenario, the fault scenario, and the dense traffic scenario, the second voltage is equal to the sum of the first voltage and a preset fixed value.

13. The method according to claim 1, further comprising: In response to the unlocking scenario category being the repeated attempt scenario or the dense passage scenario, the wireless communication module of the smart door lock is controlled to enter the connection mode from the sleep mode.

14. The method according to claim 1, further comprising: In response to the unlocking scenario category being the dense traffic scenario, the charging start threshold voltage of the energy storage circuit is increased. The charging start threshold voltage is used to trigger the dry battery to charge the energy storage circuit.

15. A smart door lock, comprising a dry cell battery, an energy storage circuit, an electrical load, and a controller, wherein... The dry cell battery is used to supply power to the electrical load or charge the energy storage circuit under the control of the controller. The energy storage circuit, under the control of the controller, is used to supply power to the electrical load together with the dry cell battery; and The controller is configured to perform the method according to any one of claims 1-14.