CN110798771B - Charging box and earphone charging control method and device thereof - Google Patents

Charging box and earphone charging control method and device thereof Download PDF

Info

Publication number
CN110798771B
CN110798771B CN201911191551.XA CN201911191551A CN110798771B CN 110798771 B CN110798771 B CN 110798771B CN 201911191551 A CN201911191551 A CN 201911191551A CN 110798771 B CN110798771 B CN 110798771B
Authority
CN
China
Prior art keywords
earphone
charging
electric quantity
charging box
target wireless
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
CN201911191551.XA
Other languages
Chinese (zh)
Other versions
CN110798771A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201911191551.XA priority Critical patent/CN110798771B/en
Publication of CN110798771A publication Critical patent/CN110798771A/en
Application granted granted Critical
Publication of CN110798771B publication Critical patent/CN110798771B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • 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

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 invention discloses an earphone charging control method of a charging box, which comprises the following steps: when the charging box is not charged and the two wireless earphones are charged, acquiring the electric quantity information of the charging box; judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box; if yes, selecting a target wireless earphone from the two wireless earphones, continuing to charge the target wireless earphone, and stopping charging the non-target wireless earphone; according to the wireless headset charging method and device, when the charging box is not charged and the two wireless headsets are charged, if the electric quantity of the charging box is smaller than the preset electric quantity, the target wireless headset is continuously charged, and charging of the non-target wireless headset is stopped, so that the service life of the wireless headset can be effectively prolonged under the condition that the charging box is insufficient in electric quantity and cannot be charged timely, and user experience is improved. In addition, the invention also discloses an earphone charging control device of the charging box and the charging box, and the earphone charging control device also has the beneficial effects.

Description

Charging box and earphone charging control method and device thereof
Technical Field
The invention relates to the technical field of portable listening equipment, in particular to an earphone charging control method and device of a charging box and the charging box.
Background
With the development of wireless technology, the trend of intelligence and wireless technology has been deeply embodied in wireless headset products, so that the application of dual wireless headsets, such as true wireless interconnection stereo bluetooth headset (TWS headset), is more and more widespread. Because the battery capacity of each wireless earphone in the double wireless earphones is smaller, the endurance time is shorter, and the double wireless earphones are often matched with a charging box for use.
Along with the use of user to ears wireless headset increases, how can prolong the time that the user can use the earphone under the not enough and unable circumstances of charging of electric quantity of box that charges, promote user experience, be the problem that needs to solve now urgently.
Disclosure of Invention
The invention aims to provide an earphone charging control method and device of a charging box and the charging box, so that the time for a user to use a wireless earphone is prolonged and the user experience is improved under the condition that the charging box is insufficient in electric quantity and cannot be charged.
In order to solve the above technical problem, the present invention provides an earphone charging control method for a charging box, including:
when the charging box is not charged and the two wireless earphones are charged, acquiring the electric quantity information of the charging box;
judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box;
and if so, selecting a target wireless earphone from the two wireless earphones, continuously charging the target wireless earphone, and stopping charging the non-target wireless earphone.
Optionally, the selecting a target wireless headset from the two wireless headsets includes:
acquiring electric quantity information of the two wireless earphones;
and comparing the electric quantity of the two wireless earphones according to the electric quantity information, and taking the wireless earphone with large electric quantity as the target wireless earphone.
Optionally, the comparing, according to the power information, power of the two wireless headsets, and using the wireless headset with a large power as the target wireless headset includes:
acquiring master-slave information of the two wireless earphones;
judging whether the electric quantity of a master earphone in the two wireless earphones is larger than or equal to the electric quantity of a slave earphone or not according to the electric quantity information and the master-slave information;
if so, taking the main earphone as the target wireless earphone;
and if not, taking the slave earphone as the target wireless earphone, and sending a master-slave switching instruction to the slave earphone.
Optionally, the selecting a target wireless headset from the two wireless headsets includes:
and selecting the target wireless earphone from the two wireless earphones according to preset monaural charging selection information.
Optionally, when the information of the electric quantity of the charging box is the battery voltage of the charging box, according to the information of the electric quantity of the charging box, whether the electric quantity of the charging box is smaller than a preset electric quantity is judged, including:
according to the battery voltage, by
Figure BDA0002293696660000021
Calculating the electric quantity of the charging box; wherein levle is the electric quantity of the charging box, VcaseIs the battery voltage, VmaxFor the pre-set full battery voltage, V, of the charging boxminA preset battery minimum voltage for the charging box;
judging whether the electric quantity of the charging box is smaller than the preset electric quantity or not;
and if so, executing the steps of selecting a target wireless earphone from the two wireless earphones, continuously charging the target wireless earphone and stopping charging the non-target wireless earphone.
Optionally, after continuing to charge the target wireless headset and stopping charging the non-target wireless headset, the method further includes:
and outputting the single-ear charging prompt information corresponding to the target wireless earphone.
Optionally, the outputting the monaural charging prompt information corresponding to the target wireless headset includes:
outputting single-ear charging prompt information corresponding to the target wireless earphone through a single-ear charging indicator lamp corresponding to the target wireless earphone; the wireless earphone comprises a charging box, wherein a double-ear charging indicator lamp and a single-ear charging indicator lamp corresponding to each wireless earphone are arranged on a shell of the charging box.
The invention also provides an earphone charging control device of the charging box, which comprises:
the electric quantity acquisition module is used for acquiring the electric quantity information of the charging box when the charging box is not charged and the two wireless earphones are charged;
the electric quantity judging module is used for judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box;
and the single-ear charging module is used for selecting one target wireless earphone from the two wireless earphones if the single-ear charging module is smaller than the preset electric quantity, continuing to charge the target wireless earphone and stopping charging the non-target wireless earphone.
The present invention also provides a charging box, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the headset charging control method of the charging box as defined in any one of the above when executing the computer program.
Optionally, the charging box further comprises: a binaural charging indicator and two monaural charging indicators connected to the processor.
The invention provides an earphone charging control method of a charging box, which comprises the following steps: when the charging box is not charged and the two wireless earphones are charged, acquiring the electric quantity information of the charging box; judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box; if yes, selecting a target wireless earphone from the two wireless earphones, continuing to charge the target wireless earphone, and stopping charging the non-target wireless earphone;
therefore, when the charging box is not charged and the two wireless earphones are charged, if the electric quantity of the charging box is smaller than the preset electric quantity, the target wireless earphone is continuously charged, and the charging of the non-target wireless earphones is stopped, so that the service life of the wireless earphones can be effectively prolonged under the condition that the electric quantity of the charging box is insufficient and the charging cannot be carried out timely, and the user experience is improved. In addition, the invention also provides an earphone charging control device of the charging box and the charging box, and the earphone charging control device also has the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an earphone charging control method for a charging box according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a connection between a charging box and a wireless headset according to an embodiment of the present invention;
fig. 3 is a flowchart of an earphone charging control method of another charging box according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an earphone charging control method for another charging box according to an embodiment of the present invention;
fig. 5 is a block diagram of an earphone charging control device of a charging box according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an earphone charging control method of a charging box according to an embodiment of the present invention. The method can comprise the following steps:
step 101: when the charging box is not charged and two wireless earphones are charged, the electric quantity information of the charging box is obtained.
It can be understood that the purpose of this step may be to obtain the information of the electric quantity of the charging box when the processor such as a single chip Microcomputer (MCU) in the charging box is not charged and the battery of the charging box is needed or is being used to charge the two wireless earphones placed in the charging box.
Correspondingly, the specific mode of acquiring the electric quantity information of the charging box by the processor in the step when the charging box is not charged and the two wireless earphones are charged can be set by a designer, and if the processor can be used for acquiring the electric quantity information of the charging box according to a preset time interval after the charging box is not connected with an external power supply and the two wireless earphones are placed into the charging box; the charging box can also acquire the electric quantity information of the charging box once after the charging box is not connected with an external power supply and two wireless earphones are put into the charging box. The present embodiment does not set any limit to this.
Specifically, the information on the electric quantity of the charging box in this step may be information required to determine the electric quantity of the charging box. For the specific content of the electric quantity information of the charging box, the specific content can be set by a designer according to a practical scene and user requirements, if the electric quantity information of the charging box can be the battery voltage in the charging box, the electric quantity of the charging box can be determined by utilizing the battery voltage, and as long as the electric quantity of the charging box is determined by the electric quantity information of the charging box, the embodiment does not limit the specific content.
Step 102: judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box; if yes, go to step 103.
It is understood that the purpose of this step may be to determine the charge amount of the charge cartridge by the processor using the charge cartridge charge amount information, so as to determine whether the charge amount of the charge cartridge is less than a preset charge amount, i.e. whether the charge cartridge is in a state of insufficient charge amount. Namely, the step can comprise determining the electric quantity of the charging box according to the electric quantity information of the charging box; and judging whether the electric quantity of the charging box is smaller than a preset electric quantity.
Correspondingly, the specific mode of determining the electric quantity of the charging box in the step according to the electric quantity information of the charging box can be set by a designer, if the specific mode can be set according to the specific content of the electric quantity information of the charging box, for example, when the electric quantity information of the charging box is the battery voltage of the charging box, the processor can give an instruction to the battery module to obtain the battery voltage V of the charging box at the momentcaseBy passing
Figure BDA0002293696660000051
The voltage V of the batterycaseConverted to a corresponding percentage levle (i.e., charge of the charging box); wherein levle is the electric quantity of the charging box, VcaseIs the battery voltage; vmaxPresetting a full-charge voltage of the battery for the charging box, namely the voltage of the battery for the charging box when the battery is fully charged; vminIs the preset battery minimum voltage of the charging box, i.e. the minimum voltage allowed by the battery of the charging box. The present embodiment does not limit the amount of charge of the charge cartridge as long as the processor can determine the amount of charge of the charge cartridge using the charge cartridge charge amount information.
Specifically, the preset electric quantity in this step may be a preset electric quantity threshold. The specific value of the preset electric quantity may be set by a designer or a user according to a practical scenario and a user requirement, for example, the preset electric quantity may be 30%, or may be other values such as 25% or 20%, which is not limited in this embodiment. Correspondingly, the preset electric quantity in the step can be a preset fixed numerical value; the preset electric quantity may also be an adjustable integer value, for example, a user may adjust the value of the preset electric quantity by operating a terminal (for example, APP in a smart phone) connected to the charging box, and this embodiment also does not make any limitation on this.
It should be noted that, in the step, when the electric quantity of the charging box is determined to be not less than the preset electric quantity, the processor may use a charging mode the same as or similar to that in the prior art to normally charge the two wireless earphones.
Step 103: and selecting a target wireless earphone from the two wireless earphones, continuously charging the target wireless earphone, and stopping charging the non-target wireless earphone.
The target wireless earphone in this step may be one of the two wireless earphones that needs to be continuously charged; the non-target wireless headset may be one of the two wireless headsets that needs to be stopped from charging.
It can be understood that the purpose of this step can be for charging the box and not charging and when charging two wireless earphones, if the electric quantity of the box that charges is less than preset electric quantity, then stop to non-target wireless earphone and charge, only to target wireless earphone to can be in the not enough and in time the circumstances of charging of box electric quantity that charges under, prolong the live time of target wireless earphone, the effectual extension user monaural uses the time of target wireless earphone, promote user experience.
Specifically, the specific manner in which the processor selects one target wireless earphone from the two wireless earphones in this step, that is, the specific manner in which the processor selects one wireless earphone from the two wireless earphones in the charging box to determine the target wireless earphone, may be set by a designer or a user according to a practical scenario and a user requirement, for example, the processor may directly select a right earphone or a left earphone of the two wireless earphones to determine the target wireless earphone. In order to ensure that the user can use the target wireless earphone for as long as possible, the processor can also select one wireless earphone with higher electric quantity from the two wireless earphones to determine the wireless earphone as the target wireless earphone; the processor can acquire the electric quantity information of the two wireless earphones, compares the electric quantities of the two wireless earphones according to the electric quantity information, and determines the wireless earphone with large electric quantity as a target wireless earphone. The processor can also determine one wireless earphone selected by the user in the two wireless earphones as a target wireless earphone according to the actual single-ear wearing requirement of the user; namely, in the step, the processor can select a target wireless earphone from the two wireless earphones according to the preset monaural charging selection information; that is to say, the user can be according to self use habit, through operation and the terminal that the box is connected that charges (like APP in the smart mobile phone), set up and predetermine monaural selection information that charges, make the treater in the box that charges can confirm a wireless earphone (like left earphone) that user self habit monaural wore as the wireless earphone of target. The present embodiment does not set any limit to this.
Correspondingly, in order to facilitate the subsequent user to wear the target wireless earphone by using the target wireless earphone with a single ear, the processor in this embodiment may further obtain master-slave information of the two wireless earphones, and send a master-slave switching instruction to the target wireless earphone (i.e., the original slave earphone) or the target wireless earphone and the non-target wireless earphone (i.e., the master-slave earphone) when the target wireless earphone is not the master earphone, so that the target wireless earphone may be switched to the master earphone, and the user is ensured to be directly used after taking out the target wireless earphone.
It should be noted that, after step 103, the method provided in this embodiment may further include: and outputting the single-ear charging prompt information corresponding to the target wireless earphone so that the user can know the single-ear charging condition of the target wireless earphone according to the single-ear charging prompt information and prompt the user to subsequently select the target wireless earphone to wear the target wireless earphone for use.
Specifically, the specific manner in which the processor outputs the monaural charging prompt information corresponding to the target wireless earphone can be set by a designer according to a practical scene and user requirements, for example, the processor can output the monaural charging prompt information corresponding to the target wireless earphone through an indicator lamp arranged on a charging box shell; as shown in fig. 2, when the two-ear charging indicator lamp (LED3) and the two one-ear charging indicator lamps (LED1 and LED2) are disposed on the charging box, if the target wireless headset is a left headset, the processor may output one-ear charging prompt information corresponding to the target wireless headset through the one-ear charging indicator lamp (LED1) corresponding to the target wireless headset, for example, the LED1 is turned on for a long time, and correspondingly, the LED2 and the LED3 may be turned off. The processor can send the single-ear charging prompt information corresponding to the target wireless earphone to the terminal through the connection (such as Bluetooth connection) with the terminal. If a loudspeaker is arranged in the charging box, the processor can also output single-ear charging prompt information corresponding to the target wireless earphone through the loudspeaker; for example, after the processor detects that the charging box cover is opened, that is, when the user needs to use the wireless headset, the processor plays the monaural charging prompt information corresponding to the target wireless headset through the loudspeaker. The present embodiment does not set any limit to this.
In the embodiment of the invention, when the charging box is not charged and the two wireless earphones are charged, if the electric quantity of the charging box is smaller than the preset electric quantity, the target wireless earphone is continuously charged, and the charging of the non-target wireless earphone is stopped, so that the service life of the wireless earphones can be effectively prolonged under the condition that the electric quantity of the charging box is insufficient and the charging cannot be carried out in time, and the user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart of an earphone charging control method of another charging box according to an embodiment of the present invention. The method can comprise the following steps:
step 201: when the charging box is not charged and two wireless earphones are charged, the electric quantity information of the charging box is obtained.
The step is similar to step 101, and is not described herein again.
Step 202: judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box; if yes, go to step 203.
Specifically, the preset electric quantity in this step may be set by a designer, and the preset electric quantity may be set to 30% as shown in fig. 4, that is, the electric quantity of the charging box in this step may be an electric quantity percentage. The present embodiment does not set any limit to this.
Correspondingly, the housing of the charging box in this embodiment may be provided with a binaural charging indicator (e.g., LED3 in fig. 2) and two monaural charging indicators (e.g., LED1 and LED2 in fig. 2), that is, one monaural charging indicator for each wireless headset. As shown in fig. 4, when determining whether the electric quantity of the charging box is greater than or equal to 30% (preset electric quantity), the charging box can charge the two wireless headsets normally, and indicate the charging state through the binaural charging indicator lamp.
Step 203: and acquiring the electric quantity information and the master-slave information of the two wireless earphones.
It can be understood that the purpose of this step may be to obtain the power information and the master-slave information of the two wireless headsets through the connection between the charging box and the two wireless headsets in the charging box, such as a processor of a single chip Microcomputer (MCU), in the charging box, so as to determine the power and the master-slave state of each wireless headset, i.e., whether the headset is a master headset or a slave headset.
Specifically, the specific manner in which the processor acquires the electric quantity information and the master-slave information of the two wireless earphones in this step, that is, the specific connection manner between the charging box and the two wireless earphones, may be set by a designer, as shown in fig. 2, the charging positions of the two wireless earphones in the charging box may be set to set a communication PIN, so that after the two wireless earphones are placed in the charging box, the processor in the charging box may be connected to the two wireless earphones through the communication PIN in a wired communication manner, and the electric quantity information and the master-slave information of the two wireless earphones are acquired; a wireless communication module such as a Bluetooth component can be arranged in the charging box, so that the processor can acquire the electric quantity information and the master-slave information of the two wireless earphones through the wireless communication connection with the two wireless earphones. The present embodiment does not set any limit to this.
Step 204: judging whether the electric quantity of a main earphone in the two wireless earphones is larger than or equal to that of a slave earphone; if yes, go to step 205; if not, go to step 206.
It can be understood that the charging box in this embodiment can charge one wireless earphone with higher electric quantity among two wireless earphones separately, thereby ensuring that the user can use the target wireless earphone for a long time as far as possible, and reducing the situation that the user changes the wireless earphone used by wearing with one ear.
Step 205: the master earpiece is determined to be the target wireless earpiece.
The purpose of this step may be to determine the original master earphone of the two wireless earphones as the target wireless earphone when the electric quantity of the master earphone of the two wireless earphones is greater than or equal to the electric quantity of the slave earphone.
Step 206: and determining the slave earphone as a target wireless earphone, and sending a master-slave switching instruction to the slave earphone.
The purpose of this step can be for in two wireless earphones under the electric quantity of master earphone is less than the electric quantity of slave earphone's the condition, confirm the slave earphone of original in two wireless earphones as the target wireless earphone, and through switching over the instruction to the slave earphone principal and subordinate of original, make the slave earphone of original can switch over into master earphone, as shown in fig. 4, guarantee to charge the higher wireless earphone of electric quantity in the box as master earphone (master), the lower wireless earphone of electric quantity is slave earphone (salt), thereby guarantee that the user can directly use this wireless earphone after taking out this wireless earphone, avoided this wireless earphone principal and subordinate after taking out to switch over the link, improve user experience.
Step 207: and continuing to charge the target wireless earphone and stopping charging the non-target wireless earphone.
Step 208: outputting single-ear charging prompt information corresponding to the target wireless earphone through a single-ear charging indicator lamp corresponding to the target wireless earphone; wherein, be provided with ears on the shell of the box of charging and charge the pilot lamp and each wireless earphone monaural that corresponds respectively and charge the pilot lamp.
It can be understood that the purpose of this step may be to output a single-ear charging indication message corresponding to the target wireless headset by using a single-ear charging indicator lamp corresponding to the target wireless headset disposed on the charging box housing, for example, the single-ear charging indication lamp is normally on or flashes to indicate the position of the target wireless headset to the user, that is, which wireless headset in the charging box is a wireless headset that can be worn by a single ear.
In the embodiment, when the electric quantity of the master earphone is less than that of the slave earphone, the slave earphone is determined as the target wireless earphone, and a master-slave switching instruction is sent to the slave earphone, so that the wireless earphone continuously charged in the charging box is ensured to be the master earphone and has higher electric quantity, a user can quickly use the target wireless earphone after taking out the target wireless earphone, and the user can use the target wireless earphone for a long time as far as possible; through the monaural charge indicator that utilizes the wireless earphone of target to correspond, the monaural prompt information that charges that the wireless earphone of output target corresponds makes the user can know which wireless earphone wears the wireless earphone of use for can the monaural in the box that charges, and convenience of customers uses.
Referring to fig. 5, fig. 5 is a block diagram of an earphone charging control device of a charging box according to an embodiment of the present invention. The apparatus may include:
the electric quantity obtaining module 10 is used for obtaining the electric quantity information of the charging box when the charging box is not charged and the two wireless earphones are charged;
the electric quantity judging module 20 is used for judging whether the electric quantity of the charging box is smaller than the preset electric quantity or not according to the electric quantity information of the charging box;
and the single-ear charging module 30 is configured to select a target wireless earphone from the two wireless earphones if the single-ear charging module is smaller than a preset electric quantity, continue to charge the target wireless earphone, and stop charging the non-target wireless earphone.
Optionally, the single-ear charging module 30 may include:
the earphone electric quantity obtaining submodule is used for obtaining electric quantity information of the two wireless earphones;
and the electric quantity comparison submodule is used for comparing the electric quantities of the two wireless earphones according to the electric quantity information and determining the wireless earphone with large electric quantity as a target wireless earphone.
Optionally, the power comparison sub-module may include:
the earphone master-slave acquisition unit is used for acquiring master-slave information of the two wireless earphones;
the electric quantity judging unit is used for judging whether the electric quantity of the master earphone in the two wireless earphones is larger than or equal to the electric quantity of the slave earphone or not according to the electric quantity information and the master-slave information;
the first determining unit is used for determining the main earphone as the target wireless earphone if the electric quantity of the auxiliary earphone is larger than or equal to the electric quantity of the main earphone;
and the second determining unit is used for determining the slave earphone as the target wireless earphone if the power of the slave earphone is less than the power of the slave earphone, and sending a master-slave switching instruction to the slave earphone.
Optionally, the single-ear charging module 30 may include:
and the selection submodule is used for selecting a target wireless earphone from the two wireless earphones according to preset monaural charging selection information.
Alternatively, the charge amount determination module 20 may include:
a calculation submodule for passing through according to the cell voltage
Figure BDA0002293696660000101
Calculating the electric quantity of the charging box; wherein levle is the electric quantity of the charging box, VcaseIs the battery voltage, VmaxPresetting the full-charge voltage, V, of the battery for charging the cartridgeminA preset battery minimum voltage for the charging box;
the electric quantity judgment submodule is used for judging whether the electric quantity of the charging box is smaller than the preset electric quantity or not; if so, a start signal is sent to the monaural charging module 30.
Optionally, the apparatus may further include:
and the output module is used for outputting the monaural charging prompt information corresponding to the target wireless earphone.
Optionally, the output module may include:
the indication lamp output submodule is used for outputting single-ear charging prompt information corresponding to the target wireless earphone through the single-ear charging indication lamp corresponding to the target wireless earphone; wherein, be provided with ears on the shell of the box of charging and charge the pilot lamp and each wireless earphone monaural that corresponds respectively and charge the pilot lamp.
In this embodiment, when the charging box is not charged and the two wireless earphones are charged, if the electric quantity of the charging box is smaller than the preset electric quantity, the charging of the target wireless earphone is continued and the charging of the non-target wireless earphone is stopped through the single-ear charging module 30, so that the service life of the wireless earphones can be effectively prolonged and the user experience can be improved under the condition that the electric quantity of the charging box is insufficient and the charging cannot be performed in time.
An embodiment of the present invention further provides a charging box, which may include: a memory for storing a computer program; a processor for implementing the steps of the earphone charging control method of the charging box as provided in any one of the above embodiments when executing the computer program.
Optionally, the charging box may further include: a binaural charging indicator and two monaural charging indicators connected to the processor. Wherein, every monaural charge indicator lamp can correspond the charging state that shows a wireless earphone in the box that charges.
Optionally, the charging box may further include a communication PIN disposed at a charging position of each wireless headset, so that the processor in the charging box may perform wired communication with the wireless headset, in which the wireless headset is placed in the charging box, through the communication PIN.
Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the earphone charging control method of the charging box provided in any of the above embodiments. The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the charging box and the computer readable storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The earphone charging control method and device of the charging box and the charging box provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. An earphone charging control method of a charging box is characterized by comprising the following steps:
when the charging box is not charged and the two wireless earphones are charged, acquiring the electric quantity information of the charging box;
judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box;
if yes, selecting a target wireless earphone from the two wireless earphones, continuing to charge the target wireless earphone, and stopping charging the non-target wireless earphone;
wherein the selecting a target wireless headset from the two wireless headsets comprises:
acquiring electric quantity information of the two wireless earphones;
acquiring master-slave information of the two wireless earphones;
judging whether the electric quantity of a master earphone in the two wireless earphones is larger than or equal to the electric quantity of a slave earphone or not according to the electric quantity information and the master-slave information;
if so, taking the main earphone as the target wireless earphone;
and if not, taking the slave earphone as the target wireless earphone, and sending a master-slave switching instruction to the slave earphone.
2. The earphone charging control method of claim 1, wherein the selecting a target wireless earphone from two wireless earphones comprises:
and selecting the target wireless earphone from the two wireless earphones according to preset monaural charging selection information.
3. The earphone charging control method of claim 1, wherein when the information on the electric quantity of the charging box is a battery voltage of the charging box, the determining whether the electric quantity of the charging box is less than a preset electric quantity according to the information on the electric quantity of the charging box comprises:
according to the battery voltage, by
Figure FDA0002774590040000011
Calculating the electric quantity of the charging box; wherein levle is the electric quantity of the charging box, VcaseIs the battery voltage, VmaxFor the pre-set full battery voltage, V, of the charging boxminA preset battery minimum voltage for the charging box;
judging whether the electric quantity of the charging box is smaller than the preset electric quantity or not;
and if so, executing the steps of selecting a target wireless earphone from the two wireless earphones, continuously charging the target wireless earphone and stopping charging the non-target wireless earphone.
4. The earphone charging control method of a charging box according to any one of claims 1 to 3, wherein after the charging of the target wireless earphone is continued and the charging of the non-target wireless earphone is stopped, the method further comprises:
and outputting the single-ear charging prompt information corresponding to the target wireless earphone.
5. The earphone charging control method of claim 4, wherein the outputting of the monaural charging prompt corresponding to the target wireless earphone comprises:
outputting single-ear charging prompt information corresponding to the target wireless earphone through a single-ear charging indicator lamp corresponding to the target wireless earphone; the wireless earphone comprises a charging box, wherein a double-ear charging indicator lamp and a single-ear charging indicator lamp corresponding to each wireless earphone are arranged on a shell of the charging box.
6. An earphone charging control device of a charging box, comprising:
the electric quantity acquisition module is used for acquiring the electric quantity information of the charging box when the charging box is not charged and the two wireless earphones are charged;
the electric quantity judging module is used for judging whether the electric quantity of the charging box is smaller than a preset electric quantity or not according to the electric quantity information of the charging box;
the single-ear charging module is used for selecting a target wireless earphone from the two wireless earphones if the single-ear charging module is smaller than the preset electric quantity, continuing to charge the target wireless earphone and stopping charging the non-target wireless earphone;
the monaural charging module includes:
the earphone electric quantity obtaining submodule is used for obtaining electric quantity information of the two wireless earphones;
the electric quantity comparison submodule is used for comparing the electric quantities of the two wireless earphones according to the electric quantity information and determining the wireless earphone with large electric quantity as the target wireless earphone;
the electric quantity comparison submodule comprises:
the earphone master-slave acquisition unit is used for acquiring master-slave information of the two wireless earphones;
the electric quantity judging unit is used for judging whether the electric quantity of a master earphone in the two wireless earphones is larger than or equal to the electric quantity of a slave earphone according to the electric quantity information and the master-slave information;
a first determining unit, configured to determine the master earphone as the target wireless earphone if the power of the slave earphone is greater than or equal to the power of the slave earphone;
and the second determining unit is used for determining the slave earphone as the target wireless earphone if the power of the slave earphone is less than the power of the slave earphone, and sending a master-slave switching instruction to the slave earphone.
7. A charging box, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the headset charging control method of the charging box according to any of claims 1 to 5 when executing said computer program.
8. The charging box according to claim 7, further comprising: a binaural charging indicator and two monaural charging indicators connected to the processor.
CN201911191551.XA 2019-11-28 2019-11-28 Charging box and earphone charging control method and device thereof Active CN110798771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911191551.XA CN110798771B (en) 2019-11-28 2019-11-28 Charging box and earphone charging control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911191551.XA CN110798771B (en) 2019-11-28 2019-11-28 Charging box and earphone charging control method and device thereof

Publications (2)

Publication Number Publication Date
CN110798771A CN110798771A (en) 2020-02-14
CN110798771B true CN110798771B (en) 2021-02-02

Family

ID=69446702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911191551.XA Active CN110798771B (en) 2019-11-28 2019-11-28 Charging box and earphone charging control method and device thereof

Country Status (1)

Country Link
CN (1) CN110798771B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113708465A (en) * 2021-09-30 2021-11-26 歌尔科技有限公司 Earphone charging method and device, earphone box and readable storage medium
CN113964901B (en) * 2021-10-19 2024-05-10 马嘉泽 Wireless earphone box

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110165736A (en) * 2019-05-27 2019-08-23 深圳市烁讯电子有限公司 A kind of electricity sharing method, system and mobile terminal based on charged state monitoring

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102275040B1 (en) * 2017-05-19 2021-07-08 삼성전자주식회사 Electronic apparatus and current consumption control method thereof
CN108599304B (en) * 2018-05-03 2021-05-28 Oppo广东移动通信有限公司 Charging box, charging control method and related product
CN109275069A (en) * 2018-09-25 2019-01-25 倬韵科技(深圳)有限公司 Method, bluetooth playback equipment and the bluetooth headset that main earphone and set of headphones intelligently switch
CN209250833U (en) * 2018-12-14 2019-08-13 倬韵科技(深圳)有限公司 A kind of system of the battery capacity to mobile terminal reporting charging bluetooth earphone box

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110165736A (en) * 2019-05-27 2019-08-23 深圳市烁讯电子有限公司 A kind of electricity sharing method, system and mobile terminal based on charged state monitoring

Also Published As

Publication number Publication date
CN110798771A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
KR102194751B1 (en) Audio class-compliant charging accessories for wireless headphones and headsets
CN108696784B (en) Wireless earphone role switching method, wireless earphone and TWS earphone
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
CN110798771B (en) Charging box and earphone charging control method and device thereof
EP3813221B1 (en) Battery charging method, battery charging apparatus and storage medium
CN102842740B (en) Terminal and charging current regulating method
CN111163388B (en) Management method and device for charging path of Bluetooth headset and readable storage medium
CN108810696B (en) Electric quantity prompting method, TWS earphone and earphone charging equipment
CN110198068B (en) Charging control method and charging device
CN108293167A (en) The method to charge for the battery to hearing aid and the hearing aid with battery charging unit
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
CN112290620A (en) Charging method and device of wireless earphone, charging box and storage medium
US9252607B2 (en) Communication terminal, charge control program and charge control method
CN111343541A (en) Control method and device of wireless earphone, mobile terminal and storage medium
CN109819365B (en) Wireless earphone shutdown method, wireless earphone and electronic terminal
CN114844144A (en) Charging method, electronic device, computer-readable storage medium, and chip system
CN111629299B (en) TWS earphone, and battery replacement method, device and medium thereof
CN109361987B (en) Sports earphone and control method, device and equipment thereof
CN106385079A (en) Charging current control method and charging current control system based on mobile terminal
US11469599B2 (en) Method for controlling charging of battery of electronic device and electronic device thereof
CN112311035B (en) Charge control method, charge control device, and readable storage medium
CN113784251A (en) TWS earphone, charging box, charging method and charging system
CN109614071A (en) Major-minor earphone switching method, bluetooth headset and computer readable storage medium
JP7021431B2 (en) Charging system, charger, and program
CN115955628B (en) Wireless charging method and device of Bluetooth headset and Bluetooth headset

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