CN110430504B - Charging control method, charging control device, charging box and computer readable storage medium - Google Patents

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

Info

Publication number
CN110430504B
CN110430504B CN201910727113.4A CN201910727113A CN110430504B CN 110430504 B CN110430504 B CN 110430504B CN 201910727113 A CN201910727113 A CN 201910727113A CN 110430504 B CN110430504 B CN 110430504B
Authority
CN
China
Prior art keywords
charging
earphone
box
electric quantity
charging box
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
CN201910727113.4A
Other languages
Chinese (zh)
Other versions
CN110430504A (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.)
Hunan Voc Acoustic Technology Co ltd
Hunan Guosheng Acoustics Technology Co ltd Shenzhen Branch
Original Assignee
Hunan Voc Acoustic Technology Co ltd
Hunan Guosheng Acoustics Technology Co ltd Shenzhen Branch
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 Hunan Voc Acoustic Technology Co ltd, Hunan Guosheng Acoustics Technology Co ltd Shenzhen Branch filed Critical Hunan Voc Acoustic Technology Co ltd
Priority to CN201910727113.4A priority Critical patent/CN110430504B/en
Publication of CN110430504A publication Critical patent/CN110430504A/en
Application granted granted Critical
Publication of CN110430504B publication Critical patent/CN110430504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Abstract

The embodiment of the invention discloses a charging control method, a charging control device, a charging box and a computer readable storage medium, and relates to the technical field of TWS earphone charging. The method comprises the following steps: after detecting that the earphone is placed in the box, starting a charging level of the charging box, detecting the current electric quantity of the earphone, and setting the starting time of the charging level according to the current electric quantity of the earphone; in the charging process, the electric quantity of the earphone is inquired at regular time, and the starting duration of the charging level is dynamically adjusted according to the change of the electric quantity of the earphone; and when the starting duration of the charging level is adjusted to be zero, controlling the charging box to close the charging level and entering a sleep mode. The embodiment of the invention can save the power consumption of the charging box and the earphone and prolong the endurance time of the charging box and the earphone.

Description

Charging control method, charging control device, charging box and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of TWS earphone charging, in particular to a charging control method, a charging control device, a charging box and a computer readable storage medium.
Background
The system of a True Wireless Stereo (TWS) bluetooth headset can be mainly divided into two parts, namely a charging box and a headset. The effect of the box that charges is similar to the treasured that charges, charges for two earphones specially. The capacity of the battery used by the charging box and the earphone cannot be increased due to the narrow space of the charging box and the earphone, the capacity of the charging box is generally within 1000mAh, the capacity of the earphone end is smaller, and most departments are smaller than 100 mAh. Therefore, whether the charging box or the earphone is used, the design of low power consumption of the system should be considered, and the long service life of the product is ensured.
At present, when a TWS earphone is charged, because the conventional earphone charging box is generally in a normally open 5V state, when the charging box detects that the earphone is plugged into the box, the charging level of the charging box can automatically charge the earphone, and the charging box can automatically shut down after the earphone is plugged into the box, so that the charging level of the charging box can be continuously in an open state even if the electric quantity of the earphone is full, unnecessary power consumption waste can be caused, and the endurance time of the charging box can be shortened; in addition, because the earphone goes into the box among the prior art and is in the power-off state promptly, after the earphone is full of the electricity, when the user took out the earphone from the box that charges and uses, need carry out the boot operation to the earphone earlier, could make the earphone rather than the terminal reconnection of mating, reconnection latency is longer, leads to user experience relatively poor.
Disclosure of Invention
In view of the above, an embodiment of the present invention provides a charging control method, a charging control device, a charging box, a storage medium, and an earphone charging system, so as to solve the problems of unnecessary power consumption waste, shortened duration and connection time of the charging box, and poor user experience of the conventional earphone charging control method.
The technical scheme adopted by the embodiment of the invention for solving the technical problems is as follows:
according to an aspect of an embodiment of the present invention, there is provided a charging control method applied to a charging box, wherein the charging control method includes:
after detecting that the earphone is placed in the box, starting a charging level of the charging box, detecting the current electric quantity of the earphone, and setting the starting time of the charging level according to the current electric quantity of the earphone;
in the charging process, the electric quantity of the earphone is inquired at regular time, and the starting duration of the charging level is dynamically adjusted according to the change of the electric quantity of the earphone;
and when the starting duration of the charging level is adjusted to be zero, controlling the charging box to close the charging level and entering a sleep mode.
Wherein, when the on-duration of the charging level is adjusted to zero, controlling the charging box to close the charging level, and entering a sleep mode further comprises:
when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, controlling the charging box to start a charging level, supplementing the earphone, and controlling the charging box to enter a sleep mode again after the earphone is fully charged.
Wherein the charge control method further comprises:
if no manual operation is detected within a preset time, after the charging box is repeatedly awakened from the sleep mode for a preset number of times, controlling the charging box to enter a deep sleep mode, and meanwhile, sending a shutdown instruction to the earphone to control the earphone to enter a shutdown mode; and the second preset sleep duration corresponding to the deep sleep mode is greater than the first preset sleep duration.
Wherein the charge control method further comprises:
after the charging box enters a deep sleep mode, if no manual operation is detected, awakening the charging box when the sleep time reaches the second preset sleep time, and controlling the charging box to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a second preset electric quantity threshold value, starting the charging level of the charging box, supplementing the earphone, sending a shutdown instruction to the earphone after the electric quantity of the earphone is full, and controlling the charging box to enter a deep sleep mode again.
Wherein, after detecting that the earphone goes into the box, open the charge level of the box that charges to detect the current electric quantity of earphone, set up according to the current electric quantity of earphone the opening duration of charge level includes:
after detecting that the earphone is placed in the box, starting a charging level of the charging box to maintain for a first preset time, and then controlling the charging box to enter a communication mode from a charging mode; a control circuit is arranged in the earphone, and the control circuit controls the earphone to be started after detecting that the charging level of the charging box is started;
sending an electric quantity inquiry instruction to the earphone in a communication mode so as to acquire the current electric quantity of the earphone, controlling the charging box to be switched to a charging mode from the communication mode after receiving the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone.
Wherein the charge control method further comprises:
and when the charging box is detected to be opened, the charging level of the charging box is started, so that the control circuit in the earphone controls the earphone to be started after the charging level is detected to be opened.
According to another aspect of the embodiments of the present invention, there is provided a charging control device applied to a charging box, the charging control device including:
the charging starting unit is used for starting a charging level of the charging box after the earphone is detected to be plugged into the box, detecting the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone;
the charging duration adjusting unit is used for inquiring the electric quantity of the earphone in a timing mode in the charging process and dynamically adjusting the starting duration of the charging level according to the change of the electric quantity of the earphone;
and the dormancy unit is used for controlling the charging box to close the charging level and enter a dormancy mode when the starting duration of the charging level is adjusted to be zero.
Wherein, the charging control device further comprises a first compensation control unit for:
when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, controlling the charging box to start a charging level, supplementing the earphone with electricity, and controlling the charging box to enter a sleep mode again after the earphone is fully charged;
wherein the charge control device further comprises a deep sleep unit for:
if no manual operation is detected within a preset time, after the charging box is repeatedly awakened from the sleep mode for a preset number of times, controlling the charging box to enter a deep sleep mode, and meanwhile, sending a shutdown instruction to the earphone to control the earphone to enter a shutdown mode; and the second preset sleep duration corresponding to the deep sleep mode is greater than the first preset sleep duration.
According to a further aspect of an embodiment of the present invention, there is provided a charging box, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the charging control method according to any one of the above.
According to a further aspect of an embodiment of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the charging control method according to any one of the preceding claims.
According to the charging control method, the charging control device, the charging box and the computer readable storage medium provided by the embodiment of the invention, after the earphone is detected to be plugged into the box, the electric quantity of the earphone is inquired regularly, the starting time of the charging level is dynamically adjusted according to the electric quantity of the earphone, the charging level of the charging box is closed until the battery electric quantity of the earphone is fully charged, and the charging box is controlled to enter the sleep mode, so that the user operation can be centralized, the energy consumption of the charging box is saved, and the endurance time of the charging box is prolonged; after the charging box enters the sleep mode, the charging box is awakened regularly to supplement power for the earphone, and after the charging box is awakened repeatedly for a preset number of times, if the charging box and the earphone are not manually operated within a certain period of time, the earphone is controlled to enter the shutdown mode, and meanwhile, the charging box is controlled to enter the deep sleep mode, so that the power consumption of the earphone when the earphone is idle can be saved, the energy consumption of the charging box is further saved, and the endurance time of the charging box is prolonged; in addition, the charging level of the charging box is started when the charging box is detected to be opened, so that the control circuit in the earphone controls the earphone to be started after the charging level is detected to be opened, the earphone can be automatically connected back with the matched terminal equipment when the earphone is taken out of the box, the back connection waiting time of a user is shortened, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a specific implementation of a charging control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a specific implementation of a charging control method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a specific implementation of a charging control method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a charging control apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a charging box provided in the fifth embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Fig. 1 is a schematic diagram of a specific implementation flow of a charging control method according to an embodiment of the present invention, where an execution main body of the method is a charging box according to the embodiment of the present invention. Referring to fig. 1, the charging control method provided in this embodiment may include the following steps:
step S101, after the earphone is detected to be plugged into the box, the charging level of the charging box is started, the current electric quantity of the earphone is detected, and the starting duration of the charging level is set according to the current electric quantity of the earphone.
In this embodiment, an earphone placing area is disposed in the charging box, two earphone charging interfaces are disposed in the earphone placing area, after the earphone is placed in the earphone placing area, the charging terminal on the earphone is inserted into the earphone charging interface, the charging box can detect whether the earphone is placed in the box by detecting whether the charging terminal of the earphone is inserted into the earphone charging interface, when the charging box detects that a certain earphone charging interface is connected to the charging terminal of the earphone, the charging level corresponding to the earphone charging interface is turned on, the earphone can be automatically turned on when detecting that the charging level of the charging box is turned on (the earphone may be in a power-on state or a power-off state when the earphone is placed in the box, a control circuit is disposed in the earphone, when detecting that the charging level of the charging box is turned on, no treatment is carried out; when the earphone is in a power-off state, the control circuit can control the earphone to be automatically started when detecting that the charging level of the charging box is started), and at the moment, the charging box can communicate with the earphone, the current electric quantity of the earphone is inquired, and the starting duration of the charging level is set according to the current electric quantity of the earphone.
Further, step S101 specifically includes:
after detecting that the earphone is placed in the box, starting a charging level of the charging box to maintain for a first preset time, and then controlling the charging box to enter a communication mode from a charging mode;
sending an electric quantity inquiry instruction to the earphone in a communication mode so as to acquire the current electric quantity of the earphone, controlling the charging box to be switched to a charging mode from the communication mode after receiving the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone.
Because the earphone may be in a non-power off state when entering the box, in this embodiment, after detecting that the earphone enters the box, the charging box first starts a charging level of the charging box for a first preset time, so that the earphone can be charged first, when the earphone reaches the electric quantity required by the start, the earphone is started under the control of the control circuit, the charging box enters a communication mode from the charging mode after detecting that the earphone is started, and sends an electric quantity inquiry instruction to the earphone in the communication mode, the earphone returns the current electric quantity information of the earphone to the charging box after receiving the electric quantity inquiry instruction, the charging box finishes the current communication period after receiving the electric quantity information, and the communication mode is switched to the charging mode, and the start duration of the charging level is set according to the current electric quantity of the earphone.
Wherein, the setting of the opening duration of the charging level according to the current electric quantity of the earphone specifically comprises:
and calculating the charging time required by the full charging of the earphone according to the current electric quantity of the earphone, the total battery capacity of the earphone and the charging level, and setting the starting time of the charging level as the charging time. The total capacity of the battery of the earphone is acquired when the current electric quantity of the battery is acquired for the first time, or is pre-configured in the charging box.
And S102, in the charging process, regularly inquiring the electric quantity of the earphone, and dynamically adjusting the starting duration of the charging level according to the change of the electric quantity of the earphone.
Wherein, the box that charges divides into two kinds of mode under operating condition: a charging mode and a communication mode; the working level of the power supply is 4.3-5V in a charging mode, and the working level of the power supply is 0-3V in a communication mode; in the charging process, the charging box can enter periodic switching between the charging mode and the communication mode so as to dynamically adjust the starting duration of the charging level according to the change of the electric quantity of the earphone. In this embodiment, because the electric quantity of the earphone is periodically inquired, and the on-time of the charging level is dynamically adjusted according to the electric quantity change of the earphone, whether the electric quantity of the earphone is full can be monitored in real time.
And step S103, when the starting duration of the charging level is adjusted to be zero, controlling the charging box to close the charging level and entering a sleep mode.
In this embodiment, when the on-time of the charging level is adjusted to zero, it indicates that the earphone is fully charged, and at this time, the charging level of the charging box is turned off, and the charging box is controlled to enter the sleep mode, so that the power consumption of the charging box can be saved, and the endurance time of the charging box can be prolonged.
Preferably, in this embodiment, the charge control method further includes:
and when the charging box is detected to be opened, the charging level of the charging box is started, so that the control circuit in the earphone controls the earphone to be started after the charging level is detected to be opened.
In this embodiment, be provided with the inductor on the box of charging, when sensing the box of charging and opening, trigger the box of charging and open the level of charging, and then trigger the earphone start, can make the earphone start automatically when the box of charging is opened like this to the earphone goes out the box back in time and carries out the reconnection rather than the terminal equipment who pairs, has promoted user experience.
As can be seen from the above, in the charging control method provided in this embodiment, after the earphone is detected to be plugged into the box, the electric quantity of the earphone is regularly inquired, the charging start time is dynamically adjusted according to the change of the electric quantity of the earphone, and after the earphone is fully charged, the charging box is controlled to enter the sleep mode, so that the user operation can be simplified, the power consumption of the charging box is saved, and the endurance time of the charging box is prolonged; in addition, the charging level of the charging box is started when the charging box is detected to be opened, so that the control circuit in the earphone controls the earphone to be started after the charging level is detected to be opened, the earphone can be automatically connected back with the matched terminal equipment when the earphone is taken out of the box, the back connection waiting time of a user is shortened, and the user experience is improved.
Example two
Fig. 2 is a schematic diagram of a specific implementation flow of a charging control method according to a second embodiment of the present invention, where an execution main body of the method is the charging box according to the second embodiment of the present invention. Referring to fig. 2, the charging control method provided in this embodiment may include the following steps:
step S201, after the earphone is detected to be plugged into the box, the charging level of the charging box is started, the current electric quantity of the earphone is detected, and the starting duration of the charging level is set according to the current electric quantity of the earphone.
Step S202, in the charging process, the electric quantity of the earphone is inquired at regular time, and the starting duration of the charging level is dynamically adjusted according to the change of the electric quantity of the earphone.
Step S203, when the starting duration of the charging level is adjusted to be zero, the charging box is controlled to close the charging level, and the charging box enters a sleep mode.
It should be noted that, since the implementation manners of step S201 to step S203 are completely the same as the implementation manners of step S101 to step S103, detailed descriptions thereof are omitted here.
Step S204, when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
and S205, if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, returning to control the charging box to start a charging level, supplementing electricity to the earphone, and controlling the charging box to enter a sleep mode again after the earphone is fully charged.
In this embodiment, after the charging box enters the sleep mode, if no manual operation is performed, the charging box is awakened at regular time, the charging box is controlled to detect the electric quantity of the earphone, if the electric quantity of the earphone is lower than the first preset electric quantity threshold value, a charging level is started to perform supplementary charging on the earphone, and after the earphone is fully charged, the charging box is controlled to enter the sleep mode again, so that the battery can be kept in a full-charge state, and the energy consumption of the charging box can be saved; if a human operation is detected after the charging box enters the sleep mode, the process returns to step S201. In a specific implementation example, the first preset electric quantity threshold is 90% of a full-charge state of the battery. The first preset sleep time is determined by a leakage current of the earphone in the power-on state, and in a specific implementation example, the first preset sleep time is 4 hours.
Compared with the previous embodiment, in the charging control method provided by the embodiment, the charging box is awakened regularly to supplement power to the earphone when the charging box enters the dormant state, so that the influence on the use of a user caused by the power consumption of the earphone due to the leakage current of the earphone in the power-on state can be prevented, and the power of the earphone is ensured to be always greater than the first preset power threshold value while the endurance time of the charging box is prolonged.
EXAMPLE III
Fig. 3 is a schematic diagram of a specific implementation flow of a charging control method according to a third embodiment of the present invention, where an execution main body of the method is the charging box according to the third embodiment of the present invention. Referring to fig. 3, compared to the second embodiment, after step S205, the charging control method provided in this embodiment may further include:
step S206, if no human operation is detected within a preset time, after the charging box is repeatedly awakened from the sleep mode for a preset number of times, the charging box is controlled to enter a deep sleep mode, and meanwhile, a shutdown instruction is sent to the earphone to control the earphone to enter a shutdown mode; and the second preset sleep duration corresponding to the deep sleep mode is greater than the first preset sleep duration.
In this embodiment, if the charging box wakes up from the sleep mode repeatedly for a preset number of times, and during this period, the charging box does not detect human operations, such as: and controlling the charging box to send a shutdown instruction to the earphone, controlling the earphone to enter a shutdown mode, and controlling the charging box to enter a deep sleep mode, wherein the second preset dormancy time period corresponding to the deep sleep mode is determined by the leakage current of the earphone in the shutdown state, so that the second preset dormancy time is far longer than the first preset dormancy time period. Preferably, in a specific implementation example, the second preset sleep time is 4 days.
Preferably, in this embodiment, after step S206, the following steps are further included:
step S207, after the charging box enters a deep sleep mode, if no manual operation is detected, waking up the charging box when the sleep time reaches a second preset sleep time, and controlling the charging box to inquire the electric quantity of the earphone;
and S208, if the electric quantity of the earphone is lower than a second preset electric quantity threshold value, starting the charging level of the charging box, supplementing the earphone, sending a shutdown instruction to the earphone after the electric quantity of the earphone is full, and controlling the charging box to enter a deep sleep mode again.
In this embodiment, after the charging box enters the deep sleep mode, if no manual operation is detected in the deep sleep process, the charging box is still awakened regularly to inquire the electric quantity of the headset, so that when the electric quantity of the headset is monitored to be smaller than a second preset electric quantity threshold value, the headset is subjected to power supplementing operation. The second preset electric quantity threshold may be configured by itself, and in a preferred embodiment, the second preset electric quantity threshold is equal to the first preset electric quantity threshold and is 90% of the electric quantity when the battery is fully charged.
Compared with the previous embodiment, in the charging control method provided by the embodiment, after the charging box is repeatedly awakened for the preset times, if no manual operation is detected during the preset times, the charging box is controlled to enter the deep sleep mode, and the earphone is controlled to be powered off, so that the power consumption of the charging box can be further reduced, and the endurance time of the charging box is prolonged; in addition, because the box of charging is in the degree of depth sleep mode, regularly awaken the box of charging and mend the electricity to the earphone to can prevent that the earphone from leading to earphone electric quantity consumption to lead to the fact the influence to the user to use at the current leakage of off-state under the earphone, guarantee that the earphone electric quantity is greater than the second all the time and predetermine the electric quantity threshold value when the time of endurance of extension box of charging.
Example four
Fig. 4 is a schematic structural diagram of a charging control device according to a fourth embodiment of the present invention, where the charging control device is applied to a charging box. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 4, the charging control apparatus 4 according to the present embodiment includes:
the charging starting unit 41 is configured to start a charging level of the charging box after the earphone is detected to be plugged into the charging box, detect a current electric quantity of the earphone, and set a starting duration of the charging level according to the current electric quantity of the earphone;
a charging duration adjusting unit 42, configured to query the electric quantity of the earphone at regular time during the charging process, and dynamically adjust the starting duration of the charging level according to the change of the electric quantity of the earphone;
and a sleep unit 43, configured to control the charging box to close the charging level and enter a sleep mode when the on-time of the charging level is adjusted to zero.
Optionally, the charging control device 4 further includes a first compensation control unit 44, configured to:
when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, returning to control the charging box to start a charging level, supplementing the earphone, and controlling the charging box to enter a sleep mode again after the earphone is fully charged.
Optionally, the charging control apparatus 4 further includes a deep sleep unit 45, configured to:
if no manual operation is detected within a preset time, after the charging box is repeatedly awakened from the sleep mode for a preset number of times, controlling the charging box to enter a deep sleep mode, and meanwhile, sending a shutdown instruction to the earphone to control the earphone to enter a shutdown mode; and the second preset sleep duration corresponding to the deep sleep mode is greater than the first preset sleep duration.
Optionally, the charging control device 4 further includes a second compensation control unit 46:
after the charging box enters a deep sleep mode, if no manual operation is detected, awakening the charging box when the sleep time reaches the second preset sleep time, and controlling the charging box to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a second preset electric quantity threshold value, starting the charging level of the charging box, supplementing the earphone, sending a shutdown instruction to the earphone after the electric quantity of the earphone is full, and controlling the charging box to enter a deep sleep mode again.
Optionally, the charging start unit 41 is specifically configured to:
after detecting that the earphone is placed in the box, starting a charging level of the charging box to maintain for a first preset time, and then controlling the charging box to enter a communication mode from a charging mode;
sending an electric quantity inquiry instruction to the earphone in a communication mode so as to acquire the current electric quantity of the earphone, controlling the charging box to be switched to a charging mode from the communication mode after receiving the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone.
It should be noted that, since the charging control apparatus in the embodiment of the present invention belongs to the same concept as the charging control method provided in the first embodiment, the second embodiment, or the third embodiment, specific implementation processes thereof are detailed in the method embodiments, and technical features in the method embodiments are applicable to this embodiment, which is not described herein again.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a charging box provided in the fifth embodiment of the present invention. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 5, the charging box 5 provided in this embodiment includes a memory 51, a processor 52, and a computer program 53 stored in the memory 51 and capable of running on the processor 52, where when the computer program 53 is executed by the processor 52, the steps of the charging control method according to the first embodiment, the second embodiment, or the third embodiment are implemented.
It should be noted that, since the charging box of the embodiment of the present invention belongs to the same concept as the charging control method provided in the first embodiment, the second embodiment or the third embodiment, specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are applicable in this embodiment, which is not described herein again.
EXAMPLE six
A sixth embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the charging control method according to the first embodiment or the second embodiment are implemented.
It should be noted that, because the storage medium according to the embodiment of the present invention belongs to the same concept as the charging control method provided in the first embodiment or the second embodiment, specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are applicable in this embodiment, which is not described herein again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.

Claims (9)

1. A charging control method is applied to a charging box and is characterized by comprising the following steps:
after detecting that the earphone is placed in the box, starting a charging level of the charging box, detecting the current electric quantity of the earphone, and setting the starting time of the charging level according to the current electric quantity of the earphone; a control circuit is arranged in the earphone, and when the earphone is in a power-off state, the control circuit controls the earphone to be powered on when detecting that the charging level of the charging box is turned on;
in the charging process, the electric quantity of the earphone is inquired at regular time, and the starting duration of the charging level is dynamically adjusted according to the change of the electric quantity of the earphone;
when the starting duration of the charging level is adjusted to be zero, controlling the charging box to close the charging level and entering a sleep mode;
the charge control method further includes:
and when the charging box is detected to be opened, the charging level of the charging box is started, so that the control circuit in the earphone controls the earphone to be started after the charging level is detected to be opened.
2. The charge control method according to claim 1, wherein the controlling the charge box to turn off the charge level when the on-duration of the charge level is adjusted to zero further comprises, after entering the sleep mode:
when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, controlling the charging box to start a charging level, supplementing the earphone, and controlling the charging box to enter a sleep mode again after the earphone is fully charged.
3. The charge control method according to claim 2, characterized by further comprising:
if no manual operation is detected within a preset time, after the charging box is repeatedly awakened from the sleep mode for a preset number of times, controlling the charging box to enter a deep sleep mode, and meanwhile, sending a shutdown instruction to the earphone to control the earphone to enter a shutdown mode; and the second preset sleep time corresponding to the deep sleep mode is longer than the first preset sleep time.
4. The charge control method according to claim 3, characterized by further comprising:
after the charging box enters a deep sleep mode, if no manual operation is detected, awakening the charging box when the sleep time reaches the second preset sleep time, and controlling the charging box to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a second preset electric quantity threshold value, starting the charging level of the charging box, supplementing the earphone, sending a shutdown instruction to the earphone after the electric quantity of the earphone is full, and controlling the charging box to enter a deep sleep mode again.
5. The charging control method of claim 1, wherein after detecting that the headset is plugged into the box, turning on a charging level of the charging box, and detecting a current power amount of the headset, and setting a turn-on duration of the charging level according to the current power amount of the headset comprises:
after detecting that the earphone is placed in the box, starting a charging level of the charging box to maintain for a first preset time, and then controlling the charging box to enter a communication mode from a charging mode; a control circuit is arranged in the earphone, and the control circuit controls the earphone to be started after detecting that the charging level of the charging box is started;
sending an electric quantity inquiry instruction to the earphone in a communication mode so as to acquire the current electric quantity of the earphone, controlling the charging box to be switched to a charging mode from the communication mode after receiving the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone.
6. A charging control device is applied to a charging box, and is characterized by comprising:
the charging starting unit is used for starting a charging level of the charging box after the earphone is detected to be plugged into the box, detecting the current electric quantity of the earphone, and setting the starting duration of the charging level according to the current electric quantity of the earphone; a control circuit is arranged in the earphone, and when the earphone is in a power-off state, the control circuit controls the earphone to be powered on when detecting that the charging level of the charging box is turned on;
the charging duration adjusting unit is used for inquiring the electric quantity of the earphone in a timing mode in the charging process and dynamically adjusting the starting duration of the charging level according to the change of the electric quantity of the earphone;
the sleep unit is used for controlling the charging box to close the charging level and enter a sleep mode when the starting duration of the charging level is adjusted to be zero;
the charging box is further provided with an inductor, and the inductor is used for triggering the charging box to open a charging level when the charging box is sensed to be opened, and further triggering the earphone to be started.
7. The charge control device according to claim 6, further comprising a first compensation control unit for:
when the sleeping time of the charging box reaches a first preset sleeping time corresponding to the sleeping mode, the charging box is awakened regularly, and the charging box is controlled to inquire the electric quantity of the earphone;
and if the electric quantity of the earphone is lower than a first preset electric quantity threshold value, controlling the charging box to start a charging level, supplementing the earphone, and controlling the charging box to enter a sleep mode again after the earphone is fully charged.
8. A charging box, characterized in that it comprises a memory, a processor and a computer program stored on said memory and executable on said processor, which computer program, when executed by said processor, carries out the steps of the charging control method according to any one of claims 1 to 5.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the charge control method according to any one of claims 1 to 5.
CN201910727113.4A 2019-08-07 2019-08-07 Charging control method, charging control device, charging box and computer readable storage medium Active CN110430504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910727113.4A CN110430504B (en) 2019-08-07 2019-08-07 Charging control method, charging control device, charging box and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910727113.4A CN110430504B (en) 2019-08-07 2019-08-07 Charging control method, charging control device, charging box and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110430504A CN110430504A (en) 2019-11-08
CN110430504B true CN110430504B (en) 2020-10-27

Family

ID=68414777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910727113.4A Active CN110430504B (en) 2019-08-07 2019-08-07 Charging control method, charging control device, charging box and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110430504B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113013506B (en) * 2019-12-19 2022-07-12 海信视像科技股份有限公司 Head-mounted display equipment charging method, device and equipment
CN110913445B (en) * 2019-12-27 2021-10-22 联想(北京)有限公司 Connection switching method and device and wearable device
CN111049230B (en) * 2019-12-31 2024-03-08 歌尔科技有限公司 Wireless earphone, charging method thereof, charging box and readable storage medium
CN111163388B (en) * 2019-12-31 2021-08-10 歌尔股份有限公司 Management method and device for charging path of Bluetooth headset and readable storage medium
CN111491233B (en) * 2020-04-08 2022-11-04 江苏紫米电子技术有限公司 Method, device and equipment for reminding electric quantity of charging box and storage medium
WO2022006697A1 (en) * 2020-07-06 2022-01-13 Harman International Industries, Incorporated Deep sleep circuit design for tws
CN112332499A (en) * 2020-11-24 2021-02-05 深圳市卓翼科技股份有限公司 Charging control method, system, charging box and storage medium
CN112865248B (en) * 2021-02-09 2023-07-07 深圳市冠旭电子股份有限公司 Method and device for detecting box entering of wireless earphone, charging box and readable storage medium
CN112865249B (en) * 2021-02-09 2023-10-20 深圳市冠旭电子股份有限公司 Charging method and device of wireless earphone, charging box and readable storage medium
CN114243816A (en) * 2021-11-29 2022-03-25 歌尔科技有限公司 Charging control method of earphone, earphone and computer readable storage medium
CN114895770A (en) * 2022-04-02 2022-08-12 Oppo广东移动通信有限公司 Equipment control method, device, charging box and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products
CN208337841U (en) * 2018-07-13 2019-01-04 深圳市魔浪电子有限公司 A kind of earphone charging storage box of double fixed rotating shaft elastic slices
CN109756808A (en) * 2018-12-14 2019-05-14 珠海市杰理科技股份有限公司 Wireless portable electronic equipment, charging unit, system and method
CN109922401A (en) * 2019-04-26 2019-06-21 歌尔科技有限公司 Wireless headset control method, system and wireless headset, charging box and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110117840A1 (en) * 2007-07-26 2011-05-19 Zhi Li Bluetooth Earphone And Host Device Using The Bluetooth Earphone
CN109525012B (en) * 2018-11-27 2023-06-23 安克创新科技股份有限公司 Charging device, charging control method, charging control system, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products
CN208337841U (en) * 2018-07-13 2019-01-04 深圳市魔浪电子有限公司 A kind of earphone charging storage box of double fixed rotating shaft elastic slices
CN109756808A (en) * 2018-12-14 2019-05-14 珠海市杰理科技股份有限公司 Wireless portable electronic equipment, charging unit, system and method
CN109922401A (en) * 2019-04-26 2019-06-21 歌尔科技有限公司 Wireless headset control method, system and wireless headset, charging box and storage medium

Also Published As

Publication number Publication date
CN110430504A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110430504B (en) Charging control method, charging control device, charging box and computer readable storage medium
CN101802750B (en) Apparatus and method for reducing power consumption in system on chip
CN106332159B (en) WIFI abnormity automatic reconnection device, system and method
EP3623776A2 (en) Dynamic power consumption management and wake-up method and application system therefor
JP6203983B1 (en) Dynamic sleep mode based on battery charge
US9436255B2 (en) DC-powered system side control of AC-DC adapter primary side switching circuitry
US20070223300A1 (en) Portable electronic apparatus with a power saving function and method
JP2001145170A5 (en)
CN108819738B (en) Storage battery charging method, vehicle control unit, electric quantity monitoring device and electric vehicle
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
WO2021233219A1 (en) Automatic wake-up and diagnosis method for battery management system, battery management system, and vehicle
CN108445802B (en) Robot sleep control method and circuit, communication device and robot
CN105807918A (en) Control method, control device and wearable intelligent equipment
CN115837861A (en) BMS sleep wake-up circuit, method, BMS and electric equipment
JP6243556B2 (en) Method and apparatus for electronic device power supply
US20150293569A1 (en) Computer system and power management method thereof
CN112332499A (en) Charging control method, system, charging box and storage medium
CN112617665B (en) Dust collection equipment control method and device, computer equipment and storage medium
US8115346B2 (en) Electronic device and external power supply device control method applicable thereto
JP2803715B2 (en) Peripheral device power control method
CN108767344B (en) Method and device for optimizing power supply of intelligent sound equipment battery
CN108040361B (en) Power management method of cross-platform Internet of things embedded system
TWI481148B (en) Method for controlling battery recharging and electronic device
CN113276700B (en) Charger system and charger awakening dormancy control method
KR100942922B1 (en) Power Management Unit controlling Wake-up Sequence and Method thereof

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