CN111698597A - Charging box and control method thereof, wireless earphone and control method thereof - Google Patents

Charging box and control method thereof, wireless earphone and control method thereof Download PDF

Info

Publication number
CN111698597A
CN111698597A CN202010472884.6A CN202010472884A CN111698597A CN 111698597 A CN111698597 A CN 111698597A CN 202010472884 A CN202010472884 A CN 202010472884A CN 111698597 A CN111698597 A CN 111698597A
Authority
CN
China
Prior art keywords
charging box
earphone
audio data
audio
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.)
Pending
Application number
CN202010472884.6A
Other languages
Chinese (zh)
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 CN202010472884.6A priority Critical patent/CN111698597A/en
Publication of CN111698597A publication Critical patent/CN111698597A/en
Pending legal-status Critical Current

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/20Arrangements for obtaining desired frequency or directional characteristics

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention discloses a charging box and a control method thereof, a wireless earphone and a control method thereof, wherein the charging box is matched with the wireless earphone for use, a loudspeaker is arranged in the charging box, and the control method of the charging box comprises the following steps: detecting whether audio data forwarded by the wireless earphone is received or not, wherein the audio data forwarded by the wireless earphone is sent to the wireless earphone by an audio playing terminal; and when the audio data forwarded by the wireless earphone is received, controlling the loudspeaker to play the audio data. The invention solves the problem that the audio cannot be continuously played when the wireless earphone cannot be worn in the prior art, realizes two modes of earphone playing and charging box playing, enhances the functionality of an audio playing system consisting of the charging box and the wireless earphone, and can adapt to more use situations.

Description

Charging box and control method thereof, wireless earphone and control method thereof
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a charging box and a control method thereof, a wireless earphone and a control method thereof.
Background
Bluetooth headsets, in particular tws (tau e Wireless stereo) headsets (also known as true Wireless bluetooth headsets) or neckline bluetooth headsets are gaining popularity for more and more people. The bluetooth headset of neck-line formula and TWS generally all is furnished with the box that charges for charge and accomodate bluetooth headset.
In the process of using the Bluetooth earphones, a user often interrupts using the Bluetooth earphones because the Bluetooth earphones need to be charged due to low electric quantity; or the Bluetooth headset is worn for a long time and the ears are tired, so that the user needs to rest, and the user stops wearing the Bluetooth headset. The above situations all result in that the user cannot continue playing the audio when not wearing the wireless headset.
Disclosure of Invention
The invention provides a charging box and a control method, a wireless earphone and a control method, solves the problem that the audio cannot be continuously played when the wireless earphone cannot be worn in the prior art, realizes two modes of earphone playing and charging box playing, enhances functionality and adapts to more use situations.
The invention provides a control method of a charging box, the charging box is matched with a wireless earphone for use, a loudspeaker is arranged in the charging box, and the control method of the charging box comprises the following steps:
detecting whether audio data forwarded by the wireless earphone is received or not, wherein the audio data forwarded by the wireless earphone is sent to the wireless earphone by an audio playing terminal;
and when the audio data forwarded by the wireless earphone is received, controlling the loudspeaker to play the audio data.
Further, the wireless headset includes a main headset and an auxiliary headset, and before the step of detecting whether the audio data forwarded by the wireless headset is received, the method further includes:
detecting whether the main earphone and the auxiliary earphone are simultaneously placed in the charging box;
and when the main earphone and the auxiliary earphone are simultaneously placed into the charging box, detecting whether the audio data forwarded by the wireless earphone is received or not.
Further, after the step of controlling the speaker to play the audio data, the method further includes:
and when the main earphone or the auxiliary earphone is detected to be taken out of the charging box, controlling the loudspeaker to stop playing the audio data.
Further, the wireless headset includes a left headset and a right headset, and before the step of detecting whether the audio data forwarded by the wireless headset is received, the method further includes:
detecting whether the left earphone and/or the right earphone is/are placed in the charging box;
and when the left earphone and/or the right earphone is detected to be placed in the charging box, the step of detecting whether audio data forwarded by the wireless earphone is received is executed.
Further, after the step of controlling the speaker to play the audio data, the method further includes:
and controlling the loudspeaker to stop playing the audio data when the left earphone and the right earphone are detected to be taken out of the charging box.
Further, after the step of controlling the speaker to play the audio data, the method further includes:
acquiring the battery capacity of the charging box;
and when the electric quantity of the battery is lower than a preset threshold value, controlling the loudspeaker to stop playing the audio data.
Further, after the step of controlling the speaker to play the audio data, the method further includes:
and when receiving the volume adjusting instruction, adjusting the volume played by the loudspeaker according to the volume adjusting instruction.
The invention also provides a charging box, which comprises a loudspeaker, a memory, a processor and a control program of the charging box, wherein the control program of the charging box is stored on the memory and can run on the processor, and the control program of the charging box realizes the steps of the control method of the charging box when being executed by the processor.
The invention also provides a control method of the wireless earphone, the wireless earphone is matched with the charging box for use, the loudspeaker is arranged in the charging box, and the control method of the wireless earphone comprises the following steps:
receiving audio data sent by an audio playing terminal;
and when the instruction of forwarding the audio data is received, forwarding the audio data to the charging box so that the audio data can be played by a loudspeaker in the charging box.
The invention also provides a wireless earphone, which comprises a memory, a processor and a control program of the wireless earphone, wherein the control program of the wireless earphone is stored on the memory and can run on the processor, and the control program of the wireless earphone realizes the steps of the control method of the wireless earphone when being executed by the processor.
One or more technical schemes provided by the invention at least have the following technical effects or advantages:
according to the invention, the audio data of the wireless earphone is forwarded to the charging box, and then the audio data is played through the loudspeaker of the charging box, so that the function of playing the audio by the charging box is realized, two modes of earphone playing and charging box playing are provided, a user can select and use the audio data according to the requirement, the requirement that the user can listen to songs without wearing the wireless earphone is met, the functionality of an audio playing system consisting of the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
Drawings
Fig. 1 is a schematic signal interaction diagram of an audio playing system according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a charging box circuit according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an earphone circuit according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a first embodiment of a control method of a charging box according to the present invention;
fig. 5 is a schematic flow chart of a ninth embodiment of a control method of a charging box according to the present invention;
fig. 6 is a schematic flow chart of a tenth embodiment of a control method of a charging box according to the present invention;
fig. 7 is a flowchart illustrating a control method of a wireless headset according to a first embodiment of the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
The embodiment of the invention provides a control method of a charging box, the charging box is matched with a wireless earphone for use, a first loudspeaker is arranged in the charging box, and the control method of the charging box comprises the following steps: detecting whether audio data forwarded by the wireless earphone is received or not, wherein the audio data forwarded by the wireless earphone is sent to the wireless earphone by an audio playing terminal; and when the audio data forwarded by the wireless earphone is received, controlling the first loudspeaker to play the audio data.
The technical problem to be solved by the embodiment of the invention is as follows: when a user uses the Bluetooth headset, the Bluetooth headset is interrupted to be used often because the Bluetooth headset needs to be charged due to low electric quantity; or the Bluetooth headset is worn for a long time and the ears are tired, so that the user needs to rest, and the user stops wearing the Bluetooth headset. Both of these situations result in the user not being able to continue playing audio without wearing the wireless headset.
According to the control method of the charging box, the audio data of the wireless earphone are transmitted to the charging box, and then the audio data are played through the loudspeaker of the charging box, so that the function of playing the audio by the charging box is achieved, two modes of playing the earphone and playing the charging box are provided, a user can select and use the charging box according to needs, the requirement that the user can listen to songs under the condition that the user does not wear the wireless earphone is met, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
As an implementation scheme, the hardware structure schematic diagram of the charging box may be as shown in fig. 1 and fig. 2, the charging box is used with a wireless headset, and the charging box and the wireless headset form an audio playing system. The charging box is provided with a charging bin for accommodating the wireless earphone, the charging box realizes the storage and charging of the wireless earphone through the charging bin, a charging box circuit is arranged in the charging box, and an earphone circuit is arranged in the wireless earphone. The charging box circuit is used for charging the wireless earphone, and the earphone circuit is used for playing audio. The wireless headset may be a TWS headset or a neckline headset or the like.
Generally, because the wireless headset is small in size, it is inconvenient to design a conventional charging interface for charging through connecting a data line, so that a charging box is provided for the wireless headset, and a contact type charging mode is adopted. Specifically, the box that charges is provided with the storehouse of charging that holds wireless earphone, and the power supply interface of the box that charges is located the bulkhead in storehouse of charging, and the interface position that charges on the wireless earphone corresponds with the power supply interface position in the storehouse of charging, and power supply interface sets the contact structure that corresponds each other with the interface that charges. When the wireless earphone is placed into the charging bin of the charging box, the charging interface of the wireless earphone is in contact with the power supply interface in the charging bin, so that the earphone circuit of the wireless earphone is connected with the charging box circuit of the charging box, and the charging box can charge the wireless earphone.
Thus, it will be appreciated that the charging box circuitry includes charging circuitry for charging the wireless headset.
In addition, the charging box circuit of the embodiment of the present invention further includes an audio playing circuit, and the audio playing circuit includes: the wireless earphone comprises a controller, a first audio processing module, a first audio interface and a first loudspeaker, wherein the first audio processing module is electrically connected with the controller, the first audio interface is electrically connected with the first audio processing module, the first audio interface is used for being electrically connected with a wireless earphone, and the first loudspeaker is electrically connected with the first audio processing module.
The controller is connected with the first audio processing module through an I2C (Inter-IC) bus to send a functional instruction to the first audio processing module so as to realize the control of the first audio processing module; the first audio interface is connected with the first audio processing module through an I2S (Inter-IC Sound) bus (also called an integrated circuit built-in audio bus), the first audio interface is an I2S interface, and the first audio interface is used for electrically connecting the wireless headset and transmitting audio data sent by the wireless headset to the first audio processing module through the I2S bus; the first audio processing module processes and converts the received audio data to obtain corresponding audio information, and sends the corresponding audio information to the first loudspeaker; the first speaker outputs audio information to form sound.
Specifically, the charging circuit comprises a charging box battery, a charging control chip and a power supply interface, the charging control chip is electrically connected with the charging box battery, the charging control chip is electrically connected with the power supply interface through a DC/DC (direct current-direct current conversion) module and a current limiting module, and the power supply interface is used for electrically connecting the wireless earphone. The power supply interface is electrically connected with a pin 5V, GND (ground terminal) of the charging control chip for transmitting power to the wireless headset.
The charging control chip is a chip which plays roles of conversion, distribution, detection and other electric energy management of electric energy in the system, and a battery of the charging box is arranged in the charging box and used for providing electric energy and transmitting the electric energy to the wireless earphone which is electrically connected with the power supply interface under the control of the charging control chip.
Specifically, the charging circuit further comprises a power interface, a current/voltage limiting module box and an LDO (low dropout regulator) module, wherein the power interface is used for connecting a power line with a power adapter, and the current/voltage limiting module is electrically connected with the power interface; the LDO module and the charging control chip are both electrically connected with the current limiting/voltage limiting module, the LDO module is simultaneously electrically connected with the charging control chip, and the controller and the first audio processing module are both electrically connected with the LDO module.
The power interface in the charging box circuit can be connected to a mains supply socket through a power line, and the charging box circuit is supplied with power through mains supply. The charging circuit can charge the wireless earphone and can also supply power to the functional module in the audio playing circuit.
Specifically, the charging box circuit further comprises a communication interface, the communication interface is electrically connected with the controller, and the controller is communicated with the wireless earphone through the communication interface, and the communication interface comprises reading the electric quantity of the wireless earphone and the like. The communication interface can adopt a GPIO (general purpose input/output) interface to carry out single-wire communication or adopt a UART (universal asynchronous receiver/transmitter) interface to carry out serial communication.
Based on the hardware architecture, an embodiment of a control method of a charging box is provided.
Referring to fig. 4, fig. 4 is a first embodiment of a control method of a charging box according to the present invention, the control method of the charging box includes the following steps:
step S100, detecting whether audio data forwarded by the wireless earphone is received or not, wherein the audio data forwarded by the wireless earphone is sent to the wireless earphone by an audio playing terminal;
and step S200, controlling a first loudspeaker to play audio data when receiving the audio data forwarded by the wireless earphone.
Under normal conditions, the wireless earphone plays the audio data received from the audio playing terminal through the second loudspeaker, namely, the earphone playing mode. However, in some cases, the user cannot use the audio playing function of the headset, such as: the user interrupts the use of the wireless earphone because the wireless earphone needs to be charged due to low electric quantity; or the wireless earphone is worn for a long time and the ears are tired, so that the wireless earphone is not worn for a long time. In these situations, the user cannot continue listening to audio through the headphone play mode.
The embodiment of the invention further forwards the audio data received by the wireless earphone and sent by the audio playing terminal, forwards the audio data from the wireless earphone to the charging box, and plays the audio data through the first loudspeaker in the charging box to realize the function of playing the audio by the charging box. The specific mode is that, the second audio interface of wireless earphone and the first audio interface electric connection of box that charges, the bluetooth chip passes through second audio interface and first audio interface with audio data transmission to the first audio processing module of box that charges, after the conversion of first audio processing module is enlargied, through first speaker output.
According to the audio playing system provided by the embodiment of the invention, the first loudspeaker is added in the existing charging box, so that the charging box can play the audio data forwarded by the wireless earphone through the first loudspeaker, the effect of the Bluetooth sound box is formed, and the requirement that a user can listen to songs without wearing the wireless earphone is met.
According to the control method of the charging box, the audio data of the wireless earphone are forwarded to the charging box, and then the audio data are played through the first loudspeaker of the charging box, so that the function of playing audio by the charging box is realized, two modes of playing the earphone and playing the charging box are provided, a user can select and use the charging box according to needs, the requirement that the user can listen to songs without wearing the wireless earphone is met, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
Further, based on the first embodiment of the control method of the charging box, a second embodiment of the control method of the charging box is proposed, and in the second embodiment, before the step of detecting whether the audio data forwarded by the wireless headset is received, the method further includes:
step S300, detecting whether the wireless earphone is placed in a charging box;
and step S400, when the wireless earphone is detected to be placed in the charging box, executing the step of detecting whether the audio data forwarded by the wireless earphone is received.
In order to facilitate user operation and facilitate the user to freely switch the earphone playing mode and the charging box playing mode, the embodiment of the invention determines that the earphone playing mode is switched into the charging box playing mode by judging whether the wireless earphone is placed into the charging box. The method for detecting whether the wireless earphone is placed in the charging box can be implemented by methods in the prior art, such as sensor detection and the like. After the wireless earphone is placed into the charging box, an audio starting instruction can be sent to the charging box, and the controller in the charging box is informed to start the first audio processing module. The embodiment switches the audio playing mode in a mode that the earphone is put into the box, is simple and easy, and is convenient for the user to operate.
In addition, in order to facilitate connection between the second audio interface of the wireless headset and the first audio interface of the charging box, in this embodiment, the first audio interface is located on the wall of the charging chamber of the charging box, and the second audio interface is located on the surface of the wireless headset.
Further, based on the first to second embodiments of the control method of a charging box described above, a third embodiment of the control method of a charging box is proposed, in which the step of controlling the first speaker to play audio data includes, before:
and step S500, decoding the audio data.
The digitized audio data has a relatively high data rate and a relatively large amount of data, and the audio data is generally encoded and compressed in order to increase the utilization rate and transmit more information in a limited channel capacity. In this embodiment, the first audio processing module includes a first audio encoding and decoding module and a first audio amplifier. When the wireless earphone sends a signal which is encoded and compressed into digital audio to the first audio coding and decoding module through the first audio interface, the first audio coding and decoding module can decode and restore the digital audio into analog audio, and the analog audio is amplified by the first audio amplifier and then sent to the first loudspeaker for output.
Further, based on the first to third embodiments of the control method of a charging box described above, a fourth embodiment of the control method of a charging box is proposed, in which after the step of detecting whether the wireless headset is placed in the charging box, the method further includes:
and step S600, charging the wireless earphone when the wireless earphone is detected to be placed in the charging box.
When a user uses the charging box to play the audio function, the wireless earphone is placed in the charging box, so that the charging interface of the wireless earphone is in butt joint with the power supply interface of the charging box, and the charging box can synchronously charge the wireless earphone. The user can listen to the song while charging, time and convenience are saved, and more use requirements of the user are met.
Further, based on the first to fourth embodiments of the control method of the charging box described above, a fifth embodiment of the control method of the charging box is provided, in which the wireless headset includes a main headset and a sub-headset, and before the step of detecting whether audio data forwarded by the wireless headset is received, the method further includes:
step S310, detecting whether the main earphone and the auxiliary earphone are simultaneously placed in a charging box;
and step 311, when detecting that the main earphone and the auxiliary earphone are simultaneously placed in the charging box, executing a step of detecting whether audio data forwarded by the wireless earphone is received.
Among the current wireless headset, the TWS earphone, also called true wireless bluetooth headset, earphone including two independencies, divide into main earphone (generally the right ear) and auxiliary earphone, be provided with the bluetooth chip in main earphone and the auxiliary earphone respectively, during the broadcast audio frequency, main earphone carries out bluetooth communication through bluetooth and audio playback terminal (like smart mobile phone, the panel, the computer etc.), acquire audio data from audio playback terminal department, pass through the bluetooth by main earphone again and transmit audio data to auxiliary earphone, main earphone and auxiliary earphone carry out bluetooth synchronization, realize main earphone and auxiliary earphone synchronous broadcast audio frequency, constitute the stereo system of controlling the dual track. The primary and secondary earpieces can be used separately, i.e., monophonic. Generally, a user uses the main earphone with one ear or uses the main earphone and the auxiliary earphone simultaneously, and uses the auxiliary earphone with one ear in special cases. Since the audio is transmitted from the primary earpiece, the primary earpiece consumes more power, which results in a shorter duration for the primary earpiece than for the secondary earpiece. When a user charges the main earphone, the main earphone can automatically transmit audio data to the auxiliary earphone so that the user can continue to use the auxiliary earphone, at the moment, the main earphone is placed into the charging box, and the charging box only charges the main earphone without playing audio; or, the user only uses the main earphone, and puts the auxiliary earphone into the charging box for charging, and the charging box can not play audio at the moment. Only when the user puts into the box that charges to main earphone and vice earphone simultaneously, the box that charges can judge that the user need use the box that charges to broadcast the audio frequency, opens the function of audio playback automatically, receives audio data from main earphone to export through first speaker.
Further, based on the fifth embodiment of the control method of a charging box described above, a sixth embodiment of the control method of a charging box is proposed, in the sixth embodiment, after the step of controlling the first speaker to play audio data, the method further includes:
and step S312, when the main earphone or the auxiliary earphone is detected to be taken out of the charging box, controlling the first loudspeaker to stop playing the audio data.
When the main earphone and the auxiliary earphone are both placed into the charging box for charging, the charging box can play audio data forwarded by the main earphone. When the user takes out main earphone or vice earphone from the box that charges, the box that charges can judge that the user need use wireless earphone to broadcast the audio frequency, and the box that charges this moment can self-closing audio frequency broadcast's function, stops broadcast audio frequency through the first speaker of controller control, avoids wireless earphone and the box that charges to broadcast the audio frequency simultaneously, influences user's monaural use earphone, guarantees that the good use of user is experienced.
Further, based on the first to fourth embodiments of the control method of the charging box, a seventh embodiment of the control method of the charging box is provided, in the seventh embodiment, the wireless headset includes a left headset and a right headset, and before the step of detecting whether audio data forwarded by the wireless headset is received, the method further includes:
step S320, detecting whether the left earphone and/or the right earphone is/are placed in a charging box;
step S321, when it is detected that the left earphone and/or the right earphone is placed in the charging box, performing a step of detecting whether audio data forwarded by the wireless earphone is received.
In the existing wireless earphone, part of earphones do not distinguish a main earphone and an auxiliary earphone, and an independent left earphone and an independent right earphone are simultaneously connected with an audio playing terminal through respective Bluetooth chips to synchronously receive audio data transmitted by the audio playing terminal. Generally, a user wears a left earphone and a right earphone in both ears for use. Since the left earphone and the right earphone receive audio data, the power consumption of the left earphone and the power consumption of the right earphone are approximately the same, and the cruising time of the left earphone and the cruising time of the right earphone are approximately the same. Or, for the neck line type earphone, the left earphone and the right earphone are connected through a wire harness, connected with the audio playing terminal through a built-in Bluetooth module, and powered by a built-in earphone battery. These two kinds of situations, the user generally can put into the box that charges with left earphone and right earphone simultaneously, when the box that charges detects that left earphone and right earphone put into simultaneously or any one of them earphone is put into, the box that charges all can judge that the user need use the box that charges to broadcast the audio frequency, just can open the audio playback function automatically, receives audio data from the bluetooth chip of left earphone or right earphone to through first speaker output. The earphone playing mode can be switched to the charging box playing mode by setting a single earphone to enter the box, so that the operation of a user is facilitated.
Further, based on the seventh embodiment of the control method of a charging box described above, an eighth embodiment of the control method of a charging box is proposed, in the eighth embodiment, after the step of controlling the first speaker to play audio data, the method further includes:
and step S322, controlling the first loudspeaker to stop playing the audio data when the left earphone and the right earphone are detected to be taken out of the charging box.
In this embodiment, because the wireless earphones of the main earphone and the auxiliary earphone are not distinguished, the user generally wears the left earphone and the right earphone for use by both ears, and therefore, in the left earphone and the right earphone, as long as any one earphone is left in the charging box, the charging box can determine that the user needs to use the charging box to play the audio, and the audio can be continuously played. Only when the user takes out left earphone and right earphone from the box that charges simultaneously, the box that charges just can judge that the user need use wireless earphone to play the audio frequency, and the box that charges just can close audio playback function this moment, stops to play the audio frequency through the first speaker of controller control.
Further, referring to fig. 5, a ninth embodiment of the control method for a charging box is proposed based on the first to eighth embodiments of the control method for a charging box, and in the ninth embodiment, after the step of controlling the first speaker to play the audio data, the method further includes:
step S610, acquiring the battery capacity of the charging box;
and S620, controlling the first loudspeaker to stop playing the audio data when the electric quantity of the battery is lower than a preset threshold value.
After the charging box starts the audio playing function, the power consumption is large, the electric energy of a charging box battery in the charging box is required to be consumed, meanwhile, the charging box is required to synchronously charge the wireless earphone, and the electric energy of the charging box battery is also required to be consumed. In order to ensure the charging function of the charging box, the present embodiment sets the priority of the charging function of the charging box to be higher than the audio playing function. The priority is determined by setting a preset threshold. Specifically, a comparison program is written in a controller of the charging box, an electric quantity threshold is preset in the comparison program, the controller detects the electric quantity of the battery of the charging box in real time or at regular time, and the detected electric quantity of the battery is compared with the preset threshold. When the detected battery electric quantity is lower than the preset threshold value, the controller can control the first audio processing module and the first loudspeaker to stop working, so that the audio playing function of the charging box is stopped, only the charging function of the charging box is reserved, the charging box battery is charged preferentially to the wireless earphone when the battery electric quantity is low, and the basic charging function of the charging box is guaranteed.
Further, referring to fig. 6, a tenth embodiment of the control method of the charging box is proposed based on the first to ninth embodiments of the control method of the charging box, and in the tenth embodiment, after the step of controlling the first speaker to play the audio data, the method further includes:
and step S700, when the volume adjusting instruction is received, adjusting the volume played by the first loudspeaker according to the volume adjusting instruction.
In order to facilitate the adjustment of the volume of the played audio while the charging box plays the audio, the adjustment can be realized by sending a volume adjustment instruction to the charging box. After the controller of the charging box receives the volume adjusting instruction, the first audio processing module is controlled to process the received audio data according to the information of the volume adjusting instruction, and then the audio processed according to the adjusting instruction is output through the first loudspeaker. This embodiment can realize the regulation to playing audio volume size, promotes user's use experience by sending the volume adjustment instruction to the box that charges.
Further, an eleventh embodiment of the control method of the charging box is proposed based on the tenth embodiment of the control method of the charging box described above, in which whether a volume adjustment instruction is accepted is detected by determining a pressed state of a corresponding volume adjustment key on the charging box.
Specifically, a corresponding volume adjustment key may be provided on the charging box to implement sending a volume adjustment instruction to the controller of the charging box. The volume adjusting key is electrically connected with the controller. The user can realize the operation of adjusting the volume size by pressing the corresponding volume adjusting key, so that the user can control the audio playing conveniently, and the use experience of the user is effectively improved.
The technical scheme in the embodiment of the invention at least has the following technical effects or advantages:
according to the control method of the charging box, the audio data of the wireless earphone are forwarded to the charging box, and then the audio data are played through the first loudspeaker of the charging box, so that the function of playing the audio by the charging box is achieved, two modes of playing the earphone and playing the charging box are provided, a user can select and use the charging box and the wireless earphone according to needs, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
The invention also provides a control method of the wireless earphone, the wireless earphone is matched with the charging box for use, the loudspeaker is arranged in the charging box, and the control method of the wireless earphone comprises the following steps: receiving audio data sent by an audio playing terminal; and when the instruction of forwarding the audio data is received, forwarding the audio data to the charging box so that the audio data can be played by a loudspeaker in the charging box.
The technical problem to be solved by the embodiment of the invention is as follows: when a user uses the Bluetooth headset, the Bluetooth headset is interrupted to be used often because the Bluetooth headset needs to be charged due to low electric quantity; or the Bluetooth headset is worn for a long time and the ears are tired, so that the user needs to rest, and the user stops wearing the Bluetooth headset. Both of these situations result in the inability to continue playing audio without wearing the wireless headset.
According to the control method of the wireless earphone, the audio data of the wireless earphone are transmitted to the charging box, and then the audio data are played through the loudspeaker of the charging box, so that the function of playing the audio by the charging box is achieved, two modes of earphone playing and charging box playing are provided, a user can select and use the audio data according to needs, the requirement that the user can listen to songs under the condition that the user does not wear the wireless earphone is met, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
As an implementation scheme, the hardware structure schematic diagram of the wireless headset may be as shown in fig. 1 and fig. 3, where the charging box is used with the wireless headset, and the charging box and the wireless headset form an audio playing system. The charging box is provided with a charging bin for accommodating the wireless earphone, the charging box realizes the storage and charging of the wireless earphone through the charging bin, a charging box circuit is arranged in the charging box, and an earphone circuit is arranged in the wireless earphone. The charging box circuit is used for charging the wireless earphone, and the earphone circuit is used for playing audio. The wireless headset may be a TWS headset or a neckline headset or the like.
As will be readily appreciated, a wireless headset includes a headset circuit for playing audio, the headset circuit comprising: the Bluetooth chip, the second audio processing module, the second speaker and the second audio interface, in addition, still include analog switch and second audio interface, wherein, Bluetooth chip, analog switch, second audio processing module and second speaker connect gradually through the I2S bus, and the second audio interface passes through the I2S bus and is connected with analog switch, and the second audio interface adopts the I2S interface for the first audio interface of electric connection charging box.
The Bluetooth chip is used for Bluetooth connection between the wireless earphone and the audio playing terminal (such as a mobile phone, a tablet, a notebook and the like), communication between the wireless earphone and the audio playing terminal is achieved, so that the audio playing terminal sends a music file to the wireless earphone in an audio data mode, the second audio processing module processes the received audio data and then sends the processed audio data to the second loudspeaker, and the processed audio data is output through the second loudspeaker.
Specifically, the headphone circuit further includes a portion for charging: the earphone battery is electrically connected with the charging interface, the charging interface is used for being electrically connected with a power supply interface of the charging box, and the Bluetooth chip and the second audio processing module are both electrically connected with the earphone battery.
Based on the hardware architecture, an embodiment of a control method of a wireless headset is provided.
Referring to fig. 7, fig. 7 is a diagram illustrating a control method of a wireless headset according to a first embodiment of the present invention, the control method of the wireless headset includes the following steps:
step S800, receiving audio data sent by an audio playing terminal;
and S900, when the instruction of forwarding the audio data is received, forwarding the audio data to the charging box so that the first loudspeaker in the charging box plays the audio data.
When the wireless earphone needs to be charged, firstly, the wireless earphone is placed into a charging bin of a charging box, so that a charging interface of the wireless earphone is connected with a power supply interface of the charging box, meanwhile, the wireless earphone is in communication connection with the charging box, and a second audio interface of the wireless earphone is connected with a first audio interface of the charging box.
The bluetooth chip among the wireless headset receives audio data from audio playback terminal, and when the bluetooth chip transmitted audio data, the wireless headset can detect whether received the instruction of retransmitting audio data: when the wireless earphone receives an instruction of forwarding audio data, the Bluetooth chip transmits the audio data to the first audio processing module of the charging box through the second audio interface and the first audio interface, and outputs audio through the first loudspeaker, namely the charging box plays an audio mode; when the wireless earphone does not receive the instruction of forwarding the audio data, the Bluetooth chip transmits the audio data to the second audio processing module and outputs the audio through the second loudspeaker, namely, the wireless earphone playing mode.
The wireless headset of the embodiment receives the instruction for forwarding the audio data, and the instruction is implemented by controlling the analog switch in the headset circuit, and the output path of the audio data is switched by triggering different states of the analog switch, so that the bluetooth chip transmits the audio data to the second audio processing module, or transmits the audio data to the first audio processing module through the second audio interface and the first audio interface, thereby determining whether to play the audio through the wireless headset or play the audio through the charging box.
According to the audio playing system provided by the embodiment of the invention, the first loudspeaker is added in the existing charging box, so that the charging box can play the audio data forwarded by the wireless earphone through the first loudspeaker, the effect of the Bluetooth sound box is formed, and the requirement that a user can listen to songs without wearing the wireless earphone is met.
According to the control method of the wireless earphone, the audio data of the wireless earphone are forwarded to the charging box, the audio data are played through the first loudspeaker of the charging box, the function that the charging box plays audio is achieved, two modes of earphone playing and charging box playing are provided, a user can select and use the audio data as required, the requirement that the user can listen to songs under the condition that the user does not wear the wireless earphone is met, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and the control method can adapt to more use situations.
Further, based on the first embodiment of the control method of the wireless headset described above, a second embodiment of the control method of the wireless headset is proposed, in which whether an instruction to forward audio data is received is detected by determining a pressed state of a corresponding control key on the wireless headset.
In order to facilitate user operation, a user can freely switch the earphone playing mode and the charging box playing mode, meanwhile, after the wireless earphone is placed into the charging box, the wireless earphone is usually automatically disconnected with the mobile phone Bluetooth to enter a charging state, and a control key is arranged on the surface of the wireless earphone and electrically connected with an analog switch in an earphone circuit. When a user needs to use the charging box to play audio, before the wireless earphone is placed into the charging box, the analog switch can be triggered by pressing the control key of the wireless earphone, an audio output path is switched, after the wireless earphone is placed into the charging box, the wireless earphone can automatically send an audio starting instruction to the controller of the charging box to inform the controller to start the first audio processing module, and the first audio module starts to receive audio data forwarded by the wireless earphone and outputs the audio through the first loudspeaker.
The technical scheme in the embodiment of the invention at least has the following technical effects or advantages:
according to the control method of the wireless earphone, the audio data of the wireless earphone are forwarded to the charging box, and then the audio data are played through the first loudspeaker of the charging box, so that the function of playing audio by the charging box is achieved, two modes of earphone playing and charging box playing are provided, the wireless earphone can be used by a user according to needs, the functionality of an audio playing system formed by the charging box and the wireless earphone is enhanced, and more use situations can be adapted.
Since the system described in the embodiment of the present invention is a system used for implementing the method in the embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the system based on the method described in the embodiment of the present invention, and thus the detailed description is omitted here. All systems adopted by the method of the embodiment of the invention belong to the protection scope of the invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a controller of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the controller of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the invention without departing from the invention
With clear spirit and scope. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A control method of a charging box is characterized in that the charging box is matched with a wireless earphone for use, a loudspeaker is arranged in the charging box, and the control method of the charging box comprises the following steps:
detecting whether audio data forwarded by the wireless earphone is received or not, wherein the audio data forwarded by the wireless earphone is sent to the wireless earphone by an audio playing terminal;
and when receiving the audio data forwarded by the wireless earphone, controlling the loudspeaker to play the audio data.
2. The method for controlling a charging box according to claim 1, wherein the wireless headset comprises a main headset and a sub-headset, and the step of detecting whether audio data forwarded by the wireless headset is received further comprises:
detecting whether the primary earphone and the secondary earphone are simultaneously placed in the charging box;
and when the main earphone and the auxiliary earphone are detected to be simultaneously placed into the charging box, executing a step of detecting whether audio data forwarded by the wireless earphone is received.
3. The method for controlling a charging box according to claim 2, wherein after the step of controlling the speaker to play the audio data, further comprising:
and controlling the loudspeaker to stop playing the audio data when the main earphone or the auxiliary earphone is detected to be taken out of the charging box.
4. The audio playing method according to claim 1, wherein the wireless headset comprises a left headset and a right headset, and the step of detecting whether the audio data forwarded by the wireless headset is received further comprises:
detecting whether the left earphone and/or the right earphone is put into the charging box;
and when the left earphone and/or the right earphone is detected to be placed in the charging box, executing the step of detecting whether audio data forwarded by the wireless earphone is received.
5. The method for controlling a charging box according to claim 4, wherein after the step of controlling the speaker to play the audio data, further comprising:
and controlling the loudspeaker to stop playing the audio data when the left earphone and the right earphone are detected to be taken out of the charging box.
6. The method for controlling a charging box according to claim 1, wherein after the step of controlling the speaker to play the audio data, further comprising:
acquiring the battery capacity of the charging box;
and when the electric quantity of the battery is lower than a preset threshold value, controlling the loudspeaker to stop playing the audio data.
7. The method for controlling a charging box according to claim 1, wherein after the step of controlling the speaker to play the audio data, further comprising:
and when a volume adjusting instruction is received, adjusting the volume played by the loudspeaker according to the volume adjusting instruction.
8. A charging box characterized by comprising a speaker, a memory, a processor, and a control program of the charging box stored on the memory and executable on the processor, the control program of the charging box realizing the steps of the control method of the charging box according to any one of claims 1 to 7 when executed by the processor.
9. A control method of a wireless earphone is characterized in that the wireless earphone is matched with a charging box for use, a loudspeaker is arranged in the charging box, and the control method of the wireless earphone comprises the following steps:
receiving audio data sent by an audio playing terminal;
when an instruction of forwarding audio data is received, forwarding the audio data to the charging box, so that a loudspeaker in the charging box plays the audio data.
10. A wireless headset comprising a memory, a processor and a control program of the wireless headset stored on the memory and executable on the processor, the control program of the wireless headset implementing the steps of the method of controlling a wireless headset according to claim 9 when executed by the processor.
CN202010472884.6A 2020-05-29 2020-05-29 Charging box and control method thereof, wireless earphone and control method thereof Pending CN111698597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010472884.6A CN111698597A (en) 2020-05-29 2020-05-29 Charging box and control method thereof, wireless earphone and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010472884.6A CN111698597A (en) 2020-05-29 2020-05-29 Charging box and control method thereof, wireless earphone and control method thereof

Publications (1)

Publication Number Publication Date
CN111698597A true CN111698597A (en) 2020-09-22

Family

ID=72478808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010472884.6A Pending CN111698597A (en) 2020-05-29 2020-05-29 Charging box and control method thereof, wireless earphone and control method thereof

Country Status (1)

Country Link
CN (1) CN111698597A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887868A (en) * 2021-01-28 2021-06-01 维沃移动通信有限公司 Audio circuit, electronic equipment, wireless earphone system and audio system
CN113949959A (en) * 2021-10-14 2022-01-18 维沃移动通信有限公司 Wireless earphone and audio signal processing method
CN115297460A (en) * 2022-08-01 2022-11-04 深圳市卓翼科技股份有限公司 Control method, control device, equipment and readable storage medium of Bluetooth adapter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887868A (en) * 2021-01-28 2021-06-01 维沃移动通信有限公司 Audio circuit, electronic equipment, wireless earphone system and audio system
CN113949959A (en) * 2021-10-14 2022-01-18 维沃移动通信有限公司 Wireless earphone and audio signal processing method
CN115297460A (en) * 2022-08-01 2022-11-04 深圳市卓翼科技股份有限公司 Control method, control device, equipment and readable storage medium of Bluetooth adapter

Similar Documents

Publication Publication Date Title
US11023005B2 (en) TWS earphone, wristband-type AI voice interaction device, and system
CN106937197B (en) Double-ear wireless earphone and communication control method thereof
US10440460B2 (en) Wireless in-ear headphones
CN111698597A (en) Charging box and control method thereof, wireless earphone and control method thereof
EP3389248A2 (en) Method and apparatus for easy switching between wired and wireless headset with convenient charging
CN101917497B (en) Method and device for earphone and USB to share micro-USB interface
EP3588248B1 (en) Earphones and terminal
CN110691294A (en) Audio control method, charging box and wireless earphone device
KR20190078949A (en) Method for controlling ear piece and electronic device for supporting the same
US11553268B2 (en) Wireless headset
CN102983602A (en) To-be-charged apparatus, charging adapter, electronic apparatus set, and plug unit
CN109327758A (en) A kind of wireless playing equipment and its control method for playing back and device
CN108093329A (en) Peripheral type detection circuit and mobile terminal based on shared interface
CN105704604A (en) Smart home earphones
CN110958516B (en) Wireless earphone
TW202143599A (en) Charging device for wireless earbuds
US11937059B2 (en) Composite headphone
CN105811515A (en) Method and system for charging universal serial bus Bluetooth headset through mobile terminal
CN114501285B (en) Plug detection circuit and plug detection method
CN113411703B (en) Audio playing method, earphone box, wireless earphone and earphone suite
CN208863048U (en) A kind of wireless playing equipment and wear-type wireless headphone system
CN205491035U (en) Intelligent home earphone
US8655417B2 (en) Video/audio playing apparatus with wireless signal transmission function and wireless video/audio transmission module thereof
CN111987752A (en) Switching equipment
CN207783089U (en) Peripheral type detection circuit based on shared interface and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination