CN111525674A - Power supply switching method and device for double-battery door lock - Google Patents

Power supply switching method and device for double-battery door lock Download PDF

Info

Publication number
CN111525674A
CN111525674A CN202010361517.9A CN202010361517A CN111525674A CN 111525674 A CN111525674 A CN 111525674A CN 202010361517 A CN202010361517 A CN 202010361517A CN 111525674 A CN111525674 A CN 111525674A
Authority
CN
China
Prior art keywords
battery
voltage
door lock
low
power
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.)
Granted
Application number
CN202010361517.9A
Other languages
Chinese (zh)
Other versions
CN111525674B (en
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.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Home Systems 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 Qingdao Hisense Smart Home Systems Co ltd filed Critical Qingdao Hisense Smart Home Systems Co ltd
Priority to CN202010361517.9A priority Critical patent/CN111525674B/en
Publication of CN111525674A publication Critical patent/CN111525674A/en
Application granted granted Critical
Publication of CN111525674B publication Critical patent/CN111525674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/36Arrangements using end-cell switching

Abstract

The invention discloses a method and a device for switching power supply of a double-battery door lock. Through set up the bi-cell in the lock to when the lock was in operating condition, and the voltage of two batteries, the battery to the lock power supply is confirmed out to the selective, can prolong the live time of low-power warning back lock of battery, solved the problem that can't unblank after the low electric quantity certain time of present lock.

Description

Power supply switching method and device for double-battery door lock
Technical Field
The embodiment of the invention relates to the technical field of intelligent door locks, in particular to a power supply switching method and device for a double-battery door lock.
Background
Most of current intelligent door locks adopt the scheme that a set of or two sets of batteries supply power simultaneously, and after the battery low electricity reported to the police, the lock system can also support unblanking about 50 times (or support the standby about one month). If the battery of the door lock is not replaced for a while after the power of the door lock is low (for example, a user goes on a business trip for one month), the door lock system fails due to the fact that the battery is too low, and the electronic key cannot be unlocked.
Disclosure of Invention
The embodiment of the invention provides a power supply switching method and device for a double-battery door lock, which are used for solving the problem that the existing door lock cannot be unlocked after a certain time of low electric quantity.
In a first aspect, an embodiment of the present invention provides a method for switching power supplies of a dual-battery door lock, including:
when the door lock is determined to be in a working state, acquiring the voltage of the first battery and the voltage of the second battery;
and determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage.
Among the above-mentioned technical scheme, through set up the double cell in the lock to when the lock is in operating condition, and the voltage of two batteries, the battery to the lock power supply is confirmed out to the selective, can prolong the live time of low-power warning back lock of battery, solved the problem that can't unblank after the low electric quantity certain time of present lock.
Optionally, determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery, and the low threshold voltage includes:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as a battery for supplying power to the door lock; otherwise, determining the second battery as a battery for supplying power to the door lock;
when the voltage of the first battery is lower than the low-electricity threshold voltage and the voltage of the second battery is not lower than the low-electricity threshold voltage, determining the second battery as a battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked;
when the voltage of the first battery is not lower than the low-electricity threshold voltage and the voltage of the second battery is lower than the low-electricity threshold voltage, the first battery is determined as a battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played;
when the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; and otherwise, determining the first battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low when the door lock is unlocked.
Optionally, the method further includes:
when the door lock is determined to be in the dormant state, if the voltage of the first battery is lower than that of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, and if not, the first battery is controlled to supply power to the trigger module of the door lock.
Optionally, the first battery and the second battery are arranged in parallel through diodes of the same power.
In a second aspect, an embodiment of the present invention provides a power supply switching device for a dual-battery door lock, including:
the acquisition module is used for acquiring the voltage of the first battery and the voltage of the second battery when the door lock is determined to be in the working state;
and the processing module is used for determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage.
Optionally, the processing module is specifically configured to:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as a battery for supplying power to the door lock; otherwise, determining the second battery as a battery for supplying power to the door lock;
when the voltage of the first battery is lower than the low-electricity threshold voltage and the voltage of the second battery is not lower than the low-electricity threshold voltage, determining the second battery as a battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked;
when the voltage of the first battery is not lower than the low-electricity threshold voltage and the voltage of the second battery is lower than the low-electricity threshold voltage, the first battery is determined as a battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played;
when the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; and otherwise, determining the first battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low when the door lock is unlocked.
Optionally, the processing module is further configured to:
when the door lock is determined to be in the dormant state, if the voltage of the first battery is lower than that of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, and if not, the first battery is controlled to supply power to the trigger module of the door lock.
Optionally, the first battery and the second battery are arranged in parallel through diodes of the same power.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the double-battery door lock power supply switching method according to the obtained program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the above power supply switching method for a dual-battery door lock.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a power supply switching method for a dual-battery door lock according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a parallel connection of two batteries according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a dual battery power supply according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a power supply switching device for a dual-battery door lock according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the 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 invention.
Fig. 1 exemplarily shows a system architecture to which an embodiment of the present invention is applicable, where the system architecture may be an intelligent door lock, and the intelligent door lock may include a battery a, a battery B, a power shunting module 100, a trigger module 200, a password touch module 300, a fingerprint touch module 400, a main control MCU500, a voice control module 600, and an electronic lock body module 700.
Trigger module 200 may include a password trigger 210, a trigger control MCU220, and a fingerprint trigger 230. The password trigger 210 and the fingerprint trigger 230 are in communication with the trigger control MCU through signal lines, and the trigger control MCU220 is in communication with the power shunting module 100 through signal lines, for enabling the control power shunting module 100 to supply power correspondingly. The password touch module 300 may include a password touch panel 310 and a password MCU320, the fingerprint touch module 400 may include a fingerprint touch panel 410 and a fingerprint MCU420, the voice control module 600 may include an audio driver 610 and a speaker 620, and the electronic lock module 700 includes a motor driver 710 and a motor 720. The password touch panel 310 communicates with the password MCU320 through a signal line, and the password MCU320 communicates with the main control MCU500 through a signal line. The fingerprint touch panel 410 communicates with the fingerprint MCU420 through a signal line, and the fingerprint MCU420 communicates with the main control MCU500 through a signal line. The audio driver 610 is used to drive the speaker 620 to play related information under the control of the main control MCU 500. The motor driver 710 is used to drive the motor 720 to unlock or lock under the control of the main control MCU 500. The battery A and the battery B are respectively connected with the power supply shunting module 100 through a power line A and a power line B, the power supply shunting module 100 supplies power for the trigger module 200 through a power line 1, and the password touch module 300, the fingerprint touch module 400, the main control MCU500, the voice control module 600 and the electronic lock body module 700 are provided through system power lines.
The triggering module 200 is powered by the power line 1 all the time, and the power shunting module 100 automatically controls and selects the battery A or the battery B with higher voltage to supply power to the power line 1; the password touch module 300, the voice control module 600, the main control MCU500, the electronic lock module 700, the fingerprint touch module 400 and the like are powered by a system power line, and a battery for supplying power to the system power line is intelligently selected by the trigger control MCU220 through controlling the power shunting module 100.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of a power supply switching method for a dual battery door lock according to an embodiment of the present invention, where the flow may be executed by a power supply switching device for the dual battery door lock.
As shown in fig. 2, the process specifically includes:
step 201, when the door lock is determined to be in the working state, collecting the voltage of the first battery and the voltage of the second battery.
In the embodiment of the present invention, with reference to the structure shown in fig. 1, when a user touches the password touch template 310 or the fingerprint touch panel 410 on the door lock, the password trigger 210 or the fingerprint trigger 230 may be woken up, that is, the trigger module 200 is woken up, at this time, the password trigger 210 or the fingerprint trigger 230 may send a wake-up signal to the trigger control MCU220, and the trigger control MCU220 samples voltages of the battery a (first battery) and the battery B (second battery) through an Analog-to-Digital Converter (ADC), respectively.
It should be noted that, when it is determined that the door lock is in the dormant state, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, otherwise, the first battery is controlled to supply power to the trigger module of the door lock. The first battery and the second battery are arranged in parallel by diodes of the same power.
When the door lock is dormant, the system power line has no voltage, and the password touch module 300, the voice control module 600, the main control MCU500, the electronic lock module 700 and the fingerprint touch module 400 do not work; the power shunting module 100 may intelligently select the higher voltage of the battery a and the battery B to supply power to the power line 1 all the time. As shown in fig. 3, battery a and battery B may be connected in parallel to power line 1 through diodes of the same power, and the diodes are preferably turned on automatically in the path of higher battery voltage, so that the battery with higher voltage supplies power; and in the path with lower battery voltage, the diode is cut off in the reverse direction, and the battery with lower voltage can not supply power.
Step 202, determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage.
Specifically, the method for determining the power supply battery by comparing the voltage of the first battery with the voltage of the second battery specifically includes the following modes:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as the battery for supplying power to the door lock; otherwise the second battery is determined to be the battery powering the door lock.
And when the voltage of the first battery is lower than the low electricity threshold voltage and the voltage of the second battery is not lower than the low electricity threshold voltage, determining the second battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked.
When the voltage of the first battery is not lower than the low electricity threshold voltage and the voltage of the second battery is lower than the low electricity threshold voltage, the first battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played.
When the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; otherwise, the first battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low is played. The low electrical threshold voltage may be set empirically.
For example, as shown in fig. 4, when the door lock is triggered by the password 210 or the fingerprint 230 to wake up the trigger module 200, the trigger control MCU220 first samples the voltages of the battery a and the battery B through the ADC, and selects the corresponding battery to supply power by determining whether the voltages of the two batteries are lower than the set low power threshold voltage. The method mainly comprises the following three modes:
1. if the voltages of the two batteries are higher than the low-voltage threshold voltage, the trigger control MCU220 enables and controls the LDO (low dropout regulator) corresponding to the battery with the lower voltage to preferentially supply power to the system power line through the signal line. For example, if the voltage of battery a is low, MCU220 is triggered to enable and control LDO _ a110 in power shunting module 100 to supply power to the system power line, and if the voltage of battery B is low, then LDO _ B120 in power shunting module 100 is enabled and controlled to supply power to the system power line.
2. If one of the voltages of the two batteries is lower than the low-electricity threshold voltage, the MCU is triggered to enable the LDO corresponding to the battery with higher voltage to supply power to a system power line through a signal line, and the 'battery A/B (battery with low) is low in electricity quantity and the battery is required to be replaced in time' is reported when the lock is unlocked. For example, if the voltage of battery a is lower than the low power threshold voltage, the MCU220 is triggered to enable the LDO _ B120 in the power shunting module 100 to control power supply to the system power line, and the main control MCU500 controls the motor driver 710 to drive the motor 720 to unlock, and at the same time controls the audio driver 610 to drive the speaker 620 to broadcast "battery a is low, please get better battery in time". If the voltage of battery B is lower than the low power threshold voltage, the MCU220 is triggered to enable the LDO _ a110 in the power shunting module 100 to control power supply to the system power line, and the main control MCU500 controls the motor driver 710 to drive the motor 720 to unlock, and simultaneously controls the audio driver 610 to drive the speaker 620 to broadcast "battery B is low in power, please get a better battery in time".
3. If the voltages of the two batteries are lower than the low-electricity threshold voltage, the MCU220 is triggered to enable the LDO corresponding to the battery with higher voltage to be controlled through the signal line to supply power to a system power line, and the ' battery A and the battery B with low electric quantity ' are reported when the lock is unlocked, and the battery is required to be replaced in time '. For example, when the voltage of battery a and the voltage of voltage B are both lower than the low-power threshold voltage, if the voltage of battery a is lower than the voltage of battery B, MCU220 is triggered to enable and control LDO _ B120 in power shunting module 100 to supply power to the system power line, and main control MCU500 controls motor driver 710 to drive motor 720 to unlock, and simultaneously controls audio driver 610 to drive speaker 620 to broadcast "battery a and battery B are low in power, please get better battery in time". If the voltage of battery B is lower than the voltage of battery a, LDO _ a110 in power shunting module 100 is enabled to supply power to the system power line, and when main control MCU500 controls motor driver 710 to drive motor 720 to unlock, audio driver 610 is controlled to drive speaker 620 to broadcast "battery a and battery B are low in power, please get a better battery in time".
The above embodiment shows that, when it is determined that the door lock is in the operating state, the voltage of the first battery and the voltage of the second battery are collected, and the battery for supplying power to the door lock is determined according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage. Through set up the bi-cell in the lock to when the lock was in operating condition, and the voltage of two batteries, the battery to the lock power supply is confirmed out to the selective, can prolong the live time of low-power warning back lock of battery, solved the problem that can't unblank after the low electric quantity certain time of present lock.
Based on the same technical concept, fig. 5 exemplarily shows a structure of a dual battery door lock power supply switching apparatus provided by an embodiment of the present invention, and the apparatus can perform a dual battery door lock power supply switching process.
As shown in fig. 5, the apparatus specifically includes:
the acquisition module 501 is configured to acquire a voltage of the first battery and a voltage of the second battery when it is determined that the door lock is in the operating state;
a processing module 502, configured to determine a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery, and a low power threshold voltage.
Optionally, the processing module 502 is specifically configured to:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as a battery for supplying power to the door lock; otherwise, determining the second battery as a battery for supplying power to the door lock;
when the voltage of the first battery is lower than the low-electricity threshold voltage and the voltage of the second battery is not lower than the low-electricity threshold voltage, determining the second battery as a battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked;
when the voltage of the first battery is not lower than the low-electricity threshold voltage and the voltage of the second battery is lower than the low-electricity threshold voltage, the first battery is determined as a battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played;
when the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; and otherwise, determining the first battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low when the door lock is unlocked.
Optionally, the processing module 502 is further configured to:
when the door lock is determined to be in the dormant state, if the voltage of the first battery is lower than that of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, and if not, the first battery is controlled to supply power to the trigger module of the door lock.
Optionally, the first battery and the second battery are arranged in parallel through diodes of the same power.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the power supply switching method of the double-battery door lock according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the power supply switching method for the dual-battery door lock.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A power supply switching method for a double-battery door lock is characterized by comprising the following steps:
when the door lock is determined to be in a working state, acquiring the voltage of the first battery and the voltage of the second battery;
and determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage.
2. The method of claim 1, wherein determining a battery to power the door lock based on the voltage of the first battery, the voltage of the second battery, and a low electrical threshold voltage comprises:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as a battery for supplying power to the door lock; otherwise, determining the second battery as a battery for supplying power to the door lock;
when the voltage of the first battery is lower than the low-electricity threshold voltage and the voltage of the second battery is not lower than the low-electricity threshold voltage, determining the second battery as a battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked;
when the voltage of the first battery is not lower than the low-electricity threshold voltage and the voltage of the second battery is lower than the low-electricity threshold voltage, the first battery is determined as a battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played;
when the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; and otherwise, determining the first battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low when the door lock is unlocked.
3. The method of claim 1, wherein the method further comprises:
when the door lock is determined to be in the dormant state, if the voltage of the first battery is lower than that of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, and if not, the first battery is controlled to supply power to the trigger module of the door lock.
4. A method according to any one of claims 1 to 3, wherein the first battery and the second battery are arranged in parallel by diodes of the same power.
5. A double cell door lock power supply switching device is characterized by comprising:
the acquisition module is used for acquiring the voltage of the first battery and the voltage of the second battery when the door lock is determined to be in the working state;
and the processing module is used for determining a battery for supplying power to the door lock according to the voltage of the first battery, the voltage of the second battery and the low-power threshold voltage.
6. The apparatus of claim 5, wherein the processing module is specifically configured to:
when the voltage of the first battery and the voltage of the second battery are both higher than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, determining the first battery as a battery for supplying power to the door lock; otherwise, determining the second battery as a battery for supplying power to the door lock;
when the voltage of the first battery is lower than the low-electricity threshold voltage and the voltage of the second battery is not lower than the low-electricity threshold voltage, determining the second battery as a battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery is low when the door lock is unlocked;
when the voltage of the first battery is not lower than the low-electricity threshold voltage and the voltage of the second battery is lower than the low-electricity threshold voltage, the first battery is determined as a battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the second battery is low is played;
when the voltage of the first battery and the voltage of the second battery are both lower than the low-electricity threshold voltage, if the voltage of the first battery is lower than the voltage of the second battery, the second battery is determined as the battery for supplying power to the door lock, and when the door lock is unlocked, a prompt that the electric quantity of the first battery and the electric quantity of the second battery are both low is played; and otherwise, determining the first battery as the battery for supplying power to the door lock, and playing a prompt that the electric quantity of the first battery and the electric quantity of the second battery are low when the door lock is unlocked.
7. The apparatus of claim 5, wherein the processing module is further to:
when the door lock is determined to be in the dormant state, if the voltage of the first battery is lower than that of the second battery, the second battery is controlled to supply power to the trigger module of the door lock, and if not, the first battery is controlled to supply power to the trigger module of the door lock.
8. The apparatus of any of claims 5 to 7, wherein the first battery and the second battery are arranged in parallel by diodes of the same power.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 4 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN202010361517.9A 2020-04-30 2020-04-30 Power supply switching method and device for double-battery door lock Active CN111525674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010361517.9A CN111525674B (en) 2020-04-30 2020-04-30 Power supply switching method and device for double-battery door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010361517.9A CN111525674B (en) 2020-04-30 2020-04-30 Power supply switching method and device for double-battery door lock

Publications (2)

Publication Number Publication Date
CN111525674A true CN111525674A (en) 2020-08-11
CN111525674B CN111525674B (en) 2022-01-28

Family

ID=71908308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010361517.9A Active CN111525674B (en) 2020-04-30 2020-04-30 Power supply switching method and device for double-battery door lock

Country Status (1)

Country Link
CN (1) CN111525674B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203027010U (en) * 2012-11-30 2013-06-26 北汽福田汽车股份有限公司 Double-storage-battery system used for vehicle
CN106296918A (en) * 2016-08-10 2017-01-04 深圳市奥尼电子工业有限公司 Door latch device, door lock control system and control method for door lock
CN107834688A (en) * 2017-11-16 2018-03-23 广东樱花智能科技有限公司 The intelligent lock system and its control method that a kind of battery automatically switches
CN207752550U (en) * 2018-01-26 2018-08-21 林树群 A kind of smart lock low-power consumption standby circuit
US10347064B2 (en) * 2016-12-30 2019-07-09 Linkelectronics Co., Ltd. Digital door lock system using wireless power transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203027010U (en) * 2012-11-30 2013-06-26 北汽福田汽车股份有限公司 Double-storage-battery system used for vehicle
CN106296918A (en) * 2016-08-10 2017-01-04 深圳市奥尼电子工业有限公司 Door latch device, door lock control system and control method for door lock
US10347064B2 (en) * 2016-12-30 2019-07-09 Linkelectronics Co., Ltd. Digital door lock system using wireless power transmission
CN107834688A (en) * 2017-11-16 2018-03-23 广东樱花智能科技有限公司 The intelligent lock system and its control method that a kind of battery automatically switches
CN207752550U (en) * 2018-01-26 2018-08-21 林树群 A kind of smart lock low-power consumption standby circuit

Also Published As

Publication number Publication date
CN111525674B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN105072292A (en) Application control method and terminal
CN101814757B (en) Method and system for supplying power to mobile terminal
CN109130898B (en) Control method, device and equipment of integrated vehicle-mounted charger and automobile
CN112537265A (en) Control method and device of vehicle-mounted terminal and automobile
CN113129479A (en) Intelligent lock control method, device, equipment and storage medium
CN114844191A (en) Intelligent power supplementing method and device, storage medium and electronic device
CN108931932A (en) A kind of method for managing power supply and intelligent robot
CN210041420U (en) Controllable power supply starting expansion circuit and vehicle-mounted electronic equipment
CN111525674B (en) Power supply switching method and device for double-battery door lock
CN102096969B (en) Public electric bicycle system and bicycle borrowing and returning method thereof
US20160244007A1 (en) Method and apparatus for monitoring a quiescent state in a motor vehicle
CN106654429A (en) Battery control method and system
CN113359499B (en) Method and device for controlling household appliance, household appliance and readable storage medium
CN113291166A (en) Wake-up circuit, vehicle-mounted charger, vehicle-mounted charging system and wake-up method
CN114987207A (en) Switching control method and device for power-on and power-off modes, electronic equipment and medium
CN109802480B (en) Device for entering dormant or factory mode
CN111376785B (en) Battery management equipment, method and device and electric power-assisted vehicle
CN113119733B (en) Control method and device of vehicle-mounted charger, medium, vehicle-mounted charger and vehicle
CN113696732A (en) Low-voltage power-down control method and device and electric automobile
CN214984866U (en) Wake-up circuit, vehicle-mounted charger and vehicle-mounted charging system
CN110970974A (en) Mobile power supply output mode adjusting method and device, server and storage medium
CN111994020A (en) Vehicle-mounted photovoltaic auxiliary power supply method for electric vehicle, photovoltaic controller and power supply equipment
CN116729300B (en) Power supply module of data processing chip, control method of power supply module and vehicle
CN117293973B (en) Power management method of domain controller and domain controller
CN216184632U (en) Alternating current charging awakens acquisition circuit up

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee after: Qingdao Hisense Smart Life Technology Co.,Ltd.

Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd.

CP01 Change in the name or title of a patent holder