CN113947827A - Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium - Google Patents

Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium Download PDF

Info

Publication number
CN113947827A
CN113947827A CN202111177914.1A CN202111177914A CN113947827A CN 113947827 A CN113947827 A CN 113947827A CN 202111177914 A CN202111177914 A CN 202111177914A CN 113947827 A CN113947827 A CN 113947827A
Authority
CN
China
Prior art keywords
door lock
time period
power consumption
target door
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111177914.1A
Other languages
Chinese (zh)
Inventor
冯洋
苏星琦
王仁桥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111177914.1A priority Critical patent/CN113947827A/en
Publication of CN113947827A publication Critical patent/CN113947827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C2009/00634Power supply for the lock

Abstract

The application provides a method and a device for adjusting running power consumption of a door lock, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a current electric quantity value of a target door lock; comparing the current electric quantity value with a preset threshold value to obtain a comparison result; acquiring a time period of the current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that the target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period; and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment. Through this application, solved the lock battery power that exists among the correlation technique and consumed totally fast, caused the problem that the lock can not normally be opened.

Description

Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
Technical Field
The application relates to the field of household appliance intelligence, in particular to a method and a device for adjusting running power consumption of a door lock, electronic equipment and a storage medium.
Background
At present, along with the continuous improvement of electronic technology and user living standard, intelligent door lock is widely used.
The intelligent lock on the current market has begun to be used gradually in more user families, but the power consumption problem of intelligent lock has not been solved always, if the lock user forgets to change the battery and lead to the lock electric quantity to continue work always and carry out normal business logic for the battery electric quantity consumes totally fast, causes the lock can not normally open.
Disclosure of Invention
The application provides a method and a device for adjusting running power consumption of a door lock, a storage medium and electronic equipment, and aims to solve the problem that in the related technology, the battery power of the door lock is consumed completely, so that the door lock cannot be opened normally.
According to an aspect of an embodiment of the present application, there is provided a method for adjusting power consumption of a door lock, including:
acquiring a current electric quantity value of a target door lock;
comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
acquiring a time period of a current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that a target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period;
and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment.
According to another aspect of the embodiments of the present application, there is also provided a device for adjusting power consumption of a door lock, the device including:
the first acquisition unit is used for acquiring the current electric quantity value of the target door lock;
the obtaining unit is used for comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
the second obtaining unit is used for obtaining a time period in which the current time is, wherein the time period comprises a first time period and a second time period, the first time period is a time period in which the time length of the target door lock used by a target user is less than a first preset time length, the second time period is a time period in which the time length of the target door lock used by the target user is greater than a second preset time length, and the running power consumption of the target door lock in the first time period is less than the running power consumption of the target door lock in the second time period;
and the adjusting unit is used for adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment.
Optionally, the second obtaining unit includes:
the first obtaining module is used for determining the first time period and the second time period from a historical time record of the target user using the target door lock when the current electric quantity value is smaller than or equal to the preset threshold value;
a determining module, configured to determine the time period in which the current time is located.
Optionally, the adjusting unit comprises:
a second obtaining module, configured to obtain a first operation power consumption policy corresponding to the first time period and a second operation power consumption policy corresponding to the second time period;
an adjustment module to adjust the operating power consumption of the target door lock based on the first operating power consumption policy or the second operating power consumption policy.
Optionally, the adjusting module comprises:
the first operation subunit is configured to, when the current time is within the first time period, adjust the electric quantity of the target door lock by using the first operation power consumption policy, so that the target door lock operates according to a first power consumption mode, where the first power consumption mode is used to indicate that the target door lock enters a non-operating state, and adjust the display light of the target door lock to a first value.
Optionally, the first execution subunit performs the following operations: clearing all interrupt marks in the target door lock, wherein the interrupt marks are used for indicating the interrupted program of the target door lock in the logic operation process; releasing all running modules in the target door lock; stopping receiving the unlocking instruction sent by the target user;
and putting the target door lock into a dormant state.
Optionally, the adjusting module comprises:
and the second operation subunit is used for adjusting the electric quantity of the target door lock by utilizing the second operation power consumption strategy under the condition that the current time is in the second time period, so that the target door lock operates according to a second power consumption mode, wherein the second power consumption mode is used for indicating that the target door lock enters the working state, and the display light of the target door lock is adjusted to a second numerical value, the second numerical value is greater than the first numerical value and is smaller than a third numerical value, and the third numerical value is the corresponding display light brightness value under the condition that the current electric quantity value of the target door lock is greater than the preset threshold value.
Optionally, the apparatus further comprises:
a sending unit, configured to send alarm information to the terminal of the target user through a network alarm operation mode;
alternatively, the first and second electrodes may be,
the first triggering unit is used for triggering a sound module of the target door lock under the condition that the target user is monitored to use the target door lock, so that the target door lock emits an alarm sound;
alternatively, the first and second electrodes may be,
and the second trigger unit is used for triggering the display module of the target door lock under the condition that the target user uses the target door lock, so that the target door lock displays discontinuous light.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein the memory is used for storing the computer program; a processor for performing the method steps in any of the above embodiments by running the computer program stored on the memory.
According to a further aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method steps of any of the above embodiments when the computer program is executed.
In the embodiment of the application, the current electric quantity value of the target door lock is obtained; comparing the current electric quantity value with a preset threshold value to obtain a comparison result; acquiring a time period of the current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that the target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period; and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment. Because this application embodiment is according to the first time quantum and the second time quantum and the current electric quantity that the user that learns used the lock before and the comparison result of predetermineeing the threshold value, go to correspond the operation consumption of adjustment lock, thereby can realize intelligent regulation lock electric quantity distribution problem, come the better purpose of transferring the power-saving mode through the automatic learning function, the automatic adjustment lock consumption has been reached, the more lasting technological effect that the electric quantity that makes the lock can use, and then the lock battery electric quantity that exists has been solved among the correlation technique consumes totally fast, cause the problem that the lock can not normally open.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of an alternative method for adjusting power consumption of door lock operation according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an optional adjustment method for power consumption of door lock operation according to an embodiment of the present application;
fig. 3 is a schematic overall flow chart of an optional adjustment method for door lock operation power consumption according to an embodiment of the present application;
fig. 4 is a block diagram of an alternative power consumption adjusting device for door lock operation according to an embodiment of the present application;
fig. 5 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present application, a method for adjusting power consumption of a door lock is provided. Alternatively, in this embodiment, the method for adjusting the power consumption of the door lock operation may be applied to a hardware environment as shown in fig. 1. As shown in fig. 1, the terminal 102 may include a memory 104, a processor 106, and a display 108 (optional components). The terminal 102 may be communicatively coupled to a server 112 via a network 110, the server 112 may be configured to provide services (e.g., application services, etc.) for the terminal or for clients installed on the terminal, and a database 114 may be provided on the server 112 or separate from the server 112 for providing data storage services for the server 112. Additionally, a processing engine 116 may be run in the server 112, and the processing engine 116 may be used to perform the steps performed by the server 112.
Alternatively, the terminal 102 may be, but is not limited to, a terminal capable of calculating data, such as a mobile terminal (e.g., a mobile phone, a tablet Computer), a notebook Computer, a PC (Personal Computer) Computer, and the like, and the network may include, but is not limited to, a wireless network or a wired network. Wherein, this wireless network includes: bluetooth, WIFI (Wireless Fidelity), and other networks that enable Wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The server 112 may include, but is not limited to, any hardware device capable of performing computations.
In addition, in this embodiment, the method for adjusting the power consumption of the door lock operation may also be applied to, but not limited to, an independent processing device with a relatively high processing capability without data interaction. For example, the processing device may be, but is not limited to, a terminal device with a relatively high processing capability, that is, each operation in the above-mentioned method for adjusting the power consumption of the door lock operation may be integrated into a separate processing device. The above is merely an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the method for adjusting the power consumption of the door lock operation may be executed by the server 112, the terminal 102, or both the server 112 and the terminal 102. The method for adjusting the running power consumption of the door lock, which is executed by the terminal 102 according to the embodiment of the present application, may also be executed by a client installed thereon.
Taking an operation in a server as an example, fig. 2 is a schematic flowchart of an optional adjustment method for power consumption of door lock operation according to an embodiment of the present application, and as shown in fig. 2, the flowchart of the method may include the following steps:
in step S201, a current electric quantity value of the target door lock is obtained.
Optionally, in this embodiment of the application, the server needs to perform real-time power detection on the target door lock to obtain the current power value of the target door lock, where the target door lock is a door lock currently used by the target user, and the target door lock may be a door lock in a living room, a door lock in a bedroom, a door lock in a factory, a shop, or the like.
Step S202, comparing the current electric quantity value with a preset threshold value to obtain a comparison result.
Optionally, after the current electric quantity value of the target door lock is obtained, the electric quantity value is compared with a preset threshold value set in advance, and a comparison result is obtained. It is understood that the comparison result has only three cases, i.e. the electric quantity value is greater than the preset threshold, the electric quantity value is less than the preset threshold, and the electric quantity value is equal to the preset threshold. The preset threshold is a maximum value corresponding to the situation that the electric quantity of one door lock set in the embodiment of the present application is insufficient, for example, 60% of the total electric quantity.
Step S203, obtaining a time period of the current time, wherein the time period includes a first time period and a second time period, the first time period is a time period that the time length of the target user using the target door lock is less than a first preset time length, the second time period is a time period that the time length of the target user using the target door lock is greater than a second preset time length, and the operation power consumption of the target door lock in the first time period is less than the operation power consumption of the target door lock in the second time period.
Optionally, the first time period is a time period in which the time period for the target user to use the target door lock is less than a first preset time period, where the first preset time period is a critical value set by the server, and the critical value is used to represent that the time period for the target user to use the target door lock in the first time period is shorter. Further, the first time period is set as a time period in which the usage time of the target user is shorter than the first preset time period, for example, the first preset time period is 3 minutes, if the time period of the target user using the target door lock is obtained as 4:00-6:00 morning, the time period of the target user using the target door lock is 0 minute and is shorter than the first preset time period, and then the time period of the target user using the target door lock is defined as the first time period as 4:00-6:00 morning. It is to be understood that the first time period may be at least one time period, such as 2:00-3:00 a.m., 4:00-6:00 a.m., and the like, and that the time points are defined as the first time period as long as the target user uses the target door lock for less than a first predetermined length of time during the time period.
Similarly, the second time period is a time period in which the target user uses the target door lock for a time period longer than a second preset time period, wherein the second time period is another critical value set by the server, and the critical value is used for representing that the target user uses the target door lock for a time period longer in the second time period. Further, the second time period is set as a time period in which the usage time of the target user is longer than the second preset time period, for example, the second preset time period is 6 minutes, if the time period of 8:00-9:00 am is obtained, the time period in which the target user uses the target door lock is 7 minutes and longer than the second preset time period, at this time, the time period of 8:00-9:00 am is defined as the second time period. It will be appreciated that the second time period may be at least one time period, and that these time points are defined as the second time period as long as the target user uses the target door lock for a time greater than a second preset length of time within the time period.
Based on the above, the server obtains the current time, such as 12:00, when the target user is using the target door lock, and determines whether the current time falls within the first time period or the second time period. It can be understood that, since the first time period represents a time period in which the target user does not frequently use the target door lock, and the second time period represents a time period in which the target user frequently uses the target door lock, in order to intelligently adjust the power distribution of the target door lock, the operating power consumption of the target door lock in the first time period is smaller than the operating power consumption of the target door lock in the second time period.
And step S204, adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current time.
Optionally, in the embodiment of the present application, based on a comparison result between the current electric quantity value and a preset threshold value, and a time period in which the current time when the target user uses the target door lock is, the operation power consumption of the target door lock is adjusted.
In the embodiment of the application, the current electric quantity value of the target door lock is obtained; comparing the current electric quantity value with a preset threshold value to obtain a comparison result; acquiring a time period of the current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that the target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period; and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment. Because this application embodiment is according to the first time quantum and the second time quantum and the current electric quantity that the user that learns used the lock before and the comparison result of predetermineeing the threshold value, go to correspond the operation consumption of adjustment lock, thereby can realize intelligent regulation lock electric quantity distribution problem, come the better purpose of transferring the power-saving mode through the automatic learning function, the automatic adjustment lock consumption has been reached, the more lasting technological effect that the electric quantity that makes the lock can use, and then the lock battery electric quantity that exists has been solved among the correlation technique consumes totally fast, cause the problem that the lock can not normally open.
As an optional embodiment, the obtaining of the time period in which the current time is located includes:
under the condition that the current electric quantity value is smaller than or equal to a preset threshold value, determining a first time period and a second time period from a historical time record of the target user using the target door lock;
the time period in which the current time is located is determined.
Optionally, based on the above embodiment, the comparison result has only three cases, that is, the current electric quantity value is greater than the preset threshold, the current electric quantity value is smaller than the preset threshold, and the current electric quantity value is equal to the preset threshold. When the current electric quantity value is larger than the preset threshold value, the electric quantity of the target door lock is sufficient, and the target door lock can be normally used; then, for the situation that the current electric quantity value is smaller than the preset threshold value and the current electric quantity value is equal to the preset threshold value, the comparison results that the current electric quantity value is smaller than the preset threshold value and the current electric quantity value is equal to the preset threshold value are combined, and therefore when the current electric quantity value is smaller than or equal to the preset threshold value, the first time period and the second time period are determined according to the history record of the target user using the target door lock, which is continuously recorded by the target door lock before.
Then, based on the current time when the target user uses the target door lock, a time period in which the current time falls is determined, such as a first time period or a second time period in which the current time is.
As an alternative embodiment, adjusting the operation power consumption of the target door lock according to the comparison result and the time period of the current time comprises:
the first time period corresponds to a first operation power consumption strategy, the second time period corresponds to a second operation power consumption strategy, and the operation power consumption of the target door lock is adjusted by utilizing the first operation power consumption strategy or the second operation power consumption strategy. More specifically, under the condition that the current time is in a first time period, the electric quantity of the target door lock is adjusted by using a first operation power consumption strategy, so that the target door lock operates according to a first power consumption mode, wherein the first power consumption mode is used for indicating the target door lock to enter a non-working state and adjusting the display light of the target door lock to a first numerical value.
Optionally, in this embodiment of the application, if the current time is in a first time period, the target door lock is operated according to a first power consumption mode corresponding to the first operation power consumption policy, where the first power consumption mode is an ultra-low power consumption mode, that is, the current power consumption of the target door lock is already lower than a preset threshold, and the current time is in a time period when the target user does not frequently use the target door lock, at this time, the target door lock is in the ultra-low power consumption mode, and the brightness is adjusted to a first value; if the door lock shows a value of 10 for the intensity when the light is sufficiently charged, the first value may be 2, etc.
In the embodiment of the application, the time when the target user uses the target door lock can be perfected based on self-learning of the target door lock, and then the power distribution of the target door lock is intelligently adjusted, so that the intelligent power saving effect is achieved.
As an alternative embodiment, the target door lock performs the following operations when operating in the first power consumption mode:
clearing all interrupt marks in the target door lock, wherein the interrupt marks are used for indicating the interrupted program of the target door lock in the logic operation process; releasing all running modules in the target door lock; stopping receiving an unlocking instruction sent by a target user;
and putting the target door lock into a dormant state.
Optionally, when the target door lock operates according to the first power consumption mode, in addition to adjusting the brightness value to the first value in the above embodiment, the currently executed module of the target door lock needs to be processed, and more specifically, all interrupt flags in the target door lock may be cleared, where the interrupt flags are used to indicate a program that the target door lock is interrupted in the logic operation process; all running modules in the target door lock can be released; and the target door lock can also stop receiving an unlocking instruction and the like sent by the target user, so that the target door lock is in a dormant state and does not work any more, and the electric quantity is saved.
As an optional embodiment, adjusting the operating power consumption of the target door lock based on the first operating power consumption policy or the second operating power consumption policy comprises:
and under the condition that the current time is in a second time period, adjusting the electric quantity of the target door lock by utilizing a second operation power consumption strategy, so that the target door lock operates according to a second power consumption mode, wherein the second power consumption mode is used for indicating the target door lock to enter a working state, and adjusting the display light of the target door lock to a second numerical value, the second numerical value is greater than the first numerical value and smaller than a third numerical value, and the third numerical value is the corresponding display light brightness value under the condition that the current electric quantity value of the target door lock is greater than a preset threshold value.
Optionally, the second power consumption mode refers to a normal low power consumption mode, and when the current time is in the second time period, the target door lock is enabled to operate based on the second power consumption mode. That is, the electric quantity of the current target door lock is lower than the preset threshold value, and the current time is in a time period when the target user frequently uses the target door lock, at this time, the target door lock enters a common low-power-consumption mode, only the brightness of the display light of the target store needs to be adjusted, and at this time, the brightness is adjusted to a second numerical value so as not to influence the normal use of the target user; if the first value is 2, the second value may be 6, etc., if the light brightness value is 10 (i.e., the corresponding third value is greater than the preset threshold value when the current electric quantity value of the target door lock is greater than the preset threshold value) when the electric quantity of the target door lock is sufficient.
In the embodiment of the application, the consumption of the electric quantity of the target door lock is reduced as much as possible, the normal use of a target user is not influenced, and the effect of intelligently adjusting the running power consumption of the target door lock is achieved.
As an alternative embodiment, after adjusting the operating power consumption of the target door lock, the method further comprises:
sending alarm information to a terminal of a target user in a network alarm operation mode;
alternatively, the first and second electrodes may be,
under the condition that the target user uses the target door lock, triggering a sound module of the target door lock to enable the target door lock to send out an alarm sound;
alternatively, the first and second electrodes may be,
and under the condition that the target user uses the target door lock, triggering a display module of the target door lock to enable the target door lock to display discontinuous light.
Optionally, in this embodiment of the application, after monitoring that the current electric quantity of the target door lock is lower than the preset threshold, the server may send an alarm message to a terminal of the target user, such as a mobile phone, an IPAD, and the like, so as to remind the target user to charge the target door lock or replace a battery in time. It can be understood that the server may use a date as a criterion for sending the warning message, for example, when the current electric quantity of the target door lock is less than or equal to a preset threshold value at 1 month 9, the warning message is sent to the target user terminal once, and when the electric quantity of the target door lock is not charged all the time, the warning message is sent to the target user terminal twice at 2 months 9.
Alternatively, the first and second electrodes may be,
the target user is reminded to replace the battery in a light or sound mode, for example, when the target user is monitored to use the target door lock, a sound module of the target door lock is triggered to enable the target door lock to send out alarm sound, or when the target user is monitored to use the target door lock, a display module of the target door lock is triggered to enable the target door lock to display discontinuous light. It can be understood that in the embodiment of the present application, the attention of the target user may also be drawn in a manner that the alarm sound increases day by day, and the alarm light flashing rhythm increases day by day, where the current electric quantity of the target door lock is less than or equal to the preset threshold value at day 9 month 1, the target door lock emits the alarm sound or displays intermittent light, and if the electric quantity of the target door lock is not charged all the time, the alarm sound is increased or the frequency of intermittent flashing is increased at day 9 month 2.
As an alternative embodiment, as shown in fig. 3, fig. 3 is a schematic overall flow chart of an alternative method for adjusting power consumption of door lock operation according to an embodiment of the present application, and the specific flow chart is as follows:
the server monitors the electric quantity of the door lock in real time; the door lock automatically learns the time of frequently using the door lock by a user at the same time;
when the electric quantity of the door lock is lower than a set threshold value, determining that the door lock enters an ultra-low power consumption mode in a time period when a user does not use the door lock at the current moment, or determining that the door lock enters a common low power consumption mode in a time period when the user frequently uses the door lock at the current moment;
and meanwhile, the APP end prompts a user to replace the battery in time.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
According to another aspect of the embodiment of the present application, there is also provided a device for adjusting power consumption of door lock operation, which is used for implementing the method for adjusting power consumption of door lock operation. Fig. 4 is a block diagram of a structure of an optional adjusting apparatus for power consumption of door lock operation according to an embodiment of the present application, and as shown in fig. 4, the apparatus may include:
a first obtaining unit 401, configured to obtain a current electric quantity value of the target door lock;
an obtaining unit 402, configured to compare the current electric quantity value with a preset threshold value, so as to obtain a comparison result;
a second obtaining unit 403, configured to obtain a time period in which the current time is, where the time period includes a first time period and a second time period, where the first time period is a time period in which a duration that the target user uses the target door lock is less than a first preset duration, the second time period is a time period in which the duration that the target user uses the target door lock is greater than a second preset duration, and an operation power consumption of the target door lock in the first time period is less than an operation power consumption of the target door lock in the second time period;
and an adjusting unit 404, configured to adjust the operating power consumption of the target door lock according to the comparison result and the time period in which the current time is.
It should be noted that the first obtaining unit 401 in this embodiment may be configured to execute the step S201, the obtaining unit 402 in this embodiment may be configured to execute the step S202, the second obtaining unit 403 in this embodiment may be configured to execute the step S203, and the adjusting unit 404 in this embodiment may be configured to execute the step S204.
Through the module, according to the first time quantum and the second time quantum of user use lock and the current electric quantity of study before and the comparative result of predetermineeing the threshold value, go to the operation consumption of corresponding adjustment lock, thereby can realize intelligent regulation lock electric quantity distribution problem, come the better purpose of transferring the power saving mode through the automatic learning function, the automatic adjustment lock consumption has been reached, the more lasting technological effect that the electric quantity that makes the lock can use, and then the lock battery electric quantity that exists has been solved among the correlation technique consumes totally fast, cause the problem that the lock can not normally open.
As an alternative embodiment, the second obtaining unit includes:
the first acquisition module is used for determining a first time period and a second time period from a historical time record of a target user using the target door lock under the condition that the current electric quantity value is smaller than or equal to a preset threshold value;
and the determining module is used for determining the time period of the current moment.
As an alternative embodiment, the adjusting unit comprises:
the second acquisition module is used for acquiring a first operation power consumption strategy corresponding to the first time period and a second operation power consumption strategy corresponding to the second time period;
and the adjusting module is used for adjusting the operation power consumption of the target door lock based on the first operation power consumption strategy or the second operation power consumption strategy.
As an alternative embodiment, the adjusting module comprises:
the first operation subunit is configured to, under the condition that the current time is within the first time period, adjust the electric quantity of the target door lock by using a first operation power consumption policy, so that the target door lock operates according to a first power consumption mode, where the first power consumption mode is used to indicate that the target door lock enters a non-operating state, and adjust the display light of the target door lock to a first value.
As an alternative embodiment, the first execution subunit performs the following operations: clearing all interrupt marks in the target door lock, wherein the interrupt marks are used for indicating the interrupted program of the target door lock in the logic operation process; releasing all running modules in the target door lock; stopping receiving an unlocking instruction sent by a target user;
and putting the target door lock into a dormant state.
As an alternative embodiment, the adjusting module comprises:
and the second operation subunit is used for adjusting the electric quantity of the target door lock by using a second operation power consumption strategy under the condition that the current time is in a second time period, so that the target door lock operates according to a second power consumption mode, wherein the second power consumption mode is used for indicating the target door lock to enter a working state and adjusting the display light of the target door lock to a second numerical value, the second numerical value is greater than the first numerical value and smaller than a third numerical value, and the third numerical value is the corresponding display light brightness value under the condition that the current electric quantity value of the target door lock is greater than a preset threshold value.
As an alternative embodiment, the apparatus further comprises:
the sending unit is used for sending alarm information to a terminal of a target user in a network alarm operation mode;
alternatively, the first and second electrodes may be,
the first trigger unit is used for triggering a sound module of the target door lock under the condition that the target user uses the target door lock is monitored, so that the target door lock sends out an alarm sound;
alternatively, the first and second electrodes may be,
and the second trigger unit is used for triggering the display module of the target door lock under the condition that the target user uses the target door lock, so that the target door lock displays discontinuous light.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the method for adjusting power consumption of door lock operation, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 5 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503, and a communication bus 504, where the processor 501, the communication interface 502, and the memory 503 are communicated with each other through the communication bus 504, where,
a memory 503 for storing a computer program;
the processor 501, when executing the computer program stored in the memory 503, implements the following steps:
acquiring a current electric quantity value of a target door lock;
comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
acquiring a time period of the current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that the target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period;
and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment.
Alternatively, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, as shown in fig. 5, the memory 503 may include, but is not limited to, a first obtaining unit 401, a obtaining unit 402, a second obtaining unit 403, and an adjusting unit 404 in the adjusting apparatus for power consumption of the door lock operation. In addition, other module units in the above-mentioned device for adjusting power consumption of door lock operation may also be included, but are not limited to this, and are not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In addition, the electronic device further includes: and the display is used for displaying the adjustment result of the running power consumption of the door lock.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the device implementing the method for adjusting the operation power consumption of the door lock may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the terminal device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing the method for adjusting the power consumption of the door lock.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
acquiring a current electric quantity value of a target door lock;
comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
acquiring a time period of the current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that the target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period;
and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment. Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to yet another aspect of an embodiment of the present application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps of the method for adjusting the running power consumption of the door lock in any one of the embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method for adjusting the operation power consumption of the door lock according to the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, and may also be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for adjusting operation power consumption of a door lock is characterized by comprising the following steps:
acquiring a current electric quantity value of a target door lock;
comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
acquiring a time period of a current moment, wherein the time period comprises a first time period and a second time period, the first time period is a time period that a target user uses the target door lock and is shorter than a first preset time, the second time period is a time period that the target user uses the target door lock and is longer than a second preset time, and the running power consumption of the target door lock in the first time period is smaller than that of the target door lock in the second time period;
and adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment.
2. The method of claim 1, wherein the obtaining a time period in which a current time is located comprises:
determining the first time period and the second time period from a history of the target user using the target door lock when the current electric quantity value is less than or equal to the preset threshold value;
determining the time period in which the current time is.
3. The method of claim 2, wherein the adjusting the operating power consumption of the target door lock according to the comparison result and the time period of the current time comprises:
acquiring a first operation power consumption strategy corresponding to the first time period and a second operation power consumption strategy corresponding to the second time period;
adjusting the operational power consumption of the target door lock based on the first operational power consumption policy or the second operational power consumption policy.
4. The method of claim 3, wherein the adjusting the operating power consumption of the target door lock based on the first operating power consumption policy or the second operating power consumption policy comprises:
under the condition that the current time is in the first time period, the electric quantity of the target door lock is adjusted by using the first operation power consumption strategy, so that the target door lock operates according to a first power consumption mode, wherein the first power consumption mode is used for indicating the target door lock to enter a non-working state, and the display light of the target door lock is adjusted to a first numerical value.
5. The method of claim 4, wherein the target door lock, when operating in the first power consumption mode, performs the following:
clearing all interrupt marks in the target door lock, wherein the interrupt marks are used for indicating the interrupted program of the target door lock in the logic operation process; releasing all running modules in the target door lock; stopping receiving the unlocking instruction sent by the target user;
and putting the target door lock into a dormant state.
6. The method of claim 4, wherein the adjusting the operating power consumption of the target door lock based on the first operating power consumption policy or the second operating power consumption policy comprises:
under the condition that the current time is in the second time period, the electric quantity of the target door lock is adjusted by utilizing the second operation power consumption strategy, so that the target door lock operates according to a second power consumption mode, wherein the second power consumption mode is used for indicating that the target door lock enters the working state, and the display light of the target door lock is adjusted to a second numerical value, the second numerical value is larger than the first numerical value and smaller than a third numerical value, and the third numerical value is the corresponding display light brightness value under the condition that the current electric quantity value of the target door lock is larger than the preset threshold value.
7. The method of any of claims 1 to 6, wherein after said adjusting the operating power consumption of the target door lock, the method further comprises:
sending alarm information to the terminal of the target user in a network alarm operation mode;
alternatively, the first and second electrodes may be,
under the condition that the target user is monitored to use the target door lock, triggering a sound module of the target door lock to enable the target door lock to send out an alarm sound;
alternatively, the first and second electrodes may be,
and under the condition that the target user uses the target door lock is monitored, triggering a display module of the target door lock to enable the target door lock to display discontinuous light.
8. An apparatus for adjusting power consumption of a door lock, the apparatus comprising:
the first acquisition unit is used for acquiring the current electric quantity value of the target door lock;
the obtaining unit is used for comparing the current electric quantity value with a preset threshold value to obtain a comparison result;
the second obtaining unit is used for obtaining a time period in which the current time is, wherein the time period comprises a first time period and a second time period, the first time period is a time period in which the time length of the target door lock used by a target user is less than a first preset time length, the second time period is a time period in which the time length of the target door lock used by the target user is greater than a second preset time length, and the running power consumption of the target door lock in the first time period is less than the running power consumption of the target door lock in the second time period;
and the adjusting unit is used for adjusting the running power consumption of the target door lock according to the comparison result and the time period of the current moment.
9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein said processor, said communication interface and said memory communicate with each other via said communication bus,
the memory for storing a computer program;
the processor for performing the method steps of any one of claims 1 to 7 by running the computer program stored on the memory.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method steps of any one of claims 1 to 7 when executed.
CN202111177914.1A 2021-10-09 2021-10-09 Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium Pending CN113947827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111177914.1A CN113947827A (en) 2021-10-09 2021-10-09 Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111177914.1A CN113947827A (en) 2021-10-09 2021-10-09 Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113947827A true CN113947827A (en) 2022-01-18

Family

ID=79329450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111177914.1A Pending CN113947827A (en) 2021-10-09 2021-10-09 Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113947827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828175A (en) * 2022-03-29 2022-07-29 深圳绿米联创科技有限公司 Target equipment control method, device and system and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2417314A1 (en) * 2009-04-06 2012-02-15 Utc Fire&Security Corporation Power management circuitry for electronic door locks
CN109830019A (en) * 2019-02-21 2019-05-31 广州技象科技有限公司 A kind of working method of the intelligent door lock based on LoRa technology
CN109869048A (en) * 2019-02-21 2019-06-11 广州技象科技有限公司 A kind of processing method and processing unit of door-locking system low battery
CN110111450A (en) * 2018-02-01 2019-08-09 杭州海康威视数字技术股份有限公司 The control method and door lock of a kind of pair of door lock
CN110350645A (en) * 2019-07-31 2019-10-18 密码精灵有限公司 Charge control method, device, medium and the controlling terminal of intelligent door lock
CN110417866A (en) * 2019-07-01 2019-11-05 珠海格力电器股份有限公司 A kind of method and device of door lock control
CN111158455A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Power consumption control method and device, storage medium and terminal
CN112346555A (en) * 2020-11-06 2021-02-09 深圳Tcl新技术有限公司 Intelligent door lock parameter adjusting method, device and equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2417314A1 (en) * 2009-04-06 2012-02-15 Utc Fire&Security Corporation Power management circuitry for electronic door locks
CN110111450A (en) * 2018-02-01 2019-08-09 杭州海康威视数字技术股份有限公司 The control method and door lock of a kind of pair of door lock
CN109830019A (en) * 2019-02-21 2019-05-31 广州技象科技有限公司 A kind of working method of the intelligent door lock based on LoRa technology
CN109869048A (en) * 2019-02-21 2019-06-11 广州技象科技有限公司 A kind of processing method and processing unit of door-locking system low battery
CN110417866A (en) * 2019-07-01 2019-11-05 珠海格力电器股份有限公司 A kind of method and device of door lock control
CN110350645A (en) * 2019-07-31 2019-10-18 密码精灵有限公司 Charge control method, device, medium and the controlling terminal of intelligent door lock
CN111158455A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Power consumption control method and device, storage medium and terminal
CN112346555A (en) * 2020-11-06 2021-02-09 深圳Tcl新技术有限公司 Intelligent door lock parameter adjusting method, device and equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林瑜筠: "《行车调度自动控制》", 30 June 2020, pages: 156 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828175A (en) * 2022-03-29 2022-07-29 深圳绿米联创科技有限公司 Target equipment control method, device and system and electronic equipment

Similar Documents

Publication Publication Date Title
CN107340014B (en) Multi-sensor detection method and device and computer readable storage medium
CN104244378B (en) Improve the wireless communication device and method of power management
CN104267799B (en) Network server and method and system for processing power consumption of electronic equipment
CN104239195A (en) Method for processing power consumption of electronic equipment, and electronic equipment
CN105072292A (en) Application control method and terminal
CN104584621A (en) Mixed off-site / on-site prediction computation for reducing wireless reconnection time of a computing device
CN104503892A (en) Terminal exception processing method and device and terminal
CN104156050B (en) The method of Mission Monitor and electronic equipment
CN111539563A (en) Energy consumption safety state prediction method, device, server and storage medium
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
WO2017206677A1 (en) Method and apparatus for managing device alarm clock
CN112153216A (en) Electric quantity early warning method and device, terminal equipment and storage medium
CN112172713B (en) Storage battery management method, storage battery management device, vehicle and storage medium
CN113947827A (en) Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN103902011A (en) Electronic device controlling method and electronic device
CN112365634A (en) Method and device for pushing abnormal alarm based on intelligent door lock
CN103631586A (en) Method and system for carrying out contextualization interactive processing
CN109701196B (en) Movable modular intelligent fire-fighting on-duty guarantee equipment and related products
CN104348140A (en) Low electric quantity prompting method and electronic equipment
CN108631438A (en) A kind of intelligent power control method and its intelligent power, cloud computing center based on cloud computing
CN113687711B (en) Terminal wake-up circuit and wake-up method
CN111158982B (en) Electronic device, first operating system, data processing method, and storage medium
CN110691135A (en) Equipment data uploading method and system, Internet of things module and storage medium
CN111198607B (en) Method and device for managing power consumption of electronic equipment
CN112083788A (en) Power saving method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220118