CN114089197A - Door lock monitoring method and device, electronic equipment and storage medium - Google Patents

Door lock monitoring method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114089197A
CN114089197A CN202111334061.8A CN202111334061A CN114089197A CN 114089197 A CN114089197 A CN 114089197A CN 202111334061 A CN202111334061 A CN 202111334061A CN 114089197 A CN114089197 A CN 114089197A
Authority
CN
China
Prior art keywords
battery
unlocking
door lock
current
residual
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
CN202111334061.8A
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 CN202111334061.8A priority Critical patent/CN114089197A/en
Publication of CN114089197A publication Critical patent/CN114089197A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements

Abstract

The invention relates to a door lock monitoring method, a device, electronic equipment and a storage medium, wherein the door lock monitoring method comprises the following steps: the method comprises the steps of obtaining the current battery voltage of a battery in the intelligent door lock and the battery use time from the time when the battery starts to work from a full-charge state to the current time, calculating the residual battery capacity of the battery based on the current battery voltage and the battery use time, determining the residual unlocking times of the battery according to the residual battery capacity and the preset unlocking consumed power consumed for unlocking each time, and sending out a power shortage prompt if the residual unlocking times are smaller than a preset threshold value. According to the embodiment of the invention, the residual battery capacity is accurately calculated through the current battery voltage and the battery use duration, and the accurate residual unlocking times are calculated based on the accurate residual battery capacity, so that the user is prompted to charge in time based on the residual unlocking times, the battery of the intelligent door lock can be ensured to supply power continuously, the continuous use duration of the intelligent door lock is further increased, and the intelligent door lock is convenient to use.

Description

Door lock monitoring method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a door lock monitoring method and device, electronic equipment and a storage medium.
Background
At present, the intelligent door lock cannot accurately estimate the residual capacity of the battery, the residual capacity of the battery is generally determined by simply measuring the voltage of the battery and estimating the corresponding residual capacity of the battery, and the high-precision requirement application cannot be met.
When the intelligent door lock is powered by the battery, once the electric quantity is not enough due to inaccurate estimation of the residual electric quantity of the battery, the intelligent door lock can not be normally unlocked, a user can be required to mechanically unlock the intelligent door lock by using a key, and the intelligent door lock can not be opened if the user does not carry the key with him, so that great inconvenience is brought to the life of the user.
Disclosure of Invention
In order to solve the technical problem that the residual electric quantity of the battery cannot be accurately measured, the application provides a door lock monitoring method and device, electronic equipment and a storage medium.
In a first aspect, the present application provides a door lock monitoring method, including:
acquiring the current battery voltage of a battery in the intelligent door lock and the battery service life from the time when the battery starts to work from a full-charge state to the current time;
calculating the residual battery capacity based on the current battery voltage and the battery service life;
determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking consumption capacity consumed by unlocking each time;
and if the residual unlocking times are less than a preset threshold value, sending out an electric quantity shortage prompt.
Optionally, calculating the remaining battery capacity based on the current battery voltage and the battery usage duration includes:
acquiring preset current corresponding to the current battery voltage and the battery service life;
calculating the product of the current battery voltage, the battery service life and the preset current to obtain the battery power consumption;
and subtracting the consumed electric quantity of the battery from the preset total electric quantity of the full-charge state of the battery to obtain the residual electric quantity of the battery.
Optionally, obtaining a preset current corresponding to the current battery voltage and the battery service life includes:
searching unlocking current corresponding to the current battery voltage and the battery service life in the corresponding relation among preset battery voltage, battery service life and unlocking current;
and determining the searched unlocking current as the preset current.
Optionally, the method for determining the unlocking power consumption consumed by unlocking each time includes:
acquiring unlocking current, unlocking voltage and unlocking duration when unlocking each time;
and integrating the product of the unlocking current, the unlocking voltage and the unlocking duration to obtain the unlocking power consumption.
Optionally, determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking power consumption consumed by unlocking each time, includes:
and dividing the residual battery power by the unlocking power consumption to obtain the residual unlocking times.
Optionally, determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking power consumption consumed by unlocking each time, includes:
acquiring standby power consumption consumed by standby operation of the intelligent door lock every day;
subtracting the standby power consumption from the battery residual power to obtain the daily residual unlocking power;
and dividing the residual unlocking electric quantity by the unlocking consumed electric quantity to obtain the residual unlocking times.
Optionally, obtaining the standby power consumption consumed by the standby operation of the intelligent door lock every day includes:
acquiring the daily electric quantity variation and unlocking times of the battery in historical records;
and inputting the electric quantity variable quantity and the unlocking times into a preset electric quantity prediction model so that the preset electric quantity prediction model outputs standby electric quantity consumed by standby operation of the intelligent door lock every day.
In a second aspect, the present application provides a door lock monitoring device comprising:
the intelligent door lock comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring the current battery voltage of a battery in the intelligent door lock and the battery service life from the time when the battery starts to work from a full-charge state to the current time;
the calculation module is used for calculating the residual battery capacity based on the current battery voltage and the battery service life;
the first determining module is used for determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking power consumption consumed by unlocking each time;
and the prompting module is used for sending out an electric quantity shortage prompt if the residual unlocking times are less than a preset threshold value.
Optionally, the calculation module comprises:
the first acquisition unit is used for acquiring preset current corresponding to the current battery voltage and the battery service life;
the calculation unit is used for calculating the product of the current battery voltage, the battery service life and the preset current to obtain the battery power consumption;
and the first subtraction unit is used for subtracting the consumed electric quantity of the battery by using the preset total electric quantity of the full-charge state of the battery to obtain the residual electric quantity of the battery.
Optionally, the obtaining unit includes:
the searching subunit is used for searching unlocking current corresponding to the current battery voltage and the battery service life in the corresponding relation among preset battery voltage, battery service life and unlocking current;
and the determining subunit is used for determining the searched unlocking current as the preset current.
Optionally, the apparatus further comprises: second determining means for determining the unlocking electricity consumption amount consumed for each unlocking, comprising:
the second acquisition module is used for acquiring unlocking current, unlocking voltage and unlocking duration during unlocking each time;
and the integral module is used for integrating the product of the unlocking current, the unlocking voltage and the unlocking duration to obtain the unlocking power consumption.
Optionally, the first determining module includes:
and the first division unit is used for dividing the residual battery capacity by the unlocking consumption capacity to obtain the residual unlocking times.
Optionally, the first determining module includes:
the second acquisition unit is used for acquiring standby power consumption consumed by standby operation of the intelligent door lock every day;
the second subtraction unit is used for subtracting the standby power consumption from the battery residual power to obtain the daily residual unlocking power;
and the second division unit is used for dividing the residual unlocking electric quantity by the unlocking consumed electric quantity to obtain the residual unlocking times.
Optionally, the second obtaining unit includes:
the acquisition subunit is used for acquiring the daily electric quantity variation and the unlocking times of the battery in the history record;
and the input subunit is used for inputting the electric quantity variation and the unlocking times into a preset electric quantity prediction model so as to enable the preset electric quantity prediction model to output standby electric quantity consumed by the standby operation of the intelligent door lock every day.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and a processor configured to implement the door lock monitoring method according to any one of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having a program of a door lock monitoring method stored thereon, where the program of the door lock monitoring method is executed by a processor to implement the steps of the door lock monitoring method according to any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method and the device can automatically calculate the residual battery capacity based on the current battery voltage and the battery service life, determine the residual unlocking times of the battery according to the residual battery capacity and the preset unlocking consumed power consumed by unlocking each time, and send out the power shortage prompt if the residual unlocking times are less than the preset threshold. According to the embodiment of the invention, the residual battery capacity is accurately calculated through the current battery voltage and the battery use duration, and the accurate residual unlocking times are calculated based on the accurate residual battery capacity, so that the user is prompted to charge in time based on the residual unlocking times, the situation that the intelligent door lock cannot be unlocked due to power failure caused by inaccurate estimation of the electric quantity of the intelligent door lock is avoided, the battery of the intelligent door lock can be continuously supplied with power, the continuous use duration of the intelligent door lock is increased, and the use of the intelligent door lock is facilitated for the user.
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 flowchart of a door lock monitoring method according to an embodiment of the present application;
fig. 2 is a structural diagram of a door lock monitoring device according to an embodiment of the present application;
fig. 3 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some 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.
When the intelligent door lock is powered by the battery, once the electric quantity is not enough due to inaccurate estimation of the residual electric quantity of the battery, the intelligent door lock can not be normally unlocked, a user can be required to mechanically unlock the intelligent door lock by using a key, and the intelligent door lock can not be opened if the user does not carry the key with him, so that great inconvenience is brought to the life of the user. Therefore, the embodiment of the application provides a door lock monitoring method, a door lock monitoring device, electronic equipment and a storage medium, and the door lock monitoring method can be applied to an intelligent door lock or a server communicating with the intelligent door lock.
As shown in fig. 1, the door lock monitoring method may include the steps of:
step S101, acquiring the current battery voltage of a battery in the intelligent door lock and the battery service time from the time when the battery starts to work from a full-charge state to the current time;
in the embodiment of the invention, the current battery voltage can refer to the voltage at two ends of the battery, and the battery use duration can refer to the duration from the time when the battery starts to work from a full-charge state to the current time last time.
In this step, the voltage across the battery may be ADC sampled and the sampled voltage may be I sampled2And R filtering processing is carried out to filter clutter interference and improve the precision of the current battery voltage.
Illustratively, SCILA can be used for generating filter coefficients for parameter setting, selecting proper frequency and filter coefficients through a simulation model of SCILA, and carrying out I on sampled voltage by using the frequency and the filter coefficients2And (5) R filtering processing.
Step S102, calculating the residual capacity of the battery based on the current battery voltage and the battery service life;
in the embodiment of the present invention, the remaining battery capacity may refer to a current capacity of the battery.
In this step, the consumed battery power of the battery can be obtained based on the current battery voltage and the battery usage time.
Step S103, determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking power consumption consumed by unlocking each time;
in the embodiment of the present invention, the unlocking power consumption consumed by unlocking each time can be preset, and the method for determining the unlocking power consumption consumed by unlocking each time includes: the method comprises the steps of obtaining unlocking current, unlocking voltage and unlocking duration when unlocking is carried out at each time, and integrating the product of the unlocking current, the unlocking voltage and the unlocking duration to obtain unlocking power consumption.
In this step, the remaining battery capacity and the unlocking power consumption required for unlocking each time can be used to obtain the number of times of unlocking that can be performed using the remaining battery capacity in the current battery, that is, the number of times of unlocking remaining in the battery.
And step S104, if the residual unlocking times are less than a preset threshold value, sending out an electric quantity shortage prompt.
In the embodiment of the present invention, a preset threshold may be preset, for example, the preset threshold is set to 10 times.
When remaining number of times of unblanking is less than preset threshold value, it is low excessively to show the battery power, and in order to avoid follow-up because the battery power of intelligent lock crosses lowly and leads to the user can't unblank, can in time send the not enough suggestion of electric quantity to user terminal.
The method and the device can automatically calculate the residual battery capacity based on the current battery voltage and the battery service life, determine the residual unlocking times of the battery according to the residual battery capacity and the preset unlocking consumed power consumed by unlocking each time, and send out the power shortage prompt if the residual unlocking times are less than the preset threshold. According to the embodiment of the invention, the residual battery capacity is accurately calculated through the current battery voltage and the battery use duration, and the accurate residual unlocking times are calculated based on the accurate residual battery capacity, so that the user is prompted to charge in time based on the residual unlocking times, the situation that the intelligent door lock cannot be unlocked due to power failure caused by inaccurate estimation of the electric quantity of the intelligent door lock is avoided, the battery of the intelligent door lock can be continuously supplied with power, the continuous use duration of the intelligent door lock is increased, and the use of the intelligent door lock is facilitated for the user.
In another embodiment of the present invention, the step S102 of calculating the remaining battery capacity based on the current battery voltage and the battery usage duration includes:
step 201, acquiring a preset current corresponding to the current battery voltage and the battery service life;
in the embodiment of the invention, the actual supply currents of a plurality of groups of different battery voltages and battery service durations can be collected in advance, the actual supply currents comprise unlocking currents supplied by the battery during unlocking and standby currents supplied by the battery for necessary electronic elements during non-unlocking, the average value of the current of the plurality of groups of actual supply currents is calculated, the preset current can be obtained, and the corresponding relation among the different battery voltages, the battery service durations and the supply currents is constructed. The more times of the collected actual power supply current, the more accurate the current average value obtained by final calculation.
In this step, a corresponding preset current may be obtained according to the current battery voltage and the battery usage duration.
Step 202, calculating the product of the current battery voltage, the battery service life and the preset current to obtain the battery power consumption;
in this step, the battery power consumption may be calculated according to the formula W-UIt, where W is the battery power consumption, U is the current battery voltage, I is the preset current, and t is the battery usage time.
And 203, subtracting the consumed electric quantity of the battery from the preset total electric quantity of the full-charge state of the battery to obtain the residual electric quantity of the battery.
In the embodiment of the invention, in order to ensure the accuracy of the calculated residual electric quantity of the battery, the total electric quantity of the full-charge state of the battery can be firstly calculated when the battery is fully charged each time.
In the embodiment of the invention, the preset current corresponding to the current battery voltage and the battery service life can be obtained, and the preset current is the average value of a plurality of groups of actual power supply currents in the battery service life, so that the preset current is more accurate, and the accurate battery consumption is calculated according to the accurate preset current, so that the battery residual capacity calculated based on the battery consumption is more accurate.
In another embodiment of the present invention, the step 201 of obtaining the preset current corresponding to the current battery voltage and the battery usage duration includes:
step 301, searching unlocking current corresponding to the current battery voltage and the battery service life in a corresponding relation among preset battery voltage, battery service life and unlocking current;
in the embodiment of the invention, because the supply currents provided by the batteries to the outside may be different under different battery voltages and battery use durations, a plurality of groups of actual supply currents provided by the batteries to the outside when the intelligent door lock is unlocked under different battery voltages and battery use durations can be collected in advance, the average value of the plurality of groups of actual supply currents is calculated to obtain the unlocking current, and further, the corresponding relation among the battery voltages, the battery use durations and the unlocking current is constructed.
In this step, the corresponding unlocking current can be searched in the corresponding relationship among the preset battery voltage, the preset battery use duration and the preset unlocking current according to the current battery voltage and the preset battery use duration.
Step 302, determining the found unlocking current as the preset current.
According to the embodiment of the invention, the corresponding unlocking current is searched in the corresponding relation among the set battery voltage, the battery service life and the unlocking current, and the unlocking current is the average value of the actual supply current provided by the battery under a plurality of groups of different battery voltages and battery service lives, so that the obtained unlocking current, namely the preset current, is more accurate.
In an embodiment of the present invention, the step S103 of determining the remaining number of times of unlocking the battery according to the remaining battery capacity and the preset unlocking consumed capacity consumed for unlocking each time includes:
and dividing the residual battery power by the unlocking power consumption to obtain the residual unlocking times.
In the embodiment of the invention, the power consumption of necessary electronic elements in the intelligent door lock is ignored when the intelligent door lock is not unlocked, the calculated amount can be reduced, and the system resources are saved.
In another embodiment of the present invention, the step S103 of determining the remaining number of times of unlocking the battery according to the remaining battery capacity and the preset unlocking consumed capacity consumed for unlocking each time includes:
step 401, acquiring standby power consumption consumed by standby operation of the intelligent door lock every day;
in the embodiment of the invention, the standby power consumption consumed by the standby operation of the intelligent door lock every day can be preset, illustratively, the power consumption consumed by the standby operation of a plurality of groups of intelligent door locks can be collected in advance, and the collected power consumption can be averaged to obtain the standby power consumption.
Step 402, subtracting the standby power consumption from the battery residual power to obtain the daily residual unlocking power;
because the electric quantity consumption of the battery comprises standby loss and unlocking loss, the standby loss electric quantity can be subtracted from the residual electric quantity of the battery to obtain the residual unlocking electric quantity for unlocking.
And 403, dividing the residual unlocking electric quantity by the unlocking consumed electric quantity to obtain the residual unlocking times.
The embodiment of the invention considers the standby power consumption, so that the calculated residual unlocking times are more accurate.
In another embodiment of the present invention, acquiring the standby power consumption consumed by the standby operation of the intelligent door lock every day includes:
step 501, acquiring historical daily electric quantity variation and unlocking times of the battery;
in the embodiment of the invention, the daily electric quantity variation and the unlocking times of the battery can be counted and stored as the history.
And 502, inputting the electric quantity variation and the unlocking times into a preset electric quantity prediction model so that the preset electric quantity prediction model outputs standby electric quantity consumed by standby operation of the intelligent door lock every day.
In the embodiment of the invention, a large amount of sample data can be used for training the electric quantity prediction model in advance, the electric quantity variable quantity and the unlocking times are input into the electric quantity prediction model, the electric quantity prediction model outputs the corresponding standby electric consumption, when the similarity between the output standby electric consumption and the accurate standby electric consumption exceeds the preset threshold, the accuracy of the electric quantity prediction model is proved to meet the requirement, and the electric quantity prediction model can be used for predicting the standby electric consumption in the practical application scene.
According to the embodiment of the invention, the standby power consumption consumed by the standby operation of the intelligent door lock every day is predicted through the preset power prediction model, and the standby power consumption output by the model is accurate, so that the standby power consumption consumed by the standby operation of the intelligent door lock every day is accurate, and the calculated residual unlocking times are more accurate.
In another embodiment of the present invention, there is also provided a door lock monitoring device, as shown in fig. 2, including:
the intelligent door lock comprises an acquisition module 11, a storage module and a control module, wherein the acquisition module is used for acquiring the current battery voltage of a battery in the intelligent door lock and the battery service life from the time when the battery starts to work from a full-charge state to the current time;
a calculating module 12, configured to calculate a remaining battery capacity based on the current battery voltage and the battery usage duration;
the determining module 13 is configured to determine the remaining unlocking times of the battery according to the remaining battery power and a preset unlocking power consumption consumed by unlocking each time;
and the prompting module 14 is used for sending out an electric quantity shortage prompt if the remaining unlocking times are smaller than a preset threshold value.
Optionally, the calculation module comprises:
the first acquisition unit is used for acquiring preset current corresponding to the current battery voltage and the battery service life;
the calculation unit is used for calculating the product of the current battery voltage, the battery service life and the preset current to obtain the battery power consumption;
and the first subtraction unit is used for subtracting the consumed electric quantity of the battery by using the preset total electric quantity of the full-charge state of the battery to obtain the residual electric quantity of the battery.
Optionally, the obtaining unit includes:
the searching subunit is used for searching unlocking current corresponding to the current battery voltage and the battery service life in the corresponding relation among preset battery voltage, battery service life and unlocking current;
and the determining subunit is used for determining the searched unlocking current as the preset current.
Optionally, the apparatus further comprises: second determining means for determining the unlocking electricity consumption amount consumed for each unlocking, comprising:
the second acquisition module is used for acquiring unlocking current, unlocking voltage and unlocking duration during unlocking each time;
and the integral module is used for integrating the product of the unlocking current, the unlocking voltage and the unlocking duration to obtain the unlocking power consumption.
Optionally, the first determining module includes:
and the first division unit is used for dividing the residual battery capacity by the unlocking consumption capacity to obtain the residual unlocking times.
Optionally, the first determining module includes:
the second acquisition unit is used for acquiring standby power consumption consumed by standby operation of the intelligent door lock every day;
the second subtraction unit is used for subtracting the standby power consumption from the battery residual power to obtain the daily residual unlocking power;
and the second division unit is used for dividing the residual unlocking electric quantity by the unlocking consumed electric quantity to obtain the residual unlocking times.
Optionally, the second obtaining unit includes:
the acquisition subunit is used for acquiring the daily electric quantity variation and the unlocking times of the battery in the history record;
and the input subunit is used for inputting the electric quantity variation and the unlocking times into a preset electric quantity prediction model so as to enable the preset electric quantity prediction model to output standby electric quantity consumed by the standby operation of the intelligent door lock every day.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor 1110, a communication interface 1120, a memory 1130, and a communication bus 1140, wherein the processor, the communication interface 1120, and the memory 1130 complete communication with each other through the communication bus 1140;
a memory 1130 for storing computer programs;
a processor, configured to implement the door lock monitoring method according to any of the foregoing method embodiments when executing the computer program stored in the memory 1130.
According to the electronic equipment provided by the embodiment of the invention, the processor automatically calculates the residual electric quantity of the battery based on the current battery voltage and the battery service life by executing the program stored in the memory, then determines the residual unlocking times of the battery according to the residual electric quantity of the battery and the preset unlocking consumed electric quantity consumed by unlocking each time, and can give out an electric quantity shortage prompt if the residual unlocking times are less than the preset threshold value. According to the embodiment of the invention, the residual battery capacity is accurately calculated through the current battery voltage and the battery use duration, and the accurate residual unlocking times are calculated based on the accurate residual battery capacity, so that the user is prompted to charge in time based on the residual unlocking times, the situation that the intelligent door lock cannot be unlocked due to power failure caused by inaccurate estimation of the electric quantity of the intelligent door lock is avoided, the battery of the intelligent door lock can be continuously supplied with power, the continuous use duration of the intelligent door lock is increased, and the use of the intelligent door lock is facilitated for the user.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, on which a program of a door lock monitoring method is stored, which when executed by a processor implements the steps of the door lock monitoring method according to any one of the preceding method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A door lock monitoring method, comprising:
acquiring the current battery voltage of a battery in the intelligent door lock and the battery service life from the time when the battery starts to work from a full-charge state to the current time;
calculating the residual battery capacity based on the current battery voltage and the battery service life;
determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking consumption capacity consumed by unlocking each time;
and if the residual unlocking times are less than a preset threshold value, sending out an electric quantity shortage prompt.
2. The door lock monitoring method according to claim 1, wherein calculating a battery remaining capacity based on the current battery voltage and the battery usage time period comprises:
acquiring preset current corresponding to the current battery voltage and the battery service life;
calculating the product of the current battery voltage, the battery service life and the preset current to obtain the battery power consumption;
and subtracting the consumed electric quantity of the battery from the preset total electric quantity of the full-charge state of the battery to obtain the residual electric quantity of the battery.
3. The door lock monitoring method according to claim 1, wherein obtaining a preset current corresponding to the current battery voltage and the battery usage duration comprises:
searching unlocking current corresponding to the current battery voltage and the battery service life in the corresponding relation among preset battery voltage, battery service life and unlocking current;
and determining the searched unlocking current as the preset current.
4. The door lock monitoring method according to claim 1, wherein the method for determining the unlocking power consumption consumed for each unlocking operation includes:
acquiring unlocking current, unlocking voltage and unlocking duration when unlocking each time;
and integrating the product of the unlocking current, the unlocking voltage and the unlocking duration to obtain the unlocking power consumption.
5. The door lock monitoring method according to claim 1, wherein determining the remaining number of times of unlocking the battery according to the remaining battery capacity and a preset unlocking consumption capacity consumed for each unlocking includes:
and dividing the residual battery power by the unlocking power consumption to obtain the residual unlocking times.
6. The door lock monitoring method according to claim 1, wherein determining the remaining number of times of unlocking the battery according to the remaining battery capacity and a preset unlocking consumption capacity consumed for each unlocking includes:
acquiring standby power consumption consumed by standby operation of the intelligent door lock every day;
subtracting the standby power consumption from the battery residual power to obtain the daily residual unlocking power;
and dividing the residual unlocking electric quantity by the unlocking consumed electric quantity to obtain the residual unlocking times.
7. The door lock monitoring method according to claim 6, wherein the obtaining of the standby power consumption consumed by the intelligent door lock in standby operation every day comprises:
acquiring the daily electric quantity variation and unlocking times of the battery in historical records;
and inputting the electric quantity variable quantity and the unlocking times into a preset electric quantity prediction model so that the preset electric quantity prediction model outputs standby electric quantity consumed by standby operation of the intelligent door lock every day.
8. A door lock monitoring device, comprising:
the intelligent door lock comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring the current battery voltage of a battery in the intelligent door lock and the battery service life from the time when the battery starts to work from a full-charge state to the current time;
the calculation module is used for calculating the residual battery capacity based on the current battery voltage and the battery service life;
the determining module is used for determining the remaining unlocking times of the battery according to the remaining battery capacity and the preset unlocking power consumption consumed by unlocking each time;
and the prompting module is used for sending out an electric quantity shortage prompt if the residual unlocking times are less than a preset threshold value.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the door lock monitoring method according to any one of claims 1 to 7 when executing the program stored in the memory.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program of a door lock monitoring method, which when executed by a processor, implements the steps of the door lock monitoring method according to any one of claims 1 to 7.
CN202111334061.8A 2021-11-11 2021-11-11 Door lock monitoring method and device, electronic equipment and storage medium Pending CN114089197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111334061.8A CN114089197A (en) 2021-11-11 2021-11-11 Door lock monitoring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111334061.8A CN114089197A (en) 2021-11-11 2021-11-11 Door lock monitoring method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114089197A true CN114089197A (en) 2022-02-25

Family

ID=80299907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111334061.8A Pending CN114089197A (en) 2021-11-11 2021-11-11 Door lock monitoring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114089197A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661132A (en) * 2022-03-29 2022-06-24 厦门汉印电子技术有限公司 Electric quantity monitoring method and device, printer and storage medium
CN114661132B (en) * 2022-03-29 2024-04-26 厦门汉印电子技术有限公司 Electric quantity monitoring method and device, printer and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584270A (en) * 2004-05-24 2005-02-23 苏州孔雀信天游电子有限公司 Monitoring method for fingerprint door-lock battery low-electricity quantity
CN103376414A (en) * 2012-04-25 2013-10-30 腾讯科技(深圳)有限公司 Method and device for monitoring electric quantity of battery
JP2014163132A (en) * 2013-02-26 2014-09-08 Suzuki Motor Corp Keyless entry system for vehicle
CN107037367A (en) * 2017-01-13 2017-08-11 孔文欣 Battery uses the measuring method and measuring system of electricity
CN108281720A (en) * 2018-01-10 2018-07-13 北京金山安全软件有限公司 Method, device and equipment for monitoring health state of battery of electronic equipment
CN108931741A (en) * 2018-09-18 2018-12-04 深圳市格瑞普智能电子有限公司 Battery pack remaining capacity monitoring method and system
CN109493476A (en) * 2018-11-05 2019-03-19 珠海格力电器股份有限公司 A kind of prediction technique, assessment system and the intelligent door lock of intelligent door lock unlocking times
CN110133515A (en) * 2019-03-20 2019-08-16 北京车和家信息技术有限公司 Battery remaining power determines method and device thereof
CN110391685A (en) * 2019-08-06 2019-10-29 密码精灵有限公司 Charge control method, device and the intelligent door lock of intelligent door lock
CN110907842A (en) * 2019-12-02 2020-03-24 深圳市欧瑞博科技有限公司 Intelligent door lock electric quantity detection device and method and intelligent door lock
CN113406501A (en) * 2021-07-09 2021-09-17 摩拜(北京)信息技术有限公司 Battery electricity metering method and device and vehicle lock

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584270A (en) * 2004-05-24 2005-02-23 苏州孔雀信天游电子有限公司 Monitoring method for fingerprint door-lock battery low-electricity quantity
CN103376414A (en) * 2012-04-25 2013-10-30 腾讯科技(深圳)有限公司 Method and device for monitoring electric quantity of battery
JP2014163132A (en) * 2013-02-26 2014-09-08 Suzuki Motor Corp Keyless entry system for vehicle
CN107037367A (en) * 2017-01-13 2017-08-11 孔文欣 Battery uses the measuring method and measuring system of electricity
CN108281720A (en) * 2018-01-10 2018-07-13 北京金山安全软件有限公司 Method, device and equipment for monitoring health state of battery of electronic equipment
CN108931741A (en) * 2018-09-18 2018-12-04 深圳市格瑞普智能电子有限公司 Battery pack remaining capacity monitoring method and system
CN109493476A (en) * 2018-11-05 2019-03-19 珠海格力电器股份有限公司 A kind of prediction technique, assessment system and the intelligent door lock of intelligent door lock unlocking times
CN110133515A (en) * 2019-03-20 2019-08-16 北京车和家信息技术有限公司 Battery remaining power determines method and device thereof
CN110391685A (en) * 2019-08-06 2019-10-29 密码精灵有限公司 Charge control method, device and the intelligent door lock of intelligent door lock
CN110907842A (en) * 2019-12-02 2020-03-24 深圳市欧瑞博科技有限公司 Intelligent door lock electric quantity detection device and method and intelligent door lock
CN113406501A (en) * 2021-07-09 2021-09-17 摩拜(北京)信息技术有限公司 Battery electricity metering method and device and vehicle lock

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FUKA IKEDA等: "Constant DC-Capacitor Voltage-Control-Based Reactive Power Control method of Bidirectional Battery Charger for EVs in Commercial Single-Phase Three-Wire Distribution Feeders", 《2020 23RD INTERNATIONAL CONFERENCE ON ELECTRICAL MACHINES AND SYSTEMS (ICEMS)》 *
吴琼宇: "汽车蓄电池剩余电量快速测量方案设计", 《汽车设计》 *
方子祥等: "一种指纹锁电量智能检测及充电装置的设计", 《电子测试》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661132A (en) * 2022-03-29 2022-06-24 厦门汉印电子技术有限公司 Electric quantity monitoring method and device, printer and storage medium
CN114661132B (en) * 2022-03-29 2024-04-26 厦门汉印电子技术有限公司 Electric quantity monitoring method and device, printer and storage medium

Similar Documents

Publication Publication Date Title
CN106461732B (en) Method for estimating state of health of battery
CN111812531B (en) Battery state detection method, device and storage medium
US8319479B2 (en) Method of estimating battery recharge time and related device
Charkhgard et al. Design of adaptive H∞ filter for implementing on state‐of‐charge estimation based on battery state‐of‐charge‐varying modelling
TWI420126B (en) Device for battery capacity prediction and method for the same
JP6234946B2 (en) Battery state estimation device
WO2020198118A1 (en) Methods, systems, and devices for estimating and predicting a remaining time to charge and a remaining time to discharge of a battery
CN101535827A (en) Apparatus and method for determination of the state-of-charge of a battery when the battery is not in equilibrium
CN102200568A (en) Method of estimating remaining capacity and run-time of a battery device
JP2014025738A (en) Residual capacity estimation device
CN111983495A (en) Battery pack health degree determination method and related device
CN110568373A (en) Lithium battery health state evaluation method, system, terminal and storage medium
Chao et al. State-of-health estimator based-on extension theory with a learning mechanism for lead-acid batteries
JP7394983B2 (en) Method and apparatus for determining the state of charge and health of a rechargeable battery
CN110806540B (en) Battery cell test data processing method, device and system and storage medium
CN111740464B (en) Battery power compensation method, device, equipment and readable storage medium
JP3769821B2 (en) High-precision relative digital voltage measurement method and apparatus
CN113406508A (en) Battery detection and maintenance method and device based on digital twinning
CN111142032A (en) Method, device and equipment for determining battery electric quantity and storage medium
CN114089197A (en) Door lock monitoring method and device, electronic equipment and storage medium
CN116930763A (en) Method for detecting residual capacity of battery based on rain flow counting method and application
CN116400223A (en) Battery electric quantity information generation method, device and readable storage medium
CN110646742A (en) Power battery SOH acquisition method, system and related assembly
CN112513656A (en) Method and apparatus for estimating state of charge of battery
CN112398212A (en) Standby power supply control method and device, energy storage system and storage medium

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