CN117220391A - Power supply management method, system and storage medium for smart watch during charging - Google Patents

Power supply management method, system and storage medium for smart watch during charging Download PDF

Info

Publication number
CN117220391A
CN117220391A CN202311485991.2A CN202311485991A CN117220391A CN 117220391 A CN117220391 A CN 117220391A CN 202311485991 A CN202311485991 A CN 202311485991A CN 117220391 A CN117220391 A CN 117220391A
Authority
CN
China
Prior art keywords
information
power supply
voltage
peripheral
voltage threshold
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
CN202311485991.2A
Other languages
Chinese (zh)
Other versions
CN117220391B (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.)
Shenzhen Wake Up Technology Co ltd
Original Assignee
Shenzhen Wake Up 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 Shenzhen Wake Up Technology Co ltd filed Critical Shenzhen Wake Up Technology Co ltd
Priority to CN202311485991.2A priority Critical patent/CN117220391B/en
Publication of CN117220391A publication Critical patent/CN117220391A/en
Application granted granted Critical
Publication of CN117220391B publication Critical patent/CN117220391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention provides a power supply management method, a system and a storage medium for charging an intelligent watch, wherein charging connection state information is obtained, and whether the intelligent watch enters a charging connection state is judged according to the charging connection state information; if yes, entering a first power supply mode; acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value; if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information; if yes, a second voltage threshold is obtained according to a preset communication instruction; judging whether the first voltage information exceeds a second voltage threshold value; if so, a second power supply mode is entered. According to the intelligent watch charging system and method, through power supply management, the safety and the efficiency of intelligent watch charging are ensured, and meanwhile, the measurement stability of peripheral equipment is improved, so that the use experience of a user is improved.

Description

Power supply management method, system and storage medium for smart watch during charging
Technical Field
The invention relates to the field of charging management, in particular to a power supply management method, a power supply management system and a storage medium for a smart watch during charging.
Background
With the development of technology, portable devices tend to be miniaturized and light, and power supply devices of the portable devices are limited by volume, so that the power supply quantity of the portable devices is affected. At present, in order to expand the functions of the intelligent watch, peripheral equipment can be driven through a communication interface to measure human body state parameters such as blood oxygen, blood pressure and body temperature. The intelligent watch generally uses a lithium battery as energy source to supply, and the lithium battery with independent power supply has the characteristics of stable voltage and no influence of commercial power, and can better ensure the stability of power supply of peripheral equipment.
However, when the lithium battery of the smart watch is not enough, the charging device is usually used for supplying power to the battery and supplying power to the smart watch. The measurement stability of the peripheral device will also be affected due to the instability of the mains supply. Therefore, there is a need for a charging management technology for a smart watch that can improve the measurement stability of peripherals during charging.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a power supply management method, system and storage medium for charging a smart watch, which can automatically switch a power supply mode according to voltage information of a battery and voltage information required by peripheral devices when the smart watch is in a charged state. According to the intelligent watch charging system and method, through power supply management, the safety and the efficiency of intelligent watch charging are ensured, and meanwhile, the measurement stability of peripheral equipment is improved, so that the use experience of a user is improved.
The first aspect of the invention provides a power supply management method for a smart watch during charging, which comprises the following steps:
acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
if yes, entering a first power supply mode;
acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
if yes, a second voltage threshold is obtained according to a preset communication instruction;
judging whether the first voltage information exceeds the second voltage threshold value;
if so, a second power supply mode is entered.
In this scheme, still include:
when the second power supply mode is entered and the peripheral connection state is set;
judging whether the first voltage information is lower than a preset first voltage threshold value or not;
if yes, entering the first power supply mode;
if not, judging whether the first voltage information is lower than the second voltage threshold;
if yes, entering the first power supply mode.
In this scheme, according to the communication instruction of predetermineeing, obtain the second voltage threshold value, specifically be:
Sending first instruction information and acquiring first feedback information fed back by the peripheral equipment;
obtaining first coding information according to the first feedback information;
judging whether first power supply information of peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
if yes, setting the second voltage threshold according to the first power supply information;
if not, the second voltage threshold is obtained according to a second communication instruction.
In this solution, the obtaining, according to the second communication instruction, the second voltage threshold is specifically:
sending second instruction information and acquiring second feedback information fed back by the peripheral equipment;
obtaining first electrical parameter information of the peripheral equipment according to the second feedback information;
and searching a preset voltage supply and demand table according to the first electrical parameter information to obtain the second voltage threshold.
In this scheme, still include:
when the battery is in the second power supply mode, acquiring temperature information of the battery;
judging whether the temperature information exceeds a preset temperature threshold value or not;
if yes, setting to enter the first power supply mode.
In this scheme, still include:
sending third instruction information to obtain third feedback information fed back by the peripheral equipment;
Obtaining first periodic information according to the third feedback information;
judging whether first time information in the first period information exceeds a preset first time threshold value or not;
if yes, the power supply mode is repeatedly switched according to the first period information.
The second aspect of the present invention provides a power supply management system when the smart watch is charged, including a power supply management method program when the smart watch is charged, where the power supply management method program when the smart watch is charged is executed by the processor to implement the following steps:
acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
if yes, entering a first power supply mode;
acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
if yes, a second voltage threshold is obtained according to a preset communication instruction;
judging whether the first voltage information exceeds the second voltage threshold value;
if so, a second power supply mode is entered.
In this scheme, still include:
when the second power supply mode is entered and the peripheral connection state is set;
Judging whether the first voltage information is lower than a preset first voltage threshold value or not;
if yes, entering the first power supply mode;
if not, judging whether the first voltage information is lower than the second voltage threshold;
if yes, entering the first power supply mode.
In this scheme, according to the communication instruction of predetermineeing, obtain the second voltage threshold value, specifically be:
sending first instruction information and acquiring first feedback information fed back by the peripheral equipment;
obtaining first coding information according to the first feedback information;
judging whether first power supply information of peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
if yes, setting the second voltage threshold according to the first power supply information;
if not, the second voltage threshold is obtained according to a second communication instruction.
A third aspect of the present invention provides a computer-readable storage medium, in which a power supply management method program for charging a smart watch is included, which when executed by a processor, implements the steps of the power supply management method for charging a smart watch as described in any one of the above.
The invention provides a power supply management method, a system and a storage medium for charging an intelligent watch, wherein charging connection state information is obtained, and whether the intelligent watch enters a charging connection state is judged according to the charging connection state information; if yes, entering a first power supply mode; acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value; if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information; if yes, a second voltage threshold is obtained according to a preset communication instruction; judging whether the first voltage information exceeds a second voltage threshold value; if so, a second power supply mode is entered. According to the intelligent watch charging system and method, through power supply management, the safety and the efficiency of intelligent watch charging are ensured, and meanwhile, the measurement stability of peripheral equipment is improved, so that the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be considered as limiting the scope.
FIG. 1 shows a flow chart of a method of power management for a smart watch during charging in accordance with the present invention;
FIG. 2 shows a flow chart of a power mode switching provided by an embodiment of the present invention;
FIG. 3 shows a flowchart for obtaining a second voltage threshold according to an embodiment of the present invention;
fig. 4 shows a block diagram of a power management system of the present invention when a smart watch is charged.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The terms "first," "second," and the like, as used in embodiments of the present invention, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Nor does the terms "a," "an," or "the" or similar terms mean a limitation of quantity, but rather that at least one is present. Likewise, the word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps preceding or following the methods of embodiments of the present invention are not necessarily performed in a sequential order. Rather, the various steps may be processed in reverse order or simultaneously. Also, other operations may be added to or removed from these processes.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
Fig. 1 shows a flowchart of a power supply management method when a smart watch is charged.
As shown in fig. 1, the invention discloses a power supply management method for charging a smart watch, which comprises the following steps:
s102, acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
s104, if so, entering a first power supply mode;
s106, acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
s108, if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
s110, if yes, obtaining a second voltage threshold according to a preset communication instruction;
s112, judging whether the first voltage information exceeds the second voltage threshold value;
and S114, if so, entering a second power supply mode.
It should be noted that, first, the charging connection state information is a connection state indicating a charging interface of the smart watch, including a charging connection state indicating that there is a charging device to provide electric energy for the smart watch through the charging interface, and a non-charging connection state indicating that no charging device is connected to the charging interface of the smart watch. The first power supply mode refers to the mode that the charger supplies electric power to the circuit system of the intelligent watch and the connected peripheral equipment, and can be called a charger power supply mode, and in the mode, the charger supplies power to the circuit system and the peripheral equipment and provides charging service for the battery. When the charger is connected to a charging interface of the intelligent watch, namely in a charging connection state, the charger enters a first power supply mode through the electronic circuit switch.
Second, the first voltage information is a voltage value between the positive and negative terminals of the battery of the smart watch, and may be referred to as a battery voltage value. After the battery voltage is acquired through the electronic circuit, whether the battery voltage value exceeds a preset first voltage threshold value is judged. For example, in some applications, when the battery voltage is lower than 3.0 volts, the power supply requirement of the circuit system of the smart watch cannot be met, and the 3.0 volts is the preset first voltage threshold, which is set according to the circuit system of the smart watch.
And then, if the battery voltage exceeds a preset first voltage threshold, namely, the battery voltage can meet the electric energy supply requirement of the intelligent watch circuit system, acquiring the peripheral state information of the peripheral interface. The peripheral interface is an interface provided by the smart watch for driving and communicating with the peripheral device, and a TYPE-C interface, a USB interface, etc. can be generally used. The peripheral state information is a connection state of a peripheral interface of the intelligent watch, and comprises a peripheral connection state, wherein the peripheral connection state indicates that peripheral equipment is in a working state and is communicated with the intelligent watch, and a non-peripheral connection state indicates that the peripheral equipment which is not in the working state is communicated with the intelligent watch.
And finally, when the peripheral is in a peripheral connection state, communicating with the peripheral equipment through a preset communication instruction, and analyzing and calculating to obtain a second voltage threshold according to the communication information. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power; that is, when the voltage of the battery exceeds the second voltage threshold, the power supply capability provided by the battery can ensure normal operation of the circuitry and the peripheral device of the smart watch, and at this time, the second power supply mode is set to be entered through the electronic circuit switch. The second power supply mode refers to a mode of supplying electric power to the circuit system of the smart watch and the connected peripheral equipment through a battery, and can be called a battery power supply mode, and the battery supplies power to the circuit system and the peripheral equipment in the mode.
In addition, in practical application, the charger converts the voltage value provided by 220 v mains supply or other power sources into a voltage value capable of providing electric energy for the smart watch, and the power source provided by the charger for the smart watch is unstable due to external interference of the mains supply or other power sources, so that the normal work of the smart watch, particularly the measurement accuracy of peripheral equipment, is affected. Compared with the prior art, the battery power supply of the intelligent watch has the characteristic of stable power supply, can better meet the power supply requirements of the intelligent watch and the peripheral equipment, and ensures the measurement accuracy of the peripheral equipment.
Fig. 2 shows a flowchart of power supply mode switching according to an embodiment of the present invention.
According to an embodiment of the present invention, as shown in fig. 2, further includes:
s202, when the second power supply mode is entered and the peripheral equipment is in the peripheral equipment connection state;
s204, judging whether the first voltage information is lower than a preset first voltage threshold value or not;
s206, if yes, entering the first power supply mode;
s208, if not, judging whether the first voltage information is lower than the second voltage threshold;
and S210, if yes, entering the first power supply mode.
It should be noted that, the second power supply mode refers to providing an electric power supply for the circuit system of the smart watch and the connected peripheral device through the battery, and may be referred to as a battery power supply mode; the peripheral connection state indicates that peripheral equipment is in a working state and is communicated with the intelligent watch. When the power supply mode is the battery power supply mode and the communication connection between the peripheral equipment and the intelligent equipment exists, judging whether the first voltage information is lower than a preset first voltage threshold value or not; the first voltage information is a voltage value between the positive end and the negative end of a battery of the intelligent watch, namely the battery voltage value. If the voltage value of the battery is lower than a preset first voltage threshold, the battery power supply is indicated to be incapable of meeting the power supply requirement of normal operation of the circuit system of the intelligent watch, and the power supply mode is switched to a first power supply mode, namely a charger power supply mode. If the battery voltage value is not lower than a preset first voltage threshold, namely the battery voltage can meet the electric energy supply requirement of the intelligent watch circuit system, judging whether the battery voltage value is lower than a second voltage threshold; the second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power. When the voltage value of the battery is lower than the second voltage threshold value, the power supply capability provided by the battery does not meet the normal working requirements of the circuit system and the peripheral equipment of the intelligent watch, and the power supply mode is switched to the first power supply mode, namely the charger power supply mode.
Fig. 3 shows a flowchart for obtaining the second voltage threshold according to an embodiment of the present invention.
According to an embodiment of the present invention, as shown in fig. 3, the second voltage threshold is obtained according to a preset communication instruction, which specifically is:
s302, sending first instruction information and acquiring first feedback information fed back by peripheral equipment;
s304, obtaining first coding information according to the first feedback information;
s306, judging whether first power supply information of the peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
s308, if yes, setting the second voltage threshold according to the first power supply information;
and S310, if not, obtaining the second voltage threshold according to a second communication instruction.
The intelligent watch communicates with the peripheral equipment through the peripheral interface, sends first instruction information to the peripheral equipment, and the peripheral equipment returns first feedback information according to the first instruction information and the coding information of the peripheral equipment. Obtaining first coding information of the peripheral equipment according to the first feedback information; wherein the first instruction information is an instruction for identifying the peripheral device, and the peripheral device is usually distinguished by a peripheral code, for example, the code 0x11 represents a blood oxygen device No. 1, and the code 0x21 represents a blood pressure device No. 1; the first feedback instruction comprises a peripheral code of the peripheral equipment; the first encoded information is encoded information of a peripheral device connected to the smart watch. Then, inquiring whether first power supply information of peripheral equipment corresponding to the first coding information is stored in the system according to the first coding information; the first power supply information is a battery voltage value required by the peripheral equipment in normal operation. The system stores the first power supply information of the common peripheral equipment so as to facilitate quick search and judgment. If the first power supply information exists, setting a second voltage threshold value by using the first power supply information; and if the first power supply information does not exist, sending a second communication instruction to the external equipment, and analyzing to obtain a second voltage threshold. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power.
According to an embodiment of the present invention, the obtaining the second voltage threshold according to the second communication instruction specifically includes:
sending second instruction information and acquiring second feedback information fed back by the peripheral equipment;
obtaining first electrical parameter information of the peripheral equipment according to the second feedback information;
and searching a preset voltage supply and demand table according to the first electrical parameter information to obtain the second voltage threshold.
The intelligent watch communicates with the peripheral equipment through the peripheral interface, sends second instruction information to the peripheral equipment, and returns second feedback information according to the second instruction information and the electrical parameters during working. The first electrical parameter information is an electrical parameter of the peripheral equipment when in operation, including but not limited to a voltage value, a current value, a load impedance and the like. And inquiring a voltage supply and demand table preset in the system according to the first electrical parameter of the peripheral equipment to obtain a second voltage threshold. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power. For example, when the voltage value is 3.3 volts and the current value is 100 milliamperes in the first electrical parameter information, the voltage value corresponds to the required battery voltage value of 3.5 volts. The voltage supply and demand table is prestored in the system according to the electronic characteristics of the circuit system.
According to an embodiment of the present invention, further comprising:
when the battery is in the second power supply mode, acquiring temperature information of the battery;
judging whether the temperature information exceeds a preset temperature threshold value or not;
if yes, setting to enter the first power supply mode.
It should be noted that, the smart watch is provided with a sensor for detecting temperature, and the sensor is used for detecting temperature information of the battery. When in the battery power supply mode, if the temperature information of the battery exceeds a preset temperature threshold value, the temperature is required to be prevented from rising continuously by switching the first power supply mode. After being switched to the first power supply mode, namely the charger power supply mode, the battery does not need to provide electric energy for the circuit system and the peripheral equipment of the intelligent watch, so that the work load is effectively lightened, and the temperature rising speed of the battery is slowed down, and even the temperature rising preventing effect is achieved.
According to an embodiment of the present invention, further comprising:
sending third instruction information to obtain third feedback information fed back by the peripheral equipment;
obtaining first periodic information according to the third feedback information;
judging whether first time information in the first period information exceeds a preset first time threshold value or not;
if yes, the power supply mode is repeatedly switched according to the first period information.
The intelligent watch communicates with the peripheral device through the peripheral interface, sends third instruction information to the peripheral device, and the peripheral device returns third feedback information according to the third instruction information and the working time period. The first period information is a time period of partial peripheral equipment when the detection task is executed, and the time period comprises detection duration and interval duration; the first time information is an interval duration. For example, the blood oxygen apparatus has a detection period of 100 milliseconds and an interval period of 0 seconds, and the time period is 100 milliseconds; the heart rate device detects 10 seconds in length and 50 seconds in interval, and the time period is 60 seconds. When the first time period exceeds a preset first time threshold, a mode of switching the power supply mode can be adopted to reduce the duration of the battery power supply mode. When the detection time period is in the detection time period phase, the battery power supply mode is set, and a stable power supply is provided for the peripheral equipment so as to ensure the detection stability; when the battery is in the interval duration stage, the battery is set to be in a charger power supply mode, the peripheral module is not in a detection state at the moment, the requirement on the stability of the power supply is not high, and the battery is only in a charging state, so that the charging speed is improved, and the service life of the battery is protected.
It is worth mentioning that the method further comprises:
when the peripheral equipment is in the peripheral equipment connection state and is in the first power supply mode, second voltage information is acquired;
judging whether the second voltage information is in a preset third voltage threshold range or not;
if yes, initializing first time length information;
if not, updating the first time length information according to the acquisition period of the second voltage;
judging whether the first time length information exceeds a preset first time length threshold value or not;
if yes, a first prompt message is sent to the terminal.
It should be noted that, when the power supply mode of the charger exists and the peripheral device performs the measurement task, the power supply voltage provided by the charger, that is, the charger voltage, is collected according to the preset time period and recorded as the second voltage information. The first time length information is a duration for recording that the charger voltage exceeds a preset range. Judging whether the voltage of the charger is in a preset third voltage threshold range or not; if yes, initializing first time length information; if not, the first time length information is updated according to the acquisition period, for example, the period of acquiring the charging voltage takes 100 milliseconds as the period, and the first time length information is incremented by 100 milliseconds each time. When the first time length information exceeds a preset first time length threshold value, the charger voltage stability degree can be indicated to not meet the measurement work requirement of the peripheral equipment, and first prompt information is sent to the terminal and used for prompting the user of the unstable work condition of the peripheral equipment.
It is worth mentioning that the method further comprises:
acquiring the first voltage information, and judging whether the first voltage information exceeds a preset third voltage threshold value;
if yes, entering a trickle charge mode and setting the trickle charge mode as a second power supply mode.
It should be noted that, the first voltage information is a battery voltage value, and it is determined whether the battery voltage value is higher than a preset third voltage threshold. If so, indicating that the battery is approaching a full state, a trickle charge mode, i.e., a low power charge mode, may be set to prevent a reduction in battery life due to overcharging of the battery. At this time, the battery power is sufficient to meet the working requirements of the smart watch and the peripheral, and the battery power mode can be switched.
Fig. 4 shows a block diagram of a power management system of the present invention when a smart watch is charged.
As shown in fig. 4, the invention discloses a power supply management system 4 when a smart watch is charged, which comprises a memory 41 and a processor 42, wherein the memory comprises a power supply management method program when the smart watch is charged, and the power supply management method program when the smart watch is charged is executed by the processor to realize the following steps:
acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
If yes, entering a first power supply mode;
acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
if yes, a second voltage threshold is obtained according to a preset communication instruction;
judging whether the first voltage information exceeds the second voltage threshold value;
if so, a second power supply mode is entered.
It should be noted that, first, the charging connection state information is a connection state indicating a charging interface of the smart watch, including a charging connection state indicating that there is a charging device to provide electric energy for the smart watch through the charging interface, and a non-charging connection state indicating that no charging device is connected to the charging interface of the smart watch. The first power supply mode refers to the mode that the charger supplies electric power to the circuit system of the intelligent watch and the connected peripheral equipment, and can be called a charger power supply mode, and in the mode, the charger supplies power to the circuit system and the peripheral equipment and provides charging service for the battery. When the charger is connected to a charging interface of the intelligent watch, namely in a charging connection state, the charger enters a first power supply mode through the electronic circuit switch.
Second, the first voltage information is a voltage value between the positive and negative terminals of the battery of the smart watch, and may be referred to as a battery voltage value. After the battery voltage is acquired through the electronic circuit, whether the battery voltage value exceeds a preset first voltage threshold value is judged. For example, in some applications, when the battery voltage is lower than 3.0 volts, the power supply requirement of the circuit system of the smart watch cannot be met, and the 3.0 volts is the preset first voltage threshold, which is set according to the circuit system of the smart watch.
And then, if the battery voltage exceeds a preset first voltage threshold, namely, the battery voltage can meet the electric energy supply requirement of the intelligent watch circuit system, acquiring the peripheral state information of the peripheral interface. The peripheral interface is an interface provided by the smart watch for driving and communicating with the peripheral device, and a TYPE-C interface, a USB interface, etc. can be generally used. The peripheral state information is a connection state of a peripheral interface of the intelligent watch, and comprises a peripheral connection state, wherein the peripheral connection state indicates that peripheral equipment is in a working state and is communicated with the intelligent watch, and a non-peripheral connection state indicates that the peripheral equipment which is not in the working state is communicated with the intelligent watch.
And finally, when the peripheral is in a peripheral connection state, communicating with the peripheral equipment through a preset communication instruction, and analyzing and calculating to obtain a second voltage threshold according to the communication information. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power; that is, when the voltage of the battery exceeds the second voltage threshold, the power supply capability provided by the battery can ensure normal operation of the circuitry and the peripheral device of the smart watch, and at this time, the second power supply mode is set to be entered through the electronic circuit switch. The second power supply mode refers to a mode of supplying electric power to the circuit system of the smart watch and the connected peripheral equipment through a battery, and can be called a battery power supply mode, and the battery supplies power to the circuit system and the peripheral equipment in the mode.
In addition, in practical application, the charger converts the voltage value provided by 220 v mains supply or other power sources into a voltage value capable of providing electric energy for the smart watch, and the power source provided by the charger for the smart watch is unstable due to external interference of the mains supply or other power sources, so that the normal work of the smart watch, particularly the measurement accuracy of peripheral equipment, is affected. Compared with the prior art, the battery power supply of the intelligent watch has the characteristic of stable power supply, can better meet the power supply requirements of the intelligent watch and the peripheral equipment, and ensures the measurement accuracy of the peripheral equipment.
According to an embodiment of the present invention, further comprising:
when the second power supply mode is entered and the peripheral connection state is set;
judging whether the first voltage information is lower than a preset first voltage threshold value or not;
if yes, entering the first power supply mode;
if not, judging whether the first voltage information is lower than the second voltage threshold;
if yes, entering the first power supply mode.
It should be noted that, the second power supply mode refers to providing an electric power supply for the circuit system of the smart watch and the connected peripheral device through the battery, and may be referred to as a battery power supply mode; the peripheral connection state indicates that peripheral equipment is in a working state and is communicated with the intelligent watch. When the power supply mode is the battery power supply mode and the communication connection between the peripheral equipment and the intelligent equipment exists, judging whether the first voltage information is lower than a preset first voltage threshold value or not; the first voltage information is a voltage value between the positive end and the negative end of a battery of the intelligent watch, namely the battery voltage value. If the voltage value of the battery is lower than a preset first voltage threshold, the battery power supply is indicated to be incapable of meeting the power supply requirement of normal operation of the circuit system of the intelligent watch, and the power supply mode is switched to a first power supply mode, namely a charger power supply mode. If the battery voltage value is not lower than a preset first voltage threshold, namely the battery voltage can meet the electric energy supply requirement of the intelligent watch circuit system, judging whether the battery voltage value is lower than a second voltage threshold; the second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power. When the voltage value of the battery is lower than the second voltage threshold value, the power supply capability provided by the battery does not meet the normal working requirements of the circuit system and the peripheral equipment of the intelligent watch, and the power supply mode is switched to the first power supply mode, namely the charger power supply mode.
According to the embodiment of the invention, the second voltage threshold is obtained according to a preset communication instruction, specifically:
sending first instruction information and acquiring first feedback information fed back by the peripheral equipment;
obtaining first coding information according to the first feedback information;
judging whether first power supply information of peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
if yes, setting the second voltage threshold according to the first power supply information;
if not, the second voltage threshold is obtained according to a second communication instruction.
The intelligent watch communicates with the peripheral equipment through the peripheral interface, sends first instruction information to the peripheral equipment, and the peripheral equipment returns first feedback information according to the first instruction information and the coding information of the peripheral equipment. Obtaining first coding information of the peripheral equipment according to the first feedback information; wherein the first instruction information is an instruction for identifying the peripheral device, and the peripheral device is usually distinguished by a peripheral code, for example, the code 0x11 represents a blood oxygen device No. 1, and the code 0x21 represents a blood pressure device No. 1; the first feedback instruction comprises a peripheral code of the peripheral equipment; the first encoded information is encoded information of a peripheral device connected to the smart watch. Then, inquiring whether first power supply information of peripheral equipment corresponding to the first coding information is stored in the system according to the first coding information; the first power supply information is a battery voltage value required by the peripheral equipment in normal operation. The system stores the first power supply information of the common peripheral equipment so as to facilitate quick search and judgment. If the first power supply information exists, setting a second voltage threshold value by using the first power supply information; and if the first power supply information does not exist, sending a second communication instruction to the external equipment, and analyzing to obtain a second voltage threshold. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power.
According to an embodiment of the present invention, the obtaining the second voltage threshold according to the second communication instruction specifically includes:
sending second instruction information and acquiring second feedback information fed back by the peripheral equipment;
obtaining first electrical parameter information of the peripheral equipment according to the second feedback information;
and searching a preset voltage supply and demand table according to the first electrical parameter information to obtain the second voltage threshold.
The intelligent watch communicates with the peripheral equipment through the peripheral interface, sends second instruction information to the peripheral equipment, and returns second feedback information according to the second instruction information and the electrical parameters during working. The first electrical parameter information is an electrical parameter of the peripheral equipment when in operation, including but not limited to a voltage value, a current value, a load impedance and the like. And inquiring a voltage supply and demand table preset in the system according to the first electrical parameter of the peripheral equipment to obtain a second voltage threshold. The second voltage threshold is the lowest voltage value required to be provided by the battery in order to ensure the normal operation of the peripheral equipment when the battery is used for supplying power. For example, when the voltage value is 3.3 volts and the current value is 100 milliamperes in the first electrical parameter information, the voltage value corresponds to the required battery voltage value of 3.5 volts. The voltage supply and demand table is prestored in the system according to the electronic characteristics of the circuit system.
According to an embodiment of the present invention, further comprising:
when the battery is in the second power supply mode, acquiring temperature information of the battery;
judging whether the temperature information exceeds a preset temperature threshold value or not;
if yes, setting to enter the first power supply mode.
It should be noted that, the smart watch is provided with a sensor for detecting temperature, and the sensor is used for detecting temperature information of the battery. When in the battery power supply mode, if the temperature information of the battery exceeds a preset temperature threshold value, the temperature is required to be prevented from rising continuously by switching the first power supply mode. After being switched to the first power supply mode, namely the charger power supply mode, the battery does not need to provide electric energy for the circuit system and the peripheral equipment of the intelligent watch, so that the work load is effectively lightened, and the temperature rising speed of the battery is slowed down, and even the temperature rising preventing effect is achieved.
According to an embodiment of the present invention, further comprising:
sending third instruction information to obtain third feedback information fed back by the peripheral equipment;
obtaining first periodic information according to the third feedback information;
judging whether first time information in the first period information exceeds a preset first time threshold value or not;
if yes, the power supply mode is repeatedly switched according to the first period information.
The intelligent watch communicates with the peripheral device through the peripheral interface, sends third instruction information to the peripheral device, and the peripheral device returns third feedback information according to the third instruction information and the working time period. The first period information is a time period of partial peripheral equipment when the detection task is executed, and the time period comprises detection duration and interval duration; the first time information is an interval duration. For example, the blood oxygen apparatus has a detection period of 100 milliseconds and an interval period of 0 seconds, and the time period is 100 milliseconds; the heart rate device detects 10 seconds in length and 50 seconds in interval, and the time period is 60 seconds. When the first time period exceeds a preset first time threshold, a mode of switching the power supply mode can be adopted to reduce the duration of the battery power supply mode. When the detection time period is in the detection time period phase, the battery power supply mode is set, and a stable power supply is provided for the peripheral equipment so as to ensure the detection stability; when the battery is in the interval duration stage, the battery is set to be in a charger power supply mode, the peripheral module is not in a detection state at the moment, the requirement on the stability of the power supply is not high, and the battery is only in a charging state, so that the charging speed is improved, and the service life of the battery is protected.
It is worth mentioning that the method further comprises:
when the peripheral equipment is in the peripheral equipment connection state and is in the first power supply mode, second voltage information is acquired;
judging whether the second voltage information is in a preset third voltage threshold range or not;
if yes, initializing first time length information;
if not, updating the first time length information according to the acquisition period of the second voltage;
judging whether the first time length information exceeds a preset first time length threshold value or not;
if yes, a first prompt message is sent to the terminal.
It should be noted that, when the power supply mode of the charger exists and the peripheral device performs the measurement task, the power supply voltage provided by the charger, that is, the charger voltage, is collected according to the preset time period and recorded as the second voltage information. The first time length information is a duration for recording that the charger voltage exceeds a preset range. Judging whether the voltage of the charger is in a preset third voltage threshold range or not; if yes, initializing first time length information; if not, the first time length information is updated according to the acquisition period, for example, the period of acquiring the charging voltage takes 100 milliseconds as the period, and the first time length information is incremented by 100 milliseconds each time. When the first time length information exceeds a preset first time length threshold value, the charger voltage stability degree can be indicated to not meet the measurement work requirement of the peripheral equipment, and first prompt information is sent to the terminal and used for prompting the user of the unstable work condition of the peripheral equipment.
It is worth mentioning that the method further comprises:
acquiring the first voltage information, and judging whether the first voltage information exceeds a preset third voltage threshold value;
if yes, entering a trickle charge mode and setting the trickle charge mode as a second power supply mode.
It should be noted that, the first voltage information is a battery voltage value, and it is determined whether the battery voltage value is higher than a preset third voltage threshold. If so, indicating that the battery is approaching a full state, a trickle charge mode, i.e., a low power charge mode, may be set to prevent a reduction in battery life due to overcharging of the battery. At this time, the battery power is sufficient to meet the working requirements of the smart watch and the peripheral, and the battery power mode can be switched.
A third aspect of the present invention provides a computer-readable storage medium, in which a power supply management method program for charging a smart watch is included, which when executed by a processor, implements the steps of the power supply management method for charging a smart watch as described in any one of the above.
The invention provides a power supply management method, a system and a storage medium for charging an intelligent watch, wherein charging connection state information is obtained, and whether the intelligent watch enters a charging connection state is judged according to the charging connection state information; if yes, entering a first power supply mode; acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value; if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information; if yes, a second voltage threshold is obtained according to a preset communication instruction; judging whether the first voltage information exceeds a second voltage threshold value; if so, a second power supply mode is entered. According to the intelligent watch charging system and method, through power supply management, the safety and the efficiency of intelligent watch charging are ensured, and meanwhile, the measurement stability of peripheral equipment is improved, so that the use experience of a user is improved.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A power supply management method when a smart watch is charged, the method comprising:
acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
if yes, entering a first power supply mode;
acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
if yes, a second voltage threshold is obtained according to a preset communication instruction;
judging whether the first voltage information exceeds the second voltage threshold value;
if so, a second power supply mode is entered.
2. The power supply management method for charging a smart watch according to claim 1, further comprising:
when the second power supply mode is entered and the peripheral connection state is set;
judging whether the first voltage information is lower than a preset first voltage threshold value or not;
if yes, entering the first power supply mode;
if not, judging whether the first voltage information is lower than the second voltage threshold;
if yes, entering the first power supply mode.
3. The method for power supply management during charging of a smart watch according to claim 1, wherein the obtaining the second voltage threshold according to the preset communication command is specifically:
sending first instruction information and acquiring first feedback information fed back by the peripheral equipment;
obtaining first coding information according to the first feedback information;
judging whether first power supply information of peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
if yes, setting the second voltage threshold according to the first power supply information;
if not, the second voltage threshold is obtained according to a second communication instruction.
4. The method for power supply management during charging of a smart watch according to claim 3, wherein the obtaining the second voltage threshold according to the second communication command specifically includes:
sending second instruction information and acquiring second feedback information fed back by the peripheral equipment;
obtaining first electrical parameter information of the peripheral equipment according to the second feedback information;
and searching a preset voltage supply and demand table according to the first electrical parameter information to obtain the second voltage threshold.
5. The power supply management method for charging a smart watch according to claim 1, further comprising:
when the battery is in the second power supply mode, acquiring temperature information of the battery;
judging whether the temperature information exceeds a preset temperature threshold value or not;
if yes, setting to enter the first power supply mode.
6. The power supply management method for charging a smart watch according to claim 1, further comprising:
sending third instruction information to obtain third feedback information fed back by the peripheral equipment;
obtaining first periodic information according to the third feedback information;
judging whether first time information in the first period information exceeds a preset first time threshold value or not;
if yes, the power supply mode is repeatedly switched according to the first period information.
7. The power supply management system for the charging of the intelligent watch is characterized by comprising a memory and a processor, wherein the memory comprises a power supply management method program for the charging of the intelligent watch, and the power supply management method program for the charging of the intelligent watch is executed by the processor to realize the following steps:
acquiring charging connection state information, and judging whether to enter a charging connection state according to the charging connection state information;
If yes, entering a first power supply mode;
acquiring first voltage information, and judging whether the first voltage information exceeds a preset first voltage threshold value;
if yes, acquiring peripheral state information, and judging whether the peripheral state information is a peripheral connection state or not according to the peripheral state information;
if yes, a second voltage threshold is obtained according to a preset communication instruction;
judging whether the first voltage information exceeds the second voltage threshold value;
if so, a second power supply mode is entered.
8. The power management system for a smart watch when charging of claim 7, further comprising:
when the second power supply mode is entered and the peripheral connection state is set;
judging whether the first voltage information is lower than a preset first voltage threshold value or not;
if yes, entering the first power supply mode;
if not, judging whether the first voltage information is lower than the second voltage threshold;
if yes, entering the first power supply mode.
9. The power supply management system for charging a smart watch according to claim 7, wherein the second voltage threshold is obtained according to a preset communication command, and specifically is:
Sending first instruction information and acquiring first feedback information fed back by the peripheral equipment;
obtaining first coding information according to the first feedback information;
judging whether first power supply information of peripheral equipment corresponding to the first coding information exists or not according to the first coding information;
if yes, setting the second voltage threshold according to the first power supply information;
if not, the second voltage threshold is obtained according to a second communication instruction.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the computer readable storage medium comprises a power supply management method program when a smart watch is charged, which when executed by a processor, implements the steps of the power supply management method when a smart watch is charged as claimed in any one of claims 1 to 6.
CN202311485991.2A 2023-11-09 2023-11-09 Power supply management method, system and storage medium for smart watch during charging Active CN117220391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311485991.2A CN117220391B (en) 2023-11-09 2023-11-09 Power supply management method, system and storage medium for smart watch during charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311485991.2A CN117220391B (en) 2023-11-09 2023-11-09 Power supply management method, system and storage medium for smart watch during charging

Publications (2)

Publication Number Publication Date
CN117220391A true CN117220391A (en) 2023-12-12
CN117220391B CN117220391B (en) 2024-03-22

Family

ID=89044810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311485991.2A Active CN117220391B (en) 2023-11-09 2023-11-09 Power supply management method, system and storage medium for smart watch during charging

Country Status (1)

Country Link
CN (1) CN117220391B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117707832A (en) * 2024-02-06 2024-03-15 深圳市微克科技股份有限公司 Reset method, system and storage medium of Bluetooth MCU of intelligent watch

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106532876A (en) * 2017-01-13 2017-03-22 广东欧珀移动通信有限公司 Power supply control method and device and computer equipment
CN108336778A (en) * 2017-01-18 2018-07-27 三星电子株式会社 Charge control method and the electronic equipment for supporting this method
CN115954965A (en) * 2021-10-09 2023-04-11 北京小米移动软件有限公司 Charging control method, charging system, charging device, electronic device, and storage medium
KR20230114667A (en) * 2022-01-25 2023-08-01 삼성전자주식회사 Electronic device for suppressing heat generation
CN116979640A (en) * 2023-06-27 2023-10-31 深圳市华宝新能源股份有限公司 Battery management system and battery system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106532876A (en) * 2017-01-13 2017-03-22 广东欧珀移动通信有限公司 Power supply control method and device and computer equipment
CN108336778A (en) * 2017-01-18 2018-07-27 三星电子株式会社 Charge control method and the electronic equipment for supporting this method
CN115954965A (en) * 2021-10-09 2023-04-11 北京小米移动软件有限公司 Charging control method, charging system, charging device, electronic device, and storage medium
KR20230114667A (en) * 2022-01-25 2023-08-01 삼성전자주식회사 Electronic device for suppressing heat generation
CN116979640A (en) * 2023-06-27 2023-10-31 深圳市华宝新能源股份有限公司 Battery management system and battery system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117707832A (en) * 2024-02-06 2024-03-15 深圳市微克科技股份有限公司 Reset method, system and storage medium of Bluetooth MCU of intelligent watch

Also Published As

Publication number Publication date
CN117220391B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN117220391B (en) Power supply management method, system and storage medium for smart watch during charging
CA2642153C (en) Power supply for battery powered devices
CN107196369B (en) Multi-interface quick charging power supply
CN100349354C (en) Cell phone charging circuit and charging method
US8816644B2 (en) Interrupting the charging status of a rechargeable battery
JP5919506B2 (en) Rechargeable electrical equipment
CN203722290U (en) Battery protection module with function automatically enabling the entry of low-power consumption state and wake-up function
CN206547012U (en) Charging circuit and electronic equipment
CN115237235A (en) USB equipment shift-out identification circuit and method and power supply system
US5831415A (en) Electrical disconnection and automatic re-engagement of battery monitoring circuits
US6653814B1 (en) Method for determining power supply compatibility in a portable device
CN112531848B (en) Battery pack and control method thereof
CN215186006U (en) Power supply device applied to voltage quality monitoring recorder
CN1462086A (en) Recharageable battery antiforge system
CN213754015U (en) Charging circuit, charging box and charging system of bluetooth headset
CN112865224A (en) Bluetooth headset low-power-consumption standby method, electronic equipment, medium and charging system
CN110518671B (en) Charger and discharging method thereof
JP2009033795A (en) Charging equipment, and charge type electric instrument equipped with the charging equipment
CN204706353U (en) A kind of data memory protection circuit
US20050242778A1 (en) Controlling circuit for long-time battery retention
CN220156245U (en) Activation and identification circuit for intelligent battery charger
CN218733326U (en) Charging circuit of nickel-hydrogen battery hearing aid
CN216134279U (en) Mobile phone charging system based on 4G platform baseband chip
CN218526113U (en) Emergency power supply output control circuit and charging device
CN215987297U (en) USB insertion detection circuit

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Applicant after: Shenzhen Weike Technology Co.,Ltd.

Address before: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Applicant before: SHENZHEN WAKE UP TECHNOLOGY CO.,LTD.

Country or region before: China

GR01 Patent grant
GR01 Patent grant