Low-power state control method, intelligent door lock, door and computer readable medium

By entering an extreme working mode when the smart door lock's battery is low and adjusting its operating status in response to a mechanical wake-up signal, the problem of security threats and short battery life caused by insufficient battery power is solved, achieving efficient utilization of power resources and extending battery life.

CN121789321APending Publication Date: 2026-04-03CHONGQING LUXIANGJIA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Smart door locks cannot unlock properly when the battery is low, posing a security threat to users. In addition, the short battery life results in a waste of power resources due to continuous normal operation.

Method used

When the battery voltage is detected to be below the threshold, the smart door lock enters the extreme working mode (door closed, device powered off) and responds to the mechanical wake-up signal to enter the wake-up working mode, dynamically adjusting the operating status to reduce power consumption.

Benefits of technology

Reduce the waste of electricity resources, extend the battery life of smart door locks, and ensure that they can still be used normally when the battery is low.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121789321A_ABST
    Figure CN121789321A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a low-power state control method, an intelligent door lock, a door and a computer readable medium. According to one specific embodiment, the method comprises the steps that in response to the situation that it is detected that battery voltage data of the intelligent door lock is lower than a preset shutdown threshold value, the intelligent door lock is controlled to enter a limit working mode, and according to the limit working mode, a door controlled by the intelligent door lock is in a closed state, and the intelligent door lock is in a shutdown state; and in response to the received mechanical wake-up signal sent by the intelligent door lock, controlling the intelligent door lock to enter a wake-up working mode. According to the embodiment, waste of electric power resources can be reduced, and the endurance time of the intelligent door lock can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this disclosure relate to the field of computer technology, and more specifically to low-battery state control methods, smart locks, doors, and computer-readable media. Background Technology

[0002] Low-battery status control methods extend the device's battery life to the greatest extent possible by reducing power consumption when the device's battery level is detected to be below a certain threshold. As an important device for maintaining home security, a smart lock is at great risk if it cannot be unlocked due to insufficient power. Therefore, smart locks must be equipped with a low-battery status control mechanism to ensure users can still unlock and close the lock normally. Summary of the Invention

[0003] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.

[0004] Some embodiments of this disclosure provide a low-power state control method for a smart lock, a smart lock, a door, and a computer-readable medium to address one or more of the technical problems mentioned in the background section above.

[0005] In a first aspect, some embodiments of this disclosure provide a low-battery state control method for a smart door lock, the method comprising: in response to detecting that the battery voltage data of the smart door lock is lower than a preset shutdown threshold, controlling the smart door lock to enter an extreme working mode, wherein the extreme working mode is that the smart door lock has controlled the door to be closed and the smart door lock is in a shutdown state; and in response to receiving a mechanical wake-up signal sent by the smart door lock, controlling the smart door lock to enter a wake-up working mode.

[0006] Secondly, some embodiments of this disclosure provide a smart lock, including: one or more processors; and a storage device storing one or more programs thereon, which, when executed by one or more processors, cause the one or more processors to implement the method described in any implementation of the first aspect above.

[0007] Thirdly, a door, characterized in that it includes the aforementioned smart door lock.

[0008] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.

[0009] The various embodiments of this disclosure have the following beneficial effects: The low-battery state control method for smart locks according to some embodiments of this disclosure can reduce power waste and extend the battery life of smart locks. Specifically, the reason for power waste and short battery life of smart locks is that the smart lock is always in normal operation regardless of whether the user interacts with it, leading to power waste and a short battery life. Based on this, the low-battery state control method for smart locks according to some embodiments of this disclosure firstly controls the smart lock to enter an extreme working mode in response to detecting that the battery voltage data of the smart lock is lower than a preset shutdown threshold. The extreme working mode is when the smart lock has controlled the door to be closed and is in a shutdown state. Thus, when the remaining power of the smart lock is lower than the shutdown threshold, the smart lock can be controlled to enter an extreme working mode to reduce the power consumption of the smart lock. Then, in response to receiving a mechanical wake-up signal sent by the smart lock, the smart lock is controlled to enter a wake-up working mode. Therefore, the smart lock will only be activated after receiving a mechanical wake-up signal, which reduces the power consumption of the smart lock. Furthermore, because the smart lock's operating mode can be dynamically adjusted based on its remaining battery power, rather than continuously maintaining normal operation, power waste is reduced, extending the smart lock's battery life. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.

[0011] Figure 1 This is a flowchart of some embodiments of the low-battery state control method for smart door locks according to the present disclosure; Figure 2 This is a schematic diagram of the structure of a smart door lock suitable for implementing some embodiments of the present disclosure. Detailed Implementation

[0012] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0013] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.

[0014] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0015] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0016] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0017] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.

[0018] Figure 1 A flow 100 of some embodiments of a low-battery state control method for a smart lock according to the present disclosure is shown. The low-battery state control method for a smart lock includes the following steps: Step 101: In response to detecting that the battery voltage data of the smart door lock is lower than the preset shutdown threshold, the smart door lock is controlled to enter the extreme working mode.

[0019] In some embodiments, the execution subject (e.g., a computing device) of the low-battery state control method for a smart door lock can control the smart door lock to enter an extreme operating mode in response to detecting that the battery voltage data of the smart door lock is lower than a preset shutdown threshold. The extreme operating mode can be characterized by the smart door lock controlling the door to be closed and the smart door lock being in a shutdown state.

[0020] The aforementioned battery voltage data can be a numerical value representing the remaining power of the smart lock. The aforementioned shutdown threshold can be a preset numerical value representing the amount of power remaining. Here, the specific setting of the aforementioned shutdown threshold is not limited. The aforementioned executing entity can be a server.

[0021] In practice, the aforementioned execution entity can send a preset power acquisition command to the smart lock to detect the battery voltage data of the smart lock. The power acquisition command can be a command used to prompt the smart lock to send the remaining power at the current moment. For example, the power acquisition command could be "adb shelldumpsys battery". Then, the data returned by the smart lock can be received as the battery voltage data.

[0022] In practice, the aforementioned executing entity can send a preset extreme operating command to the smart lock to control it to enter an extreme operating mode. This extreme operating command can be a command that prompts the smart lock to enter a shutdown state after the door is closed. For example, the extreme operating command could be "Close_Shutdown".

[0023] Optionally, after controlling the smart lock to enter extreme operating mode in response to detecting that the battery voltage data of the smart lock is lower than a preset shutdown threshold, the execution entity may further perform the following steps: The first step involves controlling the smart lock to enter standby mode in response to the determination that the battery voltage data is higher than the shutdown threshold and meets the preset standby mode conditions. The standby mode conditions can be that the battery voltage data is lower than a preset normal operating threshold. The normal operating threshold can be a pre-set value greater than the shutdown threshold. The specific setting of the normal operating threshold is not limited here. The standby mode can be a mode in which the device does not perform any operation while powered on. The standby mode can be a low-power mode. The low-power mode can be a mode that reduces the device's power consumption to extend its battery life.

[0024] In practice, the aforementioned executing entity can send a preset standby command to the smart lock to control it to enter standby mode. The standby command can be an instruction used to control the smart lock to enter standby mode. For example, the standby command could be "Standby:on".

[0025] In practice, optionally, in response to determining that the battery voltage data is equal to the shutdown threshold, the execution entity can send the standby command to the smart lock to control the smart lock to enter standby mode.

[0026] Optionally, after controlling the smart door lock to enter standby mode in response to determining that the battery voltage data is higher than the shutdown threshold and meets the preset standby mode conditions, the execution entity may further perform the following steps: In response to determining that the smart door lock has entered the standby mode, the following steps are performed: The first step involves detecting a user's wake-up operation and determining that the wake-up operation does not meet the preset power button wake-up condition. Voltage monitoring is then performed on the smart lock to obtain lock voltage data. The wake-up operation can be an interactive operation performed by the user on the smart lock. This wake-up operation includes, but is not limited to, fingerprint recognition, facial recognition, and button interaction. Button interaction can be a method by which the user interacts with the smart lock via a button. For example, button interaction can be a user pressing a button. Button interaction can include, but is not limited to, power button interaction. Power button interaction can be an operation where the user selects a button on the smart lock to control its power-on and power-off states. The power button wake-up condition can be the power button interaction within the button interaction. The lock voltage data represents the remaining battery power of the smart lock at the current moment.

[0027] In practice, the aforementioned executing entity can send the power acquisition command to the smart lock to perform voltage monitoring. Then, it can receive the data returned by the smart lock as the lock's voltage data.

[0028] The second step involves executing the smart lock application task corresponding to the aforementioned wake-up operation, based on the aforementioned door lock voltage data. This smart lock application task can be any operation performed by the smart lock.

[0029] In practice, firstly, the aforementioned wake-up operation can be identified as the target wake-up operation. Secondly, based on preset operation power command data, the target operation command and target operation power consumption corresponding to the target wake-up operation can be determined. The aforementioned operation power command data can be data used to characterize the correspondence between each wake-up operation, each operation power consumption, and each operation command. The aforementioned operation power command data includes each wake-up operation, each operation power consumption, and each operation command. The wake-up operation, operation power consumption, and operation command in the aforementioned operation power command data correspond one-to-one. The operation power consumption in the aforementioned operation power command data can be the power consumed to execute the wake-up operation. The operation command in the aforementioned operation power command data can be the command used to execute the wake-up operation. The aforementioned target operation command can be the operation command corresponding to the aforementioned target wake-up operation. The aforementioned target operation power consumption can be the operation power consumption corresponding to the aforementioned target wake-up operation.

[0030] As an example, the wake-up operations that are identical to the target wake-up operation among the various wake-up operations included in the above-mentioned operation power command data can be identified as wake-up operations to be processed. Then, the operation command and operation power consumption corresponding to the above-mentioned wake-up operations to be processed can be identified as the target operation command and target operation power consumption corresponding to the above-mentioned target wake-up operation.

[0031] Then, in response to determining that the door lock voltage data is higher than the target operation power consumption, the target operation command can be sent to the smart door lock to control the smart door lock to execute the smart door lock application task corresponding to the wake-up operation.

[0032] In response to determining that the aforementioned door lock voltage data is lower than or equal to the aforementioned target operation power consumption, each wake-up operation in the aforementioned operation power command data whose operation power consumption is lower than the aforementioned door lock voltage data can be identified as a wake-up operation to be executed. Then, each of these wake-up operations to be executed can be identified as a set of wake-up operations to be executed. Then, in response to determining that the set of wake-up operations to be executed is empty, a preset key-opening voice message can be played. This key-opening voice message can be a voice message used to prompt the user to use the key to open the door. For example, the key-opening voice message could be "Battery low, please use the key to open the door."

[0033] Then, in response to determining that the set of wake-up operations to be executed is not empty, the preset switching information and each wake-up operation to be executed included in the set of wake-up operations to be executed can be combined into text information to be played. The switching information can be information used to prompt the user to switch wake-up operations. For example, the switching information could be "Battery low, please switch to the following operation." As an example, when the switching information is "Battery low, please switch to the following operation," and the wake-up operations to be executed included in the set of wake-up operations to be executed are fingerprint recognition and button interaction, the text information to be played could be "Battery low, please switch to the following operation: fingerprint recognition, button interaction."

[0034] Then, the text information to be played can be converted into speech using text-to-speech technology. This text-to-speech technology can be any technology capable of converting text into speech. For example, it could be Text-to-Speech (TTS).

[0035] Step 102: In response to receiving the mechanical wake-up signal sent by the smart door lock, control the smart door lock to enter the wake-up working mode.

[0036] In some embodiments, the execution entity may, in response to receiving a mechanical wake-up signal from the smart lock, control the smart lock to enter a wake-up working mode. The mechanical wake-up signal may be a signal used to notify the user of a switch button interaction. The wake-up working mode may be a mode in which the device's basic functions operate normally, while other functions are suspended. The basic functions may include, but are not limited to, powering off, receiving signals, and sending signals.

[0037] In practice, the aforementioned executing entity can send a preset wake-up command to the smart lock to control it to enter the wake-up working mode. The wake-up command can be an instruction used to control the smart lock to enter the wake-up working mode. For example, the wake-up command could be "WAKE_ON".

[0038] Optionally, after controlling the smart lock to enter the wake-up working mode, the execution entity may also perform the following steps: The first step is to control the smart lock to enter normal operating mode upon receiving a command to do so. This normal operating mode is a mode in which all functions of the device are functioning normally. The command is a prompt to the user indicating that the smart lock needs to enter this normal operating mode.

[0039] In practice, the aforementioned executing entity can send preset normal operation commands to the smart lock to control it to enter the normal operation mode. These normal operation commands can be any commands that enable the smart lock to enter the normal operation mode. For example, the normal operation command could be "ENTER_WORK".

[0040] Optionally, after controlling the smart lock to enter normal working mode in response to receiving a working command, the execution entity may further perform the following steps: The first step is to control the smart lock to continue in the shutdown state if no working command is received within the first time period. The first time period can be the period from the time the smart lock enters the wake-up working mode to a preset duration thereafter. The preset duration can be a pre-set duration. For example, when the preset duration is 5 minutes, the first time period can be the period from the time the smart lock enters the wake-up working mode to 5 minutes thereafter.

[0041] In practice, the aforementioned executing entity can send a preset shutdown command to the smart lock to control the smart lock to continue entering the shutdown state. The shutdown command can be a command used to control the smart lock to shut down. For example, the shutdown command could be "ShutDown:on".

[0042] Optionally, after step 101, the aforementioned executing entity may also perform the following steps: The first step is to perform a wireless charging task on the smart lock in response to the determination that the smart lock meets the wireless charging conditions. The wireless charging conditions can be those conditions that enable the smart lock to perform the wireless charging task. These conditions may include, but are not limited to, lock status conditions and lock environmental security conditions.

[0043] The aforementioned door lock status condition can be that the smart door lock has controlled the door to enter the closed state. The aforementioned door lock environmental security condition can be that there are no living beings within the target environmental area. The aforementioned target environmental area can be the environmental area surrounding the smart door lock. For example, the aforementioned target environmental area can be a circular area with the smart door lock as the center and a preset length as the radius. The aforementioned preset length can be a pre-set length. For example, the aforementioned preset length can be 1 meter. The aforementioned wireless charging task can be a task of wirelessly charging the device.

[0044] In practice, the aforementioned executing entity can send a preset door lock query command to the aforementioned smart door lock to query whether the smart door lock has controlled the door to enter the closed state. The door lock query command can be an instruction used to query whether the smart door lock has controlled the door to enter the closed state. For example, the door lock query command can be "CHECK_CLOSE". Then, it can receive the door lock status signal sent by the smart door lock. The door lock status signal can be a signal indicating whether the door is in the closed state. For example, the door lock status signal can be "1" indicating that the door is in the closed state, or "0" indicating that the door is not in the closed state. Then, in response to determining that the door lock status signal meets a preset closing condition, it can be determined that the smart door lock meets the aforementioned door lock status condition. The closing condition can be the door lock status signal indicating that the door is in the closed state. For example, the closing condition can be the door lock status signal being "1".

[0045] In practice, firstly, the executing entity can send a preset detection command to the target sensor to control the target sensor to detect whether there is a living being in the target environmental area. The detection command can be an instruction to prompt the target sensor to begin liveness detection in the target environmental area. For example, the detection command could be "test:on", signifying "start detection". The target sensor can be a sensor capable of detecting whether a living being is approaching in the surrounding environmental area. For example, the target sensor could be a pyroelectric infrared sensor. Secondly, the entity can receive the level signal output by the target sensor. The level signal can be "1" or "0", where "1" indicates that the target sensor has detected a living being approaching, and "0" indicates that the target sensor has not detected a living being approaching. Then, in response to determining that the level signal is "0", it can be determined that the smart door lock meets the aforementioned door lock environmental security conditions.

[0046] In addressing the aforementioned technical problems in the application scenario of forest guard posts, the following technical issues often arise: regardless of whether user input is required, the smart lock remains in normal working order, resulting in wasted power and short battery life. Considering the specific requirements of this application scenario—forest guard posts are typically located in remote areas, making frequent manual maintenance and power replenishment difficult—and the need to ensure the smart lock's normal operation during shifts and patrols, it is crucial to minimize wasted power and maximize battery life. Therefore, we have decided to adopt the following solution: Optionally, after step 102, the aforementioned executing entity may also perform the following steps: In response to the detection that the above battery voltage data meets the preset power consumption scheduling conditions, the following steps are performed: The first step is to obtain the historical unlocking time data sequence. The power consumption scheduling condition mentioned above can be that the battery voltage data is higher than the normal operating threshold.

[0047] Each historical unlocking time in the above historical unlocking time data sequence can be a specific time point within a preset time range in the past, representing the time the user unlocked the door. For example, a historical unlocking time could be "10-11-8:30," representing 8:30 AM on October 11th. Each historical unlocking time in the above historical unlocking time data sequence corresponds to an unlocking method. The unlocking method can be the way the user unlocks the door. The unlocking method can include, but is not limited to: fingerprint unlocking, facial recognition unlocking, and password unlocking. Fingerprint unlocking allows the user to unlock using fingerprint recognition. Facial recognition unlocking allows the user to unlock using facial recognition. Password unlocking allows the user to unlock by entering a password. The preset time range can be the range from a preset historical time point to the current moment. The preset historical time point can be a pre-set time point before the current moment. For example, when the current moment is "10-17-8:00," the preset historical time point could be "10-11-8:00," representing 8:00 AM 7 days ago.

[0048] In practice, the aforementioned executing entity can obtain the historical unlocking time data sequence from a preset database. This preset database can be a pre-defined database used to store historical unlocking time data sequences.

[0049] The second step involves dividing the aforementioned historical unlocking time data sequence into time windows to obtain a historical unlocking frequency sequence. Each historical unlocking frequency in this sequence represents the number of times a user unlocked the door within the specified time frame. Each historical unlocking frequency corresponds to a specific time frame, which can be a pre-defined period. For example, the time frame could be "7:00-8:00".

[0050] In practice, firstly, for each historical unlocking time data in the above historical unlocking time data sequence, the data representing hours and minutes in the above historical unlocking time data can be determined as historical time point data. For example, when the historical unlocking time data is "10-11-8:30", the data used to represent hours and minutes in the historical unlocking time data is "8:30", and the historical time point data is "8:30".

[0051] Then, for each of the preset time periods, firstly, the historical time points within each defined time period can be identified as target historical time points. For example, if the time period is "8:00-9:00" and the historical time point is "8:30", then the historical time point is within the defined time period. Next, the number of these target historical time points can be determined as the historical unlocking frequency corresponding to the defined time period. Finally, the determined historical unlocking frequencies can be arranged into a historical unlocking frequency sequence according to the chronological order of the defined time periods.

[0052] The third step involves generating a future unlocking probability data sequence based on the aforementioned historical unlocking frequency sequence. Each future unlocking probability data point in this sequence represents the probability that a user will unlock the door within a defined time period. Each future unlocking probability data point also corresponds to an unlocking method.

[0053] In practice, firstly, the implementing entity can determine the number of days from the preset historical time point to the current time as the target number of days. For example, if the preset historical time point is "10-11-8:00" and the current time is "10-17-8:00", the number of days between "10-11-8:00" and "10-17-8:00" is 7, then the target number of days can be 7.

[0054] Secondly, for each historical unlocking frequency in the aforementioned historical unlocking frequency sequence, firstly, the ratio of the historical unlocking frequency to the target number of days can be determined as the future unlocking probability data. Then, the time period corresponding to the historical unlocking frequency can be determined as the target time period. Next, each historical unlocking time data within the target time period can be determined as a pending historical unlocking time data. Then, each unlocking method corresponding to each pending historical unlocking time data can be determined as a pending unlocking method. Next, the same pending unlocking methods among the pending unlocking methods can be grouped together as a pending unlocking method group, resulting in various pending unlocking method groups. Each pending unlocking method group corresponds to one unlocking method. Then, for each pending unlocking method group, the number of pending unlocking methods included in the group can be determined as the unlocking count. Finally, the unlocking count with the largest value among the determined unlocking counts can be determined as the target unlocking count. Then, the group of unlocking methods to be processed corresponding to the target number of unlocking attempts can be determined as the target unlocking method group. Next, the unlocking methods corresponding to the target unlocking method group can be determined as the unlocking methods corresponding to the historical unlocking frequency and the future unlocking probability data.

[0055] Finally, the determined future unlocking probability data can be arranged into a future unlocking probability data sequence according to the chronological order of the historical unlocking frequencies in the above-mentioned historical unlocking frequency sequence. Each future unlocking probability data corresponds to one unlocking method.

[0056] The fourth step is to generate an unlocking energy consumption data sequence based on the above-mentioned future unlocking probability data sequence and the preset unlocking method energy consumption table.

[0057] The aforementioned unlocking method energy consumption table can be data used to characterize the correspondence between unlocking methods and power consumption. For example, the unlocking method energy consumption table could be: "Unlocking method: fingerprint unlocking, power consumption: 0.08 watt-hours; Unlocking method: face unlocking, power consumption: 0.1 watt-hours; Unlocking method: password unlocking, power consumption: 0.05 watt-hours." Each unlocking energy consumption data point in the aforementioned unlocking energy consumption data sequence can be the power consumption corresponding to each future unlocking probability data. The aforementioned unlocking method energy consumption table can include various unlocking methods. Each unlocking method corresponds to one power consumption.

[0058] In practice, for each future unlocking probability data point in the aforementioned future unlocking probability data sequence, the unlocking method corresponding to that future unlocking probability data can be determined as the unlocking method to be predicted. Then, the unlocking methods in the unlocking method energy consumption table that are identical to the unlocking method to be predicted can be determined as standard unlocking methods. Next, the power consumption corresponding to the standard unlocking method can be determined as the target power consumption. Then, the historical unlocking frequency corresponding to the future unlocking probability data can be determined as the target unlocking frequency. Finally, the product of the target unlocking frequency and the target power consumption can be determined as the unlocking energy consumption data corresponding to the future unlocking probability data. Finally, the determined unlocking energy consumption data can be arranged into an unlocking energy consumption data sequence according to the chronological order of the future unlocking probability data points in the aforementioned future unlocking probability data sequence.

[0059] Fifth, based on the above unlocking energy consumption data sequence, generate a smart lock mode sequence. Each smart lock mode in the sequence can be a specific mode for the smart lock. Smart lock modes can include, but are not limited to: extreme working mode, standby mode, and normal working mode. Each smart lock mode in the sequence also corresponds to a time range data. This time range data can be the time period segmented from the unlocking energy consumption data.

[0060] In practice, for each unlocking energy consumption data point in the above unlocking energy consumption data sequence, the following steps are performed: First, in response to determining that the unlocking energy consumption data is greater than a first preset power consumption, the above normal operating mode can be determined as the smart lock mode corresponding to the unlocking energy consumption data. The first preset power consumption can be a pre-set power consumption value. For example, the first preset power consumption can be 30 watt-hours.

[0061] Secondly, in response to determining that the unlocking energy consumption data is less than or equal to the first preset power consumption and greater than the second preset power consumption, the standby mode can be determined as the smart lock mode corresponding to the unlocking energy consumption data. The second preset power consumption can be a pre-set value that is less than the first preset power consumption. For example, the second preset power consumption can be 20 watt-hours.

[0062] Then, in response to determining that the unlocking energy consumption data is less than or equal to the second preset power consumption, the extreme working mode can be determined as the smart lock mode corresponding to the unlocking energy consumption data.

[0063] Then, the determined smart lock mode can be identified as the smart lock mode corresponding to the above unlocking energy consumption data, and the time period corresponding to the above unlocking energy consumption data can be identified as the time range data corresponding to the smart lock mode.

[0064] Finally, the determined smart lock modes can be arranged into a smart lock mode sequence according to the chronological order of the unlocking energy consumption data in the above unlocking energy consumption data sequence. Each smart lock mode in the above smart lock mode sequence corresponds to a time range of data.

[0065] Step 6: For each smart lock mode in the above smart lock mode sequence, in response to detecting that the current time data belongs to the time range corresponding to the smart lock mode, control the smart lock to enter the smart lock mode. The current time data can be the current moment. For example, the current time data can be "8:30". In practice, the executing entity can acquire the current moment as the current time data every preset acquisition time interval. The preset acquisition time interval can be the interval between acquiring the current time data. For example, the preset acquisition time interval can be 1 hour.

[0066] As an example, when the current time data is "8:30" and the time range data corresponding to the smart lock mode is "8:00-9:00", it can be determined that the current time data belongs to the time range data corresponding to the smart lock mode.

[0067] In practice, for each smart lock mode in the above smart lock mode sequence, the above smart lock mode can first be identified as the target smart lock mode.

[0068] Secondly, the target mode command corresponding to the aforementioned target smart lock mode can be determined from a preset mode command mapping table. This mode command mapping table can be data used to characterize the correspondence between smart lock modes and mode commands. The mode commands can be commands used to control the smart lock to enter the aforementioned smart lock mode. These mode commands may include, but are not limited to: extreme working commands, standby commands, and normal working commands. The mode command mapping table can include each smart lock mode and each mode command. There is a one-to-one correspondence between smart lock modes and mode commands. As an example, the mode command corresponding to the smart lock mode in the aforementioned mode command mapping table that is the same as the aforementioned target smart lock mode can be determined as the target mode command.

[0069] Then, the target mode command can be sent to the smart lock to control the smart lock to enter the smart lock mode.

[0070] The above-described technical solution and related content, as an inventive point of this disclosure, solve the problem of "short battery life of smart locks". Factors leading to ineffective power consumption and short battery life of smart locks are often as follows: regardless of whether a user operation is required, the smart lock remains in normal working condition, resulting in ineffective power consumption and a short battery life. Solving these factors can reduce ineffective power consumption and extend the battery life of smart locks. To achieve this effect, this disclosure, in response to detecting that the battery voltage data meets preset power consumption scheduling conditions, performs the following steps: First, acquire a historical unlocking time data sequence, wherein each historical unlocking time data in the historical unlocking time data sequence corresponds to an unlocking method. This allows the acquisition of the time point of each unlocking by the user within a past period. Second, perform time window division processing on the historical unlocking time data sequence to obtain a historical unlocking frequency sequence. This allows the acquisition of the number of times the user unlocked the lock within each past time period. Then, based on the historical unlocking frequency sequence, a future unlocking probability data sequence is generated, where each future unlocking probability data point in the future unlocking probability data sequence corresponds to an unlocking method. Therefore, based on the historical unlocking frequency sequence, the number of times the user will unlock the door and the most likely unlocking method within a future time period can be predicted. Next, based on the aforementioned future unlocking probability data sequence and a preset unlocking method energy consumption table, an unlocking energy consumption data sequence is generated. Therefore, the power consumption when the user unlocks the door within a future time period can be determined. Then, based on the aforementioned unlocking energy consumption data sequence, a smart lock mode sequence is generated, where each smart lock mode in the aforementioned smart lock mode sequence corresponds to time range data. Therefore, based on the unlocking energy consumption data sequence, the operating mode of the smart lock within each time period can be determined. Finally, for each smart lock mode in the aforementioned smart lock mode sequence, in response to detecting that the current time data belongs to the time range data corresponding to the smart lock mode, the smart lock is controlled to enter the aforementioned smart lock mode. Therefore, based on the smart lock mode sequence, the smart lock can be controlled to enter different operating modes. Because it can determine the smart lock mode for each time period based on the remaining battery power and power consumption within each time period, and control the smart lock to enter the corresponding smart lock mode based on the current time data, instead of keeping the smart lock in normal working state all the time, it can reduce the ineffective consumption of power resources and extend the battery life of the smart lock.

[0071] The various embodiments of this disclosure have the following beneficial effects: The low-battery state control method for smart locks according to some embodiments of this disclosure can reduce power waste and extend the battery life of smart locks. Specifically, the reason for power waste and short battery life of smart locks is that the smart lock is always in normal operation regardless of whether the user interacts with it, leading to power waste and a short battery life. Based on this, the low-battery state control method for smart locks according to some embodiments of this disclosure firstly controls the smart lock to enter an extreme working mode in response to detecting that the battery voltage data of the smart lock is lower than a preset shutdown threshold. The extreme working mode is when the smart lock has controlled the door to be closed and is in a shutdown state. Thus, when the remaining power of the smart lock is lower than the shutdown threshold, the smart lock can be controlled to enter an extreme working mode to reduce the power consumption of the smart lock. Then, in response to receiving a mechanical wake-up signal sent by the smart lock, the smart lock is controlled to enter a wake-up working mode. Therefore, the smart lock will only be activated after receiving a mechanical wake-up signal, which reduces the power consumption of the smart lock. Furthermore, because the smart lock's operating mode can be dynamically adjusted based on its remaining battery power, rather than continuously maintaining normal operation, power waste is reduced, extending the smart lock's battery life.

[0072] The following is for reference. Figure 2 The diagram illustrates a structural schematic of a smart lock (such as a computing device) 200 suitable for implementing some embodiments of the present disclosure. Figure 2 The smart lock shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0073] like Figure 2 As shown, the smart lock 200 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage device 208 into a random access memory (RAM) 203. The RAM 203 also stores various programs and data required for the operation of the smart lock 200. The processing device 201, ROM 202, and RAM 203 are interconnected via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0074] Typically, the following devices can be connected to I / O interface 205: input devices 206 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 207 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 208 including, for example, magnetic tapes, hard disks, etc.; and communication devices 209. Communication device 209 allows the smart lock 200 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 2 A smart door lock 200 with various devices is shown; however, it should be understood that implementation or possession of all the devices shown is not required. More or fewer devices may be implemented alternatively. Figure 2 Each box shown can represent a device or multiple devices as needed.

[0075] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 209, or installed from storage device 208, or installed from ROM 202. When the computer program is executed by processing device 201, it performs the functions defined above in the methods of some embodiments of this disclosure.

[0076] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0077] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0078] The aforementioned computer-readable medium may be included in the smart lock or may exist independently without being assembled into the smart lock. The computer-readable medium carries one or more programs that, when executed by the smart lock, cause the smart lock to: respond to detecting that the battery voltage data of the smart lock is lower than a preset shutdown threshold, control the smart lock to enter an extreme operating mode, wherein the extreme operating mode is that the smart lock has controlled the door to be closed and the smart lock is in a shutdown state; and respond to receiving a mechanical wake-up signal sent by the smart lock, control the smart lock to enter a wake-up operating mode.

[0079] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0080] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially 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, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0081] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0082] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.

Claims

1. A low-battery state control method for a smart door lock, comprising: In response to detecting that the battery voltage data of the smart door lock is lower than a preset shutdown threshold, the smart door lock is controlled to enter an extreme working mode, wherein the extreme working mode is when the smart door lock has controlled the door to be closed and the smart door lock is in a shutdown state; In response to receiving a mechanical wake-up signal from the smart door lock, the smart door lock is controlled to enter the wake-up working mode.

2. The method according to claim 1, wherein, After controlling the smart lock to enter an extreme operating mode in response to detecting that the battery voltage data of the smart lock is lower than a preset shutdown threshold, the method further includes: In response to determining that the battery voltage data is higher than the shutdown threshold and meets the preset standby mode conditions, the smart door lock is controlled to enter standby mode, wherein the standby mode is a low power consumption mode.

3. The method according to claim 2, wherein, The method further includes: In response to determining that the smart door lock has entered the standby mode, the following steps are performed: In response to detecting a wake-up operation performed by the user, and in response to determining that the wake-up operation does not meet the preset power button wake-up conditions, the smart door lock is subjected to voltage monitoring processing to obtain door lock voltage data; Based on the door lock voltage data, execute the smart door lock application task corresponding to the wake-up operation.

4. The method according to claim 1, wherein, After controlling the smart lock to enter the wake-up working mode, the method further includes: In response to receiving a command to enter normal working mode, the smart door lock is controlled to enter normal working mode.

5. The method according to claim 4, wherein, The method further includes: If no working command is received within the first time period, the smart door lock is controlled to continue entering the shutdown state.

6. The method according to claim 1, wherein, The method further includes: In response to determining that the smart lock meets the wireless charging conditions, a wireless charging task is performed on the smart lock, wherein the wireless charging conditions include lock status conditions and lock environment security conditions.

7. The method according to any one of claims 1-6, wherein, The method further includes: In response to the detection that the battery voltage data meets the preset power consumption scheduling conditions, the following steps are performed: Obtain a historical unlocking time data sequence, wherein each historical unlocking time data in the historical unlocking time data sequence corresponds to an unlocking method; The historical unlocking time data sequence is divided into time windows to obtain the historical unlocking frequency sequence; Based on the historical unlocking frequency sequence, a future unlocking probability data sequence is generated, wherein each future unlocking probability data in the future unlocking probability data sequence corresponds to an unlocking method; Based on the future unlocking probability data sequence and the preset unlocking method energy consumption table, an unlocking energy consumption data sequence is generated; Based on the unlocking energy consumption data sequence, a smart lock mode sequence is generated, wherein each smart lock mode in the smart lock mode sequence corresponds to a time range data. For each smart lock mode in the smart lock mode sequence, in response to detecting that the current time data belongs to the time range data corresponding to the smart lock mode, the smart lock is controlled to enter the smart lock mode.

8. A smart door lock, comprising: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 7.

9. A door, characterized in that, Including the smart door lock as described in claim 8.

10. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 7.