Disclosure of Invention
The embodiment of the invention aims to provide a TWS earphone communication device, a TWS earphone communication system and a charging box, which can further meet the requirements of users and improve the user experience in the using process.
To solve the above technical problem, an embodiment of the present invention provides a TWS headset communication device, including: the charging box comprises an audio input interface, an audio output interface, a processor and a first analog switch which are arranged in the charging box, wherein the first ends of the audio input interface and the audio output interface are connected with the processor, the second ends of the audio input interface and the audio output interface are connected with the first analog switch, and the processor, the first analog switch and a Bluetooth chip in a TWS earphone placed in the charging box are connected with each other;
the processor is used for detecting the audio input interface and the audio output interface to determine a target interface accessed by external equipment, controlling the first analog switch to switch a communication link to the target interface according to a detection result, and sending the detection result to the Bluetooth chip;
and the Bluetooth chip is used for communicating with the first external equipment through the first analog switch and the target interface according to the detection result.
Optionally, the wireless communication device further comprises a second analog switch arranged in the TWS headset, and a communication input interface and a communication output interface arranged on the bluetooth chip;
the bluetooth chip is specifically configured to control the second analog switch to switch a communication link to a corresponding communication interface according to the detection result, and communicate with the first external device through the communication interface, the second analog switch, the first analog switch, and the target interface; the communication interface is one of the communication input interface and the communication output interface.
Optionally, the second end of the audio output interface is connected to the first analog switch through a power amplifier.
Optionally, if the target interface is the audio output interface, the detection result is that the external device is a playing device;
the bluetooth chip is specifically configured to control the second analog switch to switch a communication link to the communication output interface according to the detection result, and send the obtained audio file to the first external device through the current communication link for playing.
Optionally, if the target interface is the audio input interface, the detection result indicates that the external device is a sound source device;
the bluetooth chip is specifically configured to control the second analog switch to switch a communication link to the communication input interface according to the detection result, receive an audio file sent by the sound source device through the current communication link, and control the TWS headset to play according to the audio file.
The embodiment of the invention provides a charging box of a TWS earphone, which comprises an audio input interface, an audio output interface, a processor and a first analog switch, wherein the audio input interface, the audio output interface, the processor and the first analog switch are arranged in the charging box;
the processor is used for detecting the audio input interface and the audio output interface to determine a target interface accessed by first external equipment, controlling the first analog switch to switch a communication link to the target interface according to a detection result, and sending the detection result to a Bluetooth chip of a TWS (two way communication) earphone connected with the earphone interface, so that the Bluetooth chip can communicate with the first external equipment through the first analog switch and the target interface according to the detection result.
The embodiment of the invention provides a TWS headset communication system which comprises a TWS headset and the charging box.
The embodiment of the invention provides a TWS earphone communication device, a TWS earphone communication system and a charging box, wherein the TWS earphone communication device comprises: the charging box comprises an audio input interface, an audio output interface, a processor and a first analog switch, wherein the audio input interface, the audio output interface, the processor and the first analog switch are arranged in the charging box; the processor is used for detecting the audio input interface and the audio output interface to determine a target interface accessed by the first external device, controlling the first analog switch to switch the communication link to the target interface according to a detection result and sending the detection result to the Bluetooth chip; and the Bluetooth chip is used for communicating with the external equipment through the first analog switch and the target interface according to the detection result.
It is therefore visible, through add the audio input interface on the box that charges in this application, audio output interface, treater and first analog switch, and detect the target interface that external equipment inserts through the treater, then switch over the communication link to the target interface that corresponds according to the first analog switch of testing result control, thereby can make the bluetooth chip communicate through between this communication link and the external equipment, thereby can realize the communication of no bluetooth's external equipment and bluetooth chip, further can satisfy the user and use the TWS earphone to broadcast the audio file in the sound source equipment of no bluetooth or satisfy the user and adopt the demand that the playback devices of no bluetooth carries out the broadcast to the audio file in the sound source equipment that has the bluetooth, promote user experience.
Detailed Description
The embodiment of the invention provides a TWS earphone communication device, a TWS earphone communication system and a charging box, which can further meet the requirements of users in the using process and improve the user experience.
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 block diagram of a TWS headset communication device according to an embodiment of the present invention.
The TWS headset communication device includes: the charging box comprises anaudio input interface 11, anaudio output interface 12, aprocessor 13 and a firstanalog switch 14 which are arranged in thecharging box 1, wherein the first ends of theaudio input interface 11 and theaudio output interface 12 are connected with theprocessor 13, the second ends of theaudio input interface 11 and theaudio output interface 12 are connected with the firstanalog switch 14, and theprocessor 13, the firstanalog switch 14 and a Bluetoothchip 21 arranged in aTWS earphone 2 in thecharging box 1 are connected with each other;
theprocessor 13 is configured to detect theaudio input interface 11 and theaudio output interface 12 to determine a target interface to which the external device is connected, control the firstanalog switch 14 to switch the communication link to the target interface according to a detection result, and send the detection result to thebluetooth chip 21;
and thebluetooth chip 21 is configured to communicate with the first external device through the firstanalog switch 14 and the target interface according to the detection result.
It should be noted that in this embodiment, anaudio input interface 11 and anaudio output interface 12, and aprocessor 13 and a firstanalog switch 14 are additionally arranged in thecharging box 1 of theTWS headset 2, when an external device accesses a corresponding interface, theprocessor 13 can determine a target interface accessed by the external device by detecting signals of theaudio input interface 11 and theaudio output interface 12, that is, can determine whether the external device accesses theaudio input interface 11 or theaudio output interface 12, after determining a specific target interface, theprocessor 13 controls the firstanalog switch 14 to switch a communication link to the corresponding target interface, in addition, a user can place at least oneTWS headset 2 in thecharging box 1, and abluetooth chip 21 in theTWS headset 2 can be connected to theprocessor 13 and the firstanalog switch 14 through a headset interface (corresponding pin) on thecharging box 1, theprocessor 13 sends the detection result to thebluetooth chip 21 after determining the target interface, and thebluetooth chip 21 can communicate with the external device through the communication link selected by the firstanalog switch 14 and the corresponding target interface according to the detection result, so as to realize the transmission of the audio signal, and no matter the audio device without bluetooth or the playing device without bluetooth, the corresponding interface can be selected and accessed according to the user's requirement, and then the communication with thebluetooth chip 21 of theTWS headset 2 is realized. When the external device is a playing device without bluetooth, thebluetooth chip 21 of the TWSheadset 2 may send the acquired audio file to the playing device through a corresponding communication link for playing; when the external device is a sound source device without bluetooth, thebluetooth chip 21 of theTWS headset 2 may receive a corresponding audio file through a corresponding communication link and send the audio file to anotherTWS headset 2 for playing.
Specifically, the audio input interface and the audio output interface in this embodiment are both 3.5mm universal interfaces.
Further, referring to fig. 2, the apparatus may further include a secondanalog switch 22 disposed in theTWS headset 2, acommunication input interface 23 and acommunication output interface 24 disposed on thebluetooth chip 21;
thebluetooth chip 21 is specifically configured to control the secondanalog switch 22 to switch the communication link to a corresponding communication interface according to the detection result, and communicate with the first external device through the communication interface, the secondanalog switch 22, the firstanalog switch 14, and the target interface; the communication interface is one of acommunication input interface 23 and acommunication output interface 24.
Specifically, since thebluetooth chip 21 in theTWS headset 2 can send an audio file to an external device or receive an audio file of an external device according to a user's requirement, theTWS headset 2 in this embodiment may further include acommunication input interface 23 and acommunication output interface 24 correspondingly disposed on thebluetooth chip 21 so as to distinguish an input signal or an output signal of thebluetooth chip 21, and correspondingly may further include a secondanalog switch 22 connected to thecommunication input interface 23, and a control end of thebluetooth chip 21 in theTWS headset 2, thebluetooth chip 21 may determine whether thebluetooth chip 21 needs to receive an audio file sent by an external device or send an audio file to the external device according to a detection result sent by theprocessor 13, thereby determining a corresponding communication interface, and then control the secondanalog switch 22 to switch a communication link to the corresponding communication interface, then, thebluetooth chip 21 can realize communication with the target interface and the external device on thecharging box 1 through the communication interface.
Further, a second terminal of theaudio output interface 12 is connected to the firstanalog switch 14 through apower amplifier 15.
In addition, the external device may receive the audio file sent by thebluetooth chip 21 of theTWS headset 2 through theaudio output interface 12, and in order to ensure that the external device can normally receive the audio file sent by thebluetooth chip 21, apower amplifier 15 may be disposed between the firstanalog switch 14 and theaudio output interface 12, so as to amplify the signal sent by thebluetooth chip 21 to a certain extent and send the amplified signal to the external device connected to theaudio output interface 12.
Further, when the user uses a mobile device (e.g., a mobile phone) without an audio interface but with bluetooth, and wants to play an audio file in the mobile device through a playing device (e.g., a sound box) without bluetooth, the playing device may be connected to theaudio output interface 12 in this embodiment, that is, the target interface to which the external device is connected is theaudio output interface 12, and then theprocessor 13 may determine that the connected external device is the playing device through detection, that is, the external device is the playing device as a detection result;
thecorresponding bluetooth chip 21 is specifically configured to control the secondanalog switch 22 to switch the communication link to thecommunication output interface 24 according to the detection result, and send the obtained audio file to the first external device through the current communication link for playing.
Specifically, as shown in fig. 3, a user may access a playing device without a bluetooth function to theaudio output interface 12 on thecharging box 1 through an audio line, the mobile device may be connected to theTWS headset 2 placed in thecharging box 1 through bluetooth, specifically, one or twoTWS headsets 2 may be placed in thecharging box 1, theprocessor 13 in thecharging box 1 may control the firstanalog switch 14 to switch the corresponding communication link to theaudio output interface 12 after detecting that theaudio output interface 12 has an external device access, thebluetooth chip 21 may control the secondanalog switch 22 to switch the corresponding communication link to thecommunication output interface 24 according to a detection result sent by theprocessor 13, the user may select the played audio by operating the mobile device, thebluetooth chip 21 may obtain an audio file in the mobile device through bluetooth transmission, and then, the audio file may be played through thecommunication output interface 24, Thesecond analog switch 22, the firstanalog switch 14 and theaudio output interface 12 are sent to the playing device, so that the playing device can play the audio file, and therefore communication between the audio source device without the audio interface and the playing device without bluetooth is achieved, and user requirements are met.
Further, when the sound source device (such as MP3, tablet computer, etc.) and theTWS headset 2 without bluetooth are used by the user, that is, the user wants to listen to the audio files in the sound source device through theTWS headset 2, the sound source device may be connected to theaudio input interface 11 in this embodiment, that is, the target interface connected to the external device is theaudio input interface 11, and then theprocessor 13 may determine that the connected external device is a sound source device through detection, that is, the external device is a sound source device as a detection result;
thecorresponding bluetooth chip 21 is specifically configured to control the secondanalog switch 22 to switch the communication link to thecommunication input interface 23 according to the detection result, receive the audio file sent by the sound source device through the current communication link, and control theTWS headset 2 to play according to the audio file.
Specifically, as shown in fig. 4, when a user wants to listen to an audio file in a sound source device without bluetooth through theTWS headset 2, oneTWS headset 2 may be placed in thecharging box 1, anotherTWS headset 2 is worn on an ear of the user, the sound source device is connected to theaudio input interface 11 on thecharging box 1 through an audio line, theprocessor 13 may determine that a currently connected target interface is theaudio input interface 11 through detection, and further may determine that the connected external device is a sound source device, at this time, the firstanalog switch 14 is controlled to switch a corresponding communication link to theaudio input interface 11, and the detection result is sent to thebluetooth chip 21, and thebluetooth chip 21 may control the secondanalog switch 22 to switch a corresponding communication link to thecommunication input interface 23 according to the detection result, at this time, thebluetooth chip 21 may switch the corresponding communication link to thecommunication input interface 23, The secondanalog switch 22, the firstanalog switch 14 and theaudio input interface 11 receive the audio file selected by the user in the external sound source device, and control theTWS headset 2 worn on the ear of the user to play correspondingly according to the audio file, so that the audio file in the sound source device without bluetooth is played through theTWS headset 2, and the user requirement is met.
It is therefore visible, through add the audio input interface on the box that charges in this application, audio output interface, treater and first analog switch, and detect the target interface that external equipment inserts through the treater, then switch over the communication link to the target interface that corresponds according to the first analog switch of testing result control, thereby can make the bluetooth chip communicate through between this communication link and the external equipment, thereby can realize the communication of no bluetooth's external equipment and bluetooth chip, further can satisfy the user and use the TWS earphone to broadcast the audio file in the sound source equipment of no bluetooth or satisfy the user and adopt the demand that the playback devices of no bluetooth carries out the broadcast to the audio file in the sound source equipment that has the bluetooth, promote user experience.
On the basis of the above embodiment, an embodiment of the present invention provides a charging box for a TWS headset, including an audio input interface, an audio output interface, a processor, and a first analog switch, which are disposed in the charging box, wherein first ends of the audio input interface and the audio output interface are both connected to the processor, second ends of the audio input interface and the audio output interface are both connected to the first analog switch, and the processor is connected to the first analog switch and both connected to a headset interface of the charging box;
and the processor is used for detecting the audio input interface and the audio output interface to determine a target interface accessed by the first external equipment, controlling the first analog switch to switch the communication link to the target interface according to the detection result, and sending the detection result to a Bluetooth chip of the TWS earphone connected with the earphone interface, so that the Bluetooth chip can communicate with the first external equipment through the first analog switch and the target interface according to the detection result.
It should be noted that, the charging box of the TWS headset provided in this embodiment has the same beneficial effects as the TWS headset communication device provided in the foregoing embodiment in the use process, and for the specific implementation principle involved in this embodiment, reference may be made to the foregoing embodiment, and details of this application are not described herein again.
On the basis of the above embodiments, the present invention provides a TWS headset communication system, which includes a TWS headset and the charging box as described above.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds 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.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.