Wireless audio data transmission method and device and related equipment

By establishing a virtual communication link in the TWS headset system, the shortcomings in power consumption, latency and performance of TWS headsets based on the CBT A2DP protocol are solved, and the user interface is more consistent and friendly, simplifying the development of TWS function of sound source devices.

CN119893737APending Publication Date: 2025-04-25NANJING ZGMICRO CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510098395.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

TWS headphones based on CBT A2DP protocol have shortcomings in power consumption, latency and performance. The user interface is inconsistent with the interface habits of smartphones and are not used friendly.

Method used

By establishing a first communication link group including a main communication link and a sub-terminal device between the main terminal device and the sub-terminal device, and establishing a second communication link group with the audio source device based on the link information of the link group, including a virtual sub-terminal link, so that the main terminal device and the sub-terminal device can respectively receive the audio data packets sent by the audio source device and reply to the confirmation packet.

Benefits of technology

The main terminal device and the secondary terminal device are implemented to conveniently receive audio packets sent by the audio source device, avoiding the tedious operation of the audio source device in which the audio source device needs to establish communication links with the main terminal device and the secondary terminal device respectively, making the user interface more friendly, and simplifying the user interface development when the audio source device supports TWS function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893737A_ABST
    Figure CN119893737A_ABST
Patent Text Reader

Abstract

The invention provides a wireless audio data transmission method and device and related equipment, and particularly relates to the technical field of wireless audios, when applied to main terminal equipment, the method comprises the steps that a first communication link group is established with sound source equipment, and the first communication link group comprises a main communication link and an auxiliary communication link; establishing a second communication link group with the auxiliary terminal device based on the link information of the first communication link group, the second communication link group at least comprising a virtual auxiliary communication link having the same link information as the auxiliary communication link, the auxiliary terminal equipment receives an audio data packet sent by the sound source equipment based on the virtual auxiliary communication link and replies a receiving confirmation packet; and receiving an audio data packet sent by the sound source equipment based on the first communication link group and replying a receiving confirmation packet. According to the application, the master terminal device and the slave terminal device can be supported to conveniently and wirelessly receive the audio sent by the sound source device, and the user interface is more friendly when the sound source device supports the TWS function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless audio, and in particular to a method, apparatus and related equipment for wireless audio data transmission. Background Art

[0002] The widespread application of classic Bluetooth (CBT: Classic Bluetooth) technology has made CBT products and services a part of people's lives, especially wireless audio products such as CBT headphones and CBT speakers centered on smartphones and mainly using the Advanced Audio Distribution Profile (A2DP: Advanced Audio Distribution Profile) protocol, which have brought great convenience to people. True Wireless Stereo (TWS: True Wireless Stereo) headphones based on the CBT A2DP protocol are even more popular. In order to solve the problems of TWS headphones based on the CBT A2DP communication protocol not having low enough power consumption, low enough latency, and good enough performance, the Bluetooth organization invented Bluetooth Low Energy (BLE: Bluetooth Low Energy) audio technology to support TWS functions.

[0003] However, the user interface of smartphones and the usage habits of TWS headphones that use the BLE Audio TWS function implemented by a connected isochronous group (CIG) link composed of two connected isochronous stream (CIS) links are very different from those of the TWS function based on the CBT A2DP protocol, and are not user-friendly enough. Summary of the invention

[0004] The purpose of this application is to provide a wireless audio data transmission method, apparatus and related equipment, which are used to support a master terminal device and a slave terminal device to conveniently wirelessly receive audio sent by a sound source device, and to make the user interface of the sound source device more friendly when supporting the TWS function.

[0005] In a first aspect, an embodiment of the present application provides a wireless audio data transmission method, which is applied to a main terminal device, and the method includes:

[0006] Establishing a first communication link group with the audio source device, wherein the first communication link group includes a primary communication link and a secondary communication link;

[0007] Establishing a second communication link group with the secondary terminal device based on the link information of the first communication link group, wherein the second communication link group at least includes a virtual secondary communication link having the same link information as the secondary communication link, so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet;

[0008] Based on the first communication link group, the audio data packet sent by the audio source device is received and a reception confirmation packet is replied.

[0009] In a second aspect, an embodiment of the present application further provides a wireless audio data transmission method, which is applied to a secondary terminal device, and the method includes:

[0010] Establishing a second communication link group with the main terminal device based on the link information of the first communication link group, wherein the first communication link group is a communication link group established between the main terminal device and the sound source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group includes at least a virtual secondary communication link with the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the sound source device through the main communication link and reply to a reception confirmation packet;

[0011] The audio data packet sent by the sound source device is received based on the virtual secondary communication link and a reception confirmation packet is replied.

[0012] In a third aspect, an embodiment of the present application further provides a wireless audio data transmission device, applied to a main terminal device, the device comprising:

[0013] The first link establishment module of the master terminal is used to establish a first communication link group with the audio source device, wherein the first communication link group includes a main communication link and a secondary communication link;

[0014] The second link establishment module of the main terminal is used to establish a second communication link group with the secondary terminal device based on the link information of the first communication link group, wherein the second communication link group at least includes a virtual secondary communication link having the same link information as the secondary communication link, so that the secondary terminal device receives the audio data packet sent by the audio source device based on the virtual secondary communication link and replies with a reception confirmation packet;

[0015] The main terminal transmission module is used to receive the audio data packet sent by the audio source device based on the first communication link group and reply with a reception confirmation packet.

[0016] In a fourth aspect, an embodiment of the present application further provides a wireless audio data transmission device, which is applied to a secondary terminal device, and the device includes:

[0017] A secondary terminal link establishment module, used to establish a second communication link group with the main terminal device based on the link information of the first communication link group, wherein the first communication link group is a communication link group established between the main terminal device and the audio source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group includes at least a virtual secondary communication link having the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the audio source device through the main communication link and reply to a reception confirmation packet;

[0018] The secondary terminal transmission module is used to receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet.

[0019] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the wireless audio data transmission method as described in the first aspect or the second aspect.

[0020] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the wireless audio data transmission method as described in the first aspect or the second aspect are implemented.

[0021] In a sixth aspect, an embodiment of the present application further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the wireless audio data transmission method as described in the first aspect or the second aspect.

[0022] In the present application, a first communication link group including a main communication link and a secondary communication link is first established between a main terminal device and a sound source device, and then a second communication link group including at least a virtual secondary communication link is established with the secondary terminal device based on the link information of the first communication link group, so as to replace the sound source device with the secondary terminal device to establish a communication link through the main terminal device. While supporting the main terminal device and the secondary terminal device to conveniently receive the audio data packets sent by the sound source device and reply to the confirmation packets respectively, the tedious operation of the sound source device establishing communication links with the main terminal device and the secondary terminal device respectively is avoided, so that the user interface of the sound source device when supporting the TWS function is more user-friendly, thereby simplifying the development of the user interface when the sound source device supports the TWS function. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flowchart of a wireless audio data transmission method provided by an embodiment of the present application;

[0024] Figure 2It is a flowchart of another wireless audio data transmission method provided by an embodiment of the present application;

[0025] Figure 3 is a structural diagram of an audio system provided in an embodiment of the present application;

[0026] Figure 4 It is a schematic diagram of a timing sequence of sending and receiving packets provided in an embodiment of the present application;

[0027] Figure 5 It is a structural schematic diagram of a wireless audio data transmission device provided in an embodiment of the present application;

[0028] Figure 6 is a schematic structural diagram of another wireless audio data transmission device provided in an embodiment of the present application;

[0029] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0031] The present disclosure provides a wireless audio data transmission method, which is applied to a main terminal device, such as Figure 1 As shown, the method includes:

[0032] Step 101: Establish a first communication link group with an audio source device.

[0033] The first communication link group includes a primary communication link and a secondary communication link.

[0034] Exemplarily, the main communication link and the secondary communication link can both be connected isochronous stream (CIS: Connected Isochronous Stream) links. In this case, the first communication link group is a connected isochronous group (CIG: Connected Isochronous Group) link composed of the main communication link and the secondary communication link.

[0035] Step 102: Establish a second communication link group with the secondary terminal device based on the link information of the first communication link group.

[0036] The second communication link group includes at least a virtual secondary communication link having the same link information as the secondary communication link, and the secondary terminal device can receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet.

[0037] The audio source device may be a smart phone, a tablet computer, etc., and the main terminal device and the sub-terminal device may be wireless headphones, wireless speakers, etc. For example, when the main terminal device and the sub-terminal device may be a pair of wireless headphones, the main terminal device may be the left earphone of the pair of wireless headphones, and the sub-terminal device may be the right earphone of the pair of wireless headphones.

[0038] It should be noted that since the audio source device does not participate in the interaction with the secondary terminal device when the second communication link group is established, the audio source device is unaware of the link establishment process (meaning that the audio source device does not need to perform additional link establishment operations, nor does it need to design additional functions in the user interface for this additional link establishment operation).

[0039] It should also be pointed out that although the main terminal device has established a secondary communication link with the sound source device, the main terminal device usually does not use the secondary communication link to receive audio data packets and reply to the reception confirmation packet, but the secondary terminal device receives the audio data packets and replies to the reception confirmation packet based on the virtual secondary communication link with the same link information as the secondary communication link. For the sound source device, it only sends audio data packets to the "main terminal device" through the secondary communication link and receives the reply reception confirmation packet. Although the "main terminal device" is actually a secondary terminal device, the sound source device is also unaware of the transmission process of the audio data packet (meaning that the sound source device will not perceive the existence of the secondary terminal device, and there is no need to design additional functions in the user interface for the secondary terminal device when supporting the TWS function).

[0040] Step 103: Receive the audio data packet sent by the audio source device based on the first communication link group and reply with a reception confirmation packet.

[0041] In the present application, a first communication link group including a main communication link and a secondary communication link is first established between a main terminal device and a sound source device, and then a second communication link group including at least a virtual secondary communication link is established with the secondary terminal device based on the link information of the first communication link group, so as to replace the sound source device with the secondary terminal device to establish a communication link. While supporting the main terminal device and the secondary terminal device to respectively receive the audio data packets sent by the sound source device and respectively reply to the confirmation packets, the tedious operation of the sound source device establishing communication links with the main terminal device and the secondary terminal device is avoided, so that the user interface of the sound source device when supporting the TWS function is more user-friendly, thereby simplifying the development of the user interface when the sound source device supports the TWS function.

[0042] In one embodiment, the audio data packet sent by the audio source device and received based on the main communication link is one of a left channel audio or a right channel audio;

[0043] The audio data packet sent by the audio source device and received based on the secondary communication link is the other of the right channel audio or the left channel audio;

[0044] The audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link.

[0045] In this embodiment, based on the above settings, the main terminal device and the secondary terminal device are supported to cooperate to form a true wireless stereo (TWS: True Wireless Stereo) device (such as TWS headphones, TWS speakers, etc.).

[0046] In one embodiment, the main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or,

[0047] The main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and maintains the second communication link group so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; or,

[0048] The second communication link group also includes a virtual main communication link with the same link information as the main communication link, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual main communication link and replies with a reception confirmation packet, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet.

[0049] In this embodiment, based on the above settings, the application of the solution described in this application is made more flexible and convenient.

[0050] Specifically, when the secondary terminal device is not enabled, or the secondary terminal device is discontinued due to lack of power or malfunction, or the user only needs the main terminal device to receive and play audio, the main terminal device not only receives the audio data packet sent by the sound source device based on the main communication link and replies to the reception confirmation packet, but also receives the audio data packet sent by the sound source device based on the secondary communication link and replies to the reception confirmation packet, so as to make full use of the communication resources of the first communication link group, and then support the sound source device to send left channel audio or right channel audio to the main terminal device through the main communication link and the secondary communication link respectively. In this case, if the main terminal device is a mono audio output device, the left channel audio and the right channel audio can be decoded separately and down-mixed (Down-Mixed) and then played as mono audio; if the main terminal device is a dual-channel or stereo audio output device, the left channel audio and the right channel audio can be decoded separately and then played as dual-channel or stereo audio.

[0051] When the secondary terminal device is enabled and in normal use, the main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet. In this case, if the main terminal device is a mono audio output device, the received left channel audio or right channel audio can be decoded and played as mono audio; if the main terminal device is a dual-channel or stereo audio output device, the received left channel audio or right channel audio can be decoded, copied as the same two-channel audio and played as dual-channel or stereo audio.

[0052] When the second communication link group also includes a virtual main communication link with the same link information as the main communication link, it can support the main terminal device to maintain the first communication link group, the secondary terminal device to receive the audio data packet sent by the sound source device based on the virtual main communication link and reply to the reception confirmation packet, and the secondary terminal device to receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply to the reception confirmation packet, so that the sound source device is unaware of the switching between the main terminal device and the secondary terminal device, so as to further simplify the development of the user interface of the TWS function of the sound source device. In this case, if the secondary terminal device is a mono audio output device, the left channel audio and the right channel audio can be decoded separately and down-mixed (Down-Mixed) and then played as mono audio; if the secondary terminal device is a dual-channel or stereo audio output device, the left channel audio and the right channel audio can be decoded separately and then played as dual-channel or stereo audio. For example, when a user uses a pair of wireless headphones as a main terminal device and a sub-terminal device respectively to listen to music transmitted by a smartphone as a sound source device while driving, based on the above settings, by maintaining the first communication link group, the wireless headphones as sub-terminal devices are supported to receive corresponding audio data packets based on the virtual main communication link and the virtual sub-communication link respectively and reply to reception confirmation packets, so as to adapt to the situation where the wireless headphones as the main terminal device are low on power but the user has not put them back into the charging case.

[0053] When the main terminal device is interrupted due to insufficient power or failure, or the user only needs the secondary terminal device to receive and play audio, the secondary terminal device can take over the main terminal device to maintain the first communication link group. At this time, the secondary terminal device not only receives the audio data packet sent by the sound source device based on the main communication link and replies to the reception confirmation packet, but also receives the audio data packet sent by the sound source device based on the secondary communication link and replies to the reception confirmation packet, so as to make full use of the communication resources of the first communication link group, thereby supporting the sound source device to send left channel audio or right channel audio to the main terminal device through the main communication link and the secondary communication link respectively, and making the sound source device unaware of the switching between the main terminal device and the secondary terminal device, so as to further simplify the development of the user interface of the TWS function of the sound source device. In this case, if the secondary terminal device is a mono audio output device, the left channel audio and the right channel audio can be decoded separately and down-mixed (Down-Mixed) and then played as mono audio; if the secondary terminal device is a dual-channel or stereo audio output device, the left channel audio and the right channel audio can be decoded separately and then played as dual-channel or stereo audio.

[0054] Exemplarily, the encoding and decoding operation of the audio data packet may be performed based on the Low Complexity Communication Codec (LC3) protocol.

[0055] In one embodiment, establishing a first communication link group with the audio source device includes:

[0056] Establishing a first Bluetooth Low Energy (BLE) asynchronous connection (ACL) link with the audio source device;

[0057] Establishing the first communication link group with the audio source device based on the first BLE ACL link;

[0058] The establishing a second communication link group with the secondary terminal device based on the link information of the first communication link group includes:

[0059] Establishing a second BLE ACL link with the secondary terminal device;

[0060] Establishing the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group;

[0061] The link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first communication link group, and encryption information of the first communication link group;

[0062] The link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link.

[0063] The link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link.

[0064] The first communication link group is a CIG, the primary communication link and the secondary communication link are both CIS links,

[0065] The second communication link group is a CIG, and the virtual secondary communication link is a CIS link.

[0066] Furthermore, the method further comprises:

[0067] Sharing the link information of the first BLE ACL link with the secondary terminal device, so that the secondary terminal device maintains the first BLE ACL link and the first communication link group, and instructs the secondary terminal device to disconnect the second BLE ACL link and the second communication link group;

[0068] Control the main terminal device to disconnect from the audio source device.

[0069] As mentioned above, when the main terminal device is interrupted due to insufficient power or failure, or the user only needs the secondary terminal device to receive and play audio, the main terminal device shares the link information of the first BLE ACL link with the secondary terminal device, so that the secondary terminal device maintains the first BLE ACL link and the first communication link group, while supporting the disconnection of the main terminal device, avoiding the cumbersome process of the audio source device re-establishing the BLEACL link and / or communication link group with the secondary terminal device due to the disconnection of the main terminal device, weakening or even avoiding the audio source device's perception of the disconnection of the main terminal device, so that the TWS headset with BLE Audio TWS function inherits the advantages of BLE Audio headset such as lower power consumption, lower latency, and better performance, while making the user interface of the smartphone with BLE Audio TWS function and the usage habits of the TWS headset as close as possible to the TWS function based on the CBT A2DP protocol, further simplifying the development of the user interface of the TWS function of the audio source device.

[0070] The present disclosure also provides a wireless audio data transmission method, which is applied to a secondary terminal device, such as Figure 2 As shown, the method includes:

[0071] Step 201: Establish a second communication link group with a master terminal device based on the link information of the first communication link group.

[0072] Among them, the first communication link group is a communication link group established between the main terminal device and the sound source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group at least includes a virtual secondary communication link with the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the sound source device through the main communication link and reply to the reception confirmation packet.

[0073] Step 202: Receive the audio data packet sent by the audio source device based on the virtual secondary communication link and reply with a reception confirmation packet.

[0074] In one embodiment, the audio data packet sent by the audio source device and received based on the main communication link is one of a left channel audio or a right channel audio;

[0075] The audio data packet sent by the audio source device and received based on the virtual secondary communication link is the other of the right channel audio and the left channel audio;

[0076] The audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link.

[0077] In one embodiment, the method further comprises:

[0078] Disconnect the second communication link group so that the main terminal device receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or,

[0079] Maintaining the second communication link group through the main terminal device, receiving the audio data packet sent by the audio source device based on the virtual secondary communication link and replying with a reception confirmation packet; or,

[0080] The second communication link group also includes a virtual main communication link with the same link information as the main communication link, which receives the audio data packets sent by the sound source device based on the virtual main communication link and replies with the reception confirmation packets, and receives the audio data packets sent by the sound source device based on the virtual secondary communication link and replies with the reception confirmation packets.

[0081] In one embodiment, a first BLE ACL link is established between the main terminal device and the sound source device, and the first communication link group is established based on the first BLE ACL link;

[0082] The establishing of the second communication link group with the master terminal device based on the link information of the first communication link group includes:

[0083] Establishing a second BLE ACL link with the master terminal device;

[0084] Establishing the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group;

[0085] The link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first real communication link group, and encryption information of the first communication link group;

[0086] The link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link.

[0087] The link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link.

[0088] The first communication link group is a CIG, the primary communication link and the secondary communication link are both CIS links,

[0089] The second communication link group is a CIG, and the virtual secondary communication link is a CIS link.

[0090] In one embodiment, the method further comprises:

[0091] Receiving link information of the first BLE ACL link shared by the master terminal device;

[0092] Maintaining the first BLE ACL link and the first communication link group, and disconnecting the second BLE ACL link and the second communication link group;

[0093] The audio data packet sent by the sound source device is received based on the main communication link and a reception confirmation packet is replied. Also, the audio data packet sent by the sound source device is received based on the secondary communication link and a reception confirmation packet is replied.

[0094] The wireless audio data transmission method provided in the embodiment of the present disclosure corresponds to the various processes involving the secondary terminal device in the aforementioned embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0095] For example, Figure 3 As shown, a system consisting of an audio source device, a primary audio terminal device (an example of the aforementioned primary terminal device), and a secondary audio terminal device (an example of the aforementioned secondary terminal device) can be defined as a Friendly Wireless Stereo (FWS: Friendly Wireless Stereo) audio system structure.

[0096] Among them, when the main audio terminal device and the auxiliary audio terminal device receive left channel audio data or right channel audio data respectively, they constitute true wireless stereo (TWS: True Wireless Stereo) headphones or TWS speakers.

[0097] The audio source device first establishes a BLE asynchronous connection (ACL: Asynchronous Connection-oriented) link with the main audio terminal device, and then establishes a real connected isochronous group (RCIG: Real Connected Isochronous Group) link (an example of the aforementioned first communication link group) through the BLE ACL link. The RCIG link includes two CIS links, a primary connected isochronous stream (PCIS: Primary Connected Isochronous Stream) link (an example of the aforementioned main communication link), and a secondary connected isochronous stream (SCIS: Secondary Connected Isochronous Stream) link (an example of the aforementioned secondary communication link). The audio source device sends left channel audio data or right channel audio data respectively through the two CIS links.

[0098] The main audio terminal device and the auxiliary audio terminal device first establish a BLE ACL link (different from the BLE ACL link established between the main audio terminal device and the audio source device), and then establish a virtual connection isochronous group (VCIG: Virtual Connected Isochronous Group) link through the BLE ACL link. The VCIG link is the same as the RCIG link, that is, the link information relative to the RCIG is the same, and the link information at least includes the link clock information, frequency channel information or encryption information, etc. The left channel audio data and the right channel audio data respectively sent by the audio source device through the two CIS links can be received by the main audio terminal device and reply to the reception confirmation information respectively, or can be received by the auxiliary audio terminal device and reply to the reception confirmation information respectively, or can only be received by the main audio terminal device through the PCIS link and reply to the reception confirmation information, and only be received by the auxiliary audio terminal device through the SCIS link and reply to the reception confirmation information.

[0099] For ease of understanding, the following examples are provided:

[0100] against Figure 3 The FWS audio system using the audio transmission method described in this application is shown, and the audio source device is defined as a smart phone. The main audio terminal device and the auxiliary audio terminal device are both mono audio terminal devices, forming a pair of TWS headphones. When the main audio terminal device and the auxiliary audio terminal device form the TWS function, the main audio terminal device is the main earphone or the left channel earphone, and the auxiliary audio terminal device is the auxiliary earphone or the right channel earphone.

[0101] The smartphone first establishes a BLE ACL link (first BLE ACL link) with the main headset, and then establishes an RCIG link through the BLE ACL link. The RCIG link includes two CIS links, one PCIS link, and one SCIS link. The smartphone uses low complexity communication codec (LC3: Low Complexity Communication Codec) to encode the left channel audio sample (Audio Sample) and the right channel audio sample respectively, and then transmits the encoded left channel audio data and right channel audio data respectively through two CIS links. The main headset first establishes a BLE ACL link with the secondary headset, and then establishes a VCIG link through the BLEACL link. The VCIG link is the same as the RCIG link, that is, the link information relative to the RCIG is the same, and the link information at least includes the link clock information, frequency channel information or encryption information, etc. Therefore, the left channel audio data and right channel audio data respectively sent by the smartphone through the two CIS links can be respectively received by the main earphone and replied with reception confirmation information respectively, or can be respectively received by the secondary earphone and replied with reception confirmation information respectively. It is also possible that only the main earphone can receive the audio data packets sent through the PCIS link and reply with reception confirmation information, and only the secondary earphone can receive the audio data packets sent through the SCIS link and reply with reception confirmation information.

[0102] When users are driving or in a meeting, they prefer to listen to music with one earphone. Therefore, only the main earphone is taken out of the charging box to establish a BLE ACL link and an RCIG link with the smartphone, and the main earphone is not connected to the secondary earphone. In this case, the main earphone receives the left channel audio data and the right channel audio data through two CIS links respectively. Since the main earphone is a mono audio terminal device, the main earphone decodes the received left channel audio data and right channel audio data with LC3, down-mixes them, and plays them as mono audio.

[0103] When the user uses the main earphone to connect to the smartphone to listen to music, if the main earphone is low on power, the user can take out the secondary earphone from the charging box, so that the main earphone and the secondary earphone establish another BLE ACL link (the second BLE ACL link), and establish a VCIG link through this BLE ACL link. Then, the main earphone negotiates with the secondary earphone through this BLE ACL link, allowing the secondary earphone to replace the main earphone through the VCIG link to simultaneously receive the left channel audio data and the right channel audio data. Since the secondary earphone is a mono audio terminal device, the secondary earphone decodes the received left channel audio data and right channel audio data with LC3, down-mixes them, and plays them as mono audio. Finally, the main earphone and the secondary earphone share the first BLE ACL link information between them and the smartphone, so that the secondary earphone replaces the main earphone to maintain the first BLE ACL connection with the smartphone, and disconnects the second BLE ACL connection.

[0104] When the user needs to enjoy music through the TWS function, the user takes out the main earphone from the charging box to establish the first BLE ACL link and RCIG link with the smartphone, and then takes out the secondary earphone from the charging box to establish the second BLE ACL link and VCIG link with the main earphone. The main earphone only receives the left channel audio data through the PCIS link of RCIG and replies with the reception confirmation information, and then decodes the left channel audio data and plays it as mono audio. The main earphone negotiates with the secondary earphone through the second BLE ACL link, allowing the secondary earphone to only receive the right channel audio data through the SCIS link of the VCIG link and reply with the reception confirmation information, and then decodes the right channel audio data and plays it as mono audio. In this way, the main earphone and the secondary earphone constitute a TWS earphone to provide TWS function.

[0105] The smartphone is unaware of the switching between the above modes of the main and auxiliary earphones, that is, the smartphone does not need to perform any operation to complete the switching between the above modes.

[0106] The time slot structure of the main earphone and the auxiliary earphone providing the TWS function is as follows Figure 4 As shown, the ISO interval of RCIG and VCIG links is 10ms, the frame length of LC3 coding is 10ms, and the mono coding rate is 96kbps. The size of the mono service data unit (SDU: Service Data Unit) is 120 bytes, and the payload of the PCIS and SCIS protocol data units (PDU: Protocol Data Unit) is 120 bytes. Figure 3As shown in the figure, the smartphone (Central) sends PCIS PDU and SCIS PDU through the PCIS link and SCIS link respectively within the ISO Interval. The main headset (Left) replies with confirmation information (PCIS PDU represented by P) after receiving the PCIS PDU, and the secondary headset (Right) replies with confirmation information (SCIS PDU represented by S) after receiving the SCIS PDU. The solid line box represents the first transmission, and the dotted line box represents retransmission. Figure 3 The c0 and p0 shown are ACL PDUs sent and received by the first BLE ACL link between the smartphone (Central) and the primary headset (Left). Figure 3 The c1 and p1 shown are ACL PDUs sent and received by the second BLE ACL link between the primary headset (Left) and the secondary headset (Right). The connection intervals (Connection Interval) of the first BLE ACL link and the second BLE ACL link are both greater than ISOInterval. In this embodiment, the Connection Interval is 40ms.

[0107] Specifically, RCIG or VSIG uses the BLE 2Mbps physical layer (PHY), the PCIS PDU and SCIS PDU occupy 540us in the air, the PCIS or SCIS NULL PDU that the master and slave earphones reply to receive confirmation information occupies 44us in the air, the inter-packet interval (T_IFS: Time of Inter Frame Space) is 150us, and the minimum time slot interval (T_MSS: Time of Minimum Slot Space) is 150us. PCIS and SCIS links use interleaved mode. Therefore, the sub-event interval (Subinterval) is equal to 1.768ms. Within the 10ms ISO Interval, the number of sub-events (NSE: Number of Sub-Event) is equal to 4. The refresh timeout (FT: Flush Timeout) parameter of RCIG and VCIG is equal to 1. The offset value (CIS Offset0) of the PCIS link relative to the first BLE ACL link is equal to 1.25 ms, and the offset value (CIS Offset1) of the SCIS link relative to the first BLE ACL link is equal to 2.134 ms.

[0108] As can be seen from the above examples, the wireless audio transmission method disclosed in this application can make the user interface of the smart phone with TWS function based on BLE CIG link and the usage habits of TWS headset consistent with the TWS function based on CBT A2DP protocol, thereby avoiding the operation of establishing BLE links with the master and slave headsets respectively, simplifying the development of the user interface of the TWS function of the smart phone, and avoiding the problem that the smart phone cannot send left channel audio data and right channel audio data to the master headset or slave headset at the same time in TWS mode. Compared with the TWS function based on the monitoring or forwarding scheme of the CBT A2DP protocol, the method described in this application can support the TWS headset to inherit all the advantages of BLE Audio TWS headsets, such as lower power consumption, lower latency and better performance.

[0109] The present disclosure provides a wireless audio data transmission device, which is applied to a main terminal device, such as Figure 5 As shown, the wireless audio data transmission device 500 includes:

[0110] The first link establishment module 501 of the master terminal is used to establish a first communication link group with the audio source device, wherein the first communication link group includes a primary communication link and a secondary communication link;

[0111] The second link establishment module 502 of the main terminal is used to establish a second communication link group with the secondary terminal device based on the link information of the first communication link group, wherein the second communication link group at least includes a virtual secondary communication link having the same link information as the secondary communication link, so that the secondary terminal device receives the audio data packet sent by the audio source device based on the virtual secondary communication link and replies with a reception confirmation packet;

[0112] The main terminal transmission module 503 is used to receive the audio data packet sent by the audio source device based on the first communication link group and reply with a reception confirmation packet.

[0113] In one embodiment, the audio data packet sent by the sound source device and received based on the main communication link is one of the left channel audio or the right channel audio; the audio data packet sent by the sound source device and received based on the secondary communication link is the other of the right channel audio or the left channel audio; the audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link;

[0114] and / or,

[0115] The main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, the main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and maintains the second communication link group so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; or, the second communication link group also includes a virtual main communication link having the same link information as the main communication link, the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual main communication link and replies with a reception confirmation packet, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet;

[0116] and / or,

[0117] The first link building module 501 of the main terminal is specifically used to: establish a first BLE ACL link with the sound source device; establish the first communication link group with the sound source device based on the first BLE ACL link; the second link building module 502 of the main terminal is specifically used to: establish a second BLE ACL link with the secondary terminal device; establish the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; wherein the link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first communication link group, and encryption information of the first communication link group; the link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link; the link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link; the first communication link group is CIG, and the main communication link and the secondary communication link are both CIS links; the second communication link group is CIG, and the virtual secondary communication link is a CIS link;

[0118] and / or,

[0119] The device 500 also includes a main sharing module and a disconnection module. The main sharing module is used to: share the link information of the first BLE ACL link with the secondary terminal device so that the secondary terminal device maintains the first BLE ACL link and the first communication link group, and enables the secondary terminal device to disconnect the second BLE ACL link and the second communication link group; the disconnection module is used to control the main terminal device to disconnect from the sound source device.

[0120] The wireless audio data transmission method provided in the embodiment of the present disclosure corresponds to the various processes involving the main terminal device in the aforementioned embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0121] The present disclosure provides a wireless audio data transmission device, which is applied to a secondary terminal device, such as Figure 6 As shown, the wireless audio data transmission device 600 includes:

[0122] The secondary terminal link establishment module 601 is used to establish a second communication link group with the main terminal device based on the link information of the first communication link group, wherein the first communication link group is a communication link group established between the main terminal device and the audio source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group includes at least a virtual secondary communication link having the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the audio source device through the main communication link and reply to a reception confirmation packet;

[0123] The secondary terminal transmission module 602 is used to receive the audio data packet sent by the audio source device based on the virtual secondary communication link and reply with a reception confirmation packet.

[0124] In one embodiment, the audio data packet sent by the sound source device and received based on the main communication link is one of the left channel audio or the right channel audio; the audio data packet sent by the sound source device and received based on the virtual secondary communication link is the other of the right channel audio or the left channel audio; the audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link;

[0125] and / or,

[0126] The device 600 further includes a dynamic adjustment module, which is used to: disconnect the second communication link group so that the main terminal device receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, maintain the second communication link group through the main terminal device, receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet; or, the second communication link group further includes a virtual main communication link having the same link information as the main communication link, receive the audio data packet sent by the sound source device based on the virtual main communication link and reply with a reception confirmation packet, and receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet;

[0127] and / or,

[0128] A first BLE ACL link is established between the main terminal device and the sound source device, and the first communication link group is established based on the first BLE ACL link; the secondary terminal link establishment module is specifically used to: establish a second BLE ACL link with the main terminal device; establish the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; wherein the link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first real communication link group, and encryption information of the first communication link group; the link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link; the link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link; the first communication link group is CIG, and the main communication link and the secondary communication link are both CIS links; the second communication link group is CIG, and the virtual secondary communication link is a CIS link;

[0129] and / or,

[0130] The device 600 also includes a secondary sharing module, which is used to: receive link information of the first BLE ACL link shared by the main terminal device; maintain the first BLE ACL link and the first communication link group, and disconnect the second BLE ACL link and the second communication link group; the secondary terminal transmission module is also used to: receive the audio data packet sent by the sound source device based on the main communication link and reply to the reception confirmation packet, and receive the audio data packet sent by the sound source device based on the secondary communication link and reply to the reception confirmation packet.

[0131] The wireless audio data transmission method provided in the embodiment of the present disclosure corresponds to the various processes involving the secondary terminal device in the aforementioned embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0132] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0133] Figure 7 Schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. Figure 7As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 to a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0134] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0135] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as wireless audio data transmission methods. For example, in some embodiments, the wireless audio data transmission method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the wireless audio data transmission method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the wireless audio data transmission method in any other appropriate manner (for example, by means of firmware).

[0136] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0137] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0138] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 of the foregoing.

[0139] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 or Figure 2 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0141] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A wireless audio data transmission method, characterized in that: Applied to a main terminal device, the method comprises: Establishing a first communication link group with the audio source device, wherein the first communication link group includes a primary communication link and a secondary communication link; Establishing a second communication link group with the secondary terminal device based on the link information of the first communication link group, wherein the second communication link group at least includes a virtual secondary communication link having the same link information as the secondary communication link, so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; Based on the first communication link group, the audio data packet sent by the audio source device is received and a reception confirmation packet is replied.

2. The method according to claim 1, characterized in that The audio data packet sent by the audio source device and received based on the main communication link is one of the left channel audio or the right channel audio; The audio data packet sent by the audio source device and received based on the secondary communication link is the other of the right channel audio or the left channel audio; The audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link.

3. The method according to claim 1, characterized in that The main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, The main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and maintains the second communication link group so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; or, The second communication link group also includes a virtual main communication link with the same link information as the main communication link, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual main communication link and replies with a reception confirmation packet, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet.

4. The method according to claim 1, characterized in that: The step of establishing a first communication link group with the audio source device comprises: Establishing a first BLE ACL link with the audio source device; Establishing the first communication link group with the audio source device based on the first BLE ACL link; The establishing a second communication link group with the secondary terminal device based on the link information of the first communication link group includes: Establishing a second BLE ACL link with the secondary terminal device; Establishing the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; The link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first communication link group, and encryption information of the first communication link group; The link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link. The link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link. The first communication link group is a CIG, the primary communication link and the secondary communication link are both CIS links, The second communication link group is a CIG, and the virtual secondary communication link is a CIS link.

5. The method according to claim 4, characterized in that The method further comprises: Sharing the link information of the first BLE ACL link with the secondary terminal device, so that the secondary terminal device maintains the first BLE ACL link and the first communication link group, and causing the secondary terminal device to disconnect the second BLE ACL link and the second communication link group; Control the main terminal device to disconnect from the audio source device.

6. A wireless audio data transmission method, characterized in that: Applied to a secondary terminal device, the method comprises: Establishing a second communication link group with the main terminal device based on the link information of the first communication link group, wherein the first communication link group is a communication link group established between the main terminal device and the sound source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group includes at least a virtual secondary communication link with the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the sound source device through the main communication link and reply to a reception confirmation packet; The audio data packet sent by the sound source device is received based on the virtual secondary communication link and a reception confirmation packet is replied.

7. The method according to claim 6, characterized in that The audio data packet sent by the audio source device and received based on the main communication link is one of the left channel audio or the right channel audio; The audio data packet sent by the audio source device and received based on the virtual secondary communication link is the other of the right channel audio and the left channel audio; The audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link.

8. The method according to claim 6, characterized in that The method further comprises: Disconnect the second communication link group so that the main terminal device receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, Maintaining the second communication link group through the main terminal device, receiving the audio data packet sent by the audio source device based on the virtual secondary communication link and replying with a reception confirmation packet; or, The second communication link group also includes a virtual main communication link with the same link information as the main communication link, which receives the audio data packets sent by the sound source device based on the virtual main communication link and replies with the reception confirmation packets, and receives the audio data packets sent by the sound source device based on the virtual secondary communication link and replies with the reception confirmation packets.

9. The method according to claim 6, characterized in that A first BLE ACL link is established between the main terminal device and the sound source device, and the first communication link group is established based on the first BLE ACL link; The establishing of the second communication link group with the master terminal device based on the link information of the first communication link group includes: Establishing a second BLE ACL link with the master terminal device; Establishing the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; The link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first real communication link group, and encryption information of the first communication link group; The link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link. The link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link. The first communication link group is a CIG, the primary communication link and the secondary communication link are both CIS links, The second communication link group is a CIG, and the virtual secondary communication link is a CIS link.

10. The method according to claim 9, characterized in that The method further comprises: Receiving link information of the first BLE ACL link shared by the master terminal device; Maintaining the first BLE ACL link and the first communication link group, and disconnecting the second BLE ACL link and the second communication link group; The audio data packet sent by the sound source device is received based on the main communication link and a reception confirmation packet is replied. Also, the audio data packet sent by the sound source device is received based on the secondary communication link and a reception confirmation packet is replied.

11. A wireless audio data transmission device, characterized in that: Applied to a main terminal device, the device comprises: The first link establishment module of the master terminal is used to establish a first communication link group with the audio source device, wherein the first communication link group includes a main communication link and a secondary communication link; The second link establishment module of the main terminal is used to establish a second communication link group with the secondary terminal device based on the link information of the first communication link group, wherein the second communication link group at least includes a virtual secondary communication link having the same link information as the secondary communication link, so that the secondary terminal device receives the audio data packet sent by the audio source device based on the virtual secondary communication link and replies with a reception confirmation packet; The main terminal transmission module is used to receive the audio data packet sent by the audio source device based on the first communication link group and reply with a reception confirmation packet.

12. The device according to claim 11, characterized in that The audio data packet sent by the sound source device based on the main communication link is one of the left channel audio or the right channel audio; the audio data packet sent by the sound source device based on the secondary communication link is the other of the right channel audio or the left channel audio; the audio data packet sent by the sound source device based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device based on the secondary communication link; and / or, The main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, the main terminal device receives the audio data packet sent by the sound source device based on the main communication link and replies with a reception confirmation packet, and maintains the second communication link group so that the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; or, the second communication link group also includes a virtual main communication link having the same link information as the main communication link, the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual main communication link and replies with a reception confirmation packet, and the secondary terminal device receives the audio data packet sent by the sound source device based on the virtual secondary communication link and replies with a reception confirmation packet; and / or, The first link building module of the main terminal is specifically used to: establish a first BLE ACL link with the sound source device; establish the first communication link group with the sound source device based on the first BLE ACL link; the second link building module of the main terminal is specifically used to: establish a second BLE ACL link with the secondary terminal device; establish the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; wherein the link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first communication link group, and encryption information of the first communication link group; the link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link; the link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link; the first communication link group is CIG, the main communication link and the secondary communication link are both CIS links, the second communication link group is CIG, and the virtual main communication link is a CIS link; and / or, The device also includes a main sharing module and a disconnection module, wherein the main sharing module is used to: share the link information of the first BLE ACL link with the secondary terminal device so that the secondary terminal device maintains the first BLE ACL link and the first communication link group, and to make the secondary terminal device disconnect the second BLE ACL link and the second communication link group; The disconnection module is used to control the main terminal device to disconnect from the audio source device.

13. A wireless audio data transmission device, characterized in that: Applied to a secondary terminal device, the device comprises: A secondary terminal link establishment module, used to establish a second communication link group with the main terminal device based on the link information of the first communication link group, wherein the first communication link group is a communication link group established between the main terminal device and the audio source device, the first communication link group includes a main communication link and a secondary communication link, the second communication link group includes at least a virtual secondary communication link having the same link information as the secondary communication link, and the main terminal device is used to receive the audio data packet sent by the audio source device through the main communication link and reply to a reception confirmation packet; The secondary terminal transmission module is used to receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet.

14. The device according to claim 13, characterized in that The audio data packet sent by the sound source device and received based on the main communication link is one of the left channel audio and the right channel audio; the audio data packet sent by the sound source device and received based on the virtual secondary communication link is the other of the right channel audio and the left channel audio; the audio data packet sent by the sound source device and received based on the virtual secondary communication link is the same as the audio data packet sent by the sound source device and received based on the secondary communication link; and / or, The apparatus further includes a dynamic adjustment module, which is used to: disconnect the second communication link group so that the main terminal device receives the audio data packet sent by the sound source device based on the secondary communication link and replies with a reception confirmation packet; or, maintain the second communication link group through the main terminal device, receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet; or, the second communication link group further includes a virtual main communication link having the same link information as the main communication link, receive the audio data packet sent by the sound source device based on the virtual main communication link and reply with a reception confirmation packet, and receive the audio data packet sent by the sound source device based on the virtual secondary communication link and reply with a reception confirmation packet; and / or, A first BLE ACL link is established between the main terminal device and the sound source device, and the first communication link group is established based on the first BLE ACL link; the secondary terminal link establishment module is specifically used to: establish a second BLE ACL link with the main terminal device; establish the second communication link group with the secondary terminal device based on the second BLE ACL link and the link information of the first communication link group; wherein the link information of the first communication link group includes at least one of the following: clock information of the first communication link group, frequency channel information of the first real communication link group, and encryption information of the first communication link group; the link information of the secondary communication link includes at least one of the following: clock information of the secondary communication link, frequency channel information of the secondary communication link, and encryption information of the secondary communication link; the link information of the main communication link includes at least one of the following: clock information of the main communication link, frequency channel information of the main communication link, and encryption information of the main communication link; the first communication link group is CIG, and the main communication link and the secondary communication link are both CIS links; the second communication link group is CIG, and the virtual main communication link is a CIS link; and / or, The device further includes a secondary sharing module, the secondary sharing module being used to: receive link information of the first BLE ACL link shared by the master terminal device; maintain the first BLE ACL link and the first communication link group, and disconnect the second BLE ACL link and the second communication link group; The secondary terminal transmission module is also used to: receive the audio data packet sent by the sound source device based on the main communication link and reply with a reception confirmation packet, and receive the audio data packet sent by the sound source device based on the secondary communication link and reply with a reception confirmation packet.

Citation Information

Cited By

  • Bluetooth playing device communication method and related device

    CN121194164A