A wireless audio data transmission method, system and apparatus
By establishing master and slave broadcast communication links in Bluetooth Low Energy audio technology, ensuring that time slots do not overlap, the problem of multiple transmitting devices simultaneously broadcasting multi-channel audio is solved, realizing many-to-many interactive wireless communication and device compatibility.
Patent Information
- Application Number
- CN202510068481.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2045-01-15
AI Technical Summary
Existing Bluetooth Low Energy audio technology does not support multiple transmitting devices simultaneously broadcasting multi-channel audio through multiple BIS links.
A master broadcast communication link is established, and a corresponding slave broadcast communication link is established for each slave device, so that the broadcast data packet time slots of the master device and the slave device do not overlap in multiple consecutive equal time intervals, enabling multiple transmitting devices to synchronously broadcast multi-channel audio through multiple broadcast communication links.
It supports multiple transmitting devices to simultaneously broadcast multi-channel audio through multiple broadcast communication links, realizing many-to-many interactive wireless communication functions, and is compatible with existing audio devices using synchronous isochronous channel protocols, thus expanding the range of supported devices.
Smart Images

Figure CN119854734B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless audio, and in particular to a wireless audio data transmission method, system and device. BACKGROUND
[0002] The Bluetooth Low Energy (BLE) Audio technology adopts a synchronous isochronous channel (Isochronous Channels) protocol, including a connected isochronous stream (Connected Isochronous Stream, CIS) link for single-point-to-single-point communication, a connected isochronous group (Connected Isochronous Group, CIG) link protocol composed of at least one CIS link, and a broadcast isochronous stream (Broadcast Isochronous Stream, BIS) link for single-point-to-multiple-point communication, and a broadcast isochronous group (Broadcast Isochronous Group, BIG) link protocol composed of at least one BIS link, which can provide users with lower power consumption, lower cost, lower latency, higher quality, and more diverse wireless audio services.
[0003] The related art adopts the BIG link protocol, which can realize the wireless broadcast audio (WBA) function of single-point-to-multiple-point communication, but in application, it is found that the existing BIG link only supports one sending device to broadcast multi-channel audio synchronously through multiple BIS links, and does not support multiple sending devices to broadcast multi-channel audio synchronously through multiple BIS links. SUMMARY
[0004] The present application aims to provide a wireless audio data transmission method, system and device, which solves the technical problem that the related art does not support multiple sending devices to broadcast multi-channel audio synchronously.
[0005] In a first aspect, an embodiment of the present application provides a wireless audio data transmission method applied to a master device, the method comprising:
[0006] establishing a master broadcast communication link;
[0007] establishing a corresponding slave broadcast communication link for each slave device in one or more slave devices; and
[0008] broadcasting a master broadcast data packet based on the master broadcast communication link in one isochronous interval of consecutive multiple isochronous intervals, and receiving a corresponding slave broadcast data packet based on the corresponding slave communication link of each slave device, wherein the time slots for broadcasting the master broadcast data packet and the time slots for broadcasting the slave broadcast data packet in the same isochronous interval do not overlap.
[0009] In a second aspect, the embodiments of the present application provide a wireless audio data transmission method, applied to a first slave device, the method comprising:
[0010] establishing a master broadcast communication link with a master device;
[0011] establishing a slave broadcast communication link through the master device; and
[0012] in one of a plurality of consecutive isochronous intervals, receiving a master broadcast data packet broadcast by the master device based on the master broadcast communication link, broadcasting a corresponding slave broadcast data packet based on the slave broadcast communication link, and / or receiving a slave broadcast data packet broadcast by a second slave device based on a slave broadcast communication link corresponding to the second slave device;
[0013] wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same isochronous interval do not overlap.
[0014] In a third aspect, the embodiments of the present application provide a wireless audio data transmission system, the wireless audio data transmission system comprising:
[0015] a master device and one or more slave devices;
[0016] the master device and the one or more slave devices establish a master broadcast communication link;
[0017] each of the one or more slave devices establishes a corresponding slave broadcast communication link through the master device;
[0018] the master device is configured to: in one of a plurality of consecutive isochronous intervals, broadcast a master broadcast data packet based on the master broadcast communication link, and receive a slave broadcast data packet broadcast by a corresponding slave device based on each slave communication link, wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same isochronous interval do not overlap.
[0019] In a fourth aspect, the embodiments of the present application provide a wireless audio data transmission apparatus, applied to a master device, the apparatus comprising:
[0020] a master broadcast link establishment module configured to establish a master broadcast communication link;
[0021] an auxiliary link establishment and transmission module configured to establish a corresponding slave broadcast communication link for each of the one or more slave devices; and
[0022] In one of the plurality of continuous equal time intervals, a master broadcast data packet is broadcast based on the master broadcast communication link, and a corresponding slave broadcast data packet is received based on the slave communication link corresponding to each slave device, wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same equal time interval do not overlap.
[0023] In a fifth aspect, an embodiment of the present application provides a wireless audio data transmission device applied to a first slave device, the device comprising:
[0024] A master broadcast link assistance module is configured to establish a master broadcast communication link with a master device.
[0025] A slave broadcast link establishment and transmission module is configured to establish a slave broadcast communication link through the master device.
[0026] In one of the plurality of continuous equal time intervals, a master broadcast data packet is broadcast based on the master broadcast communication link, and a corresponding slave broadcast data packet is received based on the slave broadcast communication link corresponding to each slave device, wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same equal time interval do not overlap.
[0027] In one of the plurality of continuous equal time intervals, a master broadcast data packet is broadcast based on the master broadcast communication link, and a corresponding slave broadcast data packet is received based on the slave broadcast communication link corresponding to each slave device, wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same equal time interval do not overlap.
[0028] In a sixth 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 is executed by the processor to implement the steps of the wireless audio data transmission method according to the first aspect or the second aspect.
[0029] In a seventh aspect, an embodiment of the present application further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the wireless audio data transmission method according to the first aspect or the second aspect.
[0030] In an eighth aspect, an embodiment of the present application further provides a computer program product comprising computer instructions, wherein the computer instructions are executed by a processor to implement the steps of the wireless audio data transmission method according to the first aspect or the second aspect.
[0031] In the present application, the master device is configured to establish a master broadcast communication link and establish a corresponding slave broadcast communication link for each of one or more slave devices, so that in one of a plurality of continuous equal time intervals, the master device can broadcast a master broadcast data packet based on the master broadcast communication link, and each slave device can broadcast a corresponding slave broadcast data packet based on the corresponding slave communication link of each slave device, thereby supporting a plurality of sending devices to broadcast multi-channel audio through a plurality of broadcast communication links, and realizing a multi-to-multi interactive wireless communication function. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 is a flowchart of a wireless audio data transmission method provided by an embodiment of the present application;
[0033] Figure 2 is a schematic diagram of a public extended advertising payload format provided by an embodiment of the present application;
[0034] Figure 3 is a schematic diagram of an extended packet header format provided by an embodiment of the present application;
[0035] Figure 4 is a schematic diagram of an extended packet header flag provided by an embodiment of the present application;
[0036] Figure 5 is a flowchart of a master device establishing a DBIG provided by an embodiment of the present application;
[0037] Figure 6 is a flowchart of a slave device joining a DBIG provided by an embodiment of the present application;
[0038] Figure 7 is a flowchart of another wireless audio data transmission method provided by an embodiment of the present application;
[0039] Figure 8 is a structural schematic diagram of a wireless audio data transmission system provided by an embodiment of the present application;
[0040] Figure 9 is a schematic diagram of a DBIG time slot structure provided by an embodiment of the present application;
[0041] Figure 10 is a structural schematic diagram of a wireless audio data transmission device provided by an embodiment of the present application;
[0042] Figure 11 is a structural schematic diagram of another wireless audio data transmission device provided by an embodiment of the present application;
[0043] Figure 12 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present disclosure will be clearly and completely described in connection with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
[0045] The wireless audio data transmission method provided in the embodiments of the present disclosure is applied to a master device, such as a Figure 1 As shown in the figure, the wireless audio data transmission method comprises the following steps:
[0046] Step 101, establishing a master broadcast communication link.
[0047] Step 102, establishing a corresponding slave broadcast communication link for each of one or more slave devices; and in one of a plurality of consecutive equal time intervals, broadcasting a master broadcast data packet based on the master broadcast communication link, and receiving a corresponding slave broadcast data packet based on the corresponding slave communication link of each slave device.
[0048] In the same equal time interval, the time slot for broadcasting the master broadcast data packet and the time slot for broadcasting the slave broadcast data packet do not overlap.
[0049] In the present application, the master device establishes a master broadcast communication link, and establishes a corresponding slave broadcast communication link for each of one or more slave devices, so that in one of a plurality of consecutive equal time intervals, the master device can broadcast a master broadcast data packet based on the master broadcast communication link, and each slave device can broadcast a corresponding slave broadcast data packet based on the corresponding slave communication link of each slave device, thereby supporting multiple sending devices to synchronously broadcast multi-channel audio through multiple broadcast communication links, and realizing a Many to Numerous (M2N) interactive wireless communication function.
[0050] The method described in the present application can be applied in a multipoint to multipoint WBA application, for example:
[0051] A conference using wireless microphones, at this time, the master device can be understood as an audio device (such as a wireless earphone) including a wireless microphone corresponding to a conference host or a main speaker, and the slave device can be understood as an audio device including a wireless microphone corresponding to a user participating in the conference other than the conference host or the main speaker;
[0052] Or,
[0053] A travel team or a hiking team in which multiple people talk to each other, at this time, the master device can be understood as an audio device (such as wireless earphones) including a microphone corresponding to a team leader, and the slave device can be understood as an audio device including a wireless microphone corresponding to a part of team members (such as a team deputy leader, a team ordinary member, etc.) except the team leader.
[0054] It should be noted that in the application, the aforementioned master broadcast communication link can be one or more, and / or the corresponding slave broadcast communication link established by each of the one or more slave devices can also be one or more.
[0055] It should be understood that in one of the continuous multiple equal time intervals, the audio data carried by the master broadcast data packet and the audio data carried by the corresponding slave broadcast data packet of each of the one or more slave devices are different.
[0056] In one embodiment, the master broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
[0057] Without loss of generality, the master broadcast communication link can be approximately understood as a broadcast isochronous stream (BIS) link, the slave broadcast communication link can be approximately understood as a BIS link, and the broadcast communication link group can be approximately understood as a broadcast isochronous group (BIG).
[0058] Wherein, in order to distinguish from the aforementioned BIS and BIG concepts, the broadcast communication link group described in the present application can be defined as a distributed broadcast isochronous group (DBIG: Distributed Broadcast Isochronous Group), the master broadcast communication link described in the present application can be defined as a primary broadcast isochronous stream (PBIS: Primary Broadcast Isochronous Stream) link, and the slave broadcast communication link described in the present application can be defined as a secondary broadcast isochronous stream (SBIS: Secondary Broadcast Isochronous Stream) link, the aforementioned DBIG is composed of at least two distributed broadcast isochronous stream (DBIS: Distributed Broadcast Isochronous Stream) links, and the at least two DBIS include the PBIS and the SBIS.
[0059] Based on the above settings, for the master broadcast communication link established by the master device, in addition to supporting the slave device to receive the master broadcast data packet broadcast by the master device, other devices including audio playing function can also receive the master broadcast data packet broadcast by the master device.
[0060] Similarly, for the corresponding slave broadcast communication link established by the slave device through the master device, in addition to supporting the master device and other slave devices to receive the corresponding slave broadcast data packet broadcast by the slave device, other devices including audio playing function can also receive the corresponding slave broadcast data packet broadcast by the slave device.
[0061] In the application, by multiplexing the existing Isochronous Channels protocol, not only can multiple sending devices broadcast multi-channel audio through multiple BIS links in synchronization, but also can realize the multi-to-multi interactive wireless communication function between the master device and one or more slave devices. In addition, the listening device (which can be understood as other devices including audio playing function except the master device and the slave device) can access the master / slave broadcast communication link and receive the master broadcast data packet broadcast by the master device and / or the slave broadcast data packet broadcast by the corresponding slave device. This can make the application of the scheme described in the application effectively compatible with audio devices supporting the Isochronous Channels protocol (which means that the audio devices can receive the master broadcast data packet broadcast by the master device based on the master broadcast communication link, and receive the corresponding slave broadcast data packet based on the corresponding slave communication link of each slave device), thereby expanding the range of devices supported by the multi-to-multi interactive wireless communication function.
[0062] In one embodiment, the master device and the slave device form a distributed transmitter set (DTS) through a group set link;
[0063] The method further includes:
[0064] sending a DTS synchronization search data packet based on the group set link, and receiving a DTS synchronization group set request data packet fed back by a candidate device based on the DTS synchronization search data packet, the DTS synchronization group set request data packet carrying request link information, the request link information including a device address and a device identifier of the candidate device;
[0065] In a case where the master device determines to allow the candidate device to join the distributed transmitter set based on the device address and the device identifier, a DTS synchronization group set configuration data packet is sent to the candidate device, the DTS synchronization group set configuration data packet carrying link information of the broadcast communication link group and a target identifier;
[0066] The receiving candidate device receives a DTS synchronization group set response data packet fed back based on the DTS synchronization group set configuration data packet, and determines the candidate device as a slave device in the distributed sending device set, so that the candidate device establishes a corresponding slave broadcast communication link according to the link information, and the target identifier is used to uniquely identify the corresponding slave broadcast communication link of the candidate device in the broadcast communication link group.
[0067] In this embodiment, the DTS synchronization search data packet, the DTS synchronization group set request data packet, the DTS synchronization group set configuration data packet, the DTS synchronization group set response data packet, and the corresponding data packet transceiving process are defined to realize the process of candidate device accessing the distributed sending device set and being determined as a slave device.
[0068] The group set link can be a bidirectional periodic advertising (BPA) link or a Bluetooth low energy (BLE) asynchronous connection (ACL) link.
[0069] In one example, the auxiliary synchronization (AUX_SYNC_IND) protocol data unit (PDU) of the BLE protocol can be referred to for definition:
[0070] DTS synchronization search (DTS_SYNC_SEARCH) PDU (one example of the DTS synchronization search data packet);
[0071] DTS synchronization group set request (DTS_SYNC_SET_REQ) PDU (one example of the DTS synchronization group set request data packet);
[0072] DTS synchronization group set configuration (DTS_SYNC_SET_CONFIG) PDU (one example of the DTS synchronization group set configuration data packet);
[0073] DTS synchronization group set response (DTS_SYNC_SET_RSP) PDU (one example of the DTS synchronization group set response data packet).
[0074] The aforementioned AUX_SYNC_IND PDU adopts the BLE specification such as Figure 2The common extended advertising payload format is shown, which contains 6 bits of extended header length, 2 bits of advertising mode (AdvMode), 0-63 bytes of extended header (ExtendedHeader), and up to 254 bytes of advertising data (AdvData).
[0075] Figure 3 The extended header format is shown, which can include Extended Header Flags, AdvA, TargetA, CTEInfo, ADI, AuxPtr, SyncInfo, TxPower, and ACAD, etc. The Extended Header Flags are extended header flag bits, as shown in the table. Figure 4 As shown, each bit corresponds to an extended header field. A bit set to 1 indicates that the extended header has the corresponding field, and a bit set to 0 indicates that the extended header does not have the corresponding field. AdvA represents the device address of the advertising device, TargetA represents the device address of the target device, CTEInfo represents constant tone extension (CTE) information, ADI represents advertising data information, AuxPtr represents an auxiliary advertising pointer, SyncInfo represents synchronization information, TxPower represents transmission power, and ACAD represents additional controller advertising data (Additional Controller Advertising Data). The AUX_SYNC_IND PDU carries BIG link information (BIGInfo) through ACAD, so that BIG peripheral devices can receive wireless broadcast audio data through the BIG link.
[0076] The DTS_SYNC_SEARCH PDU, DTS_SYNC_SET_REQ PDU, DTS_SYNC_SET_CONFIG PDU, and DTS_SYNC_SET_RSP PDU are similar to the AUX_SYNC_IND PDU, and all use the common extended advertising payload format shown in Figure 2 The DTS_SYNC_SEARCH PDU, DTS_SYNC_SET_REQ PDU, DTS_SYNC_SET_CONFIG PDU, and DTS_SYNC_SET_RSP PDU are similar to the AUX_SYNC_IND PDU, and all use the common extended advertising payload format shown in
[0077] Specifically, the difference between DTS_SYNC_SEARCH PDU and AUX_SYNC_IND PDU is that bitO of Extended Header Flags of DTS_SYNC_SEARCH PDU is set to 1, indicating that its extended header contains AdvA field, wherein AdvA is the device address of the master device in DTS. Other field values of DTS_SYNC_SEARCH PDU are the same as those of AUX_SYNC_IND PDU, and all carry broadcast isochronous group link information (BIG Info) in ACAD field, wherein the broadcast isochronous group link information carried by DTS_SYNC_SEARCH PDU in ACAD field is an example of the link information of the aforementioned broadcast communication link group. AdvMode is set to 0b01, indicating Undirected Setting Available type. DTS_SYNC_SEARCH PDU provides the slave devices and listening devices in DTS with the link information of the broadcast communication link group similar to AUX_SYNC_IND PDU, and is also used for the master device in DTS to search or discover the slave devices (here, the slave devices not yet joined in DTS can be understood as the aforementioned candidate devices) ready to join DTS. It is to be pointed out that the aforementioned broadcast communication link group link information is completely the same as the definition of BIG Info.
[0078] The difference between DTS_SYNC_SET_REQ PDU and AUX_SYNC_IND PDU is that bitO and bitl of Extended Header Flags of DTS_SYNC_SET_REQ PDU are both set to 1, indicating that its extended header contains two fields of AdvA and TargetA, wherein AdvA is the device address of the slave device ready to join DTS, and TargetA is the device address of the master device in DTS. However, the ACAD field of DTS_SYNC_SET_REQ PDU does not carry the link information of the broadcast communication link group, and other field values are the same as those of AUX_SYNC_IND PDU. AdvMode is set to 0bll, indicating Setting Request type. DTS_SYNC_SET_REQ PDU can carry the device name or device unique identifier (UUID: Universally Unique Identifier) and other information of the slave device in AdvData. DTS_SYNC_SET_REQ PDU is used for the slave device ready to join DTS to request the master device in DTS to allow it to establish the corresponding slave broadcast communication link and join the broadcast communication link group.
[0079] The difference between the DTS_SYNC_SET_CONFIG PDU and the AUX_SYNC_IND PDU is that the bit0 and bit1 of the Extended Header Flags of the DTS_SYNC_SET_CONFIG PDU are both set to 1, indicating that the extended header of the DTS_SYNC_SET_CONFIG PDU contains two fields of AdvA and TargetA, wherein the AdvA is the device address of the master device in the DTS, and the TargetA is the device address of the slave device ready to join the DTS. The other field values of the DTS_SYNC_SET_CONFIG PDU are the same as those of the AUX_SYNC_IND PDU, and the link information of the broadcast communication link group is carried in the ACAD field. The AdvMode is set to 0b10, indicating the type of directed setting available. The DTS_SYNC_SET_CONFIG PDU provides the link information of the broadcast communication link group to the slave device and the listening device similar to the AUX_SYNC_IND PDU. The sequence number of the newly established slave broadcast communication link is also carried in the AdvData of the DTS_SYNC_SET_CONFIG PDU, which can be understood as the target identifier.
[0080] The difference between the DTS_SYNC_SET_RSP PDU and the AUX_SYNC_IND PDU is that the bit0 and bit1 of the Extended Header Flags of the DTS_SYNC_SET_RSP PDU are both set to 1, indicating that the extended header of the DTS_SYNC_SET_RSP PDU contains two fields of AdvA and TargetA, wherein the AdvA is the device address of the slave device ready to join the DTS, and the TargetA is the device address of the master device in the DTS. However, the ACAD field of the DTS_SYNC_SET_RSP PDU does not contain the link information of the broadcast communication link group, and the other field values are the same as those of the AUX_SYNC_IND PDU. The AdvMode is set to 0b00, indicating the type of setting response. The DTS_SYNC_SET_RSP PDU is used for the slave device ready to join the DTS to respond to the configuration of the master device in the DTS to establish a new slave broadcast communication link and to confirm the joining of the broadcast communication link group.
[0081] In one embodiment, the master device also sends an auxiliary synchronization (AUX_SYNC_IND) PDU carrying the link information of the broadcast communication link group based on a periodic advertising channel, so that a listening device synchronizes with the master device based on the auxiliary synchronization PDU, and receives the master broadcast data packets broadcast by the master device and the slave broadcast data packets broadcast by the slave device using the broadcast communication link group based on the link information of the broadcast communication link group.
[0082] It is to be noted that, according to the BLE protocol, the BIG peripheral device synchronizes the BIG central device and obtains the BIG Info through the extended advertising (ADV_EXT_IND) PDU sent by the BIG central device on the primary advertising (Primary Advertising) channel, the auxiliary advertising (AUX_ADV_IND) PDU sent by the BIG central device on the secondary advertising (Secondary Advertising) channel, and the AUX_SYNC_IND PDU sent by the BIG central device on the periodic advertising (Periodic Advertising) channel, so as to receive the BIS PDU sent by the BIG link and the audio data carried thereby.
[0083] Similarly, the listening device also synchronizes the DBIG master device or the DTS and obtains the link information of the broadcast communication link group through searching the ADV_EXT_IND PDU sent by the master device on the primary advertising channel, receiving the AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and then receiving the AUX_SYNC_IND PDU, the DTS_SYNC_SEARCH PDU or the DTS_SYNC_SET_CONFIG PDU sent by the master device on the periodic advertising channel, so as to receive the master broadcast data packet sent by the master broadcast communication link and the audio data carried thereby, and the slave broadcast data packet sent by the slave broadcast communication link and the audio data carried thereby.
[0084] Similarly, the slave device also synchronizes the DBIG master device through searching the ADV_EXT_IND PDU sent by the master device on the primary advertising channel, receiving the AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and then receiving the AUX_SYNC_IND PDU, the DTS_SYNC_SEARCH PDU or the DTS_SYNC_SET_CONFIG PDU sent by the master device on the periodic advertising channel. After the slave device synchronizes the DBIG master device, the slave device establishes a new slave broadcast communication link with the master device through transmitting and receiving the DTS_SYNC_SEARCH PDU, the DTS_SYNC_SET_REQ PDU, the DTS_SYNC_SET_CONFIG PDU and the DTS_SYNC_SET_RSP PDU, so as to join the broadcast communication link group or join the DTS.
[0085] The link between the master device and the slave device for establishing the corresponding slave broadcast communication link through the interaction of the above-mentioned PDUs is referred to as a bidirectional periodic advertising (BPA) link.
[0086] After the master device enters the DBIG mode automatically or through a user interface (UI: User Interface), it sends a DTS_SYNC_SEARCH PDU on a periodic advertising channel.
[0087] After receiving the DTS_SYNC_SEARCH PDU, the slave device that is ready to join the DBIG link replies to the master device with a DTS_SYNC_SET_REQ PDU to request the establishment of a DBIS link and the joining of the DBIG link after an interval T_IFS. T_IFS is the Time of Inter Frame Space, and according to the BLE protocol, T_IFS can be equal to 150 us or other values defined in future BLE protocols. After receiving the DTS_SYNC_SET_REQ PDU sent by the slave device, the master device confirms that the slave device is allowed to establish a DBIS link and join the DBIG according to the device address, device name or UUID of the slave device, and then sends a DTS_SYNC_SET_CONFIG PDU to the slave device with the corresponding device address and configures the corresponding DBIS link sequence number. After receiving the DTS_SYNC_SET_CONFIG PDU sent by the master device, the slave device immediately sends a DTS_SYNC_SET_RSP PDU to confirm the joining of the DBIG after an interval T_IFS. If the master device does not receive the DTS_SYNC_SET_RSP PDU replied by the DBIG slave device, it needs to resend the DTS_SYNC_SET_CONFIG PDU until it correctly receives the DTS_SYNC_SET_RSP PDU sent by the slave device. After sending the DTS_SYNC_SET_RSP PDU, the slave device can establish the corresponding DBIS link according to the DBIS link sequence number and DBIG Info configured in the DTS_SYNC_SET_CONFIG PDU, and schedule the transmission time slot of the SBIS according to the DBIS link sequence number and DBIG Info. It should be noted that only the slave device with the specified address in the DTS_SYNC_SET_CONFIG PDU can send the DTS_SYNC_SET_RSP PDU after an interval T_IFS.
[0088] To prevent multiple slave devices from simultaneously sending DTS_SYNC_SET_REQ PDUs and interfering with each other, the slave device generates a certain delay after receiving the DTS_SYNC_SEARCH PDU and synchronizing with the master device, i.e., after a certain number of DBIG ISO intervals, it receives the DTS_SYNC_SEARCH PDU again and then sends the DTS_SYNC_SET_REQ PDU.
[0089] Exemplarily, the flow of the master device establishing a DBIG can be as followsFigure 5 As shown, after the master device enters the DBIG setup mode, it first sends the DTS_SYNC_SEARCH PDU and receives the DTS_SYNC_SET_REQ PDU. If the DTS_SYNC_SET_REQ PDU is not received correctly, the master device continues to send the DTS_SYNC_SEARCH PDU and receives the DTS_SYNC_SET_REQ PDU.
[0090] If the DTS_SYNC_SET_REQ PDU is received correctly and the slave device with the corresponding device address is allowed to join the DBIG, the master device sends the DTS_SYNC_SET_CONFIG PDU to the slave device with the specified address and receives the DTS_SYNC_SET_RSP PDU. Otherwise, the master device continues to send the DTS_SYNC_SEARCH PDU to search for the slave device. If the DTS_SYNC_SET_RSP PDU is received correctly, the master device groups the slave device with the specified address. Otherwise, the master device continues to send the DTS_SYNC_SET_CONFIG PDU until the DTS_SYNC_SET_RSP PDU is received correctly or the timeout ends. After the master device groups the slave device with the specified address, the master device continues to send the DTS_SYNC_SEARCH PDU to search for other slave devices, and repeats the above process of establishing the DBIS link with the slave device.
[0091] After the DBIG link accesses the expected number of slave devices, the master device exits the DBIG setup mode and stops sending the DTS_SYNC_SEARCH PDU on the periodic advertising channel, and instead sends the AUX_SYNC_IND PDU, so as to facilitate the listening device to synchronize with the master device and obtain the DBIG Info.
[0092] Exemplarily, the process in which the slave device establishes the corresponding DBIS link through the master device and joins the DBIG can be as shown in Figure 6 As shown, after the slave device enters the DBIG join mode, it first synchronizes to the master device, i.e., the slave device first searches for the ADV_EXT_IND PDU sent by the master device on the master advertising channel, then receives the AUX_ADV_IND PDU sent by the master device on the secondary advertising channel, and then receives the DTS_SYNC_SEARCH PDU sent by the master device on the periodic advertising channel, so as to synchronize to the master device.
[0093] After the master device is synchronized, in order to avoid mutual interference of multiple slave devices sending DTS_SYNC_SET_REQ PDU at the same time, a random delay of several equal time intervals is performed, and then DTS_SYNC_SET_REQ PDU is sent after receiving DTS_SYNC_SEARCH PDU again and interval T_IFS. In order to ensure reliability, DTS_SYNC_SET_REQ PDU can also be sent after receiving DTS_SYNC_SEARCH PDU in multiple equal time intervals. Then, the DTS_SYNC_SET_CONFIG PDU sent by the master device is received, and if it is correctly received, DTS_SYNC_SET_RSP PDU is replied after interval T_IFS to confirm the establishment of a new DBIS link and join the DBIG. Otherwise, DTS_SYNC_SET_CONFIG PDU is continuously received until timeout, and after timeout, DTS_SYNC_SEARCH PDU is received again and DTS_SYNC_SET_REQ PDU is sent, and the above process is repeated until the DBIS link is established and the DBIG is joined.
[0094] In addition, the DBIG slave device can exit the DTS or DBIG at any time, and correspondingly, the listening device can also apply to join the DBIG to become a new slave device, so as to realize a more flexible many-to-many interactive wireless communication function.
[0095] In one embodiment, the equal time interval includes a plurality of sub-event intervals.
[0096] The broadcasting of the master broadcast data packet based on the master broadcast communication link and the receiving of the slave broadcast data packet broadcast by the corresponding slave device based on each slave communication link in the one equal time interval of the plurality of consecutive equal time intervals includes:
[0097] The broadcasting of the master broadcast data packet based on the master broadcast communication link and the receiving of the slave broadcast data packet broadcast by the corresponding slave device based on each slave communication link in the one equal time interval of the plurality of consecutive equal time intervals includes:
[0098] In this embodiment, based on the above setting, each of the master device and one or more slave devices obtains at least one broadcasting opportunity in each equal time interval, thereby avoiding the problem of long broadcasting delay of the master device or the slave device.
[0099] Further, each of the plurality of sub-event intervals included in the equal time interval can be configured to broadcast the master broadcast data packet based on the master broadcast communication link, and receive the corresponding slave broadcast data packet broadcast by each of the one or more slave devices based on each of the slave communication links, so that the master device and each of the one or more slave devices obtain a broadcast opportunity in each of the sub-event intervals, which can further reduce the broadcast latency of the master device or the slave device, and make the master device and the slave device in the broadcast communication link group obtain a relatively average broadcast opportunity.
[0100] In one embodiment, the time slot for broadcasting the master broadcast data packet is earlier than the time slot for broadcasting the slave broadcast data packet in one of the plurality of sub-event intervals included in the equal time interval.
[0101] In this embodiment, based on the above configuration, the related transmission configuration of the existing BIS and BIG link protocol is adapted to further reduce the difficulty of modification of the master device and the slave device supporting the method of the application.
[0102] In one embodiment, the method further comprises:
[0103] transmitting a target data packet based on the first communication channel or the second communication channel, so that each of the one or more slave devices synchronizes with the master device clock based on the target data packet;
[0104] The first communication channel is a channel for determining the slave device, and the second communication channel is a channel for other devices to synchronize with the master device.
[0105] Since the clocks of the master device and the slave device are independent of each other, there will be a relative deviation or a relative drift. Based on the above configuration, the slave device can adjust the clock of the slave device based on the target data packet to keep consistent with the clock of the master device, so that the intervals of each DBIS link in the DBIG are relatively constant, i.e., avoid the transmission time slots of each DBIS link overlapping with each other due to clock drift, and avoid the problem of audio synchronization loss of each DBIS link.
[0106] For example, in the present application, the target data packet transmitted by the master device based on the first communication channel can be a DTS synchronization search data packet and a DTS synchronization group set configuration data packet, and the target data packet transmitted by the master device based on the second communication channel can be an auxiliary synchronization PDU carrying link information of the broadcast communication link group.
[0107] In one embodiment, the method further comprises:
[0108] decoding the slave broadcast data packet received based on each slave communication link to obtain decoded audio corresponding to each of the one or more slave devices; and downmixing the decoded audio corresponding to each of the one or more slave devices to obtain mixed audio, and playing the mixed audio as single-channel audio.
[0109] Alternatively,
[0110] playing the decoded audio corresponding to each of the one or more slave devices as multi-channel audio.
[0111] In this embodiment, the above settings are used to flexibly adapt to the case where the master device is a single-channel audio device or a multi-channel audio device.
[0112] Specifically, when the master device is a single-channel audio device, after obtaining the decoded audio corresponding to each of the one or more slave devices, the decoded audio corresponding to each of the one or more slave devices is downmixed to obtain mixed audio, and the mixed audio is played as single-channel audio.
[0113] When the master device is a multi-channel audio device, after obtaining the decoded audio corresponding to each of the one or more slave devices, the decoded audio corresponding to each of the one or more slave devices is played as multi-channel audio.
[0114] The present disclosure also provides a wireless audio data transmission method applied to a first slave device, as shown in the following figure: Figure 7 The wireless audio data transmission method includes the following steps:
[0115] Step 701: Establishing a master broadcast communication link with a master device.
[0116] Step 702: Establishing a slave broadcast communication link through the master device; and in one of a plurality of equal time intervals, receiving a master broadcast data packet broadcast by the master device based on the master broadcast communication link, broadcasting a corresponding slave broadcast data packet based on the slave broadcast communication link, and / or receiving a slave broadcast data packet broadcast by a second slave device based on a slave broadcast communication link corresponding to the second slave device.
[0117] In the same equal time interval, the time slot for broadcasting the master broadcast data packet and the time slot for broadcasting the slave broadcast data packet do not overlap.
[0118] It should be understood that the first slave device is one of the aforementioned one or more slave devices, and the second slave device is one of the aforementioned one or more slave devices different from the first slave device.
[0119] In an embodiment, the master broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices form a broadcast communication link group.
[0120] In an embodiment, the master device and the slave device form a distributed transmission device set through a group set link;
[0121] The slave broadcast communication link established by the master device includes:
[0122] Receiving a DTS synchronization search data packet transmitted by the master device based on the group set channel, and feeding back a DTS synchronization group set request data packet formed based on the DTS synchronization search data packet to the master device, the DTS synchronization group set request data packet carrying request link information, the request link information including a device address and a device identification of the first slave device;
[0123] In a case where the master device determines to allow the first slave device to join the distributed transmission device set based on the device address and the device identification, receiving a DTS synchronization group set configuration data packet transmitted by the master device, the DTS synchronization group set configuration data packet carrying link information of the broadcast communication link group and a target identification;
[0124] Feeding back a DTS synchronization group set response data packet formed based on the DTS synchronization group set configuration data packet to the master device, and establishing a corresponding slave broadcast communication link according to the link information, the first slave device being determined as one slave device in the distributed transmission device set, the target identification being used to uniquely identify the slave broadcast communication link corresponding to the first slave device in the broadcast communication link group.
[0125] In an embodiment, the master broadcast communication link is a master broadcast isochronous stream link, the slave broadcast communication link is a slave broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group;
[0126] And / or,
[0127] The group set link is a bidirectional periodic advertising link or a BLE ACL link.
[0128] The wireless audio data transmission method provided by the embodiments of the present disclosure corresponds to each process involving a slave device in the foregoing embodiments and can achieve the same technical effects. To avoid repetition, details are not repeated here.
[0129] The embodiments of the present disclosure also provide a wireless audio data transmission system, as shown in Figure 8 The wireless audio data transmission system 800 includes:
[0130] a master device 801 and one or more slave devices 802;
[0131] The master device 801 establishes a master broadcast communication link with the one or more slave devices 802;
[0132] Each of the one or more slave devices 802 establishes a corresponding slave broadcast communication link through the master device 801;
[0133] The master device 801 is configured to broadcast a master broadcast data packet based on the master broadcast communication link in one of a plurality of consecutive isochronous intervals, and receive a slave broadcast data packet broadcast by a corresponding slave device 802 based on each slave communication link, wherein a time slot for broadcasting the master broadcast data packet and a time slot for broadcasting the slave broadcast data packet in the same isochronous interval do not overlap.
[0134] In one embodiment, the master broadcast communication link and the corresponding slave broadcast communication link of each of the one or more slave devices 802 constitute a broadcast communication link group.
[0135] In one embodiment, the master device 801 and the slave devices 802 constitute a distributed sending device set through a group set link;
[0136] The master device 801 is configured to:
[0137] send a DTS synchronization search data packet based on the group set link, and receive a DTS synchronization group set request data packet fed back by a candidate device based on the DTS synchronization search data packet, the DTS synchronization group set request data packet carrying request link information, the request link information including a device address and a device identification of the candidate device;
[0138] In a case where the master device 801 determines to allow the candidate device to join the distributed sending device set based on the device address and the device identification, send a DTS synchronization group set configuration data packet to the candidate device, the DTS synchronization group set configuration data packet carrying link information of the broadcast communication link group and a target identification;
[0139] receive a DTS synchronization group set response data packet fed back by the candidate device based on the DTS synchronization group set configuration data packet, and determine the candidate device as one of the slave devices 802 in the distributed sending device set, so that the candidate device establishes a corresponding slave broadcast communication link according to the link information, and the target identification is used to uniquely identify the corresponding slave broadcast communication link of the candidate device in the broadcast communication link group.
[0140] In an embodiment, the primary broadcast communication link is a primary broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the group of broadcast communication links is a distributed broadcast isochronous group;
[0141] and / or,
[0142] The group set link is a bidirectional periodic advertising link or a BLE ACL link.
[0143] In an embodiment, the wireless audio data transmission system 800 further comprises:
[0144] one or more listener devices 803;
[0145] The listener device is configured to receive an auxiliary synchronization PDU sent by the primary device 801 based on a periodic advertising channel, the auxiliary synchronization PDU carrying link information of the group of broadcast communication links;
[0146] The listener device is further configured to synchronize with the primary device 801 based on the auxiliary synchronization PDU, and use the group of broadcast communication links based on the link information to receive a primary broadcast data packet broadcast by the primary device 801 based on the primary broadcast communication link in one of the consecutive multiple isochronous intervals, and receive a secondary broadcast data packet broadcast by a corresponding secondary device 802 based on each secondary communication link.
[0147] Without loss of generality, the wireless audio data transmission system 800 can also be defined as a distributed transmission based wireless broadcast audio (DTWBA) system, which specifically consists of one primary device (Primary Device), at least one (M≥1) secondary device (Secondary Device), and zero or more (N≥0) listener devices (Listener).
[0148] The primary device and the secondary device are both the central device (Central) of the DBIG link and can also be the peripheral device (Peripheral) of the DBIG link. The listener device is the peripheral device of the DBIG link. The primary device is the central device of the PBIS link, the secondary device can be the peripheral device of the PBIS link, and the listener device is the peripheral device of the PBIS link. A certain secondary device is the central device of the SBIS link used to send its audio data, the primary device and other secondary devices are the peripheral devices of the SBIS link, and the listener device is the peripheral device of the SBIS link.
[0149] The master device is also called a DTWBA master device, a DBIG master device, or a DTS master device. The slave device is also called a DTWBA slave device, a DBIG slave device, or a DTS slave device. The listening device is also called a DTWBA listening device, a DBIG listening device, or a DTS listening device.
[0150] The aforementioned wireless audio data transmission method and the corresponding DTWBA system are described by taking the application of a hiking team in which many people talk to each other as an example. As shown in the DTWBA system structure, Figure 8 the master device is a wireless earphone with a microphone used by the team leader of the hiking team, the slave device is a wireless earphone with a microphone used by the vice team leader of the hiking team, and the listening device is a wireless earphone used by a common team member of the hiking team. The number of wireless earphones with microphones used by the vice team leader is M, which is equal to 3, and the number of wireless earphones used by the team members is N, which is not limited. The DBIG contains 4 DBIS links, one PBIS link, and three SBIS links.
[0151] As shown in the DBIG time slot structure, Figure 9 the DBIG contains 4 DBIS links, one PBIS link, and three SBIS links. In the figure, PBIS, SBIS1, SBIS2, and SBIS3 represent the time axes of the 4 DBIS links, respectively. Among them, the 0 box represents the PBIS PDU, the 1 box represents the SBIS1 PDU, the 2 box represents the SBIS2 PDU, and the 3 box represents the SBIS3 PDU. PA represents various PDUs including the AUX_SYNC_IND PDU sent by the PBIS link on the periodic advertising channel, and RA represents various PDUs including the DTS_SYNC_SET_REQ PDU sent by the SBIS link in response to PA on the periodic advertising channel, and PA and RA constitute the BPA link. In addition, C represents the BIG control PDU sent by the PBIS link, EA represents the ADV_EXT_IND PDU sent by the PBIS link on the main advertising channel, and AA represents the AUX_ADV_IND PDU sent by the PBIS link on the secondary advertising channel. Figure 9 The dashed boxes in the figure represent that the corresponding PDUs may or may not be sent in the current ISO interval.
[0152] The main parameters of the DBIG link include: the frame length of LC3 encoding of the single-channel 16 kHz sampling rate digital audio is 10 ms, the encoding rate is 32 kbps, the service data unit (SDU) size is 40 bytes, the isochronous interval (ISO Interval) of DBIG is equal to 10 ms, the number of DBIS links is 4, the number of sub-events (NSE) is equal to 4, the burst number (BN) is equal to 1, the immediate repetition count (IRC) is equal to 4, and the pre-transmission offset (PTO) value is equal to 0. The load of the DBIS PDU contains one SDU with a size of 40 bytes. The BLE 2 Mbps physical layer transmission is used, the DBIS uses the interleaving mode, each DBIS PDU occupies the air time of 220 us, the time of minimum slot space (T_MSS) is 150 us, and the sub-interval is equal to 1480 us. The interval of the periodic advertisement is 60 ms, and the offset value of the start of the periodic advertisement and the start of the BIG (BIG Offset) is 1.23 ms. These basic information is contained in the DBIG Info.
[0153] The master device and the slave device establish the DBIG link by the flow of the DBIG master device establishing the DBIG as shown in Figure 5 and the flow of the DBIG slave device joining the DBIG link as shown in Figure 6 .
[0154] When the master device and the slave device need to talk to each other, in addition to sending their own audio data through the respective PBIS link or SBIS link, they also simultaneously receive the audio data transmitted by the other three DBIS links (PBIS link or SBIS link). The master device and the slave device decode the received three audio data respectively, then play after down-mixing. The received three audio data can also be decoded respectively and played independently in multi-channel.
[0155] The wireless earphone used by the team member synchronizes the master device and obtains DBIG link information (DBIG Info) according to the existing BIG synchronization method, then respectively receives and decodes the audio data transmitted by the four DBIS links (PBIS link and SBIS link), and then plays after down-mixing (for the case of a single-channel audio device as the monitoring device). The four received audio data can also be decoded and played independently in multiple channels (for the case of a multi-channel audio device as the monitoring device).
[0156] In addition, the slave device continuously receives various PDUs or PBIS PDUs with AUX_SYNC_IND PDU sent by the master device on the periodic advertising channel to adjust the clock of the slave device to be consistent with the master device, so that the transmission time slots of the PBIS link and the SBIS link remain relatively unchanged, to avoid the transmission time slots of the PBIS link and the SBIS link overlapping each other due to clock drift, that is, to avoid the audio of the master device and the slave device losing synchronization.
[0157] It is to be noted that the DBIG slave device can exit the DTS or DBIG at any time, and the wireless earphone with a microphone as the monitoring device can also apply to join the DBIG to become a new slave device, thereby realizing more users to communicate with each other.
[0158] As can be seen from the above, based on the DBIG link, the problem of synchronously transmitting multiple wireless audio by multiple transmission devices is solved, the multi-to-multi interactive wireless communication function is realized, and the BIG link audio device can be well supported as the monitoring device in the DBIG link.
[0159] The embodiment of the disclosure provides a wireless audio data transmission device, which is applied to a master device, such as Figure 10 As shown in the figure, the device 1000 comprises:
[0160] A master broadcast link establishment module 1001 is configured to establish a master broadcast communication link;
[0161] An auxiliary link establishment and transmission module 1002 is configured to establish a corresponding slave broadcast communication link for each slave device in one or more slave devices; and
[0162] In one isochronous interval in a plurality of continuous isochronous intervals, a master broadcast data packet is broadcast based on the master broadcast communication link, and a corresponding slave broadcast data packet is received based on the corresponding slave communication link of each slave device, wherein the time slot for broadcasting the master broadcast data packet and the time slot for broadcasting the slave broadcast data packet in the same isochronous interval do not overlap.
[0163] In one embodiment, the master broadcast communication link and the slave broadcast communication link corresponding to each slave device in the one or more slave devices constitute a broadcast communication link group.
[0164] and / or,
[0165] The master device and the slave device form a distributed sending device set through a group set link, and the apparatus 1000 further includes a group set module, which is configured to: send a DTS synchronization search data packet based on the group set link, and receive a DTS synchronization group set request data packet fed back by a candidate device based on the DTS synchronization search data packet, the DTS synchronization group set request data packet carrying request link information, the request link information including a device address and a device identity of the candidate device; in a case where the master device determines to allow the candidate device to join the distributed sending device set based on the device address and the device identity, send a DTS synchronization group set configuration data packet to the candidate device, the DTS synchronization group set configuration data packet carrying link information of the group of broadcast communication links and a target identity; receive a DTS synchronization group set response data packet fed back by the candidate device based on the DTS synchronization group set configuration data packet, and determine the candidate device as a slave device in the distributed sending device set, so that the candidate device establishes a corresponding slave broadcast communication link according to the link information, and the target identity is used to uniquely identify the slave broadcast communication link corresponding to the candidate device in the group of broadcast communication links;
[0166] and / or,
[0167] The equal time interval includes a plurality of sub-event intervals, and the auxiliary link building and transmission module 1002 is specifically configured to: in one of the plurality of sub-event intervals included in the equal time interval, broadcast a master broadcast data packet based on the master broadcast communication link, and receive a slave broadcast data packet broadcast by a corresponding slave device based on each slave communication link;
[0168] and / or,
[0169] In one of the plurality of sub-event intervals included in the equal time interval, the time slot for broadcasting the master broadcast data packet is earlier than the time slot for broadcasting the slave broadcast data packet;
[0170] and / or,
[0171] The auxiliary link building and transmission module 1002 is further configured to: send a target data packet based on a first communication channel or a second communication channel, so that each slave device in the one or more slave devices is synchronized with the master device based on the target data packet; wherein the first communication channel is a channel used to determine the slave device, and the second communication channel is a channel used by other devices to synchronize with the master device;
[0172] and / or,
[0173] The device 1000 further includes a decoding and playing module, configured to: decode each of the slave broadcast data packets received based on each slave communication link respectively to obtain decoded audio corresponding to each of the one or more slave devices; downmix the decoded audio corresponding to each of the one or more slave devices to obtain mixed audio, and play the mixed audio as single-channel audio; or play the decoded audio corresponding to each of the one or more slave devices as multi-channel audio.
[0174] and / or,
[0175] The master broadcast communication link is a master broadcast isochronous stream link, the slave broadcast communication link is a slave broadcast isochronous stream link, and the group of broadcast communication links is a distributed broadcast isochronous group.
[0176] and / or,
[0177] The group set link is a bidirectional periodic advertising link or a BLE ACL link.
[0178] and / or,
[0179] In one isochronous interval of the plurality of consecutive isochronous intervals, the audio data carried by the master broadcast data packet and the audio data carried by the slave broadcast data packet corresponding to each of the one or more slave devices are different.
[0180] and / or,
[0181] The auxiliary link establishing and transmitting module 1002 is further configured to: send an auxiliary synchronization PDU carrying link information of the group of broadcast communication links based on a periodic advertising channel, so that a listening device synchronizes the master device based on the auxiliary synchronization PDU, and receives the master broadcast data packet broadcast by the master device and the slave broadcast data packet broadcast by the slave device based on the link information using the group of broadcast communication links.
[0182] The wireless audio data transmission device 1000 provided by the embodiments of the present disclosure can implement each process in the wireless audio data transmission method embodiment on the master device side, and thus details are not repeated here.
[0183] The embodiments of the present disclosure provide a wireless audio data transmission device applied to a first slave device, for example, Figure 11 As shown in the figure, the device 1100 includes:
[0184] A master broadcast link auxiliary module 1101, configured to establish a master broadcast communication link with a master device.
[0185] A slave broadcast link establishing and transmitting module 1102, configured to establish a slave broadcast communication link through the master device; and
[0186] In one of the continuous multiple equal time intervals, a main broadcast data packet broadcasted by the master device is received based on the main broadcast communication link, a corresponding slave broadcast data packet is broadcasted based on the slave broadcast communication link, and / or a slave broadcast data packet broadcasted by the second slave device is received based on the second slave broadcast communication link corresponding to the second slave device;
[0187] In one of the continuous multiple equal time intervals, a main broadcast data packet broadcasted by the master device is received based on the main broadcast communication link, a corresponding slave broadcast data packet is broadcasted based on the slave broadcast communication link, and / or a slave broadcast data packet broadcasted by the second slave device is received based on the second slave broadcast communication link corresponding to the second slave device;
[0188] In one embodiment, the main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices form a broadcast communication link group;
[0189] In one embodiment, the main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices form a broadcast communication link group;
[0190] The master device and the slave device form a distributed transmission device set through a group set link, and the slave broadcast link establishing and transmission module 1102 is specifically configured to: receive a DTS synchronization search data packet transmitted by the master device based on the group set channel, and feed back a DTS synchronization group set request data packet formed based on the DTS synchronization search data packet to the master device, the DTS synchronization group set request data packet carrying request link information, the request link information including a device address and a device identifier of the first slave device; in the case where the master device determines to allow the first slave device to join the distributed transmission device set based on the device address and the device identifier, receive a DTS synchronization group set configuration data packet transmitted by the master device, the DTS synchronization group set configuration data packet carrying link information of the broadcast communication link group and a target identifier; feed back a DTS synchronization group set response data packet formed based on the DTS synchronization group set configuration data packet to the master device, and establish a corresponding slave broadcast communication link according to the link information, the first slave device being determined as one slave device in the distributed transmission device set, and the target identifier being used to uniquely identify the slave broadcast communication link corresponding to the first slave device in the broadcast communication link group;
[0191] In one embodiment, the main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices form a broadcast communication link group;
[0192] The main broadcast communication link is a main broadcast isochronous stream link, the slave broadcast communication link is a slave broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group;
[0193] In one embodiment, the main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices form a broadcast communication link group;
[0194] The group set link is a bidirectional periodic advertising link or a BLE ACL link.
[0195] The wireless audio data transmission device 1100 provided in this embodiment can realize the various processes in the first slave device-side wireless audio data transmission method embodiment, and will not be described again here to avoid repetition.
[0196] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0197] Figure 12 A schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure is shown. Figure 12 As shown, device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 1202 or a computer program loaded from storage unit 1208 into random access memory (RAM) 1203. The RAM 1203 may also store various programs and data required for the operation of device 1200. The computing unit 1201, ROM 1202, and RAM 1203 are interconnected via bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0198] Multiple components in device 1200 are connected to I / O interface 1205, including: input unit 1206, such as keyboard, mouse, etc.; output unit 1207, such as various types of monitors, speakers, etc.; storage unit 1208, such as disk, optical disk, etc.; and communication unit 1209, such as network card, modem, wireless transceiver, etc. Communication unit 1209 allows device 1200 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0199] The computing unit 1201 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a Central Processing Unit (CPU), a Graphic Process Unit (GPU), various special-purpose Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processing (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs various methods and processes described above, such as the wireless audio data transmission method. For example, in some embodiments, the wireless audio data transmission method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 1208. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 1200 via the ROM 1202 and / or the communication unit 1209. When the computer program is loaded onto the RAM 1203 and executed by the computing unit 1201, one or more steps of the wireless audio data transmission method described above can be performed. Alternatively, in other embodiments, the computing unit 1201 can be configured to perform the wireless audio data transmission method by any other suitable means, such as by means of firmware.
[0200] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a Field-Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a System on Chip (SOC), a Complex Programmable Logic Device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0201] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, causes the machine to perform the functions / operations specified in the flow diagrams and / or block diagrams. The program code can execute entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine and partly on a remote machine or entirely on a remote machine or server.
[0202] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores program code for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include one or more lines of a system, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0203] The embodiments of the present application also provide a computer program product, comprising computer instructions, which, when executed by a processor, implement the various processes of the method embodiments shown above and can achieve the same technical effects. To avoid repetition, they will not be described here again. Figure 1 or Figure 7 The various processes of the method embodiments shown above can be implemented by the computer program product, and the same technical effects can be achieved. To avoid repetition, they will not be described here again.
[0204] It should be understood that the various forms of flow shown above can be reordered, added to, or deleted from. For example, the steps described in the present disclosure can be executed in parallel, in sequence, or in a different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, which are not limited herein.
[0205] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A wireless audio data transmission method, applied to a master device, characterized in that, The method includes: Establish the main broadcast communication link; Establish a corresponding slave broadcast communication link for each of one or more slave devices; and Within one of a series of equal time intervals, a main broadcast data packet is broadcast based on the main broadcast communication link, and a corresponding slave broadcast data packet is received based on the slave communication link corresponding to each slave device, wherein the time slots for broadcasting the main broadcast data packet and the time slots for broadcasting the slave broadcast data packet do not overlap within the same equal time interval; The main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
2. The method according to claim 1, characterized in that, The master device and the slave device form a distributed transmission device set through a set-up link; The method further includes: Based on the aggregation link, DTS synchronization search data packets are sent, and DTS synchronization aggregation request data packets are received from candidate devices based on the DTS synchronization search data packets. The DTS synchronization aggregation request data packets carry request link information, which includes the device address and device identifier of the candidate device. When the master device determines, based on the device address and the device identifier, that the candidate device is allowed to join the distributed transmission device set, it sends a DTS synchronization group set configuration data packet to the candidate device. The DTS synchronization group set configuration data packet carries the link information of the broadcast communication link group and the target identifier. The system receives a DTS synchronization group response data packet from a candidate device based on the DTS synchronization group configuration data packet, and identifies the candidate device as a slave device in the distributed transmitting device set, so that the candidate device can establish a corresponding slave broadcast communication link according to the link information. The target identifier is used to uniquely identify the slave broadcast communication link corresponding to the candidate device in the broadcast communication link group.
3. The method according to claim 1, characterized in that, The equal time interval includes multiple sub-event intervals; The step of broadcasting a main broadcast data packet based on the main broadcast communication link within one of a series of equal time intervals, and receiving a corresponding slave broadcast data packet broadcast by a slave device based on each slave communication link, includes: Within one of the multiple sub-event intervals included in the equal time interval, a main broadcast data packet is broadcast based on the main broadcast communication link, and a sub-broadcast data packet broadcast by the corresponding sub-device is received based on each sub-communication link.
4. The method according to claim 3, characterized in that, Within one of the multiple sub-event intervals included in the equal time interval, the time slot for broadcasting the main broadcast data packet is earlier than the time slot for broadcasting the secondary broadcast data packet.
5. The method according to claim 1, characterized in that, The method further includes: The target data packet is transmitted based on the first communication channel or the second communication channel so that each of the one or more slave devices synchronizes with the clock of the master device based on the target data packet; The first communication channel is used to determine the slave device, and the second communication channel is used by other devices to synchronize the master device.
6. The method according to claim 1, characterized in that, The method further includes: Each broadcast data packet received from each communication link is decoded to obtain decoded audio corresponding to each of one or more slave devices; the decoded audio corresponding to each of the one or more slave devices is downmixed to obtain mixed audio, and the mixed audio is played as mono audio; or, the decoded audio corresponding to each of the one or more slave devices is played as multi-channel audio. And / or, The main broadcast communication link is a main broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group; And / or, The group link is either a bidirectional periodic advertising link or a BLE ACL link; And / or, Within one of a series of equal time intervals, the audio data carried by the master broadcast data packet and the audio data carried by the slave broadcast data packet corresponding to each of the one or more slave devices are different. And / or, The method further includes: An auxiliary synchronization PDU carrying link information of the broadcast communication link group is sent based on a periodic advertising channel, so that the monitoring device synchronizes the master device based on the auxiliary synchronization PDU, and receives the master broadcast data packet broadcast by the master device and the slave broadcast data packet broadcast by the slave device using the broadcast communication link group based on the link information.
7. A wireless audio data transmission method, applied to a first slave device, characterized in that, The method includes: Establish a main broadcast communication link with the main equipment; Establish a broadcast communication link through the master device; and Within one of a series of equal time intervals, the master broadcast data packet broadcast by the master device is received based on the master broadcast communication link, the corresponding slave broadcast data packet is broadcast based on the slave broadcast communication link, and / or, the slave broadcast data packet broadcast by the second slave device is received based on the slave broadcast communication link corresponding to the second slave device; Among them, the time slots for broadcasting the main broadcast data packet and the time slots for broadcasting the secondary broadcast data packet do not overlap within the same equal time interval; The main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
8. The method according to claim 7, characterized in that, The master device and the slave device form a distributed transmission device set through a set-up link; The establishment of a broadcast communication link through the master device includes: Based on the aggregation channel, the master device receives DTS synchronization search data packets sent by the master device and sends back DTS synchronization aggregation request data packets formed based on the DTS synchronization search data packets to the master device. The DTS synchronization aggregation request data packets carry request link information, which includes the device address and device identifier of the first slave device. When the master device determines, based on the device address and the device identifier, that the first slave device is allowed to join the distributed transmission device set, it receives a DTS synchronization group set configuration data packet sent by the master device. The DTS synchronization group set configuration data packet carries the link information of the broadcast communication link group and the target identifier. The master device sends back a DTS synchronization group response data packet based on the DTS synchronization group configuration data packet, and establishes a corresponding slave broadcast communication link according to the link information. The first slave device is determined as a slave device in the distributed sending device set, and the target identifier is used to uniquely identify the slave broadcast communication link corresponding to the first slave device in the broadcast communication link group.
9. The method according to claim 8, characterized in that, The main broadcast communication link is a main broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group; And / or, The grouping link is a bidirectional periodic advertising link or a BLE ACL link.
10. A wireless audio data transmission system, characterized in that, The wireless audio data transmission system includes: One master device and one or more slave devices; The master device establishes a master broadcast communication link with the one or more slave devices; Each of the one or more slave devices establishes a corresponding slave broadcast communication link through the master device; The master device is used to: broadcast a master broadcast data packet based on the master broadcast communication link within one of a series of equal time intervals, and to receive a slave broadcast data packet broadcast by the corresponding slave device based on each slave communication link, wherein the time slots for broadcasting the master broadcast data packet and the time slots for broadcasting the slave broadcast data packet do not overlap within the same equal time interval; The main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
11. The wireless audio data transmission system according to claim 10, characterized in that, The master device and the slave device form a distributed transmission device set through a set-up link; The main device is used for: Based on the aggregation link, DTS synchronization search data packets are sent, and DTS synchronization aggregation request data packets are received from candidate devices based on the DTS synchronization search data packets. The DTS synchronization aggregation request data packets carry request link information, which includes the device address and device identifier of the candidate device. When the master device determines, based on the device address and the device identifier, that the candidate device is allowed to join the distributed transmission device set, it sends a DTS synchronization group set configuration data packet to the candidate device. The DTS synchronization group set configuration data packet carries the link information of the broadcast communication link group and the target identifier. The system receives a DTS synchronization group response data packet from a candidate device based on the DTS synchronization group configuration data packet, and identifies the candidate device as a slave device in the distributed transmitting device set, so that the candidate device can establish a corresponding slave broadcast communication link according to the link information. The target identifier is used to uniquely identify the slave broadcast communication link corresponding to the candidate device in the broadcast communication link group.
12. The wireless audio data transmission system according to claim 11, characterized in that, The main broadcast communication link is a main broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group; And / or, The grouping link is a bidirectional periodic advertising link or a BLE ACL link.
13. The wireless audio data transmission system according to claim 10, characterized in that, The wireless audio data transmission system also includes: One or more listening devices; The monitoring device is used to: receive auxiliary synchronization PDUs sent by the master device based on a periodic advertising channel, wherein the auxiliary synchronization PDUs carry link information of the broadcast communication link group; The monitoring device is also used to: synchronize the master device based on the auxiliary synchronization PDU, and use the broadcast communication link group based on the link information to receive the master broadcast data packet broadcast by the master device based on the master broadcast communication link in one of a series of equal time intervals, and to receive the corresponding slave broadcast data packet broadcast by the slave device based on each slave communication link.
14. A wireless audio data transmission device, applied to a main device, characterized in that, The device includes: The main broadcast link establishment module is used to establish the main broadcast communication link; The auxiliary link establishment and transmission module is used to establish a corresponding slave broadcast communication link for each of one or more slave devices; and Within one of a series of equal time intervals, a main broadcast data packet is broadcast based on the main broadcast communication link, and a corresponding slave broadcast data packet is received based on the slave communication link corresponding to each slave device, wherein the time slots for broadcasting the main broadcast data packet and the time slots for broadcasting the slave broadcast data packet do not overlap within the same equal time interval; The main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
15. The wireless audio data transmission device according to claim 14, characterized in that, The master device and the slave device form a distributed transmitting device set via a clustering link. The device further includes a clustering module, which is configured to: send DTS synchronization search data packets based on the clustering link, and receive DTS synchronization clustering request data packets from candidate devices based on the DTS synchronization search data packets, wherein the DTS synchronization clustering request data packets carry request link information, including the device address and device identifier of the candidate device; if the master device determines, based on the device address and device identifier, that the candidate device is allowed to join the distributed transmitting device set, send a DTS synchronization clustering configuration data packet to the candidate device, wherein the DTS synchronization clustering configuration data packet carries the link information of the broadcast communication link group and a target identifier; receive a DTS synchronization clustering response data packet from the candidate device based on the DTS synchronization clustering configuration data packet, and identify the candidate device as a slave device in the distributed transmitting device set, so that the candidate device establishes a corresponding slave broadcast communication link according to the link information, wherein the target identifier is used to uniquely identify the slave broadcast communication link corresponding to the candidate device in the broadcast communication link group; And / or, The equal time interval includes multiple sub-event intervals, and the auxiliary link establishment and transmission module is specifically used to: broadcast a main broadcast data packet based on the main broadcast communication link within one of the multiple sub-event intervals included in the equal time interval, and receive a corresponding slave broadcast data packet broadcast by a slave device based on each slave communication link; And / or, Within one of the multiple sub-event intervals included in the equal time interval, the time slot for broadcasting the main broadcast data packet is earlier than the time slot for broadcasting the secondary broadcast data packet; And / or, The auxiliary link establishment and transmission module is further configured to: send a target data packet based on a first communication channel or a second communication channel, so that each of the one or more slave devices synchronizes with the clock of the master device based on the target data packet; wherein, the first communication channel is used to determine the slave device, and the second communication channel is used by other devices to synchronize the master device; And / or, The device further includes a decoding and playback module, which is configured to: decode the broadcast data packets received from each communication link to obtain decoded audio corresponding to each of the one or more slave devices; downmix the decoded audio corresponding to each of the one or more slave devices to obtain mixed audio, and play the mixed audio as mono audio; or, play the decoded audio corresponding to each of the one or more slave devices as multi-channel audio. And / or, The main broadcast communication link is a main broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group; And / or, The group link is either a bidirectional periodic advertising link or a BLE ACL link; And / or, Within one of a series of equal time intervals, the audio data carried by the master broadcast data packet and the audio data carried by the slave broadcast data packet corresponding to each of the one or more slave devices are different. And / or, The auxiliary link establishment and transmission module is further configured to: send an auxiliary synchronization PDU carrying link information of the broadcast communication link group based on the periodic advertising channel, so that the monitoring device synchronizes the master device based on the auxiliary synchronization PDU, and receives the master broadcast data packet broadcast by the master device and the slave broadcast data packet broadcast by the slave device using the broadcast communication link group based on the link information.
16. A wireless audio data transmission device, applied to a first slave device, characterized in that, The device includes: The main broadcast link auxiliary module is used to establish a main broadcast communication link with the main device; The broadcast link establishment and transmission module is used to establish a broadcast communication link through the master device; and Within one of a series of equal time intervals, the master broadcast data packet broadcast by the master device is received based on the master broadcast communication link, the corresponding slave broadcast data packet is broadcast based on the slave broadcast communication link, and / or, the slave broadcast data packet broadcast by the second slave device is received based on the slave broadcast communication link corresponding to the second slave device; Among them, the time slots for broadcasting the main broadcast data packet and the time slots for broadcasting the secondary broadcast data packet do not overlap within the same equal time interval; The main broadcast communication link and the slave broadcast communication link corresponding to each of the one or more slave devices constitute a broadcast communication link group.
17. The wireless audio data transmission device according to claim 16, characterized in that, The master device and the slave device form a distributed transmission device set through a clustering link. The slave broadcast link establishment and transmission module is specifically used to: receive DTS synchronization search data packets sent by the master device based on the clustering channel, and send back DTS synchronization clustering request data packets formed based on the DTS synchronization search data packets to the master device. The DTS synchronization clustering request data packets carry request link information, which includes the device address and device identifier of the first slave device. When the master device determines, based on the device address and the device identifier, that the first slave device is allowed to join the distributed transmission device set, it receives a DTS synchronization group set configuration data packet sent by the master device. The DTS synchronization group set configuration data packet carries the link information of the broadcast communication link group and the target identifier. The master device sends back a DTS synchronization group response data packet based on the DTS synchronization group configuration data packet, and establishes a corresponding slave broadcast communication link according to the link information. The first slave device is determined as a slave device in the distributed sending device set, and the target identifier is used to uniquely identify the slave broadcast communication link corresponding to the first slave device in the broadcast communication link group. And / or, The main broadcast communication link is a main broadcast isochronous stream link, the secondary broadcast communication link is a secondary broadcast isochronous stream link, and the broadcast communication link group is a distributed broadcast isochronous group; And / or, The group link is either a bidirectional periodic advertising link or a BLE ACL link.
Citation Information
Patent Citations
Audio broadcasting method, device and system, electronic equipment and readable storage medium
CN115348548A
Wireless audio data transmission method and related equipment
CN118201092A