Audio mixing and data transmission method, device and system based on earphone
By realizing audio mixing and data transmission methods in the first TWS headset, the problem that the prior art cannot transmit karaoke audio signals to multiple different headsets and/or speakers at the same time is solved, reducing the number of devices and improving the user experience, and reducing the lag during playback.
Patent Information
- Application Number
- CN202411674928.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2025-03-28
AI Technical Summary
The prior art cannot transmit karaoke audio signals to multiple different headphones and/or speakers at the same time, resulting in an increase in the number of devices, inconvenient equipment carrying equipment, and easy lag during playback.
By implementing audio mixing and data transmission methods in the first TWS headset, the accompaniment audio data and the collector audio data are received using the Bluetooth standard protocol. After performing the mixing process, the karaoke audio data is sent to multiple audio playback devices simultaneously in a broadcast or forward manner, and directly switch to the reception mode after the transmission is completed to avoid waiting for the response information.
It realizes that multiple different headphones and/or speakers share karaoke audio data at the same time, reducing the number of devices, improving the user experience, and reducing the lag in the process of playing karaoke audio data.
Smart Images

Figure CN119724137A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless audio data communication processing, and in particular to a method, device and system for audio mixing and data transmission based on earphones. Background Art
[0002] With the development of smart device technology, its application functions are becoming more and more abundant. For example, users can use TWS headphones or Bluetooth speakers to realize KTV functions. Users need a combination of mobile phones, Bluetooth speakers and TWS headphones. By connecting the TWS headphones to the mobile phone or Bluetooth speaker with a mobile phone, the TWS headphones capture the user's voice, and the mobile phone provides music accompaniment. The voice and accompaniment are mixed on the mobile phone or Bluetooth speaker and then broadcast through the Bluetooth speaker.
[0003] Taking the charging box with karaoke as an example, in the environment of a DIY small KTV, the charging box collects the human voice through the sound pickup module, and obtains the accompaniment music of the mobile phone through Bluetooth connection. The human voice and accompaniment music are then mixed and transmitted to the TWS headphones or Bluetooth speakers, thereby realizing karaoke based on the charging box.
[0004] However, the karaoke method based on the charging case in the prior art can only transmit the same audio signal to a pair of headphones or a pair of speakers, and cannot transmit audio signals to multiple different headphones and / or speakers at the same time, that is, it cannot achieve the purpose of sharing audio data simultaneously.
[0005] In addition, during the transmission of karaoke audio data, lag is likely to occur.
[0006] In addition, an additional karaoke microphone is required, which increases the equipment cost and makes it inconvenient to carry.
[0007] Therefore, how to achieve multiple different headphones and / or speakers to share karaoke audio data at the same time and reduce the number of devices has become a technical problem that needs to be solved urgently;
[0008] On this basis, how to reduce the lag phenomenon during the playback of karaoke audio data has become another technical problem that needs to be solved urgently. Summary of the invention
[0009] Based on the above situation, the main purpose of the present invention is to provide an audio mixing and data transmission method, device and system based on headphones, so as to enable multiple different headphones and / or speakers to share karaoke audio data at the same time and reduce the number of devices.
[0010] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0011] In the first aspect, this embodiment discloses an audio mixing and data transmission method based on headphones, which is applied to a first TWS headset. The first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction. The method includes:
[0012] Step S100, receiving the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when a receiving time slot arrives, and sending ACK / NACK response information to the mobile terminal when a response time slot arrives;
[0013] Step S200, obtaining human voice audio data collected by a handheld microphone, wherein the microphone is built into the charging compartment or built into the first TWS headset;
[0014] Step S300, mixing the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data;
[0015] Step S400, sending karaoke audio data to the audio playback devices simultaneously in a second communication mode, so that the audio playback devices play the karaoke audio data, and when the number of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data;
[0016] Step S500, directly switching to the first communication mode and re-executing steps S100 to S400 without waiting for the response information of the audio playback device.
[0017] Optionally, a handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of a first TWS earphone and a second TWS earphone, and / or a Bluetooth speaker.
[0018] Optionally, the handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headset.
[0019] Optionally, in step S400, the second communication mode is a broadcast mode;
[0020] Step S400 includes: broadcasting karaoke audio data to a plurality of audio playback devices in the form of broadcasting, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
[0021] Optionally, step S100 and step S200 are performed in a first time period, and step S400 is performed in a second time period;
[0022] In step S100, the accompaniment audio data is received in a mode of alternating sending and receiving time slots in a first time period;
[0023] In step S400, the second time period operates in the sending mode throughout the entire period, so that the second time period is entirely used to broadcast karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive karaoke audio data.
[0024] Optionally, the working mode in the first time period is an EDR mode, in which data is interacted between the first TWS headset and the mobile terminal and the mobile terminal disconnects the Bluetooth connection with other devices;
[0025] The working mode in the second time period is ADV mode. In ADV mode, the first TWS headset works in broadcast mode to broadcast and transmit data externally.
[0026] Optionally, in step S400, the second communication mode is a forwarding mode;
[0027] Step S400 includes: forwarding the karaoke audio data to a plurality of audio playback devices in the form of forwarding, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
[0028] Optionally, in step S100, the accompaniment audio data is received by operating in a mode of alternating transmit and receive time slots;
[0029] In step S400, all time slots operate in a sending mode so that all time slots are used to forward karaoke audio data.
[0030] Optionally, the first TWS headset is further provided with other communication modules, which are different from the standard Bluetooth communication module in the first TWS headset;
[0031] In step S400, other communication modules are used to send karaoke audio data to a plurality of audio playback devices, so that the plurality of audio playback devices play the karaoke audio data.
[0032] Optionally, other communication modules are implemented based on private protocols so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of audio playback devices is more than one, they can all receive and play karaoke audio data at the same time.
[0033] Optionally, the other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
[0034] In the first aspect, this embodiment discloses a data transmission method based on a charging bin, which is applied to a karaoke system composed of a first TWS headset and a mobile terminal, and the method includes:
[0035] The first TWS headset performs the method disclosed in the first aspect above;
[0036] During the execution of step S400 by the first TWS headset, the mobile terminal sends the lyrics corresponding to the accompaniment audio data to the lyrics board;
[0037] The lyrics board synchronously displays the lyrics during the execution of step S400 by the first TWS headset.
[0038] In the third aspect, this embodiment discloses an audio mixing and data transmission device based on headphones, which is applied to a first TWS headset. The first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction. The device includes:
[0039] An accompaniment receiving module, used for receiving the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when a receiving time slot arrives, and sending ACK / NACK response information to the mobile terminal when a response time slot arrives;
[0040] A human voice acquisition module, used to acquire human voice audio data collected by a handheld microphone, wherein the microphone is built into the charging compartment or built into the first TWS headset;
[0041] A mixing processing module is used to mix the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data;
[0042] A mixing and sending module, used for simultaneously sending karaoke audio data to an audio playback device in a second communication mode, so that the audio playback device plays the karaoke audio data, and when the number of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data;
[0043] The switching module is used to directly switch to the first communication mode and re-execute the module without waiting for the response information of the audio playback device.
[0044] Optionally, a handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of a first TWS earphone and a second TWS earphone, and / or a Bluetooth speaker.
[0045] Optionally, the handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headset.
[0046] Optionally, in the audio mixing and sending module, the second communication mode is a broadcast mode;
[0047] The mixing sending module is specifically used to broadcast karaoke audio data to several audio playback devices in the form of broadcasting, so that several audio playback devices play the karaoke audio data, and when the number of several audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
[0048] Optionally, the accompaniment receiving module and the vocal acquisition module work in a first period, and the mixing sending module works in a second period;
[0049] In the accompaniment receiving module, the accompaniment audio data is received by operating in a mode of alternating sending and receiving time slots in a first time period;
[0050] In the mixing sending module, the second time period works in the sending mode throughout the whole period, so that the second time period is entirely used to broadcast karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive karaoke audio data.
[0051] Optionally, the working mode in the first time period is an EDR mode, in which data is interacted between the first TWS headset and the mobile terminal and the mobile terminal disconnects the Bluetooth connection with other devices;
[0052] The working mode in the second time period is ADV mode. In ADV mode, the first TWS headset works in broadcast mode to broadcast and transmit data externally.
[0053] Optionally, in the audio mixing sending module, the second communication mode is a forwarding mode;
[0054] The mixing and sending module includes: forwarding the karaoke audio data to several audio playback devices in the form of forwarding, so that the several audio playback devices play the karaoke audio data, and when the number of the several audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
[0055] Optionally, in the accompaniment receiving module, the accompaniment audio data is received by operating in a mode of alternating sending and receiving time slots;
[0056] In the audio mixing and sending module, all time slots work in the sending mode, so that all time slots are used to forward the karaoke audio data.
[0057] Optionally, the first TWS headset is further provided with other communication modules, which are different from the standard Bluetooth communication module in the first TWS headset;
[0058] In the audio mixing and sending module, other communication modules are used to send the karaoke audio data to several audio playing devices, so that the several audio playing devices play the karaoke audio data.
[0059] Optionally, other communication modules are implemented based on private protocols so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of audio playback devices is more than one, they can all receive and play karaoke audio data at the same time.
[0060] Optionally, the other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
[0061] In a fourth aspect, an embodiment of the present invention discloses a Bluetooth headset, comprising:
[0062] The method of the first aspect is used to perform audio mixing and transmission, or the device includes the third aspect.
[0063] In a fifth aspect, an embodiment of the present invention discloses a computer-readable storage medium having a computer program stored thereon, wherein the computer program stored in the storage medium is used to be executed by a processor to implement the methods of the first and second aspects above.
[0064] In a sixth aspect, an embodiment of the present invention discloses a chip for a Bluetooth headset, which has an integrated circuit thereon, and the integrated circuit is designed to implement the methods of the first and second aspects above.
[0065] In a seventh aspect, an embodiment of the present invention discloses an audio mixing and transmission system based on a charging compartment, comprising:
[0066] The first TWS headset adopts the methods of the first and second aspects to perform audio mixing and transmission, or includes the device of the third aspect.
[0067] Beneficial effects:
[0068] According to an audio mixing and data transmission method, device and system based on headphones disclosed in an embodiment of the present invention, a first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction, and receive the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when the receiving time slot arrives, and send ACK / NACK response information to the mobile terminal when the response time slot arrives, and collect human voice audio data through a handheld microphone built into a charging bin or the first TWS headset; then mix and process to obtain the mixed karaoke audio data; and simultaneously send the karaoke audio data to the audio playback device in a second communication mode, so that the audio playback device plays the karaoke audio data. Since the human voice audio data is collected by the handheld microphone built into the charging bin or the first TWS headset, there is no need to carry an additional microphone, thereby reducing the number of devices in the karaoke system, and since the karaoke audio data is sent to the audio playback device at the same time, when the number of audio playback devices is more than one, all can receive and play the karaoke audio data at the same time, thereby improving the user experience. In the second communication mode, after sending the karaoke audio data, it directly switches to the first communication mode to start a new round of data collection. That is, after sending the karaoke audio data, it will not wait for the response information, thereby eliminating the data retransmission link, and therefore, it can reduce the lag phenomenon during the playback of the karaoke audio data.
[0069] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The embodiments of the present invention will be described below with reference to the accompanying drawings.
[0071] Figure 1 This is a schematic diagram of an example of a karaoke system disclosed in this embodiment;
[0072] Figure 2 This is a flow chart of an audio mixing and data transmission method based on headphones disclosed in this embodiment;
[0073] Figure 3 This is a schematic diagram of the structure of a first TWS earphone module disclosed in this embodiment;
[0074] Figure 4 A schematic diagram of a timing sequence for sending, receiving and mixing audio data disclosed in this embodiment;
[0075] Figure 5 This is another timing diagram of audio data transmission, reception and mixing disclosed in this embodiment;
[0076] Figure 6 A schematic diagram of another audio data transmission, reception and mixing timing disclosed in this embodiment;
[0077] Figure 7 The present invention is a schematic diagram of the structure of an audio mixing and data transmission device based on headphones disclosed in this embodiment. DETAILED DESCRIPTION
[0078] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. In order to avoid confusing the essence of the present invention, known methods, processes, procedures, and components are not described in detail.
[0079] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0080] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".
[0081] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0082] To achieve simultaneous sharing of karaoke audio data by multiple different earphones and / or speakers and reduce the number of devices, the present embodiment discloses an audio mixing and data transmission method based on earphones, which is applied to a first TWS earphone. The first TWS earphone, a mobile terminal and an audio playback device constitute a karaoke system for data interaction. In the present embodiment, the number of audio playback devices is several, and the audio playback device can be a Bluetooth speaker, a pair of earphones consisting of the first TWS earphone, or a pair of earphones and a Bluetooth speaker.
[0083] Please refer to Figure 1 , Figure 1This is a schematic diagram of an example of a karaoke system disclosed in this embodiment, and the karaoke system includes: a charging compartment 1, an audio playback device 2 and a mobile terminal 3, wherein the audio playback device 2 can be a Bluetooth speaker 22, or a first TWS headset 21 and a second TWS headset 23. In this embodiment, the specific number of audio playback devices 2 is not limited. The mobile terminal 3 can be a device with an audio processing function, such as a mobile phone and a tablet. In the specific implementation process, a microphone 11 is provided on the charging compartment 1 for collecting external sounds; alternatively, the microphone on the first TWS headset 21 can be reused to collect external sounds. In this embodiment, the human voice is collected by using the charging compartment 1 or the first TWS headset 21, and after mixing with the accompaniment audio provided by the mobile terminal 3, it is transmitted to the audio playback device 2 for playback, thereby realizing karaoke.
[0084] Please refer to Figure 2 , Figure 2 This is a flow chart of an audio mixing and data transmission method based on headphones disclosed in this embodiment. The audio mixing and data transmission method based on headphones includes: step S100, step S200, step S300, step S400 and step S500, wherein:
[0085] Step S100, receiving the accompaniment audio data sent by the mobile terminal in the first communication mode according to the Bluetooth standard protocol when the receiving time slot arrives, and sending ACK / NACK response information to the mobile terminal when the response time slot arrives. Figure 1 and Figure 3 , Figure 3 This is a schematic diagram of the structure of a first TWS earphone module disclosed in this embodiment. In this embodiment, the first TWS earphone 21 establishes a Bluetooth communication connection with the mobile terminal 3 through the Bluetooth module 211, and interacts with the mobile terminal 3 in the transmit and receive time slot according to the standard protocol. Specifically, when the receive time slot arrives, the data packet sent by the mobile terminal 3 is received, each data packet is loaded with accompaniment audio data, and ACK / NACK response information is sent to the mobile terminal when the response time slot arrives.
[0086] Step S200, obtain the human voice audio data collected by the handheld microphone. In this embodiment, the microphone is built into the charging compartment 1 or built into the first TWS headset 21, that is, a microphone is set in the charging compartment 1, or the microphone of the first TWS headset 21 is reused, thereby the charging compartment 1 or the first TWS headset 21 acts as a handheld microphone. It should be noted that this embodiment does not limit the order of execution between step S100 and step S200.
[0087] In one embodiment, a handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of a first TWS headset and a second TWS headset, and / or a Bluetooth speaker. In another embodiment, the handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headphones. In the specific implementation process, the user can use the handheld charging compartment or the first TWS headset as a handheld microphone. It can be seen that during the karaoke process, there is no need to configure an additional handheld microphone, which reduces the number of devices and brings convenience to users.
[0088] Step S300, mixing the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data. Specifically, after obtaining the accompaniment audio data and the vocal audio data, the accompaniment audio data and the vocal audio data can be processed with sound effects and mixed to obtain mixed karaoke audio data, wherein the karaoke audio data includes mixed vocals and accompaniment. Figure 3 The mixing process can be implemented by the mixing module 212. The Bluetooth module 211 obtains the music accompaniment audio data of the mobile phone, and the microphone obtains the user's vocal data. Under the control of the processor module, the mixing module 212 mixes the accompaniment audio data and the vocal data to form mixed audio data. The mixing module may include an ADC and a DAC unit, which can convert the analog signal of the accompaniment audio and the vocal audio into a digital signal. This part is the prior art in this technical field and will not be described in detail.
[0089] Step S400, sending karaoke audio data to the audio playback device simultaneously in a second communication mode. Figure 1 and Figure 3 In the specific implementation process, the karaoke audio data can be broadcasted or forwarded through the Bluetooth module 211, or sent based on a private protocol through other communication modules, so that the audio playback device can play the karaoke audio data. Figure 1 The audio playback device 2 referred to in this embodiment can be a Bluetooth headset (21 and 23), a Bluetooth speaker 22, or a combination of a Bluetooth headset (21 and 23) and a Bluetooth speaker 22; the number of audio playback devices 2 can be one or more. In the specific implementation process, during this time period, each audio playback device is always in a scanning state, so that they can each receive the karaoke audio data broadcast / forwarded by the first TWS headset 21. In this way, when the number of audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
[0090] Step S500, directly switch to the first communication mode and re-execute steps S100 to S400 without waiting for the response information of the audio playback device. In this embodiment, in the process of simultaneously sending karaoke audio data to the audio playback device in the second communication mode, there is no need to wait for the response information of the audio playback device, so that the time period can be concentrated on sending karaoke audio data, improving the utilization rate of bandwidth and improving data transmission efficiency.
[0091] In the specific implementation process, during the execution of step S400, the karaoke audio data may be sent in a broadcasting manner or a forwarding manner, or may be implemented through other communication modules based on a private protocol, as follows:
[0092] In one embodiment, in step S400, the second communication mode is a broadcast mode; step S400 includes: broadcasting karaoke audio data to a plurality of audio playback devices in the form of broadcast, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, the karaoke audio data can be received and played simultaneously. Compared with the communication mode of Bluetooth connection, in this embodiment, karaoke audio data is sent by broadcasting, so that multiple audio playback devices can simultaneously receive the karaoke audio data broadcast by the first TWS headset 21, and there is no need to send a response message to the first TWS headset 21. In the specific implementation process, during this time period, each audio playback device is always in a scanning state, so that each can receive the karaoke audio data broadcast by the first TWS headset 21. In this way, when the number of the plurality of audio playback devices is more than one, the karaoke audio data can be received and played simultaneously.
[0093] In the specific implementation process, step S100 and step S200 work in the first time period, and step S400 works in the second time period; the first time period and the second time period constitute a karaoke audio data receiving and transmitting cycle T, that is, each karaoke audio data receiving and transmitting cycle T includes a first time period and a second time period, and different and adjacent receiving and transmitting cycles T, the first time period and the second time period are alternately performed.
[0094] In step S100, the accompaniment audio data is received in the mode of alternating the receiving and transmitting time slots in the first time period. In step S400, the second time period is operated in the transmitting mode for the entire time period, so that the second time period is used for broadcasting the karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive the karaoke audio data. Please refer to Figure 4 , Figure 4This is a timing diagram of audio data receiving and transmitting mixing disclosed in the present embodiment. Specifically, in a first time period, the mobile terminal 3 sends accompaniment audio data to the first TWS headset 21 according to the standard protocol in the transmitting and receiving time slot, such as accompaniment audio data packets acc 1, acc 2...acc n; in the first time period, the Bluetooth module of the first TWS headset 21 operates in standard mode, and receives accompaniment audio data in an alternating mode of transmitting and receiving time slots, such as accompaniment audio data packets acc1, acc 2...acc n, and replies ACK response information to the mobile terminal 3 after receiving the accompaniment audio data packet; in the first time period, the microphone of the first TWS headset 21 or the charging compartment 1 is also continuously collecting human voice audio data, such as human voice audio data packets voc 1, voc 2...voc n. n; In this embodiment, after receiving the accompaniment audio data packet and the vocal audio data packet, the first TWS headset 21 or the charging compartment 1 will decode these audio data packets, extract the accompaniment audio data and the vocal audio data in each data packet, and then perform sound effect processing and mixing processing on these accompaniment audio data and the vocal audio data to obtain K song audio data, such as K song audio data packets mac 1, mac 2...mac n; In the second time period, the Bluetooth module of the first TWS headset 21 works in the sending mode all the time, so as to broadcast the K song audio data to several audio playback devices all the time, that is, the Bluetooth module of the first TWS headset 21 centrally broadcasts all the K song audio data (mac-all) received and mixed in the first time period in the second time period, thereby improving the data transmission efficiency, and because the Bluetooth module of the first TWS headset 21 works in the sending mode all the time, that is, the receiving and sending state switching will not be performed, thereby avoiding the time slot waste and bandwidth occupancy caused by the state switching on the one hand, and on the other hand, there is no need to resend a single data packet, thereby reducing the bandwidth occupancy, thereby reducing the data jam phenomenon.
[0095] In order to have enough time to broadcast the karaoke audio data, in an optional embodiment, in step S400, the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive the karaoke audio data. In this embodiment, in the second time period, no time slot division is performed, but the whole time period works in the sending state. In the specific implementation process, the Bluetooth module of the charging compartment 1 broadcasts the karaoke audio data for a duration of at least 2 Bluetooth standard communication time slots in the second time period. During this period, several audio playback devices all work in the scanning mode in the second time period, that is, in the at least 2 Bluetooth standard communication time slots, several audio playback devices are scanning and receiving karaoke audio data.
[0096] In order to further improve the data transmission efficiency, in an optional embodiment, the duration of the second time period is shorter than the duration of the first time period. Specifically, the second time period can be much shorter than the duration of the first time period, thereby reducing the data incoherence caused by the long interval between receiving the accompaniment audio data and the vocal audio data.
[0097] In step S100, the received accompaniment audio data is composed of a plurality of coded data packets; between step S300 and step S400, it also includes: step S310, re-encoding the karaoke audio data composed of the accompaniment audio data and the human voice audio data into a data packet, so that a data packet is broadcast when the karaoke audio data is broadcast. Specifically, the data received in the first time period is carried by a plurality of encoded accompaniment audio data packets, and each encoded data packet contains information such as a frame header and a frame tail. In this embodiment, by re-encoding the karaoke audio data composed of the accompaniment audio data and the human voice audio data into a data packet, the frame header, the frame tail and other data can be reduced, and then the data transmission amount of the karaoke audio data broadcast in the second time period is reduced, thereby improving the data transmission efficiency. In some embodiments, the broadcast data packet can also be compressed so that the duration occupied by the broadcast data is shorter than the duration of the EDR mode to send and receive data, thereby improving the coherence of the data.
[0098] It should be emphasized that in this embodiment, by combining the two technical means of reducing the length of the second time period and coordinating data re-encoding, at least three technical effects are achieved: avoiding the problem of data incoherence, ensuring the integrity of data transmission, and improving data transmission efficiency.
[0099] To facilitate technical personnel in the field to understand the working process, please refer to Figure 3 and Figure 4 , in each receiving and transmitting time slot, the vocal audio data (voc 1, voc 2...) acquired by the microphone is sent to the mixing module, and the accompaniment audio data (acc 1, acc 2...) acquired by the Bluetooth module is also sent to the mixing module, and the mixing module mixes the vocal audio data and the accompaniment audio data to form mixed audio data (mac 1, mac 2...). After several time slots in the first time period, the charging warehouse switches from the EDR time period to the ADV time period (that is, the second time period). In the second time period, the mixing module sends all the mixed audio data (mac-all) to the Bluetooth module, and the Bluetooth module broadcasts externally in the ADV time period. At this time, the Bluetooth headset and the Bluetooth speaker can obtain the broadcast audio data in the ADV time period and play it in their respective audio playback units. In this embodiment, the ADV time period is not further decomposed into time slots, but the ADV time period includes at least 2 time slots and more.
[0100] In the specific implementation process, the number of time slots in the first time period depends on the data processing capacity and timeliness of the charging warehouse. If the packet loss rate has a low impact, the number of time slots in the first time period can be appropriately increased. In this way, even if a data packet is lost, it will not cause serious auditory impact.
[0101] In order to realize the application of the first TWS headset 21 in multiple scenarios, such as the conventional headset mode and the karaoke mode of the present application, and to be able to switch back and forth between these scenarios, in an optional embodiment, different working modes are configured for the first TWS headset 21 to realize the communication configuration in different scenarios. Specifically, please refer to Figure 4 , the working mode of the first time period is the EDR mode, in which the first TWS headset 21 and the mobile terminal interact with each other and the mobile terminal disconnects the Bluetooth connection with other devices; the working mode of the second time period is the ADV mode, in which the first TWS headset 21 works in the broadcast mode to broadcast and transmit data externally. In this embodiment, by configuring different working modes for the first TWS headset 21, it is realized that the first TWS headset 21 can be used to switch its own working mode, and conveniently switch back and forth between the K song scene and the headset scene; it can also switch the mode of the Bluetooth headset, and conveniently switch back and forth between the K song scene and the headset scene. It should be noted that, based on the fact that the Bluetooth headset and the charging warehouse are usually from the same manufacturer, the manufacturer can customize the control instructions to modify the protocols of the Bluetooth headset and the charging warehouse to realize the control of the communication mode and communication object of the Bluetooth headset and the charging warehouse. It can be seen that in this embodiment, the user only needs one action to realize the switching control of multiple subjects in different scenes, which simplifies the user operation and improves the user experience.
[0102] In another embodiment, in step S400, the second communication mode is a forwarding mode; step S400 includes: forwarding karaoke audio data to a plurality of audio playback devices in the form of forwarding, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time. Specifically, in the forwarding mode, the first TWS headset 21 does not need to wait for the response information of the audio playback device; in the specific implementation process, the karaoke audio data can be forwarded to each audio playback device through the same channel.
[0103] In an optional embodiment, in step S100, the accompaniment audio data is received in a mode of alternating sending and receiving time slots; in step S400, all time slots work in a sending mode so that all time slots are used to forward karaoke audio data.
[0104] For the convenience of understanding by those skilled in the art, please refer to Figure 5 , Figure 5This is another audio data receiving and sending mixing timing diagram disclosed in this embodiment, wherein, in each time slot, the charging compartment or the first TWS earphone 21 sends the human voice audio data (voc) acquired by the microphone to the mixing module of the first TWS earphone 21, and the first TWS earphone 21 also sends the accompaniment audio data (acc) acquired by the Bluetooth module to the mixing module of the first TWS earphone 21, and the mixing module of the first TWS earphone 21 mixes the human voice audio data and the accompaniment audio data to form mixed audio data (mac). After one time slot, the first TWS earphone 21 forwards one mixed audio data (mac), and within this time period, the mixing module of the first TWS earphone 21 sends all the mixed audio data (mac) to the Bluetooth module of the first TWS earphone 21 in sequence, and the Bluetooth module of the first TWS earphone 21 forwards them to other Bluetooth devices in sequence.
[0105] In this application scenario, it can be understood that the second TWS headset and / or Bluetooth speaker can sequentially obtain the audio data forwarded by the first TWS headset and play it in their respective audio playback units. In the specific implementation process, multiple mixed audio data (mac) can also be forwarded uniformly after several time slots.
[0106] In another embodiment, other communication modules are further provided in the first TWS headset, and the other communication modules are different from the standard Bluetooth communication module in the first TWS headset; in step S400, the other communication modules are used to send karaoke audio data to several audio playback devices, so that the several audio playback devices play the karaoke audio data.
[0107] Specifically, other communication modules are implemented based on a private protocol so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of audio playback devices is more than one, they can all receive and play karaoke audio data at the same time.
[0108] In a specific embodiment, the other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
[0109] For the convenience of understanding by those skilled in the art, please refer to Figure 6 , Figure 6This is another audio data transmission and reception mixing timing diagram disclosed in this embodiment, wherein, in each time slot, the first TWS headset 21 sends the human voice audio data (voc) obtained by the microphone to the mixing module of the first TWS headset 21, and the first TWS headset 21 also sends the accompaniment audio data (acc) obtained by the Bluetooth module to the mixing module of the first TWS headset 21. The mixing module of the first TWS headset 21 mixes the human voice audio data and the accompaniment audio data to form mixed audio data (mac). After the second time slot, the first TWS headset 21 transmits 1 mixed audio data (mac) to other communication modules, and the other communication modules then send the mixed audio data (mac).
[0110] In this application scenario, it can be understood that the second TWS headset and / or Bluetooth speaker can sequentially obtain the audio data sent by the first TWS headset in other communication modules, and play it in their respective audio playback units.
[0111] In order to visually present lyrics to users and improve user experience, this embodiment also discloses a data transmission method based on a charging bin, which is applied to a karaoke system composed of a first TWS headset and a mobile terminal. Please refer to Figure 1 The karaoke system further includes a lyrics board 4, and data is exchanged between the lyrics board 4 and the mobile terminal 3. The data transmission method includes:
[0112] The first TWS headset executes the method disclosed in the above embodiment; during the execution of step S400 by the first TWS headset, the mobile terminal sends the lyrics corresponding to the accompaniment audio data to the lyrics board; the lyrics board synchronously displays the lyrics during the execution of step S400 by the first TWS headset.
[0113] This embodiment also discloses an audio mixing and data transmission device based on headphones, which is applied to a first TWS headset. The first TWS headset, a mobile terminal and an audio playback device form a karaoke system for data interaction. Figure 7 , Figure 7 The structure diagram of an audio mixing and data transmission device based on headphones disclosed in this embodiment includes: an accompaniment receiving module 100, a human voice acquisition module 200, a mixing processing module 300, a mixing sending module 400 and a switching module 500, wherein:
[0114] The accompaniment receiving module 100 is used to receive the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when the receiving time slot arrives, and send ACK / NACK response information to the mobile terminal when the response time slot arrives;
[0115] The human voice acquisition module 200 is used to acquire human voice audio data collected by a handheld microphone, wherein the microphone is built into the charging compartment or built into the first TWS headset;
[0116] The mixing processing module 300 is used to mix the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data;
[0117] The audio mixing sending module 400 is used to send the karaoke audio data to the audio playback device simultaneously in the second communication mode, so that the audio playback device plays the karaoke audio data, and when the number of audio playback devices is more than one, all of them can receive and play the karaoke audio data simultaneously;
[0118] The switching module 500 is used to directly switch to the first communication mode and re-execute the modules 100 to 400 without waiting for the response information of the audio playback device.
[0119] In an optional embodiment, a handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of a first TWS earphone and a second TWS earphone, and / or a Bluetooth speaker.
[0120] In an optional embodiment, the handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headset.
[0121] In an optional embodiment, in the mixed audio sending module 400, the second communication mode is a broadcast mode;
[0122] The mixing sending module 400 is specifically used to broadcast karaoke audio data to several audio playback devices in the form of broadcasting, so that the several audio playback devices play the karaoke audio data, and when the number of the several audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
[0123] In an optional embodiment, the accompaniment receiving module 100 and the vocal acquisition module 200 work in a first period, and the mixing sending module 400 works in a second period;
[0124] In the accompaniment receiving module 100, the accompaniment audio data is received by operating in a mode of alternating sending and receiving time slots in a first time period;
[0125] In the mixing sending module 400, the second time period works in the sending mode throughout the entire period, so that the second time period is entirely used to broadcast karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive karaoke audio data.
[0126] In an optional embodiment, the working mode in the first time period is an EDR mode, and the EDR mode is that data is interacted between the first TWS headset and the mobile terminal and the mobile terminal disconnects the Bluetooth connection with other devices;
[0127] The working mode in the second time period is ADV mode. In ADV mode, the first TWS headset works in broadcast mode to broadcast and transmit data externally.
[0128] In an optional embodiment, in the mixed audio sending module 400, the second communication mode is a forwarding mode;
[0129] The mixing and sending module 400 includes: forwarding the karaoke audio data to several audio playback devices in the form of forwarding, so that the several audio playback devices play the karaoke audio data, and when the number of the several audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
[0130] In an optional embodiment, in the accompaniment receiving module 100, the accompaniment audio data is received by operating in a mode of alternating sending and receiving time slots;
[0131] In the audio mixing and sending module 400, all time slots work in the sending mode, so that all time slots are used to forward the karaoke audio data.
[0132] In an optional embodiment, the first TWS headset is further provided with other communication modules, which are different from the standard Bluetooth communication module in the first TWS headset;
[0133] In the audio mixing and sending module 400, other communication modules are used to send the karaoke audio data to several audio playing devices, so that the several audio playing devices play the karaoke audio data.
[0134] In an optional embodiment, other communication modules are implemented based on a private protocol so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of audio playback devices is more than one, they can all receive and play karaoke audio data at the same time.
[0135] In an optional embodiment, the other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
[0136] This embodiment also discloses a Bluetooth headset, including:
[0137] The method disclosed in the above embodiment is used to perform audio mixing and transmission, or the device disclosed in the above embodiment is included.
[0138] This embodiment also discloses a chip for a Bluetooth headset, which has an integrated circuit thereon. The integrated circuit is designed to implement the method disclosed in the above embodiment.
[0139] This embodiment also discloses an audio mixing transmission system based on a charging compartment, including:
[0140] The first TWS headset uses the method disclosed in the above embodiment to perform audio mixing and transmission, or includes the device disclosed in the above embodiment.
[0141] According to an audio mixing and data transmission method, device and system based on headphones disclosed in an embodiment of the present invention, a first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction, and receive the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when the receiving time slot arrives, and send ACK / NACK response information to the mobile terminal when the response time slot arrives, and collect human voice audio data through a handheld microphone built into a charging bin or the first TWS headset; then mix and process to obtain the mixed karaoke audio data; and simultaneously send the karaoke audio data to the audio playback device in a second communication mode, so that the audio playback device plays the karaoke audio data. Since the human voice audio data is collected by the handheld microphone built into the charging bin or the first TWS headset, there is no need to carry an additional microphone, thereby reducing the number of devices in the karaoke system, and since the karaoke audio data is sent to the audio playback device at the same time, when the number of audio playback devices is more than one, all can receive and play the karaoke audio data at the same time, thereby improving the user experience. In the second communication mode, after sending the karaoke audio data, it directly switches to the first communication mode to start a new round of data collection. That is, after sending the karaoke audio data, it will not wait for the response information, thereby eliminating the data retransmission link, and therefore, it can reduce the lag phenomenon during the playback of the karaoke audio data.
[0142] In addition, the present invention also provides a computer-readable storage medium, such as a chip, a CD, etc., on which an execution program is stored. When the execution program is executed, any of the methods described above is implemented.
[0143] It should be noted that the computer-readable storage medium described in the embodiments of the present disclosure is not limited to the above-mentioned embodiments, and may also be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0144] It will be appreciated by those skilled in the art that, under the premise of no conflict, the above-mentioned preferred solutions can be freely combined and superimposed. Among them, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings, for example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. The numbering of each step in this article is only for the convenience of description and reference, and is not used to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various allowable and reasonable orders based on the technology itself.
[0145] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in the present invention is only for the purpose of convenience and brevity of description, and is by no means intended to limit the order of these method steps by letters or numbers. Those skilled in the art will understand that the order of the relevant method steps should be determined by the technology itself and should not be inappropriately limited by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable step orders based on the technology itself.
[0146] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0147] It should be understood that the above-mentioned embodiments are merely illustrative and not restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will all be included in the scope of the claims of the present invention.
Claims
1. An audio mixing and data transmission method based on headphones, applied to a first TWS headset, wherein the first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction, characterized in that: The method comprises: Step S100, receiving the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when a receiving time slot arrives, and sending ACK / NACK response information to the mobile terminal when a response time slot arrives; Step S200, obtaining human voice audio data collected by a handheld microphone, wherein the microphone is built into the charging compartment or built into the first TWS headset; Step S300, mixing the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data; Step S400, sending the karaoke audio data to the audio playback device simultaneously in a second communication mode, so that the audio playback device plays the karaoke audio data, and when the number of the audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data; Step S500, directly switching to the first communication mode and re-executing steps S100 to S400 without waiting for the response information of the audio playback device.
2. The method for audio mixing and data transmission based on headphones as claimed in claim 1, characterized in that: The handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of the first TWS earphone and the second TWS earphone, and / or a Bluetooth speaker.
3. The method for audio mixing and data transmission based on headphones as claimed in claim 1, characterized in that: The handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headset.
4. The method for audio mixing and data transmission based on headphones according to any one of claims 1 to 3, characterized in that: In the step S400, the second communication mode is a broadcast mode; The step S400 includes: broadcasting the karaoke audio data to a plurality of audio playback devices in the form of broadcasting, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
5. The method for audio mixing and data transmission based on headphones as claimed in claim 4, characterized in that: The step S100 and the step S200 are performed in a first period, and the step S400 is performed in a second period; In the step S100, the accompaniment audio data is received in a mode of alternating sending and receiving time slots during the first time period; In the step S400, the second time period operates in the sending mode throughout the entire period, so that the second time period is entirely used to broadcast the karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that the several audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive the karaoke audio data.
6. The method for audio mixing and data transmission based on headphones as claimed in claim 4, characterized in that: The working mode of the first time period is an EDR mode, in which data is exchanged between the first TWS headset and the mobile terminal and the mobile terminal disconnects the Bluetooth connection with other devices; The working mode of the second time period is the ADV mode, and the ADV mode is that the first TWS headset works in a broadcast mode to broadcast and transmit data externally.
7. The method for audio mixing and data transmission based on headphones according to any one of claims 1 to 3, characterized in that: In the step S400, the second communication mode is a forwarding mode; The step S400 includes: forwarding the karaoke audio data to a plurality of audio playback devices in the form of forwarding, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
8. The method for audio mixing and data transmission based on headphones as claimed in claim 7, characterized in that: In the step S100, the accompaniment audio data is received in a mode of alternating sending and receiving time slots; In the step S400, all time slots operate in a sending mode so that all time slots are used to forward the karaoke audio data.
9. The method for audio mixing and data transmission based on headphones according to any one of claims 1 to 3, characterized in that: The first TWS headset is further provided with another communication module, and the other communication module is different from the standard Bluetooth communication module in the first TWS headset; In the step S400, the karaoke audio data is sent to a plurality of audio playback devices by using the other communication modules, so that the plurality of audio playback devices play the karaoke audio data.
10. The method for audio mixing and data transmission based on headphones as claimed in claim 9, characterized in that: The other communication modules are implemented based on a private protocol so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of the multiple audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
11. The method for audio mixing and data transmission based on headphones as claimed in claim 10, characterized in that: The other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
12. A data transmission method based on a charging compartment, applied to a karaoke system composed of a first TWS headset and a mobile terminal, characterized in that: The method comprises: The first TWS headset performs the method as claimed in any one of claims 1 to 9; During the execution of step S400 by the first TWS headset, the mobile terminal sends the lyrics corresponding to the accompaniment audio data to the lyrics board; The lyrics board synchronously displays the lyrics while the first TWS headset executes step S400.
13. An audio mixing and data transmission device based on headphones, applied to a first TWS headset, wherein the first TWS headset, a mobile terminal and an audio playback device constitute a karaoke system for data interaction, characterized in that: The device comprises: An accompaniment receiving module (100) is used to receive the accompaniment audio data sent by the mobile terminal in a first communication mode according to the Bluetooth standard protocol when a receiving time slot arrives, and to send ACK / NACK response information to the mobile terminal when a response time slot arrives; A human voice acquisition module (200), used to acquire human voice audio data collected by a handheld microphone, wherein the microphone is built into the charging compartment or built into the first TWS headset; A mixing processing module (300) is used to mix the accompaniment audio data and the vocal audio data to obtain mixed karaoke audio data; A mixing sending module (400) is used to send the karaoke audio data to the audio playback device simultaneously in a second communication mode, so that the audio playback device plays the karaoke audio data, and when the number of the audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data; A switching module (500) is used to directly switch to the first communication mode and re-execute the module (100 to the module (400) without waiting for the response information of the audio playback device.
14. The headphone-based audio mixing and data transmission device according to claim 13, characterized in that: The handheld microphone is built into the charging compartment; the audio playback device is a pair of headphones consisting of the first TWS earphone and the second TWS earphone, and / or a Bluetooth speaker.
15. The headphone-based audio mixing and data transmission device according to claim 13, characterized in that: The handheld microphone is built into the first TWS headset; the audio playback device is a Bluetooth speaker and / or other headset.
16. The headphone-based audio mixing and data transmission device according to any one of claims 13 to 15, characterized in that: In the mixed audio sending module (400), the second communication mode is a broadcast mode; The mixing sending module (400) is specifically used to broadcast the karaoke audio data to a plurality of audio playback devices in the form of a broadcast, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
17. The headphone-based audio mixing and data transmission device according to claim 16, characterized in that: The accompaniment receiving module (100) and the human voice obtaining module (200) operate in a first period, and the mixed sound sending module (400) operates in a second period; In the accompaniment receiving module (100), in the first time period, the module operates in a mode of alternating sending and receiving time slots to receive the accompaniment audio data; In the mixing sending module (400), the second time period operates in the sending mode throughout the entire time period, so that the second time period is entirely used to broadcast the karaoke audio data; and the duration of the second time period is at least 2 Bluetooth standard communication time slots, so that the plurality of audio playback devices can use at least 2 Bluetooth standard communication time slots to scan and receive the karaoke audio data.
18. The headphone-based audio mixing and data transmission device according to claim 16, characterized in that: The working mode of the first time period is an EDR mode, in which data is exchanged between the first TWS headset and the mobile terminal and the mobile terminal disconnects the Bluetooth connection with other devices; The working mode of the second time period is the ADV mode, and the ADV mode is that the first TWS headset works in a broadcast mode to broadcast and transmit data externally.
19. The headphone-based audio mixing and data transmission device according to any one of claims 13 to 15, characterized in that: In the mixed audio sending module (400), the second communication mode is a forwarding mode; The mixing sending module (400) includes: forwarding the karaoke audio data to a plurality of audio playback devices in the form of forwarding, so that the plurality of audio playback devices play the karaoke audio data, and when the number of the plurality of audio playback devices is more than one, all of them can simultaneously receive and play the karaoke audio data.
20. The headphone-based audio mixing and data transmission device according to claim 19, characterized in that: In the accompaniment receiving module (100), the accompaniment audio data is received by operating in a mode of alternating sending and receiving time slots; In the audio mixing sending module (400), all time slots operate in a sending mode, so that all time slots are used to forward the karaoke audio data.
21. The headphone-based audio mixing and data transmission device according to any one of claims 13 to 15, characterized in that: The first TWS headset is further provided with another communication module, and the other communication module is different from the standard Bluetooth communication module in the first TWS headset; In the mixing sending module (400), the other communication modules are used to send the karaoke audio data to a plurality of audio playing devices, so that the plurality of audio playing devices play the karaoke audio data.
22. The headphone-based audio mixing and data transmission device according to claim 21, characterized in that: The other communication modules are implemented based on a private protocol so that the first TWS headset can establish communication with multiple audio playback devices at the same time, so that when the number of the multiple audio playback devices is more than one, they can all receive and play the karaoke audio data at the same time.
23. The headphone-based audio mixing and data transmission device according to claim 21, characterized in that: The other communication module is any one of WiFi, UWB and other 2.4G private protocol communication modules.
24. A Bluetooth headset, characterized in that: include: The method according to any one of claims 1-11 is used to perform audio mixing and transmission, or the device according to any one of claims 13-23 is included.
25. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program stored in the storage medium is used to be executed by a processor to implement the method according to any one of claims 1 to 11.
26. A chip for a Bluetooth headset having an integrated circuit thereon, characterized in that: The integrated circuit is designed to implement the method according to any one of claims 1-11.
27. An audio mixing transmission system based on a charging compartment, comprising: The first TWS headset uses the method described in any one of claims 1-11 to perform audio mixing and transmission, or includes the device described in any one of claims 13-23.