Bluetooth-based audio data providing method, device, charging device and system

By using a private communication link in the charging device to transmit decoded audio data packets, it solves the problems of bandwidth waste and data intermittent when true wireless Bluetooth headsets communicate with external terminals, and improves the high-definition playback quality of the headsets.

CN111436046BActive Publication Date: 2024-09-06ZHUHAI JIELI TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010038923.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-14
Publication Date
2024-09-06
Estimated Expiration
2040-01-14

AI Technical Summary

Technical Problem

When existing true wireless Bluetooth headsets communicate with external terminals, due to the limitations of the Bluetooth standard protocol, bandwidth waste of audio data packets and data reception are intermittent, affecting high-definition playback quality.

Method used

By establishing a link with an external terminal according to the Bluetooth standard protocol in the charging device, after receiving and decoding the audio data packet, the data packet is encoded using a private encoding method and sent through the private communication link, bypassing the time slot limit of the Bluetooth protocol and achieving coherent data transmission.

Benefits of technology

It reduces the intermittent phenomenon of audio data packets, improves the high-definition playback quality of wireless Bluetooth playback devices, and improves the consistency and accuracy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111436046B
    Figure CN111436046B
Patent Text Reader

Abstract

The present invention discloses a method, device, charging device and system for providing audio data based on Bluetooth, wherein the method comprises: receiving multiple first audio data packets sent by an external terminal through a Bluetooth communication link; decoding each of the multiple first audio data packets according to a decoding method corresponding to the coding format to obtain multiple decoded first audio data packets; encoding the decoded multiple first audio data packets according to a private coding method to obtain a second audio data packet, wherein the private coding method is related to a private communication protocol; and sending the second audio data packet to a wireless Bluetooth playback device through a private communication link. The wireless Bluetooth playback device is enabled to receive coherent audio data, reducing the discontinuity of the audio data packets, and then improving the high-definition playback quality of the wireless Bluetooth playback device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Bluetooth audio data transmission, and in particular to a method, device, charging equipment and system for providing audio data based on Bluetooth. Background Art

[0002] True wireless Bluetooth headsets (TWS) are becoming more and more widely used. They generally use Bluetooth communication to interact with external terminals. As true wireless Bluetooth headsets are gradually and widely used, users have higher and higher demands for the sound quality of TWS. As we all know, the high-definition sound quality of Bluetooth headsets is related to the audio format and transmission method.

[0003] Since existing true wireless Bluetooth headsets generally use Bluetooth communication to receive audio data from external terminals, the true wireless Bluetooth headsets need to comply with standard Bluetooth communication protocols when communicating with external terminals.

[0004] In the prior art, the master and slave Bluetooth headsets establish a Bluetooth communication link with an external terminal according to the Bluetooth standard protocol, and then the external terminal sends audio data packets to the master and slave Bluetooth headsets, and the master and slave Bluetooth headsets receive and monitor the audio data packets through their respective Bluetooth links. During the process of sending and receiving audio data packets, due to the limitations of the Bluetooth standard protocol, the external terminal needs to switch to a receiving state after sending a data packet in each standard time slot to determine the receiving status of the master and slave Bluetooth headsets. During the period of switching to the receiving state, the external terminal cannot send audio data to the master and slave Bluetooth headsets.

[0005] For the master and slave Bluetooth headsets, they also need to switch the sending and receiving states according to the standard protocol, receive the audio data packets from the external terminal in the receiving state, and then respond to the external terminal with ACK / NACK responses. On the one hand, such a switching process will lead to bandwidth waste. On the other hand, since the external terminal and the master and slave Bluetooth headsets constantly switch the sending and receiving states, data reception will be intermittent and incoherent, thus affecting the high-definition playback quality of the headset.

[0006] Therefore, how to overcome the limitations of the Bluetooth standard protocol in the existing technology and reduce the intermittent phenomenon caused by bandwidth waste when providing audio data packets to true wireless Bluetooth headsets to improve the high-definition playback quality of the headset has become a technical problem that needs to be solved urgently. Summary of the invention

[0007] Based on the above situation, the main purpose of the present invention is to provide a Bluetooth-based audio data providing method, device, charging device and system to reduce the intermittent phenomenon caused by bandwidth waste when providing audio data packets to true wireless Bluetooth headsets, thereby improving the high-definition playback quality of the headsets.

[0008] To achieve the above-mentioned purpose, according to a first aspect, an embodiment of the present invention discloses a method for providing audio data based on Bluetooth, the method for providing is performed by a charging device of a wireless Bluetooth playback device, and the method for providing includes:

[0009] Step S101: Establish a Bluetooth communication link with an external terminal according to the Bluetooth communication standard protocol; Step S103: Establish a private communication link with a wireless Bluetooth playback device according to a private communication protocol, and the private communication link can transmit data continuously across time slots; Step S105: Receive multiple first audio data packets sent by the external terminal through the Bluetooth communication link, and the first audio data packets are encoded using a preset encoding format; Step S107: Decode each of the multiple first audio data packets according to a decoding method corresponding to the encoding format to obtain multiple decoded first audio data packets; Step S109: Encode the decoded multiple first audio data packets according to a private encoding method to obtain a second audio data packet, and the private encoding method is related to the private communication protocol; and Step S111: Send the second audio data packet to the wireless Bluetooth playback device through the private communication link.

[0010] Optionally, between step S105 and step S107, the method further includes: step S108: storing a plurality of first audio data packets; and step S107 includes: decoding each first audio data packet of the plurality of stored audio data packets.

[0011] Optionally, step S107 includes: after receiving the audio data packet file, decoding each first audio data packet of the plurality of first audio data packets, the audio data packet file including a plurality of first audio data packets.

[0012] Optionally, between step S105 and step S107, it also includes: after completing the reception of the audio data packet file, disconnecting the Bluetooth communication link established with the external terminal; step S107 includes: after disconnecting the Bluetooth communication link established with the external terminal, decoding each first audio data packet of the plurality of first audio data packets.

[0013] Optionally, the method further includes: locally reading a local audio file provided by an external device, where the local audio file includes a plurality of first audio data packets.

[0014] Optionally, before step S107, the method further includes: step S106: receiving an audio data request sent by a wireless Bluetooth playback device, where the audio data request is used to indicate a request for an audio data packet file or a local audio file; and step S107 includes: decoding each of the plurality of first audio data packets based on the audio data request.

[0015] Optionally, step S106 includes: receiving voice information sent by the wireless Bluetooth playback device; and parsing the voice information to obtain an audio data request.

[0016] According to the second aspect, an embodiment of the present invention discloses a Bluetooth-based audio data providing device, which is arranged in a charging device of a wireless Bluetooth playback device, and the providing device includes: a Bluetooth link establishment module, which is used to establish a Bluetooth communication link with an external terminal according to a Bluetooth communication standard protocol; a private link establishment module, which is used to establish a private communication link with the wireless Bluetooth playback device according to a private communication protocol, and the private communication link can transmit data continuously across time slots; a data receiving module, which is used to receive multiple first audio data packets sent by an external terminal through a Bluetooth communication link, and the first audio data packets are encoded using a preset encoding format; a first encoding and decoding module, which is used to decode each first audio data packet of the multiple first audio data packets according to a decoding method corresponding to the encoding format to obtain multiple decoded first audio data packets; a second encoding and decoding module, which is used to encode the decoded multiple first audio data packets according to a private encoding method to obtain a second audio data packet; and a data sending module, which is used to send the second audio data packet to the wireless Bluetooth playback device through the private communication link.

[0017] According to the third aspect, an embodiment of the present invention discloses a charging device for a wireless Bluetooth playback device, comprising: a Bluetooth communication module for interacting with an external terminal for Bluetooth data; a private communication module for interacting with the wireless Bluetooth playback device for audio data; and a controller for implementing any method of the above-mentioned first aspect.

[0018] Optionally, the charging device is a wireless Bluetooth headset charging box.

[0019] According to a fourth aspect, an embodiment of the present invention discloses a charging device chip having an integrated circuit thereon, and the integrated circuit is used to implement any method of the above-mentioned first aspect.

[0020] According to a fifth aspect, an embodiment of the present invention discloses a computer-readable storage medium, in which a computer program stored is used to be executed to implement any method of the above-mentioned first aspect.

[0021] According to the sixth aspect, an embodiment of the present invention discloses a Bluetooth-based audio playback system, comprising: a sound source device, used to provide a first audio data packet; a charging device arbitrarily disclosed in the above third aspect, used to receive the first audio data packet via a Bluetooth communication link; and a wireless Bluetooth playback device, used to receive and play a second audio data packet provided by the charging device via a private communication link, and the private communication link can transmit data continuously across time slots.

[0022] Optionally, the audio source device is a mobile terminal.

[0023] Optionally, the wireless Bluetooth playback device is a wireless Bluetooth headset, and the charging device is a charging box that is compatible with the wireless Bluetooth headset.

[0024] According to the Bluetooth-based audio data providing method, device, charging device and system provided by the embodiments of the present invention, the charging device end establishes a Bluetooth communication link with the external terminal according to the Bluetooth standard protocol. Therefore, multiple first audio data packets sent by the external terminal can be received according to the standard protocol; after receiving the multiple first audio data packets, the multiple first audio data packets are decoded according to the corresponding decoding method, and then, they can be encoded according to the private encoding method to obtain the second audio data packet; the wireless Bluetooth playback device and the charging device can have a private communication link. Therefore, the second audio data packet can be sent to the wireless Bluetooth playback device through the private communication link, and when providing audio data to the wireless Bluetooth playback device, it is not subject to the time slot restriction of the Bluetooth communication protocol, so that the wireless Bluetooth playback device can receive coherent audio data, reducing the discontinuity of the audio data packet, and then the high-definition playback quality of the wireless Bluetooth playback device can be improved.

[0025] As an optional solution, after receiving the audio data packet file, each first audio data packet is decoded, so that the first audio data packets can be decoded and sent in a concentrated time to avoid interference from received data, thereby improving the continuity of data transmission.

[0026] As an optional solution, after receiving the audio data packet file, disconnecting the Bluetooth communication link established with the external terminal can reduce interference from the external terminal when sending the second audio data packet to the wireless Bluetooth playback device, thereby improving the accuracy of data transmission.

[0027] 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

[0028] The following will describe an embodiment of the present invention with reference to the accompanying drawings.

[0029] Figure 1 A flowchart of a method for providing audio data based on Bluetooth disclosed in this embodiment;

[0030] Figure 2 A schematic diagram of the structure of a Bluetooth-based audio data providing device disclosed in this embodiment;

[0031] Figure 3 A schematic diagram of the structure of a charging device for a wireless Bluetooth playback device disclosed in this embodiment;

[0032] Figure 4 The figure is a schematic diagram of the structure of a Bluetooth-based audio playback system disclosed in this embodiment. DETAILED DESCRIPTION

[0033] In order to reduce the discontinuity caused by bandwidth waste when providing audio data packets to true wireless Bluetooth headsets and improve the high-definition playback quality of the headsets, this embodiment discloses a Bluetooth-based audio data providing method, which is executed by a charging device of a wireless Bluetooth playback device. Figure 1 , is a flow chart of a method for providing audio data based on Bluetooth disclosed in this embodiment, and the method for providing audio data includes:

[0034] Step S101: Establishing a Bluetooth communication link with an external terminal according to the Bluetooth communication standard protocol. In this example, the charging device of the wireless Bluetooth playback device has a built-in Bluetooth communication module, and the Bluetooth communication module can be implemented using existing Bluetooth technology. In a specific embodiment, the charging device can initiate the establishment of a Bluetooth communication link with an external terminal, and the external terminal can also initiate the establishment of a Bluetooth communication link with the charging device.

[0035] Step S103: Establish a private communication link with the wireless Bluetooth playback device according to a private communication protocol. In this embodiment, the private communication link can transmit data continuously across time slots. In a specific embodiment, the wireless Bluetooth playback device can be, for example, a wireless Bluetooth headset. In this embodiment, the charging device is matched with the wireless Bluetooth playback device, so there can be a private communication link between the charging device and the wireless Bluetooth playback device; and, generally speaking, the communication between the charging device and the wireless Bluetooth playback device belongs to internal communication, so in the specific implementation process, the private communication link can be determined according to the actual needs. The communication protocol is not limited by the standard communication protocol. For example, the charging device can continuously provide audio data packets to the wireless Bluetooth playback device across time slots. For another example, the lost data can also be corrected centrally, thereby improving the consistency of data processing. In other embodiments, the wireless Bluetooth playback device can also be a playback device such as a wireless Bluetooth speaker.

[0036] In a specific embodiment, the private communication link may be a communication connection in the 2.4 GHz frequency band. It should be noted that in the specific implementation process, the private communication link may also be a Bluetooth communication connection, and the communication protocol only needs to be adjusted according to actual needs so that the private communication protocol meets the actual communication needs.

[0037] It should be noted that, in this embodiment, the execution order of step S103 is not limited, as long as the establishment of the private communication link is completed before the second audio data packet is sent to the wireless Bluetooth playback device.

[0038] Step S105: receiving a plurality of first audio data packets sent by an external terminal via a Bluetooth communication link. In this embodiment, the first audio data packets are encoded using a preset encoding format. In a specific embodiment, the preset encoding format may be, for example, MP3, WMA, WAV, FLAC, AAC, M4A, OGG, etc. In this embodiment, the number of the first audio data packets may be determined as needed.

[0039] Step S107: Decode each of the first audio data packets of the plurality of first audio data packets in a decoding manner corresponding to the encoding format to obtain a plurality of decoded first audio data packets. In a specific embodiment, based on the Bluetooth standard protocol, when the external terminal sends the first audio data packet to the charging device, the first audio data packet is usually sent one by one. Therefore, in the specific implementation process, after receiving the first audio data packet sent by the external terminal, the first audio data packet can be stored in the memory, and when the number of the first audio data packets reaches a preset number, each of the first audio data packets of the plurality of first audio data packets is decoded. Of course, in some embodiments, each received first audio data packet can be decoded to obtain a decoded first audio data packet.

[0040] Step S109: Encode the decoded multiple first audio data packets according to a private encoding method to obtain a second audio data packet. In this embodiment, the so-called private encoding method refers to a customized encoding method. In the specific implementation process, the private encoding method can be determined based on the private communication protocol so that the audio data can be transmitted coherently on the private communication link. It should be noted that this embodiment does not limit the specific form of the private encoding method. In the specific implementation process, the capacity of the second audio data packet can be determined based on the private communication protocol. Specifically, in general, the number of the re-encoded second audio data packets should be less than the number of the multiple first audio data packets; in some cases, the number of the re-encoded second audio data packets can also be equal to or more than the number of the multiple first audio data packets. Specifically, those skilled in the art can make appropriate adjustments based on the private communication protocol.

[0041] Step S111: Send the second audio data packet to the wireless Bluetooth playback device via the private communication link. In this embodiment, after encoding multiple first audio data packets to form a second audio data packet, multiple first audio data packets belonging to the same second audio data packet can be transmitted coherently.

[0042] In an optional embodiment, between step S105 and step S107, the following is further included:

[0043] Step S108: storing a plurality of first audio data packets. In a specific embodiment, the first audio data packets may be temporarily stored or permanently stored in a memory.

[0044] Step S107 includes: decoding each first audio data packet of the plurality of stored audio data packets.

[0045] In this embodiment, by storing multiple first audio data packets and then decoding the stored multiple audio data packets, decoding can be achieved by locally reading the first audio data packet. Compared with the method of obtaining the first audio data packet online and decoding it, the solution of this embodiment can improve decoding efficiency and reduce the probability of decoding errors.

[0046] In an optional embodiment, decoding may also be performed after receiving all first audio data packets related to the audio file, that is, when executing step S107, it may include: after completing the reception of the audio data packet file, decoding each first audio data packet of multiple first audio data packets. In this embodiment, the audio data packet file includes multiple first audio data packets. As an example, a song in an external terminal contains multiple first audio data packets. All first audio data packets of the song sent by the external terminal are received via a Bluetooth communication link, and these first audio data packets are stored. After completing the reception of all first audio data packets, these first audio data packets are read locally and decoded to obtain all decoded audio data of the song.

[0047] In this embodiment, after receiving the audio data packet file, each first audio data packet is decoded, and the first audio data packets can be decoded and sent in a concentrated time to avoid interference from received data, thereby improving the continuity of data transmission.

[0048] In order to reduce the signal interference caused by the external terminal sending data to the charging device and interfere with the data interaction between the charging device and the wireless Bluetooth playback device, in an optional embodiment, between step S105 and step S107, it also includes: after completing the reception of the audio data packet file, disconnecting the Bluetooth communication link established with the external terminal; step S107 includes: after disconnecting the Bluetooth communication link established with the external terminal, decoding each first audio data packet of multiple first audio data packets; and then encoding to form a second audio data packet and sending it to the wireless Bluetooth playback device.

[0049] In this embodiment, after receiving the audio data packet file, the Bluetooth communication link established with the external terminal is disconnected, which can reduce interference from the external terminal when sending the second audio data packet to the wireless Bluetooth playback device and improve the accuracy of data transmission.

[0050] In order to enrich the channels for obtaining audio files, in an optional embodiment, a local audio file provided by an external device can also be read locally. Specifically, the audio data providing method also includes: locally reading a local audio file provided by an external device, and the local audio file includes a plurality of first audio data packets. In this embodiment, the difference between the local audio file and the above-mentioned audio data packet file lies in the different acquisition methods. The audio data packet file refers to an audio file obtained through a Bluetooth communication link, and the local audio file refers to an audio file obtained by local reading. In a specific embodiment, the so-called external device refers to a storage medium device with a storage function, such as a U disk, a TF card, an SD card, etc.; it can also be other terminals that can be connected to a charging device through data cables such as USB, miniUSB, etc., and the charging device obtains audio files from the terminal through data cables such as USB, miniUSB, etc.

[0051] In order to control the sending of audio data to the wireless Bluetooth playback device, in an optional embodiment, before step S107, the method further includes:

[0052] Step S106: receiving an audio data request sent by the wireless Bluetooth playback device. In this embodiment, the audio data request is used to indicate a request for an audio data packet file or a local audio file; in the specific implementation process, the wireless Bluetooth playback device may provide the audio data request by physical buttons, by touch, or by voice. Specifically, providing the audio data request by voice includes: receiving voice information sent by the wireless Bluetooth playback device; parsing the voice information to obtain the audio data request.

[0053] Step S107 includes: decoding each first audio data packet of the plurality of first audio data packets based on the audio data request.

[0054] In this embodiment, after receiving the audio data request sent by the wireless Bluetooth playback device, the first audio data packet is decoded and the second audio data packet is encoded and sent, so that the controllability of sending the second audio data packet can be achieved.

[0055] This embodiment also discloses a Bluetooth-based audio data providing device, which is used as a charging device for wireless Bluetooth playback devices. Figure 2 , is a schematic diagram of the structure of a Bluetooth-based audio data providing device disclosed in this embodiment, the audio data providing device includes: a Bluetooth link establishment module 201, a private link establishment module 202, a data receiving module 203, a first encoding and decoding module 204, a second encoding and decoding module 205 and a data sending module 206, wherein:

[0056] The Bluetooth link establishment module 201 is used to establish a Bluetooth communication link with an external terminal according to the Bluetooth communication standard protocol; the private link establishment module 202 is used to establish a private communication link with a wireless Bluetooth playback device according to a private communication protocol, and the private communication link can transmit data continuously across time slots; the data receiving module 203 is used to receive multiple first audio data packets sent by an external terminal through the Bluetooth communication link, and the first audio data packets are encoded using a preset encoding format; the first codec module 204 is used to decode each of the multiple first audio data packets according to a decoding method corresponding to the encoding format to obtain multiple decoded first audio data packets; the second codec module 205 is used to encode the decoded multiple first audio data packets according to a private encoding method to obtain a second audio data packet; the data sending module 206 is used to send the second audio data packet to the wireless Bluetooth playback device through the private communication link.

[0057] This embodiment also discloses a charging device for a wireless Bluetooth player. Figure 3 , is a schematic diagram of the structure of a charging device for a wireless Bluetooth playback device disclosed in this embodiment, the charging device includes: a Bluetooth communication module, a private communication module and a controller, wherein:

[0058] The Bluetooth communication module is used to interact with external terminals for Bluetooth data; the private communication module is used to interact with wireless Bluetooth playback devices for audio data; the controller is used to implement the method disclosed in any of the above embodiments. In a specific embodiment, the controller can be implemented by executing software through a processor with arithmetic processing functions, or by hardware, or by the combination of hardware and software.

[0059] In an optional embodiment, the charging device is a wireless Bluetooth headset charging box.

[0060] This embodiment also discloses a charging device chip, which has an integrated circuit thereon, and the integrated circuit is designed to implement any of the methods described in the above embodiments. Taking the charging box as an example, the integrated circuit thereon includes a Bluetooth communication module, a private communication module and a processor, wherein: the Bluetooth communication module is used to interact with an external terminal for Bluetooth data; the private communication module is used to interact with a wireless Bluetooth playback device for audio data; the processor can be a microcontroller chip with certain data processing capabilities, such as a DSP, a single-chip microcomputer, etc.; the processor is used to execute a program to implement the method disclosed in any of the above embodiments. According to the content disclosed in the above embodiments, those skilled in the art should be aware of the appropriate deletion or integrated reuse of the modules of the integrated circuit in the above chip.

[0061] This embodiment further discloses a computer-readable storage medium on which a computer program is stored. The computer program stored in the storage medium is used to be executed to implement the method disclosed in any of the above embodiments.

[0062] This embodiment also discloses a Bluetooth-based audio playback system, please refer to Figure 4 , is a schematic diagram of a Bluetooth-based audio playback system disclosed in this embodiment, the Bluetooth-based audio playback system includes: an audio source device 401, a charging device 402 and a wireless Bluetooth playback device 403, wherein:

[0063] The audio source device 401 is used to provide a first audio data packet; the charging device 402 is used to receive the first audio data packet via a Bluetooth communication link; the wireless Bluetooth playback device 403 is used to receive and play a second audio data packet provided by the charging device via a private communication link, and the private communication link can transmit data continuously across time slots.

[0064] In an optional embodiment, the audio source device is a mobile terminal, such as a mobile phone, a tablet, a notebook, a music player, etc.

[0065] In an optional embodiment, the wireless Bluetooth playback device is a wireless Bluetooth headset, and the charging device is a charging box that is compatible with the wireless Bluetooth headset.

[0066] According to the Bluetooth-based audio data providing method, device, charging device and system provided in this embodiment, the charging device end establishes a Bluetooth communication link with the external terminal according to the Bluetooth standard protocol. Therefore, multiple first audio data packets sent by the external terminal can be received according to the standard protocol; after receiving the multiple first audio data packets, the multiple first audio data packets are decoded according to the corresponding decoding method, and then, they can be encoded according to the private encoding method to obtain the second audio data packet; the wireless Bluetooth playback device and the charging device can have a private communication link. Therefore, the second audio data packet can be sent to the wireless Bluetooth playback device through the private communication link, and when providing audio data to the wireless Bluetooth playback device, it is not subject to the time slot restriction of the Bluetooth communication protocol, so that the wireless Bluetooth playback device can receive coherent audio data, reducing the discontinuity of audio data packets, and then the high-definition playback quality of the wireless Bluetooth playback device can be improved.

[0067] In an optional embodiment, after receiving the audio data packet file, each first audio data packet is decoded, and the first audio data packets can be decoded and sent in a concentrated time to avoid interference from received data, thereby improving the continuity of data transmission.

[0068] In an optional embodiment, after receiving the audio data packet file, disconnecting the Bluetooth communication link established with the external terminal can reduce interference from the external terminal when sending the second audio data packet to the wireless Bluetooth playback device, thereby improving the accuracy of data transmission.

[0069] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.

[0070] 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. A method for providing audio data based on Bluetooth, characterized in that: The providing method is performed by a charging device of a wireless Bluetooth playback device, and the wireless Bluetooth playback device is a true wireless Bluetooth headset; the providing method includes: Step S101: establishing a Bluetooth communication link with an external terminal according to the Bluetooth communication standard protocol; Step S103: establishing a wireless private communication link with the wireless Bluetooth playback device according to a private communication protocol, wherein the wireless private communication link can transmit data coherently across time slots; wherein the wireless private communication link is a Bluetooth communication connection; Step S105: receiving a plurality of first audio data packets sent by the external terminal through the Bluetooth communication link, wherein the first audio data packets are encoded using a preset encoding format; Step S107: when the number of the first audio data packets reaches a preset number, decoding each of the plurality of first audio data packets according to a decoding method corresponding to the encoding format to obtain a plurality of decoded first audio data packets; Step S109: encoding the decoded plurality of first audio data packets in a private encoding manner to obtain a second audio data packet, wherein the private encoding manner is related to the private communication protocol, wherein the plurality of first audio data packets are encoded to form a second audio data packet, so that audio data can be transmitted coherently on the private communication link, wherein the number of the second audio data packets is less than the number of the plurality of first audio data packets; and Step S111: sending the second audio data packet to the wireless Bluetooth playback device via the wireless private communication link.

2. The audio data providing method according to claim 1, wherein: Between step S105 and step S107, the method further includes: Step S108: storing the plurality of first audio data packets; The step S107 includes: decoding each first audio data packet of the plurality of stored first audio data packets.

3. The audio data providing method according to claim 1 or 2, characterized in that: The step S107 includes: After receiving the audio data packet file, each of the plurality of first audio data packets is decoded, and the audio data packet file includes a plurality of the plurality of first audio data packets.

4. The audio data providing method according to claim 3, wherein: Between step S105 and step S107, the method further includes: After receiving the audio data packet file, disconnecting the Bluetooth communication link established with the external terminal; The step S107 includes: After disconnecting the Bluetooth communication link established with the external terminal, each of the plurality of first audio data packets is decoded.

5. The audio data providing method according to claim 1 or 2, characterized in that: Also includes: A local audio file provided by an external device is locally read, wherein the local audio file includes a plurality of the plurality of first audio data packets.

6. The method for providing audio data according to claim 5, wherein: Before step S107, the method further includes: Step S106: receiving an audio data request sent by the wireless Bluetooth playback device, wherein the audio data request is used to indicate a request for the audio data packet file or the local audio file; The step S107 includes: Respective first audio data packets of the plurality of first audio data packets are decoded based on the audio data request.

7. The audio data providing method according to claim 6, wherein: The step S106 includes: Receiving voice information sent by the wireless Bluetooth playback device; The voice information is parsed to obtain the audio data request.

8. A Bluetooth-based audio data providing device, characterized in that: The providing device is arranged in a charging device of a wireless Bluetooth playback device, and the wireless Bluetooth playback device is a true wireless Bluetooth headset; the providing device comprises: A Bluetooth link establishment module is used to establish a Bluetooth communication link with an external terminal according to the Bluetooth communication standard protocol; A private link establishment module, used to establish a wireless private communication link with a wireless Bluetooth playback device according to a private communication protocol, wherein the wireless private communication link can transmit data coherently across time slots; wherein the wireless private communication link is a Bluetooth communication connection; A data receiving module, configured to receive a plurality of first audio data packets sent by the external terminal through the Bluetooth communication link, wherein the first audio data packets are encoded using a preset encoding format; A first encoding and decoding module is used for decoding each of the plurality of first audio data packets according to a decoding method corresponding to the encoding format to obtain a plurality of decoded first audio data packets when the number of the first audio data packets reaches a preset number; a second encoding and decoding module, configured to encode the decoded plurality of first audio data packets in a private encoding manner to obtain a second audio data packet, wherein the private encoding manner is related to the private communication protocol, wherein the plurality of first audio data packets are encoded to form a second audio data packet, so that the audio data can be transmitted coherently on the private communication link, wherein the number of the second audio data packets is less than the number of the plurality of first audio data packets; and A data sending module is used to send the second audio data packet to the wireless Bluetooth playback device through the wireless private communication link.

9. A charging device for a wireless Bluetooth player, characterized in that: include: Bluetooth communication module, used for Bluetooth data interaction with external terminals; A private communication module for audio data interaction with wireless Bluetooth playback devices; and A controller, used to implement the method according to any one of claims 1 to 7.

10. The charging device according to claim 9, characterized in that: The charging device is a wireless Bluetooth headset charging box.

11. A charging device chip having an integrated circuit thereon, characterized in that: The integrated circuit is used to implement the method according to any one of claims 1-7.

12. 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 to implement the method according to any one of claims 1 to 7.

13. A Bluetooth-based audio playback system, characterized in that: include: An audio source device, configured to provide a first audio data packet; The charging device of claim 9, configured to receive the first audio data packet via a Bluetooth communication link; and The wireless Bluetooth playback device is used to receive and play the second audio data packet provided by the charging device through a wireless private communication link, and the wireless private communication link can transmit data continuously across time slots.

14. The audio playback system according to claim 13, characterized in that: The audio source device is a mobile terminal.

15. The audio playback system according to claim 13 or 14, characterized in that: The wireless Bluetooth playback device is a wireless Bluetooth headset, and the charging device is a charging box that is compatible with the wireless Bluetooth headset.

Citation Information

Patent Citations

  • Bluetooth communication system and communication method

    CN108347716A

  • Transmission method for transmitting remote control signals and audio data by bluetooth

    CN108900883A

  • Earphone box and earphone assembly

    CN109379663A

  • Transmission method, terminal equipment and audio processing device

    CN109817232A

  • Working mode control method, Bluetooth earphone, terminal and computer storage medium

    CN109842872A