Wireless audio communication method, device, system and medium
By interacting with the third device based on the advertising channel in a wireless headset or wireless hearing aid, establishing a broadcast communication link and periodically broadcasting link information, the problems of cumbersome operation and time-consuming switching are solved, and the wireless headset or wireless hearing aids are realized in multiple sending Quick selection and switching in device scenarios.
Patent Information
- Application Number
- CN202411273669.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-12-31
AI Technical Summary
During the selection and switching of multi-audio content or sending device, existing wireless headphones or wireless hearing aids are cumbersome and time-consuming, especially without the assistance of a smartphone or smart TV.
By interacting with the third device based on the advertising channel, establishing a broadcast communication link and adding it to the coordinated communication link, periodically broadcasting the link information of the coordinated communication link allows the receiver to directly select and switch multi-audio content on its own device. , no need to rely on other devices.
The process of searching and synchronizing multi-send devices on the receiver side is simplified, the switching time between multi-send devices is reduced, and the operation efficiency is improved.
Smart Images

Figure CN119233438A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of wireless communication technology, and in particular to a wireless audio communication method, device, system and medium. Background Art
[0002] Bluetooth Low Energy (BLE) audio technology uses synchronous isochronous channels (Isochronous Channels) links, including point-to-point bidirectional communication connected isochronous stream (CIS) links and connected isochronous group (CIG) links consisting of at least one CIS link, point-to-multipoint unidirectional communication broadcast isochronous stream (BIS) links and broadcast isochronous group (BIG) links consisting of at least one BIS link, bringing people lower power consumption, lower cost, lower latency, higher quality, and richer wireless audio services. For example, the wireless broadcast audio (WBA) function of point-to-multipoint unidirectional communication is implemented using a BIG link.
[0003] With the promotion and popularization of WBA using BIG links, whether in home scenes or in public scenes such as airports, stations, cafes, and restaurants, there will be multiple BIG sending devices providing WBA services with different contents. BIG receiving devices are generally wireless headphones or wireless hearing aids, but wireless headphones or wireless hearing aids do not have visual user interfaces such as display screens. Generally, a smartphone or smart TV with a display screen is required to assist the wireless headphones or wireless hearing aids in searching and selecting a BIG sending device that meets the user's needs, and then the wireless headphones or wireless hearing aids are assisted in synchronizing the selected BIG sending device through the Periodic Advertising Sync Transfer (PAST) process. However, for wireless headphones or wireless hearing aids, such a user interface and operation process are too complicated.
[0004] Therefore, in a WBA scenario with multiple BIG sending devices, without the assistance of a smartphone or smart TV, wireless headphones or wireless hearing aids need to search and synchronize multiple BIG sending devices, which is a cumbersome and time-consuming process. Summary of the invention
[0005] The embodiments of the present invention provide a wireless audio communication method, device, system and medium to at least solve the existing problems of complicated operation and time-consuming switching process in the process of selecting and switching multiple audio contents or sending devices.
[0006] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0007] In a first aspect, an embodiment of the present invention provides a wireless audio communication method, which is applied in a first device, and includes:
[0008] Based on the advertising channel, interact with a third device to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device;
[0009] Based on the established broadcast communication link, audio data is broadcast.
[0010] Optionally, the advertising channel includes a periodic advertising channel;
[0011] The step of interacting with the third device based on the advertising channel to establish a broadcast communication link and adding the established broadcast communication link to the coordinated communication link established by the third device includes:
[0012] receiving a synchronization access data packet periodically broadcast by the third device on the periodic advertising channel, wherein the synchronization access data packet is used to synchronize the third device;
[0013] According to the synchronous access data packet, based on the periodic advertising channel, reply a synchronous request data packet to the third device, wherein the synchronous request data packet is used to request a connection to the third device;
[0014] receiving a synchronization configuration data packet fed back by the third device on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link;
[0015] According to the synchronization configuration data packet and based on the periodic advertising channel, a synchronization response data packet is replied to the third device to confirm joining the first device cluster formed by the third device and adding the established broadcast communication link to the coordination communication link formed by the third device.
[0016] Optionally, the synchronous access data packet carries device address information of the third device, link information of the coordinated communication link, link information of the enabled broadcast communication link, broadcast configuration information, and an enable bit for indicating the number of enabled broadcast communication links; and / or,
[0017] The synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and the instruction information for instructing the third device to request a connection to join the first device cluster and to add the requested broadcast communication link to the coordinated communication link;
[0018] The synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or,
[0019] The synchronization configuration data packet carries the device address information of the first device, the device address information of the third device, the link information of the coordinated communication link, and the link information of the broadcast communication link configured by the third device for the first device.
[0020] Optionally, the method further includes:
[0021] Continuously receiving data packets periodically broadcast by the third device to adjust the clock of the first device to be consistent with the clock of the third device; and / or,
[0022] The offset value of the starting point of the broadcast communication link relative to various data packets sent by the third device on the periodic advertising channel is kept relatively unchanged.
[0023] Optionally, replying a synchronization request data packet to the third device includes:
[0024] Randomly generate a delay of preset length;
[0025] After the delay of the preset time length, if the synchronous access data packet is received again, the synchronous request data packet is fed back to the third device.
[0026] Optionally, the advertising channel is configured according to the Bluetooth low energy protocol;
[0027] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0028] The interacting with the third device based on the advertising channel further includes:
[0029] receiving an extended advertisement protocol data unit sent by the third device on the primary advertisement channel, and receiving an auxiliary advertisement protocol data unit sent by the third device on the secondary advertisement channel,
[0030] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0031] In a second aspect, an embodiment of the present invention provides a wireless audio communication method, which is applied to a second device, and includes:
[0032] Synchronize the third device to obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device;
[0033] selecting a target broadcast communication link of a target first device from the at least one broadcast communication link;
[0034] Based on the target broadcast communication link, audio data broadcasted by the target first device is received.
[0035] Optionally, the synchronizing the third device to obtain link information of the coordinated communication link broadcast by the third device includes:
[0036] Based on an advertising channel, receiving a periodic broadcast of a third device to synchronize the third device and obtain link information of a coordinated communication link broadcast by the third device; the advertising channel includes a periodic advertising channel;
[0037] Wherein, when receiving the periodic broadcast of the third device, a synchronization access data packet or a synchronization configuration data packet sent by the third device is received on the periodic advertising channel to synchronize the third device and obtain link information of the coordinated communication link.
[0038] Optionally, the advertising channel is configured according to the Bluetooth low energy protocol;
[0039] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0040] The receiving the periodic broadcast of the third device based on the advertising channel also includes receiving an extended advertising protocol data unit sent by the third device on the primary advertising channel and receiving an auxiliary advertising protocol data unit sent by the third device on the secondary advertising channel.
[0041] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0042] In a third aspect, an embodiment of the present invention provides a wireless audio communication method, which is applied in a third device, and includes:
[0043] Based on the advertising channel, interact with at least one first device to establish a coordinated communication link, wherein the coordinated communication link includes a broadcast communication link of at least one first device;
[0044] Based on the advertising channel, link information of the coordinated communication link is broadcasted.
[0045] Optionally, based on the advertising channel, interact with at least one first device to establish a coordinated communication link;
[0046] The step of interacting with at least one first device based on the advertising channel to establish a coordinated communication link includes:
[0047] Broadcasting and sending a synchronization access data packet based on a periodic advertising channel, wherein the synchronization access data packet is used for synchronization of the first device or the second device;
[0048] receiving a synchronization request data packet fed back by the first device on the periodic advertising channel, wherein the synchronization request data packet is used by the first device to request the third device to establish a connection;
[0049] After receiving the synchronization request data packet, determining whether to allow the current first device to join the first device cluster;
[0050] If permitted, sending a synchronization configuration data packet to the first device based on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link;
[0051] Receive a synchronization response data packet replied by the first device on the periodic advertising channel, add the first device to the first device cluster, and add the broadcast communication link to the coordinated communication link; if the synchronization response data packet replied by the first device is not received, resend the synchronization configuration data packet until the synchronization response data packet replied by the first device is correctly received.
[0052] Optionally, the synchronous access data packet carries device address information of the third device, link information of the coordinated communication link, link information of the broadcast communication link enabled in the broadcast communication link, broadcast configuration information, and an enable bit for indicating the number of enabled broadcast communication links; and / or,
[0053] The synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and the instruction information for instructing the third device to request a connection to join the first device cluster and to add the broadcast communication link to the coordination communication link;
[0054] The synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or,
[0055] The synchronization configuration data packet carries the device address information of the first device, the device address information of the third device, the link information of the coordinated communication link, and the link information of the broadcast communication link configured for the first device.
[0056] Optionally, before sending a synchronization configuration data packet to the first device based on the periodic advertising channel, the method further includes:
[0057] Re-determining the communication link access address, the communication link access address seed, and the offset value of the communication link starting point in the link information of the broadcast communication link;
[0058] The re-determined communication link access address, communication link access address seed and communication link starting point offset value of the broadcast communication link are added to the synchronization configuration data packet as the content of the link information of the broadcast communication link.
[0059] Optionally, the advertising channel is configured according to the Bluetooth low energy protocol;
[0060] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0061] The periodic broadcasting based on the advertising channel further includes an extended advertising protocol data unit sent on the primary advertising channel and an auxiliary advertising protocol data unit sent on the secondary advertising channel.
[0062] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0063] Optionally, the coordinated communication link also includes link information of the current broadcast communication link of the third device.
[0064] In a fourth aspect, an embodiment of the present invention provides a first device for implementing the wireless audio communication method as described in the first aspect, comprising: a baseband data and protocol processor and a radio frequency transceiver module;
[0065] The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with the third device based on the advertising channel to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device;
[0066] The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast audio data based on the established broadcast communication link.
[0067] In a fifth aspect, an embodiment of the present invention provides a second device for implementing the wireless audio communication method as described in the second aspect, comprising: a baseband data and protocol processor and a radio frequency transceiver module;
[0068] The baseband data and protocol processor is used to control the radio frequency transceiver module to synchronize with the third device and obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device;
[0069] The baseband data and protocol processor is used to select a target broadcast communication link of a target first device from the at least one broadcast communication link;
[0070] The baseband data and protocol processor is used to control the radio frequency transceiver module to receive the audio data broadcasted by the target first device based on the target broadcast communication link.
[0071] In a sixth aspect, an embodiment of the present invention provides a third device, used to implement the wireless audio communication method described in any one of the third aspects, including: a baseband data and protocol processor and a radio frequency transceiver module;
[0072] The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with at least one first device based on the advertising channel to establish a coordinated communication link, wherein the coordinated communication link includes a broadcast communication link of at least one first device;
[0073] The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast the link information of the coordinated communication link based on the advertising channel.
[0074] In a seventh aspect, an embodiment of the present invention provides an audio transmission system, including:
[0075] The first device as described in the fourth aspect above;
[0076] The second device as described in the fifth aspect above;
[0077] The third device as described in the sixth aspect above.
[0078] In an eighth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the wireless audio communication method as described in the first aspect are implemented; or, when the program is executed by the processor, the steps of the wireless audio communication method as described in the second aspect are implemented; or, when the program is executed by the processor, the steps of the wireless audio communication method as described in the third aspect are implemented.
[0079] In the ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the wireless audio communication method as described in the first aspect are implemented; or, when the computer program is executed by a processor, the steps of the wireless audio communication method as described in the second aspect are implemented; or, when the computer program is executed by a processor, the steps of the wireless audio communication method as described in the third aspect are implemented.
[0080] In the present application, based on the advertising channel, interaction with the third device is performed to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device; based on the established broadcast communication link, audio data is broadcast. In an embodiment of the present application, through the established coordinated communication link, the third device can directly and periodically broadcast the link information of the coordinated communication link, and the receiving end can directly select and switch multiple audio contents or the first device on its own device based on the received link information, without relying on other devices, and can directly receive and select different broadcast audio content, which simplifies the process of the receiving end searching and synchronizing multiple sending devices, and also simplifies the process of the receiving end quickly switching between multiple sending devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0082] Figure 1 is a flow chart of one of the wireless audio communication methods provided by an embodiment of the present invention;
[0083] Figure 2 is a schematic diagram of the structure of a CoMT WBA system provided by an embodiment of the present invention;
[0084] Figure 3 is a schematic diagram of a common extended advertisement payload format provided by an embodiment of the present invention;
[0085] Figure 4 is a schematic diagram of an extended packet header format provided in an embodiment of the present application;
[0086] Figure 5 This is a schematic diagram of an extended packet header flag bit provided in an embodiment of the present application;
[0087] Figure 6This is a flow chart of a first device accessing CoBIG provided by an embodiment of the present application;
[0088] Figure 7 is a flow chart of a second wireless audio communication method provided by an embodiment of the present invention;
[0089] Figure 8 It is a second device working flow diagram provided in an embodiment of the present application;
[0090] Fig. 9 is a flowchart of a third wireless audio communication method provided by an embodiment of the present invention;
[0091] Fig.10 This is a flowchart of a third device establishing CoBIG provided by an embodiment of the present application;
[0092] Fig.11 is a structural schematic diagram of a first device, a second device or a third device provided in an embodiment of the present application;
[0093] Fig.12 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0094] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0095] Please refer to Figure 1 , an embodiment of the present invention provides a wireless audio communication method, the method is applied in a first device, the method includes:
[0096] Step 11: Based on the advertising channel, interact with the third device to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device;
[0097] Optionally, by establishing a coordinated communication link, the link information of the broadcast communication link contained in the coordinated communication link can be directly broadcast periodically through the third device. The third device can directly broadcast the link information of the coordinated communication link. After receiving the link information of the coordinated communication link broadcast by the third device, the second device can select a target first device from the first devices based on the link information of the coordinated communication link, or select a target audio content from the audio content broadcast by the first device, and receive the audio data and target audio content broadcast by the target first device.
[0098] It is worth noting that even if the coordinated communication link only includes a broadcast communication link of the first device, the third device can also perform the operation of selecting audio content, but since there is only one broadcast communication link, the broadcast communication link is the target broadcast communication link at this time, and the first device corresponding to the target broadcast communication link is the target first device, and the corresponding audio content is the target audio content. In other words, step 11 in this application can also be the timing of the coordinated communication link established by the third device, that is, the broadcast communication link of the current first device can be the first broadcast communication link of the current coordinated communication link.
[0099] Optionally, of course, the broadcast communication link of the current first device can also be newly added on the basis of at least one broadcast communication link already included in the current coordinated communication link. That is to say, optionally, in some embodiments, after the current first device interacts with the third device, the coordinated communication link includes broadcast communication links of at least two first devices, two or more first devices are formed into a first device cluster through the third device, the broadcast communication links of the first device cluster constitute a coordinated communication link, the link information of the first device cluster is periodically broadcast through the third device, and the second device receives the link information of the coordinated communication link broadcast by the third device, and based on the link information, selects a first device from two or more first devices and receives the audio data broadcast by the first device.
[0100] Step 12: Broadcast audio data based on the established broadcast communication link.
[0101] In some specific embodiments, the audio data may be broadcasted and sent based on the currently commonly used Broadcast Isochronous Group (BIG) protocol, or may be sent based on other similar broadcast communication protocols.
[0102] In the present application, based on the advertising channel, interaction with the third device is performed to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device; based on the established broadcast communication link, audio data is broadcast. In an embodiment of the present application, through the established coordinated communication link, the third device can directly and periodically broadcast the link information of the coordinated communication link, and the receiving end can directly select and switch multiple audio contents or the first device on its own device based on the received link information, without relying on other devices, and can directly receive and select different broadcast audio content, which simplifies the process of the receiving end searching and synchronizing multiple sending devices, and also simplifies the process of the receiving end quickly switching between multiple sending devices.
[0103] Optionally, in some embodiments, the advertising channel includes a periodic advertising channel;
[0104] The step of interacting with the third device based on the advertising channel to establish a broadcast communication link and adding the established broadcast communication link to the coordinated communication link established by the third device includes:
[0105] receiving a synchronization access data packet periodically broadcast by the third device on the periodic advertising channel, wherein the synchronization access data packet is used to synchronize the third device;
[0106] According to the synchronous access data packet, based on the periodic advertising channel, reply a synchronous request data packet to the third device, wherein the synchronous request data packet is used to request a connection to the third device;
[0107] receiving a synchronization configuration data packet fed back by the third device on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link;
[0108] According to the synchronization configuration data packet and based on the periodic advertising channel, a synchronization response data packet is replied to the third device to confirm joining the first device cluster formed by the third device and adding the established broadcast communication link to the coordination communication link formed by the third device.
[0109] Optionally, in some embodiments, the content carried in each data packet is as follows:
[0110] Optionally, in some specific embodiments, the synchronous access data packet carries device address information of the third device, link information of the coordinated communication link, link information of the enabled broadcast communication link, broadcast configuration information, and an enable bit for indicating the number of enabled broadcast communication links; and / or,
[0111] It is worth noting that the broadcast configuration information may include various parameters such as broadcast interval, data frame size, number of retransmissions, and scheduling method.
[0112] In some specific embodiments, the synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and the indication information for indicating that a connection is requested to the third device to join the first device cluster, and the requested broadcast communication link is added to the coordinated communication link;
[0113] In some specific embodiments, the synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or,
[0114] In some specific embodiments, the synchronization configuration data packet carries device address information of the first device, device address information of the third device, link information of the coordinated communication link, and link information of the broadcast communication link configured by the third device for the first device.
[0115] It is worth noting that the synchronous access data packet and the synchronous configuration data packet carry link information of the coordinated communication link, and the third device also sends the link information of the coordinated communication link through the periodic advertising channel synchronous access data packet and / or synchronous configuration data packet.
[0116] Based on the following specific application scenarios, the embodiments of the present application are further described.
[0117] Please refer to Figure 2 , which is the structure of the Wireless Broadcast Audio (WBA) system of the coordinated multi-transmitter (CoMT) described in the present application, and is composed of a WBA coordinator (Coordinator) (third device), at least one WBA transmitting device (M≥m≥1) (first device), and one or more WBA receiving devices (N≥n2≥n1≥1) (second device). At least one transmitting device establishes a broadcast communication link through interaction and adds the established broadcast communication link to the coordinating device to form a coordinated multi-transmitter set (CoMTS) (first device cluster), that is, different WBA transmitting devices respectively establish different BIG links to broadcast audio data to the WBA receiving device, and the transmitting device broadcasts audio data based on the established broadcast communication link.
[0118] Optionally, in some embodiments, before different sending devices establish a BIG link, they first synchronize with the WBA coordination device, then join the CoMTS through a bidirectional periodic advertising link (Bidirectional Periodic Advertising, BPA), and send corresponding BIG link information (BIG Info) through the periodic advertising channel of the WBA coordination device. The BIGInfo of at least one WBA sending device constitutes a coordinated BIGInfo (Coordinated BIG Info, CoBIG Info). The various BIG links established by multiple WBA sending devices that join the CoMTS constitute a coordinated BIG (Coordinated BIG, CoBIG) link (coordinated communication link). The WBA sending device is also a BIG central device (Central) or a CoBIG central device, and the WBA receiving device is also a BIG peripheral device (Peripheral) or a CoBIG peripheral device.
[0119] Based on the above system, the CoBIG link protocol needs to solve two types of problems. The first type is how the WBA sending device synchronizes the WBA coordinating device and joins the CoMTS, and how to establish the BIG and form the CoBIG link. The second type is how the WBA receiving device synchronizes the WBA coordinating device to obtain the CoBIG link information (CoBIG Info), and selects the BIG link corresponding to the WBA sending device that meets its needs to receive the Broadcast Isochronous Stream (BIS) Protocol Data Unit (PDU) and the audio data it carries.
[0120] Optionally, in order to solve the above two types of problems, in some embodiments, several new data packet types can be defined with reference to the BLE protocol: CoBIG synchronization access (CoBIG_SYNC_ACCESS) PDU (synchronization access data packet), CoBIG synchronization request (CoBIG_SYNC_REQ) PDU (synchronization request data packet), CoBIG synchronization configuration (CoBIG_SYNC_CONFIG) PDU (synchronization configuration data packet), CoBIG synchronization response (CoBIG_SYNC_RSP) PDU (synchronization response data packet).
[0121] Optional, for further explanation of the packet structure, please refer to 3- Figure 5 As a specific implementation, the above data packet may adopt a structure similar to the (AUX_SYNC_IND) PDU of the BLE Audio protocol.
[0122] Taking CoBIG_SYNC_ACCESS PDU as an example, CoBIG_SYNC_ACCESS PDU is similar to the auxiliary synchronization (AUX_SYNC_IND) PDU defined in the BLE protocol, and both use the BLE specification as follows Figure 3 The Common Extended Advertising Payload Format shown in FIG. 1 includes a 6-bit Extended Header Length, a 2-bit AdvMode, a 0-63-byte Extended Header, and a maximum of 254 bytes of AdvData. Figure 4 The following figure shows the extended header format, which may include Extended Header Flags, AdvA, TargetA, CTEInfo, ADI, AuxPtr, SyncInfo, TxPower, and ACAD fields. Extended Header Flags is the extended header flag bit, such as Figure 5As shown, each bit corresponds to an extended packet header field. A bit set to 1 indicates that the corresponding field exists in the extended packet header, and a bit set to 0 indicates that the corresponding field does not exist in the extended packet header. AdvA represents the device address of the advertising sending device, TargetA represents the device address of the target device, CTEInfo represents the constant tone extension (CTE: Constant Tone Extension) information, ADI represents the advertising data information, AuxPtr represents the auxiliary advertising pointer, SyncInfo represents the synchronization information, TxPower represents the transmission power, and ACAD represents the additional controller advertising data (Additional Controller Advertising Data). AUX_SYNC_IND PDU carries BIG link information (BIG Info) through ACAD, where there is an 8-bit reserved field (Reserved for Future Use, RFU) in BIG Info. CoBIG_SYNC_ACCESS PDU carries the information of the BIG link with sequence number 1 in CoBIG (BIG1 Info) through ACAD, and defines part or all of the bits of the reserved field in BIG1 Info as the enable bits of other BIG links in CoBIG, which are used to indicate how many other BIG links are enabled. These BIG link enable bits are BIG EN_2, BIG EN_3, ..., BIG EN_M from low to high. When a BIG link enable bit is set to 1, it means that the BIG link of the corresponding sequence is enabled, and when it is set to 0, it means that the corresponding BIG link is not enabled. When a BIG link enable bit is set to 1, the BIG Info of the corresponding BIG link is carried in the AdvData of the CoBIG_SYNC_ACCESS PDU. The BIG Info of the BIG link in AdvData is arranged in sequence according to the sequence number. BIG2 Info corresponds to the BIG link with sequence number 2, and BIGM Info corresponds to the BIG link with sequence number M.
[0123] Therefore, the main difference between CoBIG_SYNC_ACCESS PDU and AUX_SYNC_IND PDU defined in BLE protocol is that, based on the BIG Info carried by AUX_SYNC_IND PDU, in addition to carrying the BIG Info of BIG link with sequence number 1 in CoBIG, it also carries the enabling information of other BIG links in CoBIG and their BIG Info. In addition, the difference from AUX_SYNC_IND PDU is that bit0 of Extended Header Flags of CoBIG_SYNC_ACCESS PDU is set to 1, indicating that its extended header contains AdvA domain, where AdvA is the device address of WBA coordinating device. AdvMode is set to 0b01, indicating the type of Undirected Coordinating Available. CoBIG_SYNC_ACCESS PDU is used by WBA coordinating device to coordinate WBA sending device to access CoMTS and CoBIG links.
[0124] Optionally, in some embodiments, the CoBIG_SYNC_REQ PDU, the CoBIG_SYNC_CONFIG PDU, and the CoBIG_SYNC_RSP PDU are similar to the CoBIG_SYNC_ACCESS PDU and all adopt the BLE Audio specification as follows: Figure 3 The common extended advertisement payload format shown in the figure. The differences between the CoBIG_SYNC_REQ PDU, CoBIG_SYNC_CONFIG PDU, and CoBIG_SYNC_RSPPDU and the CoBIG_SYNC_ACCESS PDU are reflected in the different contents of the Extended Header, the different AdvMode, and the different contents of the AdvData.
[0125] Both bit0 and bit1 of the Extended Header Flags of the CoBIG_SYNC_REQ PDU are set to 1, indicating that its extended header contains two fields, AdvA and TargetA, where AdvA is the device address of the WBA sending device and TargetA is the device address of the WBA coordinating device. The CoBIG_SYNC_REQ PDU does not contain CoBIG Info in the ACAD field and Adv Data. AdvMode is set to 0b11, indicating a Coordinating Request type. The AdvData of the CoBIG_SYNC_REQ PDU can carry information such as the device name or the device unique identifier (Universally Unique Identifier, UUID) of the WBA sending device. The CoBIG_SYNC_REQ PDU is used by the WBA sending device to request the WBA coordinating device to allow it to establish a BIG link and access the CoMTS and CoBIG links. The AdvData of the CoBIG_SYNC_REQ PDU carries the BIG Info of the BIG link that the WBA sending device is establishing.
[0126] Both bit0 and bit1 of the Extended Header Flags of the CoBIG_SYNC_CONFIG PDU are set to 1, indicating that its extended header contains two fields, AdvA and TargetA, where AdvA is the device address of the WBA coordinating device and TargetA is the device address of the WBA sending device. The CoBIG_SYNC_CONFIG PDU contains CoBIGInfo in the ACAD field and Adv Data. AdvMode is set to 0b10, indicating the type of Directed Coordinating Available group. In addition to providing CoBIG Info to the WBA receiving device, the CoBIG_SYNC_CONFIG PDU is also used by the WBA coordinating device to provide BIGInfo of the newly established BIG link after the configuration of the WBA sending device at the specified address is confirmed (Note: the BIG Info of the newly established BIG link after confirmation may be different from the BIG Info carried by the corresponding CoBIG_SYNC_REQ PDU).
[0127] Both bit0 and bit1 of the Extended Header Flags of the CoBIG_SYNC_RSP PDU are set to 1, indicating that its extended header contains two fields, AdvA and TargetA, where AdvA is the device address of the WBA sending device and TargetA is the device address of the WBA coordinating device. The CoBIG_SYNC_RSP PDU does not contain CoBIG Info in the ACAD field and Adv Data. AdvMode is set to 0b00, indicating a Coordinating Response type. The CoBIG_SYNC_RSP PDU is used by the WBA sending device to respond to the WBA coordinating device to establish the configuration of the core's BIG link and confirm access to the CoMTS and CoBIG links.
[0128] In the prior art, according to the BLE protocol, the BIG peripheral device synchronizes the BIG central device and obtains BIGInfo through the extended advertisement (ADV_EXT_IND) PDU sent by the BIG central device on the primary advertising (PrimaryAdvertising) channel, the auxiliary advertisement (AUX_ADV_IND) PDU sent on the secondary advertising (SecondaryAdvertising) channel, and the AUX_SYNC_IND PDU sent on the periodic advertising (PeriodicAdvertising) channel, thereby receiving the BIS PDU of the BIG link and the audio data it carries. Similarly, based on this, optionally, in some embodiments, the advertising channel is configured according to the Bluetooth low energy protocol;
[0129] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0130] The interacting with the third device based on the advertising channel further includes:
[0131] receiving an extended advertisement protocol data unit sent by the third device on the primary advertisement channel, and receiving an auxiliary advertisement protocol data unit sent by the third device on the secondary advertisement channel,
[0132] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0133] Specifically, optionally, in some embodiments, the WBA sending device first synchronizes the WBA coordination device by searching for the ADV_EXT_IND PDU sent by the WBA coordination device on the primary advertising channel, then receiving the AUX_ADV_IND PDU sent by the WBA coordination device on the secondary advertising channel, and then receiving the CoBIG_SYNC_ACCESS PDU or CoBIG_SYNC_CONFIG PDU sent by the WBA coordination device on the periodic advertising channel. After the WBA sending device synchronizes with the WBA coordination device, it coordinates with the WBA coordination device by receiving the CoBIG_SYNC_ACCESS PDU and the CoBIG_SYNC_CONFIG PDU and sending the CoBIG_SYNC_REQ PDU and the CoBIG_SYNC_RSP PDU, establishing a new BIG link and configuring the corresponding BIG Info, thereby accessing the CoMTS and CoBIG links. The link in which the WBA coordination device and the WBA sending device exchange the above-mentioned PDUs to establish a BIG link is called a bidirectional periodic advertising (BPA) link.
[0134] It is worth noting that the WBA sending device (first device) does not send ADV_EXT_IND PDU, AUX_ADV_IND PDU and AUX_SYNC_IND PDU by default, but can also independently send ADV_EXT_IND PDU, AUX_ADV_IND PDU and AUX_SYNC_IND for synchronization of the WBA receiving device.
[0135] For further information, please refer to Figure 6 The process of the WBA sending device establishing a BIG link and accessing CoBIG is shown. After the WBA sending device starts the process of accessing CoBIG, it first synchronizes to the WBA coordination device, that is, the WBA sending device first searches for the ADV_EXT_IND PDU sent by the WBA coordination device on the primary advertising channel, then receives the AUX_ADV_IND PDU sent by the WBA coordination device on the secondary advertising channel, and then receives the CoBIG_SYNC_ACCESSPDU sent by the WBA coordination device on the periodic advertising channel, thereby synchronizing with the WBA coordination device.
[0136] Optionally, after synchronizing with the WBA coordinating device, in order to avoid mutual interference caused by multiple WBA sending devices sending CoBIG_SYNC_REQ PDU at the same time, the WBA sending device shall randomly generate a certain delay after receiving the CoBIG_SYNC_ACCESS PDU and synchronizing with the WBA coordinating device, that is, after several periodic advertising intervals, it shall send the CoBIG_SYNC_REQ PDU only after receiving the CoBIG_SYNC_ACCESS PDU again, or, after a random delay of several periodic advertising intervals, it shall send the CoBIG_SYNC_REQ PDU after receiving the CoBIG_SYNC_ACCESS PDU again with an interval of T_IFS.
[0137] Optionally, in some embodiments, replying a synchronization request data packet to the third device includes:
[0138] Randomly generate a delay of preset length;
[0139] After the delay of the preset time length, if the synchronous access data packet is received again, the synchronous request data packet is fed back to the third device.
[0140] Optionally, in order to ensure reliability, you can also receive CoBIG_SYNC_ACCESSPDU and send CoBIG_SYNC_REQ PDU within multiple periodic advertising intervals. Then, receive the CoBIG_SYNC_CONFIG PDU sent by the WBA coordination device. If it is received correctly, reply to CoBIG_SYNC_RSP PDU after an interval of T_IFS to confirm the establishment of the BIG link and join CoBIG. Otherwise, continue to receive CoBIG_SYNC_CONFIG PDU until timeout, and after timeout, receive CoBIG_SYNC_ACCESSPDU again and send CoBIG_SYNC_REQ PDU, repeat the above process until the BIG link is established and the CoMTS and CoBIG links are connected.
[0141] It is worth noting that, optionally, in some embodiments, the method further includes:
[0142] Continuously receiving data packets periodically broadcast by the third device to adjust the clock of the first device to be consistent with the clock of the third device; and / or,
[0143] The offset value of the starting point of the broadcast communication link relative to various data packets sent by the third device on the periodic advertising channel is kept relatively unchanged.
[0144] In a possible implementation, the clocks of the WBA coordination device and the WBA sending device are independent of each other, so there will be relative deviation or relative drift. To this end, after all WBA sending devices are synchronized with the WBA coordination device and the BIG link is established, it is necessary to continuously receive the PDU sent by the WBA coordination device on the periodic advertising channel to adjust the clock of the WBA sending device to be consistent with the clock of the WBA coordination device, or to keep the offset value (BIG Offset) of each BIG link starting point relative to the starting point of the WBA coordination device sending various PDUs on the periodic advertising channel relatively unchanged, so as to avoid the WBA receiving device losing synchronization with the WBA coordination device and the WBA sending device, and avoid the BIG Offset parameter in the BIGInfo being inconsistent with the actual BIG Offset value, which causes the WBA receiving device to be unable to normally receive the BIS PDU of the corresponding BIG link.
[0145] In order to better illustrate the above embodiments in the present application, from the overall process, the process of the third device establishing the coordinated communication link CoBIG mainly includes:
[0146] As a long-term device in home or public scenarios that provides WBA services, the WBA coordinating device sends CoBIG_SYNC_ACCESS PDU on the periodic advertising channel. After receiving the CoBIG_SYNC_ACCESS PDU, the WBA sending device that wants to access the CoMTS and CoBIG links replies with a CoBIG_SYNC_REQ PDU at an interval of T_IFS to request the establishment of a BIG link and access to the CoMTS and CoBIG links. Among them, T_IFS is the Inter Frame Space (Time of Inter Frame Space). According to the BLE protocol, T_IFS is equal to 150us, or other values defined by the future BLE protocol. After receiving the CoBIG_SYNC_REQ PDU sent by the WBA sending device, the WBA coordinating device confirms that it is allowed to establish a BIG link and join the CoBIG link based on its device address, device name or UUID, and then sends the CoBIG_SYNC_CONFIG PDU to the WBA sending device with the corresponding device address, and configures the corresponding BIG Info. After the WBA transmitting device receives the CoBIG_SYNC_CONFIG PDU sent by the WBA coordinating device, it immediately sends the CoBIG_SYNC_RSP PDU at an interval of T_IFS to confirm joining the CoBIG link. If the WBA coordinating device does not receive the CoBIG_SYNC_RSP PDU replied by the WBA transmitting device, it needs to resend the CoBIG_SYNC_CONFIG PDU until the CoBIG_SYNC_RSP PDU sent by the WBA transmitting device is correctly received. After the WBA transmitting device sends the CoBIG_SYNC_RSP PDU, it can establish the corresponding BIG link according to the BIG Info configured by the CoBIG_SYNC_CONFIG PDU. Note: Only the WBA transmitting device with the specified address in the CoBIG_SYNC_CONFIG PDU can send the CoBIG_SYNC_RSP PDU after an interval of T_IFS. The BIG Info configured by the CoBIG_SYNC_CONFIG PDU may be different from the BIG Info requested by the CoBIG_SYNC_REQ PDU. In particular, the access address seed (SeedAccessAddress) for generating the BIG access address (Access Address) and the offset value (BIG Offset) of the BIG starting point may be allocated and determined by the WBA coordination device to reduce mutual interference between the BIG links.
[0147] In summary, in the present application, based on the advertising channel, interaction with the third device is performed to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device; based on the established broadcast communication link, audio data is broadcast. In an embodiment of the present application, through the established coordinated communication link, the third device can directly and periodically broadcast the link information of the coordinated communication link, and the receiving end can directly select and switch multiple audio contents or the first device on its own device based on the received link information, without relying on other devices, and can directly receive and select different broadcast audio content, which simplifies the process of the receiving end searching and synchronizing multiple sending devices, and also simplifies the process of the receiving end quickly switching between multiple sending devices.
[0148] Please refer to Figure 7 The embodiment of the present application further provides a wireless audio communication method, which is applied in a second device and includes:
[0149] Step 21: Synchronize the third device and obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device;
[0150] Step 22: Selecting a target broadcast communication link of a target first device from the at least one broadcast communication link;
[0151] Step 23: Based on the target broadcast communication link, receive the audio data broadcasted by the target first device.
[0152] Optionally, in some embodiments, the synchronizing the third device and acquiring link information of the coordinated communication link broadcast by the third device includes:
[0153] Based on an advertising channel, receiving a periodic broadcast of a third device to synchronize the third device and obtain link information of a coordinated communication link broadcast by the third device; the advertising channel includes a periodic advertising channel;
[0154] Wherein, when receiving the periodic broadcast of the third device, a synchronization access data packet or a synchronization configuration data packet sent by the third device is received on the periodic advertising channel to synchronize the third device and obtain link information of the coordinated communication link.
[0155] Optionally, in some embodiments, the advertising channel is configured according to the Bluetooth low energy protocol;
[0156] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0157] The receiving the periodic broadcast of the third device based on the advertising channel also includes receiving an extended advertising protocol data unit sent by the third device on the primary advertising channel and receiving an auxiliary advertising protocol data unit sent by the third device on the secondary advertising channel.
[0158] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0159] Optional, please refer to Figure 8 , the workflow of the WBA receiving device (second device) is as follows Figure 8 As shown, after the WBA receiving device enters the WBA receiving mode, it first synchronizes the WBA coordinating device, that is, it sequentially receives the ADV_EXT_IND PDU sent by the WBA coordinating device on the primary advertising channel, the AUX_ADV_IND PDU sent on the secondary advertising channel, and the CoBIG_SYNC_ACCESS PDU (or CoBIG_SYNC_CONFIG PDU) sent on the periodic advertising channel to synchronize the WBA coordinating device. After synchronizing the WBA coordinating device, first obtain CoBIG Info, and select the BIG link that meets the requirements to receive the BIS PDU and the audio data it carries.
[0160] If the WBA receiving device needs to switch to other BIGs in CoBIG, it only needs to disconnect the current BIG link and select other BIG links according to CoBIG Info to receive the BIS PDU and the audio data it carries. There is no need to re-search and synchronize the new WBA sending device and its BIG link as in the prior art. Specifically, wireless headphones or wireless hearing aids can simply select BIG links in sequence by pressing buttons to listen to the audio content therein, and continue to listen to the audio content of interest, while switching to the next BIG link by pressing buttons to continue listening to the audio content of no interest. In this way, the process of searching and synchronizing BIG center devices for wireless headphones or wireless hearing aids can be simplified, and the process of switching different BIG center devices for wireless headphones or wireless hearing aids can be simplified, thereby simplifying their user interface.
[0161] Specifically, optionally, in some embodiments, the WBA receiving device first synchronizes the WBA coordination device by searching for the ADV_EXT_IND PDU sent by the WBA coordination device on the primary advertising channel, then receiving the AUX_ADV_IND PDU sent by the WBA coordination device on the secondary advertising channel, and then receiving the CoBIG_SYNC_ACCESS PDU or CoBIG_SYNC_CONFIG PDU sent by the WBA coordination device on the periodic advertising channel, and obtains CoBIG Info, that is, the link information of the established BIG link, thereby selecting different WBA sending devices and receiving the BIS PDU of the BIG link established by it and the audio data it carries.
[0162] It should be noted that the specific description of the above process is the same as that of Figure 1 The description of the illustrated method embodiment will not be repeated here.
[0163] Please refer to Fig. 9 The embodiment of the present application further provides a wireless audio communication method, which is applied in a third device and includes:
[0164] Step 31: Based on the advertising channel, interact with at least one first device to establish a coordinated communication link, where the coordinated communication link includes a broadcast communication link of at least one first device;
[0165] Step 32: Broadcast link information of the coordinated communication link based on the advertising channel.
[0166] Optionally, in some embodiments, based on the advertising channel, interact with at least one first device to establish a coordinated communication link;
[0167] The step of interacting with at least one first device based on the advertising channel to establish a coordinated communication link includes:
[0168] Broadcasting and sending a synchronization access data packet based on a periodic advertising channel, wherein the synchronization access data packet is used for synchronization of the first device or the second device;
[0169] receiving a synchronization request data packet fed back by the first device on the periodic advertising channel, wherein the synchronization request data packet is used by the first device to request the third device to establish a connection;
[0170] After receiving the synchronization request data packet, determining whether to allow the current first device to join the first device cluster;
[0171] If permitted, sending a synchronization configuration data packet to the first device based on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link;
[0172] Receive a synchronization response data packet replied by the first device on the periodic advertising channel, add the first device to the first device cluster, and add the broadcast communication link to the coordinated communication link; if the synchronization response data packet replied by the first device is not received, resend the synchronization configuration data packet until the synchronization response data packet replied by the first device is correctly received.
[0173] Optionally, in some embodiments, the synchronous access data packet carries device address information of the third device, link information of the coordinated communication link, link information of the broadcast communication link enabled in the broadcast communication link, broadcast configuration information, and an enable bit for indicating the number of enabled broadcast communication links; and / or,
[0174] The synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and the instruction information for instructing the third device to request a connection to join the first device cluster and to add the broadcast communication link to the coordination communication link;
[0175] The synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or,
[0176] The synchronization configuration data packet carries the device address information of the first device, the device address information of the third device, the link information of the coordinated communication link, and the link information of the broadcast communication link configured for the first device.
[0177] Optionally, in some embodiments, before sending a synchronization configuration data packet to the first device based on the periodic advertising channel, the method further includes:
[0178] Re-determining the communication link access address, the communication link access address seed, and the offset value of the communication link starting point in the link information of the broadcast communication link;
[0179] The re-determined communication link access address, communication link access address seed and communication link starting point offset value of the broadcast communication link are added to the synchronization configuration data packet as the content of the link information of the broadcast communication link.
[0180] Optionally, in some embodiments, the advertising channel is configured according to the Bluetooth low energy protocol;
[0181] The advertising channel also includes: a primary advertising channel and a secondary advertising channel;
[0182] The periodic broadcasting based on the advertising channel further includes an extended advertising protocol data unit sent on the primary advertising channel and an auxiliary advertising protocol data unit sent on the secondary advertising channel.
[0183] The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
[0184] It is worth noting that the WBA coordination device (third device) does not establish a BIG link by default, but can also establish its own BIG link as a WBA sending device, and carry its BIGInfo, i.e., BIG1 Info, in the ACAD field of its extended packet header. Therefore, optionally, in some embodiments, the coordination communication link also includes the link information of the broadcast communication link of the current third device.
[0185] Optional, please refer to Fig.10 , the WBA coordinating device (third device) shown coordinates the process of the WBA sending device to establish CoBIG. After the WBA coordinating device starts the process of establishing CoBIG, it sends the CoBIG_SYNC_ACCESS PDU and receives the CoBIG_SYNC_REQ PDU. If the CoBIG_SYNC_REQ PDU is not received correctly, continue to send the CoBIG_SYNC_ACCESS PDU and receive the CoBIG_SYNC_REQ PDU. If the CoBIG_SYNC_REQ PDU is received correctly and the WBA sending device with the corresponding device address is allowed to join CoBIG, send the CoBIG_SYNC_CONFIG PDU to the WBA sending device with the specified address and receive its reply CoBIG_SYNC_RSP PDU, otherwise continue to send the CoBIG_SYNC_ACCESS PDU. If the CoBIG_SYNC_RSP PDU is received correctly, the coordination group set with the WBA transmitting device at the specific address is successful. Otherwise, the CoBIG_SYNC_CONFIG PDU continues to be sent until the CoBIG_SYNC_RSP PDU is received correctly or the timeout ends. After the WBA coordinating device successfully coordinates the group set with the WBA transmitting device at the specific address, it continues to send CoBIG_SYNC_ACCESS PDU to allow other WBA transmitting devices to access the CoMTS and CoBIG links.
[0186] It should be noted that the specific description of the above process is the same as that of Figure 1 The description of the illustrated method embodiment will not be repeated here.
[0187] Please refer to Fig.11 The present application also provides a first device for implementing Figure 1 The wireless audio communication method comprises: a baseband data and protocol processor and a radio frequency transceiver module;
[0188] The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with the third device based on the advertising channel to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device;
[0189] The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast audio data based on the established broadcast communication link.
[0190] Please refer to Fig.11 The present application also provides a second device for implementing Figure 7 The wireless audio communication method comprises: a baseband data and protocol processor and a radio frequency transceiver module;
[0191] The baseband data and protocol processor is used to control the radio frequency transceiver module to synchronize with the third device and obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device;
[0192] The baseband data and protocol processor is used to select a target broadcast communication link of a target first device from the at least one broadcast communication link;
[0193] The baseband data and protocol processor is used to control the radio frequency transceiver module to receive the audio data broadcasted by the target first device based on the target broadcast communication link.
[0194] Please refer to Fig.11 The present application also provides a third device for implementing Fig. 9 The wireless audio communication method comprises: a baseband data and protocol processor and a radio frequency transceiver module;
[0195] The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with at least one first device based on the advertising channel to establish a coordinated communication link, wherein the coordinated communication link includes a broadcast communication link of at least one first device;
[0196] The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast the link information of the coordinated communication link based on the advertising channel.
[0197] It should be noted that, since the first device and the third device (sending device and coordinating device) can switch with each other, the physical entity structures of the two are essentially the same (both are as follows Fig.12 shown).
[0198] Figure 2 An audio transmission system according to an embodiment of the present application is shown, comprising: Fig.11 The first device, the second device and the third device are shown.
[0199] The following will use an audio transmission system in a home scenario to illustrate an embodiment of the coordinated transmission method of the WBA multi-transmitting device.
[0200] Please refer to Figure 2 The home CoMT WBA system shown is composed of a smart TV (third device; coordination device), two smart phones (first device; sending devices) and a wireless hearing aid (second device; receiving device), wherein the smart TV is both a WBA coordination device and a WBA sending device, and the two smart phones are two WBA sending devices. Usually, the WBA coordination device on the smart TV is always on. When the user watches TV programs, the smart TV, as a WBA sending device, establishes a BIG link with sequence number 1. After the two smart phones start the WBA service, as WBA sending devices, they first synchronize the WBA coordination device to establish BIG and access CoBIG. The two smart phones belong to different family members.
[0201] When the wireless hearing aid needs WBA service, it automatically synchronizes with the normally open WBA coordination device on the smart TV to obtain CoBIGInfo. By default, the wireless hearing aid directly selects the WBA service provided by the smart TV, thereby avoiding the erroneous reception of the smartphone's WBA in the absence of a display UI. When family members suggest sharing the smartphone's WBA, the wireless hearing aid only needs to switch to another BIG link to receive the BIS PDU and the audio data it carries through buttons or voice control based on CoBIG Info. If the WBA content of this BIG link does not meet its needs, you can press the button again or use voice control to cycle through the WBA provided by other BIG links.
[0202] Therefore, in a CoMT WBA system that adopts the coordinated transmission method of WBA multiple transmitting devices described in the embodiments of the present application, in a WBA scenario with at least one BIG transmitting device, without the assistance of a smartphone or smart TV, the wireless headset or wireless hearing aid can simplify the process of searching and synchronizing at least one BIG transmitting device, and further simplify the process of switching between at least one BIG transmitting device. The wireless hearing aid can more conveniently and quickly select and switch between different WBA transmitting devices.
[0203] The audio transmission system provided by the embodiment of the present invention can implement the various processes implemented by the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be described here.
[0204] The embodiment of the present invention provides an electronic device 120, see Fig.12 As shown, Fig.12 This is a principle block diagram of an electronic device 120 according to an embodiment of the present invention, which includes a processor 121, a memory 122, and a program or instruction stored in the memory 122 and executable on the processor 121. When the program or instruction is executed by the processor, the steps in the wireless audio communication method shown in the above embodiment are implemented.
[0205] An embodiment of the present invention provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the embodiment of the wireless audio communication method shown in the above embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0206] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0207] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the wireless audio communication method embodiment shown in the above embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0208] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0209] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information and network security.
[0210] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a service classification device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0212] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A wireless audio communication method, characterized in that: The method is applied in a first device, and the method includes: Based on the advertising channel, interact with a third device to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device; Based on the established broadcast communication link, audio data is broadcast.
2. The method according to claim 1, characterized in that The advertising channel includes a periodic advertising channel; The step of interacting with the third device based on the advertising channel to establish a broadcast communication link and adding the established broadcast communication link to the coordinated communication link established by the third device includes: receiving a synchronization access data packet periodically broadcast by the third device on the periodic advertising channel, wherein the synchronization access data packet is used to synchronize the third device; According to the synchronous access data packet, based on the periodic advertising channel, reply a synchronous request data packet to the third device, wherein the synchronous request data packet is used to request a connection to the third device; receiving a synchronization configuration data packet fed back by the third device on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link; According to the synchronization configuration data packet and based on the periodic advertising channel, a synchronization response data packet is replied to the third device to confirm joining the first device cluster formed by the third device and adding the established broadcast communication link to the coordination communication link formed by the third device.
3. The method according to claim 2, characterized in that The synchronous access data packet carries the device address information of the third device, the link information of the coordinated communication link, the link information of the enabled broadcast communication link, the broadcast configuration information, and the enable bit for indicating the number of enabled broadcast communication links; and / or, The synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and the instruction information for instructing the third device to request a connection to join the first device cluster and to add the requested broadcast communication link to the coordinated communication link; The synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or, The synchronization configuration data packet carries the device address information of the first device, the device address information of the third device, the link information of the coordinated communication link, and the link information of the broadcast communication link configured by the third device for the first device.
4. The method according to claim 2, characterized in that: The method further comprises: Continuously receiving data packets periodically broadcast by the third device to adjust the clock of the first device to be consistent with the clock of the third device; and / or, The starting point of the broadcast communication link is kept relatively unchanged relative to the offset value of various data packets sent by the third device on the periodic advertising channel.
5. The method according to claim 2 or 3, characterized in that: The step of replying a synchronization request data packet to the third device comprises: Randomly generate a delay of preset duration; After the delay of the preset time length, if the synchronous access data packet is received again, the synchronous request data packet is fed back to the third device.
6. The method according to claim 1, characterized in that The advertising channel is configured according to the Bluetooth low energy protocol; The advertising channel also includes: a primary advertising channel and a secondary advertising channel; The interacting with the third device based on the advertising channel further includes: receiving an extended advertisement protocol data unit sent by the third device on the primary advertisement channel, and receiving an auxiliary advertisement protocol data unit sent by the third device on the secondary advertisement channel, The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
7. A wireless audio communication method, characterized in that: The method is applied in a second device, and the method includes: Synchronize the third device to obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device; selecting a target broadcast communication link of a target first device from the at least one broadcast communication link; Based on the target broadcast communication link, audio data broadcasted by the target first device is received.
8. The method according to claim 7, characterized in that The synchronizing the third device to obtain link information of the coordinated communication link broadcast by the third device includes: Based on an advertising channel, receiving a periodic broadcast of a third device to synchronize the third device and obtain link information of a coordinated communication link broadcast by the third device; the advertising channel includes a periodic advertising channel; Wherein, when receiving the periodic broadcast of the third device, a synchronization access data packet or a synchronization configuration data packet sent by the third device is received on the periodic advertising channel to synchronize the third device and obtain link information of the coordinated communication link.
9. The method according to claim 8, characterized in that The advertising channel is configured according to the Bluetooth low energy protocol; The advertising channel also includes: a primary advertising channel and a secondary advertising channel; The receiving the periodic broadcast of the third device based on the advertising channel also includes receiving an extended advertising protocol data unit sent by the third device on the primary advertising channel and receiving an auxiliary advertising protocol data unit sent by the third device on the secondary advertising channel. The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
10. A wireless audio communication method, characterized in that: The method is applied in a third device, and the method includes: Based on the advertising channel, interact with at least one first device to establish a coordinated communication link, wherein the coordinated communication link includes a broadcast communication link of at least one first device; Based on the advertising channel, link information of the coordinated communication link is broadcasted.
11. The method according to claim 10, characterized in that Based on the advertising channel, interact with at least one first device to establish a coordinated communication link; The step of interacting with at least one first device based on the advertising channel to establish a coordinated communication link includes: Broadcasting and sending a synchronization access data packet based on a periodic advertising channel, wherein the synchronization access data packet is used for synchronization of the first device or the second device; receiving a synchronization request data packet fed back by the first device on the periodic advertising channel, wherein the synchronization request data packet is used by the first device to request the third device to establish a connection; After receiving the synchronization request data packet, determining whether to allow the current first device to join the first device cluster; If permitted, sending a synchronization configuration data packet to the first device based on the periodic advertising channel, wherein the synchronization configuration data packet is used to configure link information of a broadcast communication link to establish a broadcast communication link; Receive a synchronization response data packet replied by the first device on the periodic advertising channel, add the first device to the first device cluster, and add the broadcast communication link to the coordinated communication link; if the synchronization response data packet replied by the first device is not received, resend the synchronization configuration data packet until the synchronization response data packet replied by the first device is correctly received.
12. The method according to claim 11, characterized in that The synchronous access data packet carries device address information of the third device, link information of the coordinated communication link, link information of the broadcast communication link enabled in the broadcast communication link, broadcast configuration information, and an enable bit for indicating the number of enabled broadcast communication links; and / or, The synchronization request data packet carries the device address information of the first device, the device address information of the third device, the link information of the broadcast communication link requested by the first device, and instruction information for instructing the third device to request a connection to join the first device cluster and to add the broadcast communication link to the coordination communication link; The synchronization response data packet carries the device address information of the first device and the device address information of the third device; and / or, The synchronization configuration data packet carries the device address information of the first device, the device address information of the third device, the link information of the coordinated communication link, and the link information of the broadcast communication link configured for the first device.
13. The method according to claim 12, characterized in that Before sending a synchronization configuration data packet to the first device based on the periodic advertising channel, the method further includes: Re-determining the communication link access address, the communication link access address seed, and the offset value of the communication link starting point in the link information of the broadcast communication link; The re-determined communication link access address, communication link access address seed and communication link starting point offset value of the broadcast communication link are added to the synchronization configuration data packet as the content of the link information of the broadcast communication link.
14. The method according to claim 10 or 11, characterized in that: The advertising channel is configured according to the Bluetooth low energy protocol; The advertising channel also includes: a primary advertising channel and a secondary advertising channel; The periodic broadcasting based on the advertising channel further includes an extended advertising protocol data unit sent on the primary advertising channel and an auxiliary advertising protocol data unit sent on the secondary advertising channel. The link information of the broadcast communication link of at least one first device is the link information of the broadcast communication links of two or more first devices.
15. The method according to claim 10, characterized in that The coordinated communication link also includes link information of the current broadcast communication link of the third device.
16. A first device, characterized in that: A wireless audio communication method for implementing any one of claims 1 to 6, comprising: a baseband data and protocol processor and a radio frequency transceiver module; The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with the third device based on the advertising channel to establish a broadcast communication link and add the established broadcast communication link to the coordinated communication link established by the third device, wherein the coordinated communication link includes at least one broadcast communication link of the first device; The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast audio data based on the established broadcast communication link.
17. A second device, characterized in that: A wireless audio communication method for implementing any one of claims 7 to 9, comprising: a baseband data and protocol processor and a radio frequency transceiver module; The baseband data and protocol processor is used to control the radio frequency transceiver module to synchronize with the third device and obtain link information of the coordinated communication link broadcast by the third device; the link information of the coordinated communication link includes link information of the broadcast communication link of at least one first device; The baseband data and protocol processor is used to select a target broadcast communication link of a target first device from the at least one broadcast communication link; The baseband data and protocol processor is used to control the radio frequency transceiver module to receive the audio data broadcasted by the target first device based on the target broadcast communication link.
18. A third device, characterized in that: A wireless audio communication method for implementing any one of claims 10 to 15, comprising: a baseband data and protocol processor and a radio frequency transceiver module; The baseband data and protocol processor is used to control the radio frequency transceiver module to interact with at least one first device based on the advertising channel to establish a coordinated communication link, wherein the coordinated communication link includes a broadcast communication link of at least one first device; The baseband data and protocol processor is used to control the radio frequency transceiver module to broadcast the link information of the coordinated communication link based on the advertising channel.
19. An audio transmission system, characterized in that: include: The first device as claimed in claim 16; The second device as claimed in claim 17; The third device as claimed in claim 18.
20. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the wireless audio communication method as described in any one of claims 1 to 6; or, when executed by the processor, the program, when executed by the processor, implements the steps of the wireless audio communication method as described in any one of claims 7 to 9; or, when executed by the processor, the program, when executed by the processor, implements the steps of the wireless audio communication method as described in any one of claims 10 to 15.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the computer program implements the steps of the wireless audio communication method as described in any one of claims 1 to 6; or, when the computer program is executed by the processor, the computer program implements the steps of the wireless audio communication method as described in any one of claims 7 to 9; or, when the computer program is executed by the processor, the computer program implements the steps of the wireless audio communication method as described in any one of claims 10 to 15.
