Method and device for reducing power consumption of smart door lock

By using algorithms to predict and adjust the wake-up frequency during smart lock interruptions, the high power consumption problem caused by fixed wake-up frequencies is solved, resulting in longer battery life and faster response speed.

CN115909546BActive Publication Date: 2026-03-27FOSHAN VIOMI ELECTRICAL TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

The fixed wake-up frequency of existing smart door locks results in high power consumption, short battery life, and slow response, which affects the user experience.

Method used

The algorithm predicts the interruption wake-up frequency of smart locks, adjusts the wake-up frequency according to different time periods, flexibly switches between low-power mode and normal working mode, and optimizes the wake-up frequency by combining historical data.

Benefits of technology

While ensuring a good user experience, we reduce the power consumption of smart door locks and increase battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115909546B_ABST
    Figure CN115909546B_ABST
Patent Text Reader

Abstract

The application provides a method and device for reducing power consumption of a smart door lock, the method comprising: determining whether the smart door lock is in a low-power mode; when it is determined that the smart door lock is in the low-power mode, performing an interrupt wake-up operation on the smart door lock by using an interrupt wake-up frequency determined, wherein the interrupt wake-up frequency is predicted according to an operation result of an algorithm; detecting trigger information for the smart door lock; and when the trigger information for the smart door lock is detected, switching the smart door lock from the low-power mode to a normal working mode. It can be seen that the interrupt wake-up frequency can be predicted according to the operation result of the algorithm, and the predicted interrupt wake-up frequency is used to perform a wake-up operation on the smart door lock, so that the power consumption of the smart door lock can be reduced while the user experience is ensured, thereby prolonging the endurance time of the smart door lock.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent door lock, and particularly to a method and device for reducing power consumption of intelligent door lock. BACKGROUND

[0002] With the rapid development of smart home, the application of intelligent door lock is more and more widely, and the use of intelligent door lock can eliminate the trouble of taking keys out of the door under the premise of ensuring safety, and the locking and unlocking operation process is also simpler, and the use of intelligent door lock greatly improves the convenience of people's life.

[0003] At present, most of the intelligent door locks are powered by built-in batteries, and the built-in batteries can be dry batteries or lithium batteries. The intelligent door lock is awakened by a fixed high interrupt wake-up frequency in the working process of the intelligent door lock. However, it is found in practice that the intelligent door lock is awakened by the fixed high interrupt wake-up frequency, and the high wake-up frequency of the intelligent door lock leads to high power consumption of the intelligent door lock, resulting in short endurance time of the intelligent door lock. By reducing the interrupt wake-up frequency of the intelligent door lock, the response of the intelligent door lock will be slow, which greatly reduces the user experience. SUMMARY

[0004] The technical problem to be solved by the present application is to provide a method and device for reducing power consumption of intelligent door lock, which can reduce the power consumption of intelligent door lock while ensuring user experience, thereby improving the endurance time of intelligent door lock.

[0005] In order to solve the above technical problems, the first aspect of the present application discloses a method for reducing power consumption of intelligent door lock, which comprises:

[0006] determining whether the intelligent door lock is in a low-power mode;

[0007] when it is determined that the intelligent door lock is in the low-power mode, interrupting the wake-up operation of the intelligent door lock by the determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to the calculation result of the algorithm;

[0008] detecting trigger information for the intelligent door lock;

[0009] when the trigger information for the intelligent door lock is detected, switching the intelligent door lock from the low-power mode to a normal working mode.

[0010] As an optional implementation, in the first aspect of the present application, the method further comprises:

[0011] when the intelligent door lock is in the normal working mode, obtaining target data, the target data including the date and time of the current unlocking of the intelligent door lock;

[0012] storing the target data in a database.

[0013] As an optional implementation, in the first aspect of the present application, the method further comprises:

[0014] after the smart door lock is in the normal working mode, detecting the trigger information for the smart door lock within a first preset time period;

[0015] when the trigger information for the smart door lock is not detected, switching the smart door lock from the normal working mode to the low-power-consumption mode.

[0016] As an optional implementation, in the first aspect of the present application, the interrupt wake-up frequency is specifically determined by the following operations:

[0017] obtaining historical data for unlocking the smart door lock stored in the database;

[0018] making the algorithm operate according to the historical data to predict the interrupt wake-up frequency.

[0019] As an optional implementation, in the first aspect of the present application, in the operation of determining the interrupt wake-up frequency, the operation of making the algorithm operate according to the historical data to predict the interrupt wake-up frequency comprises:

[0020] inputting the historical data in an input layer, and selecting a training set, a test set and a validation set from the historical data;

[0021] operating according to the training set, the test set and the validation set, and outputting a predicted probability of unlocking the smart door lock in an output layer;

[0022] predicting the interrupt wake-up frequency according to the predicted probability of unlocking the smart door lock.

[0023] As an optional implementation, in the first aspect of the present application, the method further comprises:

[0024] within a second preset time period, performing an interrupt wake-up operation on the smart door lock by a timer at the predicted interrupt wake-up frequency;

[0025] after the second preset time period is elapsed, making the algorithm operate according to updated historical data to predict an updated interrupt wake-up frequency, and performing an interrupt wake-up operation on the smart door lock by the timer at the predicted updated interrupt wake-up frequency.

[0026] The second aspect of the embodiment of the present application discloses a device for reducing power consumption of a smart door lock, the device comprising:

[0027] a judging module configured to judge whether the smart door lock is in a low-power consumption mode;

[0028] a waking module configured to, when the judging module judges that the smart door lock is in the low-power consumption mode, perform an interrupting and waking operation on the smart door lock by using the determined interrupting and waking frequency, wherein the interrupting and waking frequency is predicted according to an operation result of an algorithm;

[0029] a detecting module configured to detect trigger information for the smart door lock;

[0030] a switching module configured to, when the detecting module detects the trigger information for the smart door lock, switch the smart door lock from the low-power consumption mode to a normal working mode.

[0031] As an optional implementation form, in the second aspect, the device further comprises:

[0032] an obtaining module configured to, when the smart door lock is in the normal working mode, obtain target data, wherein the target data comprises a date and a time at which the smart door lock is currently unlocked;

[0033] a storage module configured to store the target data in a database.

[0034] As an optional implementation form, in the second aspect, the detecting module is further configured to, after the smart door lock is in the normal working mode, detect the trigger information for the smart door lock within a first preset time period.

[0035] The switching module is further configured to, when the detecting module does not detect the trigger information for the smart door lock, switch the smart door lock from the normal working mode to the low-power consumption mode.

[0036] As an optional implementation form, in the second aspect, the waking module comprises an obtaining sub-module and an operation sub-module, wherein:

[0037] The obtaining sub-module is configured to obtain historical data of unlocking the smart door lock stored in a database;

[0038] The operation sub-module is configured to cause the algorithm to perform operation according to the historical data to predict the interrupting and waking frequency.

[0039] As an optional implementation form, in the second aspect, the operation sub-module comprises an input sub-unit, a selection sub-unit, an operation sub-unit and an output sub-unit, wherein:

[0040] The input subunit is configured to input the historical data in an input layer;

[0041] The selection subunit is configured to select a training set, a test set and a validation set from the historical data;

[0042] The operation subunit is configured to perform operation according to the training set, the test set and the validation set;

[0043] The output subunit is configured to output a predicted probability of unlocking the smart door lock in an output layer;

[0044] The operation subunit is further configured to predict the interrupt wake-up frequency according to the predicted probability of unlocking the smart door lock.

[0045] As an optional implementation, in the second aspect of the present application, the wake-up module is further configured to perform interrupt wake-up operation on the smart door lock at the predicted interrupt wake-up frequency through a timer within a second preset time period; after the second preset time period, the algorithm is caused to perform operation according to the updated historical data, to predict the updated interrupt wake-up frequency, and the smart door lock is caused to perform interrupt wake-up operation at the predicted updated interrupt wake-up frequency through the timer.

[0046] The third aspect of the embodiment of the present application discloses a device for reducing power consumption of a smart door lock, and the device comprises:

[0047] A memory storing executable program codes;

[0048] A processor coupled with the memory;

[0049] The processor invokes the executable program codes stored in the memory to execute the method for reducing power consumption of a smart door lock disclosed in the first aspect of the embodiment of the present application.

[0050] The fourth aspect of the embodiment of the present application discloses a computer storage medium storing computer instructions, and the computer instructions are invoked to execute the method for reducing power consumption of a smart door lock disclosed in the first aspect of the embodiment of the present application.

[0051] Compared with the prior art, the embodiment of the present application has the following beneficial effects:

[0052] In the embodiment of the present application, it is judged whether the intelligent door lock is in a low-power mode; when it is judged that the intelligent door lock is in the low-power mode, the intelligent door lock is operated by the determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to the operation result of the algorithm; the trigger information for the intelligent door lock is detected; when the trigger information for the intelligent door lock is detected, the intelligent door lock is switched from the low-power mode to a normal working mode. It can be seen that the interrupt wake-up frequency can be predicted by the operation result of the algorithm, the interrupt wake-up frequency of the corresponding intelligent door lock at different times can be predicted, at different times, the predicted interrupt wake-up frequency can be called to operate the intelligent door lock, the power consumption of the intelligent door lock can be reduced while the user experience is ensured, thereby prolonging the endurance time of the intelligent door lock. BRIEF DESCRIPTION OF DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0054] Figure 1 is a flowchart of a method for reducing the power consumption of an intelligent door lock disclosed by the embodiments of the present application;

[0055] Figure 2 is a flowchart of another method for reducing the power consumption of an intelligent door lock disclosed by the embodiments of the present application;

[0056] Figure 3 is a structural diagram of a device for reducing the power consumption of an intelligent door lock disclosed by the embodiments of the present application;

[0057] Figure 4 is a structural diagram of another device for reducing the power consumption of an intelligent door lock disclosed by the embodiments of the present application;

[0058] Figure 5 is a structural diagram of still another device for reducing the power consumption of an intelligent door lock disclosed by the embodiments of the present application. DETAILED DESCRIPTION

[0059] In order to make the personnel in the technical field better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings of the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0060] The terms "first", "second", and the like in the description and in the claims of the present application and above drawings are used for distinguishing between similar objects, not for describing a particular sequential order. The terms "comprises", "comprising", "includes", "including" and the like are to be construed open- ended, meaning that they include the listed steps or elements, but not excluding other steps or elements. For example, a process, method, article, or apparatus that "comprises" or "comprising" a list of steps or elements is not limited to only those steps or elements, but can include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

[0061] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is expressly understood that any of the embodiments described herein can be incorporated in to other embodiments.

[0062] The embodiment of the present application discloses a method and device for reducing the power consumption of a smart door lock, which can predict the interrupt wake-up frequency of the smart door lock at different times by the operation result of an algorithm when the smart door lock is in a low-power mode, and can wake up the smart door lock by the predicted interrupt wake-up frequency at different times, thereby reducing the power consumption of the smart door lock while ensuring user experience, and prolonging the endurance time of the smart door lock. The following will be described in detail.

[0063] Embodiment one

[0064] Please refer to Figure 1 , Figure 1 is a flowchart of a method for reducing the power consumption of a smart door lock according to the embodiment of the present application. As Figure 1 shown, the method for reducing the power consumption of a smart door lock can include the following operations:

[0065] 101, judge whether the smart door lock is in a low-power mode, and trigger step 102 when the judgment result of step 101 is yes.

[0066] In the embodiment of the present application, the state of the smart door lock is in a low-power mode when there is no unlocking operation or the like on the smart door lock. In the low-power mode, the smart door lock is in a sleep state, and the power consumption of the smart door lock in the sleep state is lower. The longer the time of the smart door lock in the low-power state, the longer the endurance time of the smart door lock.

[0067] In an optional embodiment, the smart door lock is initialized before determining whether the smart door lock is in the low-power mode. The initialization of the smart door lock includes initialization of each module (e.g., a chip) of the smart door lock.

[0068] 102. Interrupting the smart door lock according to the determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to the calculation result of the algorithm.

[0069] In the embodiment, when the smart door lock is in the low-power mode, the smart door lock needs to be interrupted and woken up. The smart door lock after being interrupted and woken up can detect the trigger information for the smart door lock.

[0070] In the embodiment, the interrupt wake-up frequency is predicted according to the calculation result of the algorithm. The predicted interrupt wake-up frequency is not a fixed frequency, and the interrupt wake-up frequency can be flexibly adjusted according to different time periods. When the smart door lock is in a peak period of unlocking, the interrupt wake-up frequency is set to a relatively high frequency (e.g., 500 Hz), that is, the interrupt wake-up interval of the smart door lock is 2 ms. In the high interrupt wake-up frequency, the number of times that the smart door lock is woken up is increased, so that the overall power consumption of the smart door lock is increased. When the smart door lock is in a valley period of unlocking, the interrupt wake-up frequency is set to a relatively low frequency (e.g., 2 Hz), that is, the interrupt wake-up interval of the smart door lock is 500 ms. In the low interrupt wake-up frequency, the number of times that the smart door lock is woken up is reduced, so that the overall power consumption of the smart door lock is reduced. The relatively high interrupt wake-up frequency is set to 500 Hz, and can also be set to other frequency values. The smart door lock can be preset according to actual needs. The relatively low interrupt wake-up frequency is set to 2 Hz, and can also be set to other frequency values. The smart door lock can also be preset according to actual needs.

[0071] 103. Detecting the trigger information for the smart door lock.

[0072] In the embodiment, the trigger information for the smart door lock includes RFID information, fingerprint information, or key password information, and can also be other trigger information that can trigger unlocking of the smart door lock. The embodiment is not limited.

[0073] 104. When the trigger information for the smart door lock is detected, the smart door lock is switched from the low-power mode to the normal working mode.

[0074] When the trigger information for the smart door lock is detected, the smart door lock is switched from the low-power mode to the normal working mode. After the smart door lock is switched to the normal working mode, the smart door lock enters the active state from the dormant state. The smart door lock in the active state can verify the trigger information for the smart door lock, for example, verify the RFID information of a user. When the RFID information verification is successful, the unlocking operation of the smart door lock is realized. Alternatively, the fingerprint information of a user is verified. When the fingerprint information verification is successful, the unlocking operation of the smart door lock is realized. Alternatively, the key code information of a user is verified. When the key code information verification is successful, the unlocking operation of the smart door lock is realized.

[0075] In the embodiment of the present application, for the whole process of reducing the power consumption of the smart door lock in unlocking the smart door lock, the following is exemplified. In the time period of 18:00-20:00 of the unlocking peak on Monday (non-statutory holiday), firstly, it is judged whether the smart door lock is in the low-power mode. When the smart door lock is in the low-power mode, the smart door lock is interrupted and awakened by the 500Hz interruption awakening frequency. The 500Hz interruption awakening frequency is predicted by the operation result of the algorithm. The RFID information for the smart door lock is detected under the 500Hz interruption awakening frequency. When the RFID information close to the smart door lock is detected, the smart door lock is switched from the low-power mode to the normal working mode. In the normal working mode, the RFID information of the smart door lock is verified. When the RFID information verification is successful, the smart door lock is unlocked. Alternatively, the fingerprint information for the smart door lock is detected under the 500Hz interruption awakening frequency. When the fingerprint information close to the smart door lock is detected, the smart door lock is switched from the low-power mode to the normal working mode. In the normal working mode, the fingerprint information of the smart door lock is verified. When the fingerprint information verification is successful, the smart door lock is unlocked. Alternatively, the key code information for the smart door lock is detected under the 500Hz interruption awakening frequency. When the key code information close to the smart door lock is detected, the smart door lock is switched from the low-power mode to the normal working mode. In the normal working mode, the key code information of the smart door lock is verified. When the key code information verification is successful, the smart door lock is unlocked.

[0076] In the embodiment of the present application, for the whole process of reducing the power consumption of the smart door lock in unlocking the smart door lock, the following is exemplified. In the time period of the unlocking low valley 00:00-06:00 on Tuesday (non-statutory holidays), firstly, it is judged whether the smart door lock is in the low power consumption mode. When the smart door lock is in the low power consumption mode, the smart door lock is interrupted and awakened by the interrupt awakening frequency of 2Hz, wherein the interrupt awakening frequency of 2Hz is obtained by the operation result of the algorithm. Under the interrupt awakening frequency of 2Hz, the RFID information for the smart door lock is detected. When the RFID information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the RFID information of the smart door lock is verified. When the RFID information verification is successful, the smart door lock is unlocked. Alternatively, under the interrupt awakening frequency of 2Hz, the fingerprint information for the smart door lock is detected. When the fingerprint information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the fingerprint information of the smart door lock is verified. When the fingerprint information verification is successful, the smart door lock is unlocked. Alternatively, under the interrupt awakening frequency of 2Hz, the key password information for the smart door lock is detected. When the key password information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the key password information of the smart door lock is verified. When the key password information verification is successful, the smart door lock is unlocked.

[0077] In the embodiment of the present application, for the whole process of reducing the power consumption of the smart door lock in unlocking the smart door lock, the following is exemplified. In the time period of 18:00-20:00 of the unlocking valley on Saturday (public holiday), firstly, it is judged whether the smart door lock is in the low-power consumption mode. When the smart door lock is in the low-power consumption mode, the smart door lock is interrupted and awakened by the interrupt awakening frequency of 2 Hz, wherein the interrupt awakening frequency of 2 Hz is obtained by the operation result of the algorithm. Under the interrupt awakening frequency of 2 Hz, the RFID information for the smart door lock is detected. When the RFID information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the RFID information of the smart door lock is verified. When the RFID information verification is successful, the smart door lock is unlocked. Alternatively, under the interrupt awakening frequency of 2 Hz, the fingerprint information for the smart door lock is detected. When the fingerprint information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the fingerprint information of the smart door lock is verified. When the fingerprint information verification is successful, the smart door lock is unlocked. Alternatively, under the interrupt awakening frequency of 2 Hz, the key password information for the smart door lock is detected. When the key password information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the key password information of the smart door lock is verified. When the key password information verification is successful, the smart door lock is unlocked.

[0078] In the embodiment of the present application, for the whole process of reducing the power consumption of the smart door lock in unlocking the smart door lock, the following is exemplified. In the unlocking valley 18:00-20:00 time period of statutory holidays (such as the National Day), first, it is judged whether the smart door lock is in the low power consumption mode. When the smart door lock is in the low power consumption mode, the smart door lock is awakened by interrupting at a 2Hz interrupt wake-up frequency. The 2Hz interrupt wake-up frequency is predicted by the operation result of the algorithm. The RFID information of the smart door lock is detected at the 2Hz interrupt wake-up frequency. When the RFID information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the RFID information of the smart door lock is verified. When the RFID information verification is successful, the smart door lock is unlocked. Or, the fingerprint information of the smart door lock is detected at the 2Hz interrupt wake-up frequency. When the fingerprint information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the fingerprint information of the smart door lock is verified. When the fingerprint information verification is successful, the smart door lock is unlocked. Or, the key password information of the smart door lock is detected at the 2Hz interrupt wake-up frequency. When the key password information close to the smart door lock is detected, the smart door lock is switched from the low power consumption mode to the normal working mode. In the normal working mode, the key password information of the smart door lock is verified. When the key password information verification is successful, the smart door lock is unlocked.

[0079] It can be seen that the method for reducing the power consumption of the smart door lock described in the embodiment of the present application can predict the interrupt wake-up frequency of different time periods by the operation result of the algorithm when the smart door lock is in the low power consumption mode. In the unlocking peak time period of the smart door lock, the interrupt wake-up frequency is set to a high frequency level. In the unlocking valley time period of the smart door lock, the interrupt wake-up frequency is set to a low frequency level. The smart door lock is awakened by interrupting at the flexible interrupt wake-up frequency. Only in the unlocking peak time period, the interrupt wake-up frequency of the smart door lock is improved. In the remaining time periods, the interrupt wake-up frequency is set to a low frequency level. By flexibly setting the interrupt wake-up frequency, the power consumption of the smart door lock can be reduced while the user experience is ensured, thereby prolonging the endurance time of the smart door lock.

[0080] Embodiment two

[0081] Please refer to Figure 2 , Figure 2 is the flowchart of another method for reducing the power consumption of the smart door lock disclosed in the embodiment of the present application. As Figure 2 shown, the method for reducing the power consumption of the smart door lock can include the following operations:

[0082] 201, determining whether the smart door lock is in a low-power mode, and when the determination result of step 201 is yes, triggering step 202 to be executed; when the determination result of step 201 is no, triggering step 207 to be executed.

[0083] 202, interrupting the wake-up operation of the smart door lock according to the determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to the operation result of the algorithm.

[0084] In an optional embodiment, the interrupt wake-up frequency is determined by the following operations:

[0085] Obtaining historical data of unlocking the smart door lock stored in the database;

[0086] Making the algorithm operate according to the historical data to predict the interrupt wake-up frequency.

[0087] In this optional embodiment, the historical data of unlocking the smart door lock stored in the database is obtained, which includes the year, month, day of the week, date, time, whether it is a public holiday, whether it is a statutory holiday, the type of trigger information, the content of trigger information, etc. in the historical record of unlocking the smart door lock, and the algorithm is made to operate according to the obtained historical data of unlocking the smart door lock to predict the interrupt wake-up frequency at each time in the future. The algorithm predicts the interrupt wake-up frequency and stores it in the smart door lock. When the corresponding time comes, the predicted interrupt wake-up frequency is retrieved to perform the interrupt wake-up operation on the smart door lock.

[0088] It can be seen that this optional embodiment can obtain the historical data of the smart door lock, make the algorithm operate according to the obtained historical data, and ultimately predict the interrupt wake-up frequency of the smart door lock. When the corresponding time comes, the predicted interrupt wake-up frequency is retrieved to perform the interrupt wake-up operation on the smart door lock. According to a large amount of historical data, the interrupt wake-up frequency is predicted to wake up the smart door lock. The corresponding interrupt wake-up frequency at different times can be obtained more accurately, the power consumption of the smart door lock can be further reduced while ensuring user experience, and the endurance time of the smart door lock can be further improved.

[0089] In this optional embodiment, as an optional implementation, in the determination operation of the interrupt wake-up frequency, the algorithm is made to operate according to the historical data to predict the interrupt wake-up frequency, including:

[0090] The historical data is input into the input layer, and the training set, test set and validation set are selected from the historical data;

[0091] The training set, test set and validation set are operated according to the training set, test set and validation set, and the predicted probability of unlocking the smart door lock is output in the output layer;

[0092] According to the predicted probability of unlocking the smart door lock, the interrupted wake-up frequency is predicted.

[0093] In the optional embodiment, the algorithm is a deep learning algorithm, or other algorithm capable of realizing big data operation, and the embodiment of the application is not limited.

[0094] In the optional embodiment, the algorithm can train and predict data on a server end storing historical data of the smart door lock, or complete data training and prediction on a mobile terminal.

[0095] In the optional embodiment, the selected training set, test set and validation set can be selected from a large amount of unlocking historical data of the smart door lock saved in the database, so as to obtain a suitable training set, test set and validation set, and the accuracy of predicting the probability of unlocking the smart door lock by the smart door lock can be improved by selecting a suitable training set, test set and validation set.

[0096] It can be seen that, in the optional embodiment, the algorithm is operated and predicted by a large amount of data to obtain the unlocking probability of the smart door lock by selecting a suitable training set, test set and validation set in the input layer of the algorithm, the predicted probability of unlocking the smart door lock with higher accuracy can be obtained, and thus the accuracy of predicting the interrupted wake-up frequency is improved.

[0097] 203, detecting trigger information for the smart door lock.

[0098] 204, switching the smart door lock from the low-power consumption mode to the normal working mode when the trigger information for the smart door lock is detected.

[0099] In the embodiment of the application, other descriptions of steps 201-204 are described in detail with reference to steps 101-104 in the first embodiment, and the embodiment of the application will not be described again.

[0100] 205, acquiring target data when the smart door lock is in the normal working mode, the target data including the date and time of currently unlocking the smart door lock.

[0101] In the embodiment of the application, when the smart door lock is in the normal working mode, the target data acquired includes the date and time of currently unlocking the smart door lock, and can also include the year, month, day of the week, whether it is a public holiday, whether it is a statutory holiday, the type of detected trigger information, the content of trigger information, and other related information of currently unlocking the smart door lock, and the embodiment of the application is not limited.

[0102] 206, storing the target data in the database.

[0103] In the embodiment of the present application, the database can be a local database, a cloud database, or other data storage mode capable of realizing data storage, and the embodiment of the present application is not limited.

[0104] 207、the smart door lock is in the normal working mode, and trigger information for the smart door lock is detected within a first preset time period.

[0105] In the embodiment of the present application, the first preset time period after the smart door lock enters the normal working mode can be set according to actual needs, for example, the first preset time period is set to 10s.

[0106] 208、when the trigger information for the smart door lock is not detected, the smart door lock is switched from the normal working mode to the low-power-consumption mode.

[0107] In the embodiment of the present application, if the trigger information for unlocking of a certain user is not detected within the first preset time period after the smart door lock enters the normal working mode, it is considered that there is no need to unlock the smart door lock, and the smart door lock is switched from the normal working mode to the low-power-consumption mode, for example, if the trigger information for unlocking of a certain user is not detected within 10s after the smart door lock enters the normal working mode, it is considered that there is no need to unlock the smart door lock, and the smart door lock is switched from the normal working mode to the low-power-consumption mode, so that when the smart door lock enters the normal working mode and the unlocking action is completed or the unlocking action is not needed, the smart door lock can be switched from the normal working mode with high power consumption to the low-power-consumption mode in time, the power consumption of the smart door lock is further reduced, and the endurance time of the smart door lock is further improved.

[0108] In the embodiment of the present application, for the whole process of reducing the power consumption of the smart door lock in unlocking the smart door lock, the following is exemplified. In the time period of 18:00-20:00 of the unlocking peak on Monday (non-holiday), firstly, it is judged whether the smart door lock is in the low-power consumption mode. When the smart door lock is in the low-power consumption mode, the smart door lock is awakened by the 500Hz interrupt awakening frequency. The 500Hz interrupt awakening frequency is obtained by the algorithm. Under the 500Hz interrupt awakening frequency, the RFID information of the smart door lock is detected. When the RFID information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the RFID information of the smart door lock is verified. When the RFID information is verified successfully, the smart door lock is unlocked. Alternatively, under the 500Hz interrupt awakening frequency, the fingerprint information of the smart door lock is detected. When the fingerprint information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the fingerprint information of the smart door lock is verified. When the fingerprint information is verified successfully, the smart door lock is unlocked. Alternatively, under the 500Hz interrupt awakening frequency, the key password information of the smart door lock is detected. When the key password information close to the smart door lock is detected, the smart door lock is switched from the low-power consumption mode to the normal working mode. In the normal working mode, the key password information of the smart door lock is verified. When the key password information is verified successfully, the smart door lock is unlocked. In the process of unlocking the smart door lock in the normal working mode, the target data of the year, month, day of the week, date, unlocking time, whether it is a public holiday and whether it is a statutory holiday are obtained, and the target data are stored in the database. Within 10s after the smart door lock enters the normal working mode, if the trigger information of a user for unlocking is not detected, it is considered that there is no demand for unlocking the smart door lock, and the smart door lock is switched from the normal working mode with high energy consumption to the low-power consumption mode with low energy consumption.

[0109] It can be seen that the method for reducing power consumption of the smart door lock described in the embodiments of the present application can predict the interrupt wake-up frequency of different time periods through the operation result of the algorithm when the smart door lock is in the low-power mode, set the interrupt wake-up frequency to a high frequency level during the peak time period of unlocking of the smart door lock, and set the interrupt wake-up frequency to a low frequency level during the valley time period of unlocking of the smart door lock. The smart door lock is awakened by interrupt through the flexible interrupt wake-up frequency, which can realize increasing the interrupt wake-up frequency of the smart door lock only during the peak time period of unlocking, and setting the interrupt wake-up frequency to a low frequency level during the remaining time periods. Through the flexible setting of the interrupt wake-up frequency, the power consumption of the smart door lock can be reduced while ensuring the user experience, thereby improving the endurance time of the smart door lock. When the smart door lock is in the normal working state, the target data for unlocking the smart door lock is stored, and the amount of data used for the algorithm to operate is increased by continuously storing the target data for unlocking the smart door lock, thereby improving the operation accuracy of the algorithm. In addition, if the trigger information for unlocking of a certain user is not detected within the first preset time period after the smart door lock enters the normal working mode, the smart door lock is switched from the normal working mode to the low-power mode, which can further reduce the power consumption of the smart door lock, thereby further improving the endurance time of the smart door lock.

[0110] In another optional embodiment, the method further comprises:

[0111] In the second preset time period, the smart door lock is awakened by interrupt through the timer at the predicted interrupt wake-up frequency;

[0112] After the second preset time period, the algorithm is operated according to the updated historical data to predict the updated interrupt wake-up frequency, and the smart door lock is awakened by interrupt through the timer at the predicted updated interrupt wake-up frequency.

[0113] In the optional embodiment, the second preset time period can be set according to the implementation requirements. For example, the second preset time period is set to 1 month, that is, in 1 month, the smart door lock is awakened by interrupt through the timer at the already predicted interrupt wake-up frequency, and after 1 month, the algorithm is operated according to the updated historical data related to the smart door lock to predict the interrupt wake-up frequency of the next 1 month, and the smart door lock is awakened by interrupt through the timer at the predicted updated interrupt wake-up frequency.

[0114] As can be seen, this optional embodiment can interrupt and wake up the smart lock at a predicted interrupt wake-up frequency using a timer within a second preset time period. After the second preset time period, it can re-predict the interrupt wake-up frequency of the smart lock based on updated historical data of the smart lock, and use the re-predicted interrupt wake-up frequency to interrupt and wake up the smart lock. When the smart lock is used by a different user or the unlocking habits change, the predicted interrupt wake-up frequency of unlocking the smart lock can be updated in a timely manner according to this change, thereby improving the accuracy of predicting the interrupt wake-up frequency of the smart lock and thus improving the user experience.

[0115] Example 3

[0116] Please see Figure 3 , Figure 3 This is a schematic diagram of a device for reducing the power consumption of a smart door lock, as disclosed in an embodiment of the present invention. Figure 3 As shown, the device may include:

[0117] The judgment module 301 is used to determine whether the smart door lock is in low power mode;

[0118] The wake-up module 302 is used to perform an interrupt wake-up operation on the smart door lock by means of a determined interrupt wake-up frequency when the judgment module 301 determines that the smart door lock is in a low power mode. The interrupt wake-up frequency is predicted based on the calculation results of the algorithm.

[0119] The detection module 303 is used to detect trigger information for the smart door lock;

[0120] The switching module 304 is used to switch the smart lock from low power mode to normal operation mode when the detection module 303 detects trigger information for the smart lock.

[0121] It is evident that implementation Figure 3 The described device for reducing the power consumption of a smart lock can predict the interrupt wake-up frequency for different time periods based on the algorithm's calculation results when the smart lock is in low-power mode. During peak unlocking periods, the interrupt wake-up frequency is set to a high level, and during off-peak unlocking periods, it is set to a low level. By flexibly setting the interrupt wake-up frequency, the device can increase the interrupt wake-up frequency only during peak unlocking periods and set a low level interrupt wake-up frequency during other periods. By flexibly setting the interrupt wake-up frequency, the device can reduce the power consumption of the smart lock while ensuring a good user experience, thereby improving the smart lock's battery life.

[0122] In an optional embodiment, such as Figure 4As shown, the device can further include:

[0123] The acquisition module 305 is configured to acquire target data when the smart door lock is in the normal working mode, the target data including a date and time of unlocking the smart door lock;

[0124] The storage module 306 is configured to store the target data in a database.

[0125] It can be seen that the device for reducing power consumption of a smart door lock can store target data in a database each time the smart door lock is unlocked, so as to store a large amount of historical data in the database, thereby facilitating an increase in the data amount of an algorithm. Figure 3 The device for reducing power consumption of a smart door lock can predict an interrupt wake-up frequency of different time periods through an operation result of an algorithm when the smart door lock is in a low-power-consumption mode, set the interrupt wake-up frequency to a high frequency level during a peak time period of unlocking the smart door lock, and set the interrupt wake-up frequency to a low frequency level during a valley time period of unlocking the smart door lock, so as to realize an interrupt wake-up operation of the smart door lock through the interrupt wake-up frequency set flexibly, improve the interrupt wake-up frequency of the smart door lock only during the peak time period of unlocking, set the interrupt wake-up frequency to the low frequency level during the remaining time periods, reduce power consumption of the smart door lock through the interrupt wake-up frequency set flexibly while ensuring user experience, thereby improving a battery life of the smart door lock; the target data of unlocking the smart door lock is stored when the smart door lock is in the normal working state, the data amount used for an operation of an algorithm is increased through continuous storage of the target data of unlocking the smart door lock, and operation accuracy of the algorithm is improved; in addition, the smart door lock is switched from the normal working mode to the low-power-consumption mode if the trigger information of a user for unlocking is not detected within a first preset time period after the smart door lock enters the normal working mode, so as to further reduce power consumption of the smart door lock, thereby further improving the battery life of the smart door lock.

[0126] In an optional embodiment, the detection module 303 is further configured to, after the smart door lock is in the normal working mode, detect trigger information for the smart door lock within a first preset time period.

[0127] The switching module 304 is further configured to switch the smart door lock from the normal working mode to the low-power-consumption mode when the detection module 303 does not detect the trigger information for the smart door lock.

[0128] It can be seen that the device for reducing power consumption of a smart door lock can store target data in a database each time the smart door lock is unlocked, so as to store a large amount of historical data in the database, thereby facilitating an increase in the data amount of an algorithm. Figure 4 The device for reducing power consumption of a smart door lock can predict an interrupt wake-up frequency of different time periods through an operation result of an algorithm when the smart door lock is in a low-power-consumption mode, set the interrupt wake-up frequency to a high frequency level during a peak time period of unlocking the smart door lock, and set the interrupt wake-up frequency to a low frequency level during a valley time period of unlocking the smart door lock, so as to realize an interrupt wake-up operation of the smart door lock through the interrupt wake-up frequency set flexibly, improve the interrupt wake-up frequency of the smart door lock only during the peak time period of unlocking, set the interrupt wake-up frequency to the low frequency level during the remaining time periods, reduce power consumption of the smart door lock through the interrupt wake-up frequency set flexibly while ensuring user experience, thereby improving a battery life of the smart door lock; the target data of unlocking the smart door lock is stored when the smart door lock is in the normal working state, the data amount used for an operation of an algorithm is increased through continuous storage of the target data of unlocking the smart door lock, and operation accuracy of the algorithm is improved; in addition, the smart door lock is switched from the normal working mode to the low-power-consumption mode if the trigger information of a user for unlocking is not detected within a first preset time period after the smart door lock enters the normal working mode, so as to further reduce power consumption of the smart door lock, thereby further improving the battery life of the smart door lock.

[0129] In an optional embodiment, as shown in Figure 4 The wake-up module 302 includes an acquisition sub-module 3021 and an operation sub-module 3022, where:

[0130] The acquisition submodule 3021 is used to retrieve historical data on unlocking smart locks stored in the database;

[0131] The operation submodule 3022 is used to enable the algorithm to perform calculations based on historical data and predict the interrupt wake-up frequency.

[0132] As can be seen, this optional embodiment can acquire historical data of the smart lock, enabling the algorithm to perform calculations based on the acquired historical data and ultimately predict the interrupt wake-up frequency of the smart lock. At the corresponding time, the predicted interrupt wake-up frequency is retrieved to perform an interrupt wake-up operation on the smart lock. By predicting the interrupt wake-up frequency based on a large amount of historical data to perform the wake-up operation on the smart lock, the interrupt wake-up frequency corresponding to different times can be obtained more accurately. This can further reduce the power consumption of the smart lock while ensuring user experience, thereby further improving the battery life of the smart lock.

[0133] In an optional embodiment, such as Figure 4 As shown, the operation submodule 3022 includes an input subunit 20221, a selection subunit 20222, an operation subunit 20223, and an output subunit 20224, wherein:

[0134] Input subunit 20221 is used to input historical data into the input layer;

[0135] Select subunit 20222 to select the training set, test set, and validation set from historical data;

[0136] The computation subunit 20223 is used to perform operations based on the training set, test set, and validation set;

[0137] Output subunit 20224 is used to output the predicted probability of unlocking the smart lock in the output layer;

[0138] The operation subunit 20223 is also used to predict the interrupt wake-up frequency based on the predicted probability of unlocking the smart lock.

[0139] As can be seen, this optional embodiment can obtain a more accurate prediction of the probability of unlocking the smart lock by selecting appropriate training, testing and validation sets in the input layer of the algorithm and performing calculations on a large amount of data. This improves the accuracy of predicting the interruption wake-up frequency.

[0140] In an optional embodiment, the wake-up module 302 is further configured to wake up the smart door lock by the timer at the predicted interrupt wake-up frequency in a second preset time period; and after the second preset time period, the algorithm is operated according to the updated historical data to predict an updated interrupt wake-up frequency, and the smart door lock is woken up by the timer at the predicted updated interrupt wake-up frequency.

[0141] It can be seen that the optional embodiment can wake up the smart door lock by the timer at the predicted interrupt wake-up frequency in a second preset time period, and after the second preset time period, the interrupt wake-up frequency of the smart door lock is predicted again according to the updated historical data of the smart door lock, and the smart door lock is woken up by the timer at the predicted interrupt wake-up frequency. When the user of the smart door lock is changed or the unlocking habit is changed, the predicted interrupt wake-up frequency of the smart door lock can be updated in time according to the change, the accuracy of predicting the interrupt wake-up frequency of the smart door lock is improved, and the user experience is improved.

[0142] Embodiment Four

[0143] Please refer to Figure 5 , Figure 5 is another structure diagram of the device for reducing power consumption of a smart door lock according to an embodiment of the present application. As shown in Figure 5 , the device can include:

[0144] a memory 401 storing executable program codes;

[0145] a processor 402 coupled with the memory 401;

[0146] The processor 402 invokes the executable program codes stored in the memory 401 to execute the steps in the method for reducing power consumption of a smart door lock described in Embodiment One or Embodiment Two.

[0147] Embodiment Five

[0148] The embodiment of the present application discloses a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the steps in the method for reducing power consumption of a smart door lock described in Embodiment One or Embodiment Two.

[0149] Embodiment Six

[0150] The embodiment of the present application discloses a computer program product including a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the method for reducing power consumption of a smart door lock described in Embodiment One or Embodiment Two.

[0151] The apparatus embodiments described above are only illustrative, wherein the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., can be located in one place or distributed to multiple network modules. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0152] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software and necessary general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, and the computer software products can be stored in a computer readable storage medium, including Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer readable medium capable of carrying or storing data.

[0153] Finally, it should be noted that: the method and device for reducing power consumption of the intelligent door lock disclosed by the embodiments of the present application are only the preferred embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that; the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for reducing power consumption of a smart door lock, the method comprising: The method comprises: judging whether the smart door lock is in a low-power mode; when it is judged that the smart door lock is in the low-power mode, performing an interrupt wake-up operation on the smart door lock through a determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to an operation result of an algorithm; detecting trigger information for the smart door lock; when the trigger information for the smart door lock is detected, switching the smart door lock from the low-power mode to a normal working mode; and the interrupt wake-up frequency is determined by the following operations: obtaining historical data for unlocking the smart door lock stored in a database, the historical data including date, time, year, month, week, whether it is a public holiday, whether it is a statutory holiday, detected trigger information type and trigger information content in the historical record for unlocking the smart door lock; inputting the historical data into an input layer of the algorithm, and selecting a training set, a test set and a validation set from the historical data; performing an operation according to the training set, the test set and the validation set, and outputting a predicted probability of unlocking the smart door lock at an output layer of the algorithm; predicting the interrupt wake-up frequency of each time in the future corresponding to the historical data according to the predicted probability of unlocking the smart door lock; and the method further comprises: dynamically determining a second preset time period according to a target use requirement, the target use requirement including a user change requirement or an unlocking habit change requirement; after the second preset time period, predicting a new interrupt wake-up frequency of each time in the future corresponding to new historical data of the smart door lock generated during the second preset time period according to the new historical data and the algorithm; performing an interrupt wake-up operation on the smart door lock through a timer at the predicted new interrupt wake-up frequency.

2. The method of claim 1, wherein, The method further comprises: when the smart door lock is in the normal working mode, obtaining target data, the target data including date and time of currently unlocking the smart door lock; storing the target data in a database.

3. The method of reducing power consumption of a smart door lock according to claim 1 or 2, characterized in that, The method further comprises: after the smart door lock is in the normal working mode, detecting the trigger information for the smart door lock within a first preset time period; when the trigger information for the smart door lock is not detected, switching the smart door lock from the normal working mode to the low-power mode.

4. The method of claim 1, wherein, The method further comprises: within the second preset time period, performing an interrupt wake-up operation on the smart door lock through a timer at the predicted interrupt wake-up frequency.

5. An apparatus for reducing power consumption of a smart door lock, the apparatus comprising: The device is used to perform the method for reducing power consumption of a smart door lock according to any one of claims 1-4, and the device comprises: a judging module for judging whether the smart door lock is in a low-power mode; a wake-up module for, when the judging module judges that the smart door lock is in the low-power mode, performing an interrupt wake-up operation on the smart door lock through a determined interrupt wake-up frequency, wherein the interrupt wake-up frequency is predicted according to an operation result of an algorithm; a detecting module for detecting trigger information for the smart door lock; The switching module is configured to switch the smart door lock from the low-power consumption mode to a normal working mode when the detection module detects the trigger information for the smart door lock.

6. The device for reducing power consumption of an intelligent door lock according to claim 5, wherein, The device further comprises: The acquisition module is configured to acquire target data when the smart door lock is in the normal working mode, the target data comprising a date and time of a current unlocking of the smart door lock; The storage module is configured to store the target data in a database.

7. The device for reducing power consumption of a smart door lock according to claim 5 or 6, characterized in that: The detection module is further configured to detect the trigger information for the smart door lock within a first preset time period after the smart door lock is in the normal working mode; The switching module is further configured to switch the smart door lock from the normal working mode to the low-power consumption mode when the detection module does not detect the trigger information for the smart door lock.

8. An apparatus for reducing power consumption of a smart door lock, the apparatus comprising: The device comprises: a memory storing executable program codes; a processor coupled with the memory; The processor invokes the executable program codes stored in the memory to execute part or all steps of the method for reducing power consumption of a smart door lock according to any one of claims 1-4.

Citation Information

Patent Citations

  • Low-power-consumption control method and equipment based on intelligent lock dormancy awakening

    CN110889911A

  • Intelligent lock control method and device, equipment and storage medium

    CN113129479A