CN111817371B - Charging reminding method, charging box and computer readable storage medium - Google Patents

Charging reminding method, charging box and computer readable storage medium Download PDF

Info

Publication number
CN111817371B
CN111817371B CN202010594118.7A CN202010594118A CN111817371B CN 111817371 B CN111817371 B CN 111817371B CN 202010594118 A CN202010594118 A CN 202010594118A CN 111817371 B CN111817371 B CN 111817371B
Authority
CN
China
Prior art keywords
working time
charging
electric quantity
time length
preset
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.)
Active
Application number
CN202010594118.7A
Other languages
Chinese (zh)
Other versions
CN111817371A (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 Goertek Intelligent Sensor Co Ltd
Original Assignee
Qingdao Goertek Intelligent Sensor 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 Goertek Intelligent Sensor Co Ltd filed Critical Qingdao Goertek Intelligent Sensor Co Ltd
Priority to CN202010594118.7A priority Critical patent/CN111817371B/en
Publication of CN111817371A publication Critical patent/CN111817371A/en
Application granted granted Critical
Publication of CN111817371B publication Critical patent/CN111817371B/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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging reminding method, a charging box and a computer readable storage medium, wherein the charging reminding method comprises the following steps: when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone, and acquiring second residual electric quantity of the charging box; obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity; and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result. The invention can solve the problem of lower intelligent degree of the existing charging reminding method of the charging box.

Description

Charging reminding method, charging box and computer readable storage medium
Technical Field
The invention relates to the technical field of portable listening equipment, in particular to a charging reminding method, a charging box and a computer readable storage medium.
Background
With the development of the bluetooth technology and the Wireless technology, Wireless earphones such as TWS (True Wireless Stereo) earphones develop in a fire-heat manner, and the requirements of users on wearing comfort, carrying convenience and long endurance of the Wireless earphones are further improved. The wireless earphone has small volume and small battery capacity, so that the cruising ability of the wireless earphone is low. Although the box that charges can charge to wireless earphone, if the box that charges does not in time charge, it is long when being difficult to guarantee wireless earphone's use to can influence user's experience and feel.
At present, the user can be reminded to charge the charging box by the electric quantity display function and the charging reminding function of the charging box, however, the charging reminding function can only be carried out based on the residual electric quantity of the charging box, the use time of the wireless earphone can not be known, and the use time of the wireless earphone can not be ensured, so that the intelligent degree of the existing charging reminding method of the charging box is low.
Disclosure of Invention
The invention mainly aims to provide a charging reminding method, a charging box and a computer readable storage medium, and aims to solve the problem that the existing charging reminding method of the charging box is low in intelligence degree.
In order to achieve the above object, the present invention provides a charging reminding method, including:
when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone, and acquiring second residual electric quantity of the charging box;
obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result.
Optionally, the step of obtaining the first working duration of the wireless headset according to the first remaining capacity and the second remaining capacity includes:
obtaining the target electric quantity of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and obtaining a first working time length of the wireless earphone according to the target electric quantity.
Optionally, the step of obtaining the target power of the wireless headset according to the first remaining power and the second remaining power includes:
calculating the chargeable quantity of the charging box according to the second residual electric quantity and the preset charging efficiency;
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 1, calculating to obtain the target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity;
and if the number of the wireless earphones is 2, calculating to obtain the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity.
Optionally, the step of obtaining the first working time duration of the wireless headset according to the target electric quantity includes:
and searching a first working time length of the wireless earphone from a first preset mapping relation table according to the target electric quantity.
Optionally, the step of comparing the first operating time with a first preset operating time and determining whether to perform charging reminding according to a comparison result includes:
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the minimum working time is shorter than the first preset working time, charging reminding is carried out;
if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
and if the first working time length is less than the first preset working time length, carrying out charging reminding.
Optionally, the charging reminding method further includes:
acquiring the current residual electric quantity of the charging box every preset time length;
searching a second preset mapping relation table to obtain a second working time length of the charging box according to the current residual electric quantity;
detecting whether the second working time length is lower than a second preset working time length or not;
and if the second working time length is less than the second preset working time length, carrying out charging reminding.
Further, to achieve the above object, the present invention also provides a charging box including: the charging reminding device comprises a memory, a processor and a charging reminding program which is stored on the memory and can run on the processor, wherein when the charging reminding program is executed by the processor, the charging reminding program realizes the following steps:
when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone, and acquiring second residual electric quantity of the charging box;
obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result.
Optionally, the charging reminder program, when executed by the processor, further implements the steps of:
obtaining the target electric quantity of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and obtaining a first working time length of the wireless earphone according to the target electric quantity.
Optionally, the charging reminder when executed by the processor further implements the following steps:
calculating the chargeable quantity of the charging box according to the second residual electric quantity and the preset charging efficiency;
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 1, calculating to obtain the target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity;
and if the number of the wireless earphones is 2, calculating to obtain the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity.
Optionally, the charging reminder when executed by the processor further implements the following steps:
and searching a first working time length of the wireless earphone from a first preset mapping relation table according to the target electric quantity.
Optionally, the charging reminder when executed by the processor further implements the following steps:
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the minimum working time is shorter than the first preset working time, charging reminding is carried out;
if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
and if the first working time length is less than the first preset working time length, carrying out charging reminding.
Optionally, the charging reminder when executed by the processor further implements the following steps:
acquiring the current residual electric quantity of the charging box every preset time length;
searching a second preset mapping relation table to obtain a second working time length of the charging box according to the current residual electric quantity;
detecting whether the second working time length is lower than a second preset working time length or not;
and if the second working time length is less than the second preset working time length, carrying out charging reminding.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, where a charging alert program is stored, and when the charging alert program is executed by a processor, the charging alert program implements the steps of the charging alert method as described above.
The invention provides a charging reminding method, a charging box and a computer readable storage medium, when a wireless earphone is detected to be arranged in the charging box, a first residual electric quantity of the wireless earphone is obtained, and a second residual electric quantity of the charging box is obtained; obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity; and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result. Through the mode, the charging box not only obtains the self residual capacity, but also obtains the residual capacity of the wireless earphone, and then the residual capacity of the charging box and the residual capacity of the wireless earphone are integrated to estimate the working time of the charged wireless earphone and carry out charging reminding in time, so that predictive charging reminding is realized, the service time of the wireless earphone can be ensured, and compared with the prior art in which the charging reminding is carried out only based on the residual capacity of the charging box, the charging reminding method of the charging box can improve the intelligence degree.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a charging reminding method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a charging reminding method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is a charging box of a wireless earphone.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, and a memory 1003. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include a network communication module and a charging reminder.
In the terminal shown in fig. 1, the processor 1001 may be configured to call the charging reminder stored in the memory 1003, and perform the following operations:
when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone, and acquiring second residual electric quantity of the charging box;
obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result.
Further, the processor 1001 may be configured to call the charging reminder stored in the memory 1003, and further perform the following operations:
obtaining the target electric quantity of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and obtaining a first working time length of the wireless earphone according to the target electric quantity.
Further, the processor 1001 may be configured to call the charging reminder stored in the memory 1003, and further perform the following operations:
calculating the chargeable quantity of the charging box according to the second residual electric quantity and the preset charging efficiency;
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 1, calculating to obtain the target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity;
and if the number of the wireless earphones is 2, calculating to obtain the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity.
Further, the processor 1001 may be configured to call the charging reminder stored in the memory 1003, and further perform the following operations:
and searching a first working time length of the wireless earphone from a first preset mapping relation table according to the target electric quantity.
Further, the processor 1001 may be configured to call the charging alert program stored in the memory 1003, and further perform the following operations:
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the minimum working time is shorter than the first preset working time, charging reminding is carried out;
if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
and if the first working time length is less than the first preset working time length, carrying out charging reminding.
Further, the processor 1001 may be configured to call the charging reminder stored in the memory 1003, and further perform the following operations:
acquiring the current residual electric quantity of the charging box every preset time length;
searching a second preset mapping relation table to obtain a second working time length of the charging box according to the current residual electric quantity;
detecting whether the second working time length is lower than a second preset working time length or not;
and if the second working time length is less than the second preset working time length, carrying out charging reminding.
Based on the hardware structure, the invention provides various embodiments of the charging reminding method.
The invention provides a charging reminding method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a charging reminding method according to a first embodiment of the present invention.
In this embodiment, the charging reminding method includes:
step S10, when detecting that the wireless earphone is arranged in the charging box, acquiring a first residual capacity of the wireless earphone and acquiring a second residual capacity of the charging box;
in this embodiment, the charging box acquires a first remaining capacity of the wireless headset and acquires a second remaining capacity of the charging box when detecting that the wireless headset is placed in the charging box.
The present embodiment is applicable to a Wireless headset that is charged by a charging box, such as a TWS (True Wireless Stereo) headset. The wireless earphone comprises a master earphone and a slave earphone, can independently interact with the charging box, and particularly can communicate and interact with the charging box through various communication modes such as UART (Universal Asynchronous Receiver/Transmitter), I2C (Inter-Integrated Circuit, two-wire serial bus) carrier waves and the like. The wireless earphone also comprises an electricity meter which is used for acquiring the residual electricity quantity of the wireless earphone.
In addition, the charging box comprises an electricity meter, a communication module, a box entering detection module, a reminding module and a control module, wherein the electricity meter, the communication module, the box entering detection module and the reminding module are respectively connected with the control module. The electricity meter of the charging box is used for acquiring the residual electricity quantity of the charging box; the communication module is used for communicating with the wireless earphone to acquire the electric quantity information of the wireless earphone; the box-entering detection module is used for detecting whether the wireless earphone is placed in the charging box or not; the reminding module is used for reminding a user of charging the charging box; and the control module is used for executing all the steps of the embodiment of the invention. When the incoming box detection module of the charging box detects that the wireless earphone is placed in the charging box, the electricity meter of the wireless earphone obtains the self residual electricity quantity (recorded as a first residual electricity quantity), and at the moment, the charging box can obtain the first residual electricity quantity of the wireless earphone through the communication module. Of course, it can be understood that, in the specific implementation, the first remaining power of the wireless headset may be actively transmitted to the charging box by the wireless headset, or may be obtained from the wireless headset by the communication module of the charging box through a set communication mode.
It should be noted that the first remaining power is a set, the number of the set may be 1 or 2, and if the charging box detects that 1 wireless headset is placed in the charging box, the number of the set is 1; if the charging box detects that 2 wireless earphones are placed in the charging box, the number of the sets is 2.
Step S20, obtaining a first working duration of the wireless headset according to the first remaining capacity and the second remaining capacity;
and then, obtaining the first working time length of the wireless earphone according to the first residual capacity (the residual capacity of the wireless earphone) and the second residual capacity (the residual capacity of the charging box). The first working duration is the duration for the wireless earphone to work after the wireless earphone with the first residual electric quantity is charged by the charging box with the second residual electric quantity.
It should be noted that the first operating time period is a set, the number of the set may be 1 or 2, and if the charging box detects that two wireless headsets are placed in the charging box, the number of the set is 2.
As one of the obtaining manners of the first operation duration, the step S20 may include:
a21, obtaining the target electric quantity of the wireless earphone according to the first residual electric quantity and the second residual electric quantity;
and obtaining the target electric quantity of the wireless earphone according to the first residual electric quantity and the second residual electric quantity. The target electric quantity is a charging box with the electric quantity being the second residual electric quantity, and after the wireless earphone with the electric quantity being the first residual electric quantity is charged, the wireless earphone can reach the total electric quantity.
Specifically, step a21 includes:
step a211, calculating the chargeable quantity of the charging box according to the second residual electric quantity and a preset charging efficiency;
and calculating to obtain the chargeable amount of the charging box according to the second residual electric quantity and the preset charging efficiency. Since the charge amount of the charging box cannot be converted into the charge amount of the wireless headset by 100%, that is, there is a corresponding charging efficiency in the charging process, the preset charging efficiency may be denoted as E, 0< E <1, and for convenience of description, the second remaining charge amount is denoted as M, and the chargeable amount may be calculated as mxe.
Step a212, acquiring the number of the wireless earphones;
then, the number of wireless headsets is acquired. It can be understood that the number of the wireless headsets is the same as the number of the received information of the remaining power returned by the wireless headsets, and therefore, the charging power of each headset can be calculated.
Step a213, if the number of the wireless earphones is 1, calculating to obtain the target electric quantity of the wireless earphones according to a first preset formula according to the chargeable amount and the first remaining electric quantity;
if the number of the wireless earphones is 1, calculating the target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity. Under ideal conditions, the first preset formula may be the target electric quantity, i.e., the chargeable quantity + the first remaining electric quantity.
Step a214, if the number of the wireless earphones is 2, calculating to obtain the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable amount and the first remaining electric quantity.
And if the number of the wireless earphones is 2, calculating the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity. In an ideal condition, the second predetermined formula may be that the target electric quantity is (chargeable quantity ÷ 2) + the first remaining electric quantity. It can be understood that there may be various second predetermined formulas for balancing the electric quantities of the left and right ears of the wireless headset, which are not described herein in detail.
Step a22, obtaining a first working time length of the wireless earphone according to the target electric quantity.
And then, obtaining the first working time of the wireless earphone according to the target electric quantity. The first working time length is obtained through a preset estimation mode according to the target electric quantity of the wireless earphone and does not represent the real working time length of the wireless earphone. It can be understood that a corresponding preset pre-estimation mode can be obtained through a large number of experiments (the wireless earphones with different electric quantities as target electric quantities work normally so as to obtain the working time of the wireless earphones), and the first working time of the wireless earphones can be accurately estimated through the preset pre-estimation mode.
Specifically, step a22 includes:
step a221, according to the target electric quantity, searching from a first preset mapping relation table to obtain a first working time length of the wireless headset.
And searching the first preset mapping relation table to obtain the first working time of the wireless earphone according to the target electric quantity. The first preset mapping relation table is obtained in the following mode: through a large number of experiments (the wireless earphones with different electric quantities as the target electric quantity work normally, so that the working time of the wireless earphones is obtained), and then according to the mapping relation between the target electric quantity and the working time of the corresponding wireless earphones, a first preset mapping relation table is obtained. Those skilled in the art can understand that the first preset mapping table does not limit the present invention, and the first preset mapping table may be replaced with a calculation formula, and the specific implementation steps thereof are the same as those in the embodiment of the present invention, and are not described herein again.
As another obtaining method of the first working duration, the first working duration may be obtained in a preset estimation manner according to the first remaining capacity and the second remaining capacity, and the first working duration does not represent the real working duration of the wireless headset. It can be understood that, the wireless earphone of different electric quantities is charged to the box that charges of accessible a large amount of experiments (the box that charges of different electric quantities is zero until the box electric quantity that charges, then lets wireless earphone normally work to obtain the operating time length of wireless earphone), obtain corresponding presetting and predict the mode, and then can accurately predict the first operating time length of wireless earphone through this predetermine and predict the mode.
And step S30, comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to the comparison result.
After the first working time of the wireless earphone is obtained, the first working time is compared with a first preset working time, and whether charging reminding is carried out or not is judged according to a comparison result. The first preset operation time period is set according to actual needs, and may be set to 1 hour, 2 hours, and the like, for example, and is not limited specifically here. The charging alert mode is set according to actual needs, and may be, for example, a visual (display screen display) alert, an audible (voice broadcast) alert, a tactile (vibration) alert, or the like, and is not particularly limited herein.
As one of the determination manners of whether to perform the charging reminder, step S30 may include:
step a31, acquiring the number of the wireless earphones;
and determining the number of the wireless earphones according to the first residual capacity. It is understood that the number of the wireless headsets is the same as the number of the received first remaining power. Accordingly, the number of wireless headsets may be determined by detecting the number of received first remaining power amounts.
Step a32, if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length. It can be understood that if the minimum working duration in the first working duration is not lower than the first preset working duration, so that the working duration of 2 wireless headsets is ensured.
Step a33, if the minimum working time is lower than the first preset working time, charging reminding is carried out;
and if the minimum working time is shorter than a first preset working time, performing charging reminding. The charging reminding mode is set according to actual needs, and may be, for example, a visual (display screen display) reminder, an auditory (voice broadcast) reminder, a tactile (vibration) reminder, or the like, which is not specifically limited herein.
Step a34, if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
if the number of the wireless earphones is 1, whether the first working duration is lower than a first preset working duration is detected. It can be understood that if only one wireless headset is placed in the charging box, the working time of the wireless headset is only required to be ensured, that is, whether the first working time of the wireless headset is lower than the first preset working time is detected.
Step a35, if the first working time length is less than the first preset working time length, performing charging reminding.
And if the first working time is shorter than a first preset working time, carrying out charging reminding. The charging reminding mode is set according to actual needs, and may be, for example, a visual (display screen display) reminder, an auditory (voice broadcast) reminder, a tactile (vibration) reminder, or the like, which is not specifically limited herein.
Determining the number of the wireless earphones according to the first residual capacity as another judging mode for judging whether to perform charging reminding; if the number of the wireless earphones is 2, detecting whether the maximum working time length in the first working time length is lower than a first preset working time length; if the maximum working time is shorter than a first preset working time, charging reminding is carried out; if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length; and if the first working time is shorter than a first preset working time, carrying out charging reminding. It can be understood that if the maximum working duration of the first working durations is not less than the first preset working duration, at least one of the first working durations is not less than the first preset working duration, thereby ensuring the working duration of at least 1 wireless headset.
The embodiment of the invention provides a charging reminding method, which comprises the steps of acquiring a first residual electric quantity of a wireless earphone and a second residual electric quantity of a charging box when the wireless earphone is detected to be arranged in the charging box; obtaining a first working time length of the wireless earphone according to the first residual electric quantity and the second residual electric quantity; and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result. Through the mode, the charging box not only obtains the self residual capacity, but also obtains the residual capacity of the wireless earphone, and then the residual capacity of the charging box and the residual capacity of the wireless earphone are integrated to estimate the working time of the charged wireless earphone and carry out charging reminding in time, so that predictive charging reminding is realized, the service time of the wireless earphone can be ensured, and compared with the prior art in which the charging reminding is carried out only based on the residual capacity of the charging box, the charging reminding method of the charging box can improve the intelligence degree.
Further, based on the first embodiment, a second embodiment of the charging reminding method of the present invention is provided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a charging reminding method according to a second embodiment of the present invention.
In this embodiment, the charging reminding method further includes:
step S40, acquiring the current remaining capacity of the charging box every preset time;
and acquiring the current residual electric quantity of the charging box every preset time length. The preset time period may be set according to actual needs, for example, may be set to 5 minutes, 10 minutes, and the like, and is not limited specifically here. And acquiring the current residual electric quantity of the self through the electric quantity meter of the charging box every preset time.
Step S50, according to the current residual capacity, searching a second preset mapping relation table to obtain a second working time length of the charging box;
and then, according to the current residual capacity, searching the second preset mapping relation table to obtain the second working time of the charging box. The second preset mapping relation table is obtained in the following mode: through a large number of experiments (the charging boxes with different current residual capacities charge 2 wireless earphones until the current residual capacity of the charging box is zero, so that the working time of the charging box is obtained), and then according to the mapping relation between the current residual capacity and the corresponding working time of the charging box, a second preset mapping relation table is obtained. Those skilled in the art can understand that the second predetermined mapping table is not limited to the present invention, and the second predetermined mapping table may be replaced with a calculation formula, and the specific implementation steps thereof are the same as those in the embodiment of the present invention, and are not described herein again.
Step S60, detecting whether the second working duration is lower than a second preset working duration;
and after the second working duration is obtained, detecting whether the second working duration is lower than a second preset working duration. The second preset operation time period may be set according to actual needs, for example, may be set to 30 minutes, 60 minutes, and the like, and is not limited herein.
And step S70, if the second working time is shorter than the second preset working time, performing charging reminding.
And if the second working time is shorter than the second preset working time, performing charging reminding. The charging reminding mode is set according to actual needs, and may be, for example, a visual (display screen display) reminder, an auditory (voice broadcast) reminder, a tactile (vibration) reminder, or the like, which is not specifically limited herein.
In the embodiment, the charging box acquires the current residual electric quantity per se every preset time; then, according to the current residual electric quantity, searching from a second preset mapping relation table to obtain a second working time length of the charging box; detecting whether the second working time length is lower than a second preset working time length or not; and if the second working time is shorter than the second preset working time, performing charging reminding. Because the charging efficiency of each charging box is different, the charging box judges whether to carry out charging reminding according to the current residual capacity of the charging box. Through the mode, the charging box obtains the second working time length of the charging box according to the current residual electric quantity of the charging box, whether charging reminding is carried out or not is judged according to the second working time length, and compared with the charging box, whether charging reminding is carried out or not is judged according to the current residual electric quantity of the charging box, the charging reminding method is more reasonable.
The present invention also provides a computer-readable storage medium, on which a charging reminder program is stored, where the charging reminder program, when executed by a processor, implements the steps of the charging reminder method according to any of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the charging reminding method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A charging reminding method is characterized by comprising the following steps:
when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone and acquiring second residual electric quantity of the charging box;
calculating the chargeable quantity of the charging box according to the second residual electric quantity and the preset charging efficiency;
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 1, calculating to obtain target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity, wherein the first preset formula is that the target electric quantity is chargeable quantity plus the first residual electric quantity;
if the number of the wireless earphones is 2, calculating the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity, wherein the second preset formula is that the target electric quantity is equal to (chargeable quantity divided by 2) + the first residual electric quantity;
obtaining a first working time length of the wireless earphone according to the target electric quantity;
and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result so as to remind a user to charge the charging box.
2. The charging alert method as claimed in claim 1, wherein the step of obtaining the first operating time of the wireless headset according to the target electric quantity comprises:
and searching a first working time length of the wireless earphone from a first preset mapping relation table according to the target electric quantity.
3. The charging reminding method according to claim 1, wherein the step of comparing the first operating time length with a first preset operating time length and judging whether to remind the user of charging according to the comparison result comprises:
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the minimum working time is shorter than the first preset working time, charging reminding is carried out;
if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
and if the first working time length is less than the first preset working time length, carrying out charging reminding.
4. The charging alert method according to any one of claims 1 to 3, further comprising:
acquiring the current residual electric quantity of the charging box every preset time length;
searching a second preset mapping relation table to obtain a second working time length of the charging box according to the current residual electric quantity;
detecting whether the second working time length is lower than a second preset working time length or not;
and if the second working time length is less than the second preset working time length, carrying out charging reminding.
5. A charging box characterized by comprising: the charging reminding device comprises a memory, a processor and a charging reminding program which is stored on the memory and can run on the processor, wherein when the charging reminding program is executed by the processor, the charging reminding program realizes the following steps:
when the wireless earphone is detected to be placed in a charging box, acquiring first residual electric quantity of the wireless earphone, and acquiring second residual electric quantity of the charging box;
calculating the chargeable quantity of the charging box according to the second residual electric quantity and the preset charging efficiency;
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 1, calculating to obtain target electric quantity of the wireless earphones according to a first preset formula according to the chargeable quantity and the first residual electric quantity, wherein the first preset formula is that the target electric quantity is chargeable quantity plus the first residual electric quantity;
if the number of the wireless earphones is 2, calculating the target electric quantity of the wireless earphones according to a second preset formula according to the chargeable quantity and the first residual electric quantity, wherein the second preset formula is that the target electric quantity is equal to (chargeable quantity divided by 2) + the first residual electric quantity;
obtaining a first working time length of the wireless earphone according to the target electric quantity;
and comparing the first working time with a first preset working time, and judging whether to carry out charging reminding according to a comparison result.
6. The charging box of claim 5, wherein the charging alert program when executed by the processor further implements the steps of:
acquiring the number of the wireless earphones;
if the number of the wireless earphones is 2, detecting whether the minimum working time length in the first working time length is lower than a first preset working time length;
if the minimum working time is shorter than the first preset working time, charging reminding is carried out;
if the number of the wireless earphones is 1, detecting whether the first working time length is lower than a first preset working time length;
and if the first working time length is less than the first preset working time length, carrying out charging reminding.
7. A computer-readable storage medium, having a charging reminder program stored thereon, which when executed by a processor implements the steps of the charging reminder method according to any one of claims 1 to 4.
CN202010594118.7A 2020-06-28 2020-06-28 Charging reminding method, charging box and computer readable storage medium Active CN111817371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010594118.7A CN111817371B (en) 2020-06-28 2020-06-28 Charging reminding method, charging box and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010594118.7A CN111817371B (en) 2020-06-28 2020-06-28 Charging reminding method, charging box and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111817371A CN111817371A (en) 2020-10-23
CN111817371B true CN111817371B (en) 2022-05-17

Family

ID=72855479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010594118.7A Active CN111817371B (en) 2020-06-28 2020-06-28 Charging reminding method, charging box and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111817371B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CA2891018A1 (en) * 2015-05-07 2016-11-07 IntraGrain Technologies Inc. System and method for communicating grain bin condition data to a smartphone
CN208046851U (en) * 2018-03-16 2018-11-02 北京纽曼凤凰科技有限公司 Bluetooth headset storage device
CN208174945U (en) * 2018-05-15 2018-11-30 上海巨微集成电路有限公司 The TWS earphone charging box of carried charge push function
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium
CN210840008U (en) * 2019-12-23 2020-06-23 深圳市奥达森科技有限公司 Wireless bluetooth headset charging seat of wireless of chinese fort shape hangers formula touch

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150117695A1 (en) * 2013-10-28 2015-04-30 Aliphcom Orienting earbuds and earbud systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CA2891018A1 (en) * 2015-05-07 2016-11-07 IntraGrain Technologies Inc. System and method for communicating grain bin condition data to a smartphone
CN208046851U (en) * 2018-03-16 2018-11-02 北京纽曼凤凰科技有限公司 Bluetooth headset storage device
CN208174945U (en) * 2018-05-15 2018-11-30 上海巨微集成电路有限公司 The TWS earphone charging box of carried charge push function
CN210840008U (en) * 2019-12-23 2020-06-23 深圳市奥达森科技有限公司 Wireless bluetooth headset charging seat of wireless of chinese fort shape hangers formula touch
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium

Also Published As

Publication number Publication date
CN111817371A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN102138134B (en) Intelligent power-enabled communications port
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
CN111491235B (en) Charging method and system, charging box and Bluetooth headset
CN110168483B (en) Shortcut menu for displaying different applications on different screens
CN111142030B (en) Method, device and equipment for detecting internal short-circuit current and readable storage medium
KR20160149275A (en) Apparatus, system and method of wireless power transfer
CN111246328A (en) Charging box, electric quantity display method and system thereof, and computer readable storage medium
CN111509800B (en) Charging method and system, charging box and Bluetooth headset
CN111163388B (en) Management method and device for charging path of Bluetooth headset and readable storage medium
EP3249773B1 (en) Device containing rechargeable battery and energy management method thereof
US11271442B2 (en) Wireless charging prompt method and device, wireless charging system
CN110198068B (en) Charging control method and charging device
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
CN113291192A (en) Battery replacement method, device and storage medium
CN111817371B (en) Charging reminding method, charging box and computer readable storage medium
CN107276180B (en) Charging control method, device and system and user equipment
CN106786898B (en) Switching method and device of charging equipment and related equipment
CN101854427A (en) Method for reminding operation start and mobile terminal
CN112040358A (en) Box-entering detection method, system and computer readable storage medium
CN111970603A (en) Detection method, audio component and readable storage medium
CN113131543A (en) Charging control method, device, equipment and readable storage medium
CN111293748A (en) Method and device for monitoring electric quantity data
CN114069803B (en) Portable emergency energy storage power supply detection method, device, equipment and storage medium
CN106951294B (en) Method and equipment for providing service for cross-system application
CN104009527A (en) Charging method based on social contact, first mobile terminal and second mobile terminal

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