CN110430504A - Charge control method, device, charging box and computer readable storage medium - Google Patents
Charge control method, device, charging box and computer readable storage medium Download PDFInfo
- Publication number
- CN110430504A CN110430504A CN201910727113.4A CN201910727113A CN110430504A CN 110430504 A CN110430504 A CN 110430504A CN 201910727113 A CN201910727113 A CN 201910727113A CN 110430504 A CN110430504 A CN 110430504A
- Authority
- CN
- China
- Prior art keywords
- earphone
- charging
- box
- charging box
- electricity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators or arrangements for charging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of charge control method, device, charging box and computer readable storage mediums, are related to TWS earphone charging technique field.Wherein method includes: to open the charging level of the charging box after detecting that earphone enters box, and detect the current electric quantity of the earphone, and the opening time of the charging level is arranged according to the current electric quantity of the earphone;During the charging process, the electricity of earphone is inquired in timing, and the opening time of the charging level is adjusted according to the variation dynamic of earphone electricity;When the opening time of the charging level is adjusted to zero, controls the charging box and close the charging level, into suspend mode.The embodiment of the present invention can save the power consumption of charging box and earphone, extend the cruise duration of charging box and earphone.
Description
Technical field
The present embodiments relate to TWS earphone charging technique field, in particular to a kind of charge control method, fills device
Electric box and computer readable storage medium.
Background technique
The system of real wireless stereo (Ture Wireless Stereo, TWS) bluetooth headset can be mainly divided into two
Part is charging box and earphone respectively.The effect of charging box is similar to charger baby, is dedicated for two earphones and charges.By
It is limited to the small space of charging box and earphone, battery capacity used in this two parts can not all be done greatly, and the capacity of charging box is general
Within 1000mAh, and the capacity at earphone end is smaller, and Jue great department is both less than 100mAh.Therefore, either charging box or ear
Machine should all pay attention to the design of system low-power consumption, and it is longer using the time to guarantee that product has.
Currently, when carrying out charging operations to TWS earphone, since existing earphone charging box is usually normally opened 5V state,
When charging level can automatically charge to earphone charging box after detecting that earphone enters box, earphone enters meeting automatic shutdown after box,
Even if therefore earphone electricity still can be continuously in open state full of rear charging box charging level, will lead to so unnecessary
Power wastage shortens the cruise duration of charging box;Further, since earphone enters box and is in off-mode in the prior art, work as ear
After machine is fully charged, user is taken out earphone from charging box in use, need first to boot up operation to earphone, can just make earphone
The terminal matched with it, which is returned, to be connected, and the company's of returning waiting time is longer, causes user experience poor.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of charge control method, device, charging box, storage
Medium and earphone charging system will lead to unnecessary power consumption wave existing for solve in a manner of above-mentioned existing earphone charge control
Take, shortens charging box cruise duration and the company's of returning time is long, the problem of poor user experience.
It is as follows that the embodiment of the present invention solves technical solution used by above-mentioned technical problem:
According to an aspect of an embodiment of the present invention, a kind of charge control method is provided, is applied to charging box, wherein institute
Stating charge control method includes:
After detecting that earphone enters box, the charging level of the charging box is opened, and detects the current electric quantity of the earphone,
The opening time of the charging level is set according to the current electric quantity of the earphone;
During the charging process, the electricity of earphone is inquired in timing, adjusts the charging electricity according to the variation of earphone electricity dynamic
Flat opening time;
When the opening time of the charging level is adjusted to zero, controls the charging box and close the charging level, into
Enter suspend mode.
Wherein, described when the opening time of the charging level is adjusted to zero, it controls and is filled described in the charging box closing
Level, into after suspend mode further include:
When the sleep time of the charging box reaches the suspend mode corresponding first preset dormancy time, periodically call out
It wakes up the charging box, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the first default power threshold, controls the charging box and open charging level, it is right
The earphone carries out mending electricity, and after the earphone is fully charged, then charging box described in secondary control enters suspend mode.
Wherein, the charge control method further include:
If manual operation is not detected within a preset time, the charging box is being repeated to wake up from the suspend mode
The charging box is controlled after preset times and enters deep power down mode, while sending shutdown command to the earphone, controls institute
It states earphone and enters shutdown mode;The corresponding second preset dormancy duration of the deep power down mode is greater than first preset dormancy
Duration.
Wherein, the charge control method further include:
After the charging box enters deep power down mode, if manual operation is not detected, reach institute in sleep time
The charging box is waken up when stating the second preset dormancy duration, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the second default power threshold, the charging level of the charging box is opened, to institute
It states earphone to carry out mending electricity, after the earphone electricity is full of, Xiang Suoshu earphone sends shutdown command, and charges described in secondary control again
Box enters deep power down mode.
Wherein, after detecting that earphone enters box, the charging level of the charging box is opened, and detects the current of the earphone
Electricity includes: according to the opening time that the charging level is arranged in the current electric quantity of the earphone
After detecting that earphone enters box, open the charging box charging level maintain the first preset time after control described in
Charging box enters communication pattern by charge mode;Control circuit is provided in the earphone, the control circuit is detecting
The earphone booting is controlled after stating the charging level unlatching of charging box;
Electricity quantity inquiring instruction is sent to the earphone in a communication mode, to obtain the current electric quantity of earphone, is being received
After the current electric quantity of the earphone, the charging box is controlled from communication pattern and is switched to charge mode, and according to the earphone
The opening time of the charging level is arranged in current electric quantity.
Wherein, the charge control method further include:
The charging level that the charging box is opened when detecting that the charging box opens box makes the control electricity in the earphone
Road controls the earphone booting after detecting that the charging level is opened.
Other side according to an embodiment of the present invention provides a kind of battery charge controller, is applied to charging box, described to fill
Controller for electric consumption includes:
Charge opening unit, for opening the charging level of the charging box after detecting that earphone enters box, and detects institute
The opening time of the charging level is arranged according to the current electric quantity of the earphone for the current electric quantity for stating earphone;
Charging duration adjustment unit, for during the charging process, the electricity of earphone to be inquired in timing, according to the change of earphone electricity
Change the opening time that dynamic adjusts the charging level;
Suspend mode unit closes institute for when the opening time of the charging level is adjusted to zero, controlling the charging box
Charging level is stated, into suspend mode.
Wherein, the battery charge controller further includes the first benefit electric control unit, is used for:
When the sleep time of the charging box reaches the suspend mode corresponding first preset dormancy time, periodically call out
It wakes up the charging box, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the first default power threshold, controls the charging box and open charging level, it is right
The earphone carries out mending electricity, and after the earphone is fully charged, then charging box described in secondary control enters suspend mode;
Wherein, the battery charge controller further includes deep-sleep unit, is used for:
It is pre- repeating to wake up the charging box from the suspend mode if manual operation is not detected in preset time
If controlling the charging box after number enters deep power down mode, while sending shutdown command to the earphone, described in control
Earphone enters shutdown mode;When the corresponding second preset dormancy duration of the deep power down mode is greater than first preset dormancy
It is long.
Another aspect according to an embodiment of the present invention, provides a kind of charging box, and the charging box includes memory, processing
Device and it is stored in the computer program that can be run on the memory and on the processor, the computer program is by institute
When stating processor and executing, the step of realizing charge control method as described in any one of the above embodiments.
Another aspect according to an embodiment of the present invention provides a kind of storage medium, meter is stored on the storage medium
Calculation machine program when the computer program is executed by processor, realizes such as the described in any item charge controls of preceding claim
The step of method.
Charge control method, device, charging box and computer readable storage medium provided in an embodiment of the present invention, due to
After detecting that earphone enters box, the electricity of earphone is inquired in timing, and the opening time of charging level is adjusted according to earphone electricity dynamic,
Until the charging level of the charging box is closed, and control charging box and enter suspend mode after headset batteries electricity is filled, from
And can between change user's operation, save the energy consumption of charging box, extend the cruise duration of charging box;Due to entering suspend mode in charging box
After mode, timing wake-up charging box carries out earphone to mend electricity, and after repeating to wake up charging box preset times, if charging box and ear
Machine then controls earphone without manual operation within a certain period of time and enters shutdown mode, while controlling charging box and entering deep sleep mould
Formula further saves the energy consumption of charging box, extends the cruise duration of charging box so as to save power consumption when earphone leaves unused;
Further, since opening the charging level of the charging box when detecting that the charging box opens box, make the control in the earphone
Circuit controls the earphone booting after detecting that the charging level is opened, can make in this way earphone in box out automatically and its
The terminal device Hui Lian of pairing shortens the company's of returning waiting time of user, promotes user experience.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the specific implementation flow schematic diagram for the charge control method that the embodiment of the present invention one provides;
Fig. 2 is the specific implementation flow schematic diagram of charge control method provided by Embodiment 2 of the present invention;
Fig. 3 is the specific implementation flow schematic diagram for the charge control method that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the battery charge controller that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the charging box that the embodiment of the present invention five provides.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
Embodiment one
Fig. 1 is the specific implementation flow schematic diagram for the charge control method that the embodiment of the present invention one provides, and this method is held
Row main body is charging box described in the embodiment of the present invention.Shown in Figure 1, charge control method provided in this embodiment can be with
The following steps are included:
Step S101 opens the charging level of the charging box after detecting that earphone enters box, and detects the earphone
The opening time of the charging level is arranged according to the current electric quantity of the earphone for current electric quantity.
In the present embodiment, earphone rest area is provided in the charging box, in the earphone rest area there are two settings
Earphone charging interface, after the earphone is put into the earphone rest area, the charging terminal on the earphone is inserted into the earphone and fills
Electrical interface, the charging box whether can have by the earphone charging interface earphone charging terminal insertion come test earphone whether
Enter box, when the charging box, which senses a certain earphone charging interface, accesses the charging terminal of the earphone, then opens the ear
The corresponding charging level of machine charging interface, when the charging level for detecting charging box is opened, (earphone enters meeting Auto Power On earphone
Open state is likely to be at when box, it is also possible to be in off-mode, a control circuit is provided in the earphone, when earphone is in
When open state, which is not processed when the charging level for detecting charging box is opened;When earphone is in shutdown shape
When state, which can control earphone Auto Power On when the charging level for detecting charging box is opened), charging box at this time
It can be communicated with earphone, inquire the current electric quantity of earphone, and according to the current electric quantity of earphone, the charging level is set
Opening time.
Further, step S101 is specifically included:
After detecting that earphone enters box, open the charging box charging level maintain the first preset time after control described in
Charging box enters communication pattern by charge mode;
Electricity quantity inquiring instruction is sent to the earphone in a communication mode, to obtain the current electric quantity of earphone, is being received
After the current electric quantity of the earphone, the charging box is controlled from communication pattern and is switched to charge mode, and according to the earphone
The opening time of the charging level is arranged in current electric quantity.
Due to being likely to be at when earphone enters box without electric off-mode, in the present embodiment, the charging box is being detected
After entering box to the earphone, the charging level for first turning on the charging box maintains the first preset time, can first give ear in this way
Machine fills meeting youngster's electricity, is switched under control circuit control when earphone reaches booting institute's electricity demand, and charging box is detecting earphone booting
Communication pattern is entered by charge mode again afterwards, and sends electricity quantity inquiring instruction, the earphone to the earphone in a communication mode
After receiving the electricity quantity inquiring instruction, the current electric quantity information of itself is back to the charging box, the charging box exists
Terminate current communication cycle after receiving the information about power, charge mode, and working as according to earphone are switched to by communication pattern
The opening time of preceding electricity setting charging level.
Wherein, the opening time that charging level is arranged according to the current electric quantity of earphone specifically includes:
The earphone is calculated according to the current electric quantity of the earphone, the battery total capacity of the earphone and the charging level
The opening time of the charging level is set the charging duration by fully charged required charging duration.The electricity of the earphone
Pond total capacity obtains together when obtaining the current electric quantity of battery for the first time, or is pre-configured in the presence of in the charging box.
Step S102, during the charging process, timing inquire the electricity of earphone, adjust institute according to the variation of earphone electricity dynamic
State the opening time of charging level.
Wherein, the charging box is divided into two kinds of operating modes: charge mode and communication pattern in the operating condition;It is being filled
Operation level is 4.3~5V under power mode, and operation level is 0~3V in a communication mode;During the charging process, the charging box
Periodically switching can be entered under charge mode and communication pattern, adjusted and charged according to the variation dynamic of earphone electricity with realization
It is long at the beginning of level.In the present embodiment, due to periodically inquiring the electricity of earphone, and according to the electric quantity change of earphone dynamic
The opening time of charging level is adjusted, whether the electricity that earphone can be monitored in real time in this way is filled.
Step S103 is controlled and is filled described in the charging box closing when the opening time of the charging level is adjusted to zero
Level, into suspend mode.
In the present embodiment, when the opening time of the charging level is adjusted to zero, then illustrate that earphone electricity is filled,
The charging level of the charging box is closed at this time, and controls the electric box of the charging and enters suspend mode, can save charging in this way
The power consumption of box extends the cruise duration of charging box.
Preferably, in the present embodiment, the charge control method further include:
The charging level that the charging box is opened when detecting that the charging box opens box makes the control electricity in the earphone
Road controls the earphone booting after detecting that the charging level is opened.
In the present embodiment, it is provided with inductor on the charging box, when sensing that charging box is opened, triggers charging box
Charging level is opened, and then triggers earphone booting, earphone Auto Power On when charging box is opened can be made, in this way so as to earphone
The terminal device matched in time with it after box out carries out Hui Lian, and the user experience is improved.
Above as can be seen that charge control method provided in this embodiment, due to periodically looking into after detecting that earphone enters box
After the electricity for asking earphone adjusts charging opening time according to the variation of earphone electricity dynamic, and earphone is fully charged, charging box is controlled
The power consumption of charging box is saved, the cruise duration of charging box is extended so as to simplify user's operation into suspend mode;In addition,
Due to opening the charging level of the charging box when detecting that charging box opens box, detecting the control circuit in the earphone
The earphone booting, the terminal that earphone can be made to match automatically with it in box out in this way are controlled after opening to the charging level
Equipment Hui Lian shortens the company's of returning waiting time of user, promotes user experience.
Embodiment two
Fig. 2 is the specific implementation flow schematic diagram of charge control method provided by Embodiment 2 of the present invention, and this method is held
Row main body is charging box described in the embodiment of the present invention.Shown in Figure 2, charge control method provided in this embodiment can be with
The following steps are included:
Step S201 opens the charging level of the charging box after detecting that earphone enters box, and detects the earphone
The opening time of the charging level is arranged according to the current electric quantity of the earphone for current electric quantity.
Step S202, during the charging process, timing inquire the electricity of earphone, adjust institute according to the variation of earphone electricity dynamic
State the opening time of charging level.
Step S203 is controlled and is filled described in the charging box closing when the opening time of the charging level is adjusted to zero
Level, into suspend mode.
It should be noted that due to step S201~step S203 implementation and above-mentioned steps S101~step S103
Implementation it is identical, therefore details are not described herein.
Step S204 reaches the suspend mode corresponding first preset dormancy time in the sleep time of the charging box
When, charging box described in timing wake-up controls the electricity that the charging box inquires the earphone;
Step S205 returns to the control charging box and opens if the electricity of the earphone is lower than the first default power threshold
Charging level is opened, the earphone is carried out to mend electricity, after the earphone is fully charged, then charging box described in secondary control enters suspend mode mould
Formula.
In the present embodiment, after the charging box enters suspend mode, if being filled described in timing wake-up without manual operation
Electric box controls the electricity that the charging box detects the earphone, if earphone electricity is lower than the described first default power threshold, opens
It opens charging level and boost charge is carried out to earphone, after earphone is fully charged, controls charging box again and enter suspend mode, so both
It is able to maintain battery and is in full power state, and the energy consumption of charging box can be saved;If after the charging box enters suspend mode,
It detects manual operation, then returns in step S201.Wherein, the described first default power threshold can be pre-configured with by user,
In a specific implementation example, the first default power threshold is 90% when battery is full electric.Wherein, it described first presets not
It sleeps the time, is determined by leakage current of the earphone under open state, implemented in example one, when first preset dormancy
Between be 4 hours.
Above as can be seen that relative to a upper embodiment, charge control method provided in this embodiment, due in charging box
When into dormant state, timing wake-up charging box carries out earphone to mend electricity, so as to prevent leakage of the earphone under open state
Electric current causes earphone electric quantity consumption to impact user's use, guarantees earphone electricity while extending charging box cruise duration
Consistently greater than first default power threshold.
Embodiment three
Fig. 3 is the specific implementation flow schematic diagram for the charge control method that the embodiment of the present invention three provides, and this method is held
Row main body is charging box described in the embodiment of the present invention.Shown in Figure 3, relative to a upper embodiment two, the present embodiment is mentioned
The charge control method of confession can also include: after step S205
Step S206, if manual operation is not detected in preset time, by the charging box from the suspend mode
The charging box is controlled after repetition wake-up preset times and enters deep power down mode, while being sent shutdown to the earphone and being referred to
It enables, controls the earphone and enter shutdown mode;The corresponding second preset dormancy duration of the deep power down mode is greater than described the
One preset dormancy duration.
In the present embodiment, if charging box repeats to wake up preset times, and the charging box during this period from suspend mode
Manual operation is not detected, such as: the operation such as charging box uncaps, key then controls charging box to earphone and sends shutdown command, control
Earphone processed enters shutdown mode, and controls the charging box and enter deep sleep mode, corresponding under the deep sleep mode
Second preset dormancy duration is determined that therefore, the second preset dormancy time is remote by the leakage current of earphone in the power-offstate
Greater than the first preset dormancy time.Preferably, in a specific implementation example, the second preset dormancy time is 4 days.
Preferably, in the present embodiment, further comprising the steps of after step S206:
Step S207, after the charging box enters deep power down mode, if manual operation is not detected, in suspend mode
Length wakes up the charging box when reaching the second preset dormancy duration, controls the electricity that the charging box inquires the earphone;
Step S208 opens the charging of the charging box if the electricity of the earphone is lower than the second default power threshold
Level carries out the earphone to mend electricity, and after the earphone electricity is full of, Xiang Suoshu earphone sends shutdown command, and secondary control again
It makes the charging box and enters deep power down mode.
In the present embodiment, the charging box is after entering deep power down mode, if not detecting during deep-sleep
To manual operation, still can timing wake-up charging box inquire earphone electricity, to monitor earphone electricity electricity default less than second
When measuring threshold value, earphone mend electrically operated.Wherein, the described second default power threshold can be by being used to voluntarily configure, one
In preferred embodiment, the second default power threshold is equal to the described first default power threshold, and electricity when electricity full for battery
90%.
Relative to a upper embodiment, charge control method provided in this embodiment due to waking up charging box default time repeatedly
It after number, if manual operation is not detected in period, controls charging box and enters deep sleep mode, while controlling earphone shutdown, from
And the power consumption of charging box can be further decreased, extend the cruise duration of charging box;Further, since stopping in charging box in depth
Under sleep mode, timing wake-up charging box carries out earphone to mend electricity, so as to prevent the electric leakage conductance of earphone in the power-offstate
It causes earphone electric quantity consumption to impact user's use, guarantees earphone electricity always while extending the cruise duration of charging box
Greater than the second default power threshold.
Example IV
Fig. 4 is the structural schematic diagram for the battery charge controller that the embodiment of the present invention four provides, the battery charge controller application
In charging box.It illustrate only part related to the present embodiment for ease of description.
It is shown in Figure 4, battery charge controller 4 provided in this embodiment, comprising:
Charge opening unit 41, for opening the charging level of the charging box after detecting that earphone enters box, and detects
The opening time of the charging level is arranged according to the current electric quantity of the earphone for the current electric quantity of the earphone;
Charging duration adjustment unit 42, for during the charging process, the electricity of earphone to be inquired in timing, according to earphone electricity
Variation dynamic adjusts the opening time of the charging level;
Suspend mode unit 43 is closed for when the opening time of the charging level is adjusted to zero, controlling the charging box
The charging level, into suspend mode.
Optionally, the battery charge controller 4 further includes the first benefit electric control unit 44, is used for:
When the sleep time of the charging box reaches the suspend mode corresponding first preset dormancy time, periodically call out
It wakes up the charging box, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the first default power threshold, returns to the control charging box and open charging electricity
It is flat, the earphone is carried out to mend electricity, after the earphone is fully charged, then charging box described in secondary control enters suspend mode.
Optionally, the battery charge controller 4 further includes deep-sleep unit 45, is used for:
It is pre- repeating to wake up the charging box from the suspend mode if manual operation is not detected in preset time
If controlling the charging box after number enters deep power down mode, while sending shutdown command to the earphone, described in control
Earphone enters shutdown mode;When the corresponding second preset dormancy duration of the deep power down mode is greater than first preset dormancy
It is long.
Optionally, the battery charge controller 4 further includes the second benefit electric control unit 46:
After the charging box enters deep power down mode, if manual operation is not detected, reach institute in sleep time
The charging box is waken up when stating the second preset dormancy duration, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the second default power threshold, the charging level of the charging box is opened, to institute
It states earphone to carry out mending electricity, after the earphone electricity is full of, Xiang Suoshu earphone sends shutdown command, and charges described in secondary control again
Box enters deep power down mode.
Optionally, the charging opening unit 41 is specifically used for:
After detecting that earphone enters box, open the charging box charging level maintain the first preset time after control described in
Charging box enters communication pattern by charge mode;
Electricity quantity inquiring instruction is sent to the earphone in a communication mode, to obtain the current electric quantity of earphone, is being received
After the current electric quantity of the earphone, the charging box is controlled from communication pattern and is switched to charge mode, and according to the earphone
The opening time of the charging level is arranged in current electric quantity.
It should be noted that the battery charge controller of the embodiment of the present invention due to above-described embodiment one, embodiment two or
The charge control method that embodiment three provides belongs to same design, and specific implementation process is shown in embodiment of the method, and method in detail
Technical characteristic in embodiment is corresponding applicable in the present embodiment, and which is not described herein again.
Embodiment five
Fig. 5 is the structural schematic diagram for the charging box that the embodiment of the present invention five provides.Illustrate only for ease of description with
The relevant part of the present embodiment.
Shown in Figure 5, charging box 5 provided in this embodiment is including memory 51, processor 52 and is stored in described deposit
On reservoir 51 and the computer program 53 that can run on the processor 52, the computer program 53 is by the processor
The step of 52 when executing, and realizes charge control method as described in above-described embodiment one, embodiment two or embodiment three.
It should be noted that the charging box of the embodiment of the present invention due to above-described embodiment one, embodiment two or embodiment
Three charge control methods provided belong to same design, and specific implementation process is shown in embodiment of the method, and embodiment of the method in detail
In technical characteristic it is corresponding in the present embodiment be applicable in, which is not described herein again.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, stores on the computer readable storage medium
There is computer program, when the computer program is executed by processor, realizes as described in above-described embodiment one or embodiment two
The step of charge control method.
It should be noted that the storage medium of the embodiment of the present invention due to above-described embodiment one or embodiment two offer
Charge control method belongs to same design, and specific implementation process is shown in embodiment of the method in detail, and the technology in embodiment of the method
Feature is corresponding in the present embodiment to be applicable in, and which is not described herein again.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.
In hardware embodiment, the division between functional module/unit referred in the above description is not necessarily corresponded to
In the division of physical assemblies;If for example, a physical assemblies can have multiple functions or a function or step can be by
Dry physical assemblies cooperation executes.Certain physical assemblies or all physical assemblies may be implemented as by processor, such as central processing
The software that device, digital signal processor or microprocessor execute, is perhaps implemented as hardware or is implemented as integrated circuit,
Such as specific integrated circuit.Such software can be distributed on a computer-readable medium, and computer-readable medium may include meter
Calculation machine storage medium (or non-transitory medium) and communication media (or fugitive medium).As known in those of ordinary skill in the art
, term computer storage medium is included in for storing information (such as computer readable instructions, data structure, program module
Or other data) any method or technique in implement volatile and non-volatile, removable and nonremovable medium.It calculates
Machine storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc
(DVD) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic memory apparatus or can be used for storing desired
Information and any other medium that can be accessed by a computer.In addition, known to a person of ordinary skill in the art be, communication
Medium generally comprises computer readable instructions, data structure, program module or such as carrier wave or other transmission mechanisms etc
Other data in modulated data signal, and may include any information delivery media.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.This
Field technical staff without departing from the scope and spirit of the invention in made by any modifications, equivalent replacements, and improvements, should all this
Within the interest field of invention.
Claims (10)
1. a kind of charge control method, it is applied to charging box, which is characterized in that the charge control method includes:
After detecting that earphone enters box, the charging level of the charging box is opened, and detects the current electric quantity of the earphone, according to
The opening time of the charging level is arranged in the current electric quantity of the earphone;
During the charging process, the electricity of earphone is inquired in timing, adjusts the charging level according to the variation of earphone electricity dynamic
Opening time;
It when the opening time of the charging level is adjusted to zero, controls the charging box and closes the charging level, into not
Sleep mode.
2. charge control method as described in claim 1, which is characterized in that the opening time tune when the charging level
It is whole when being zero, it controls the charging box and closes the charging level, into after suspend mode further include:
When the sleep time of the charging box reaches the suspend mode corresponding first preset dormancy time, timing wake-up institute
Charging box is stated, the electricity that the charging box inquires the earphone is controlled;
If the electricity of the earphone is lower than the first default power threshold, controls the charging box and open charging level, to described
Earphone carries out mending electricity, and after the earphone is fully charged, then charging box described in secondary control enters suspend mode.
3. charge control method as claimed in claim 2, which is characterized in that the charge control method further include:
It is default repeating to wake up the charging box from the suspend mode if manual operation is not detected within a preset time
The charging box is controlled after number and enters deep power down mode, while sending shutdown command to the earphone, controls the ear
Machine enters shutdown mode;When the corresponding second preset dormancy duration of the deep power down mode is greater than first preset dormancy
It is long.
4. charge control method as claimed in claim 3, which is characterized in that the charge control method further include:
After the charging box enters deep power down mode, if manual operation is not detected, reach described in sleep time
The charging box is waken up when two preset dormancy durations, controls the electricity that the charging box inquires the earphone;
If the electricity of the earphone is lower than the second default power threshold, the charging level of the charging box is opened, to the ear
Machine carry out mend electricity, after the earphone electricity is full of, Xiang Suoshu earphone send shutdown command, and again charging box described in secondary control into
Enter deep power down mode.
5. charge control method as described in claim 1, which is characterized in that after detecting that earphone enters box, filled described in unlatching
The charging level of electric box, and the current electric quantity of the earphone is detected, the charging electricity is arranged according to the current electric quantity of the earphone
Flat opening time includes:
After detecting that earphone enters box, the charging is controlled after opening charging level the first preset time of maintenance of the charging box
Box enters communication pattern by charge mode;Control circuit is provided in the earphone, the control circuit is detecting described fill
The charging level of electric box controls the earphone booting after opening;
Electricity quantity inquiring instruction is sent to the earphone in a communication mode, it is described receiving to obtain the current electric quantity of earphone
After the current electric quantity of earphone, the charging box is controlled from communication pattern and is switched to charge mode, and according to the current of the earphone
The opening time of the charging level is arranged in electricity.
6. charge control method as claimed in claim 5, which is characterized in that the charge control method further include:
The charging level that the charging box is opened when detecting that the charging box opens box makes the control circuit in the earphone exist
It detects and controls the earphone booting after the charging level is opened.
7. a kind of battery charge controller, it is applied to charging box, which is characterized in that the battery charge controller includes:
Charge opening unit, for opening the charging level of the charging box after detecting that earphone enters box, and detects the ear
The opening time of the charging level is arranged according to the current electric quantity of the earphone for the current electric quantity of machine;
Charging duration adjustment unit, for during the charging process, the electricity of timing inquiry earphone to be dynamic according to the variation of earphone electricity
State adjusts the opening time of the charging level;
Suspend mode unit fills described in the charging box closing for controlling when the opening time of the charging level is adjusted to zero
Level, into suspend mode.
8. battery charge controller as claimed in claim 7, which is characterized in that further include the first benefit electric control unit, be used for:
When the sleep time of the charging box reaches the suspend mode corresponding first preset dormancy time, timing wake-up institute
Charging box is stated, the electricity that the charging box inquires the earphone is controlled;
If the electricity of the earphone is lower than the first default power threshold, controls the charging box and open charging level, to described
Earphone carries out mending electricity, and after the earphone is fully charged, then charging box described in secondary control enters suspend mode.
9. a kind of charging box, which is characterized in that the charging box includes memory, processor and is stored on the memory simultaneously
The computer program that can be run on the processor when the computer program is executed by the processor, is realized as weighed
Benefit require any one of 1 to 6 described in charge control method the step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program when the computer program is executed by processor, realizes such as charge control side described in any one of claims 1 to 6
The step of method.
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 true CN110430504A (en) | 2019-11-08 |
CN110430504B 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) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110913445A (en) * | 2019-12-27 | 2020-03-24 | 联想(北京)有限公司 | Connection switching method and device and wearable device |
CN111049230A (en) * | 2019-12-31 | 2020-04-21 | 歌尔科技有限公司 | Wireless earphone, charging method thereof, charging box and readable storage medium |
CN111491233A (en) * | 2020-04-08 | 2020-08-04 | 江苏紫米电子技术有限公司 | Method, device and equipment for reminding electric quantity of charging box and storage medium |
CN112332499A (en) * | 2020-11-24 | 2021-02-05 | 深圳市卓翼科技股份有限公司 | Charging control method, system, charging box and storage medium |
CN112865249A (en) * | 2021-02-09 | 2021-05-28 | 深圳市冠旭电子股份有限公司 | Charging method and device of wireless earphone, charging box and readable storage medium |
CN112865248A (en) * | 2021-02-09 | 2021-05-28 | 深圳市冠旭电子股份有限公司 | Box-entering detection method and device of wireless earphone, charging box and readable storage medium |
CN113013506A (en) * | 2019-12-19 | 2021-06-22 | 海信视像科技股份有限公司 | Head-mounted display equipment charging method, device and equipment |
WO2021135586A1 (en) * | 2019-12-31 | 2021-07-08 | 歌尔股份有限公司 | Bluetooth earphone charging path management method and apparatus, and readable storage medium |
CN113286215A (en) * | 2021-02-07 | 2021-08-20 | 珠海市杰理科技股份有限公司 | Wireless earphone, control method thereof and earphone system |
WO2022006697A1 (en) * | 2020-07-06 | 2022-01-13 | Harman International Industries, Incorporated | Deep sleep circuit design for tws |
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 (6)
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 |
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 |
CN109525012A (en) * | 2018-11-27 | 2019-03-26 | 安克创新科技股份有限公司 | Charging unit, charge control method, charge control system and storage medium |
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 |
-
2019
- 2019-08-07 CN CN201910727113.4A patent/CN110430504B/en active Active
Patent Citations (6)
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 |
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 |
CN109525012A (en) * | 2018-11-27 | 2019-03-26 | 安克创新科技股份有限公司 | Charging unit, charge control method, charge control system and storage medium |
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 |
Cited By (16)
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 |
CN113013506A (en) * | 2019-12-19 | 2021-06-22 | 海信视像科技股份有限公司 | Head-mounted display equipment charging method, device and equipment |
CN110913445A (en) * | 2019-12-27 | 2020-03-24 | 联想(北京)有限公司 | Connection switching method and device and wearable device |
CN111049230A (en) * | 2019-12-31 | 2020-04-21 | 歌尔科技有限公司 | Wireless earphone, charging method thereof, charging box and readable storage medium |
WO2021135586A1 (en) * | 2019-12-31 | 2021-07-08 | 歌尔股份有限公司 | Bluetooth earphone charging path management method and apparatus, and readable storage medium |
CN111491233A (en) * | 2020-04-08 | 2020-08-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 |
CN113286215B (en) * | 2021-02-07 | 2024-06-04 | 珠海市杰理科技股份有限公司 | Wireless earphone, control method thereof and earphone system |
CN113286215A (en) * | 2021-02-07 | 2021-08-20 | 珠海市杰理科技股份有限公司 | Wireless earphone, control method thereof and earphone system |
CN112865249A (en) * | 2021-02-09 | 2021-05-28 | 深圳市冠旭电子股份有限公司 | Charging method and device of wireless earphone, charging box and readable 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 |
CN112865248A (en) * | 2021-02-09 | 2021-05-28 | 深圳市冠旭电子股份有限公司 | Box-entering detection 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 |
Also Published As
Publication number | Publication date |
---|---|
CN110430504B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110430504A (en) | Charge control method, device, charging box and computer readable storage medium | |
US9887542B2 (en) | Power broker module | |
WO2017197832A1 (en) | Vehicle, and charging control method and system for low-voltage storage battery of vehicle | |
CN104967200B (en) | A kind of fast charge method and mobile terminal | |
CN102496972B (en) | Terminal and management method of state of battery | |
CN102340162B (en) | Charging state monitoring device, terminal and method | |
CN111845455A (en) | Charging control method and device for storage battery of electric vehicle | |
CN108819738B (en) | Storage battery charging method, vehicle control unit, electric quantity monitoring device and electric vehicle | |
CN110015137B (en) | Battery management method and device | |
CN112918320A (en) | Method and system for supplementing electricity to low-voltage storage battery of electric new energy vehicle | |
CN106413053B (en) | A kind of mobile terminal and its electricity saving method | |
CN206678925U (en) | A kind of mobile unit electric power supply control system | |
CN104219746B (en) | Method, device and terminal for autonomously adjusting wake-up time | |
CN107493595A (en) | A kind of low-power consumption safety certification device and control method | |
CN104539005A (en) | Mobile terminal charging control system and method | |
CN208112891U (en) | A kind of wireless headset | |
CN112332499A (en) | Charging control method, system, charging box and storage medium | |
CN114844191A (en) | Intelligent power supplementing method and device, storage medium and electronic device | |
TW202013258A (en) | Measuring device comprising near field interaction device | |
CN113147503A (en) | Electric vehicle power supply management method | |
CN105743167A (en) | Energy-saving control system and method for smart garbage bin | |
WO2015090077A1 (en) | Mobile terminal charging control method, device, system, and mobile terminal | |
CN102570541B (en) | Method for controlling battery recharging process and electronic device | |
CN103490109A (en) | Terminal charging method and device | |
CN202385194U (en) | System capable of quickly starting intelligent television |
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 |