A method for transmitting wireless audio data, a scalable controller, and a receiving device.
By using a scalable controller architecture in Bluetooth Low Energy audio communication, adaptively enabling the slave controller to assist the master controller in receiving audio data packets solves the problem of limited retransmissions and improves communication performance and reliability without increasing costs.
Patent Information
- Application Number
- CN202410302597.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-03-15
AI Technical Summary
Existing Bluetooth Low Energy audio communication has a limited number of retransmissions in fading or interference environments, resulting in unsatisfactory WBA and WLLA performance, especially limiting the performance of high-definition audio broadcasting and low-latency audio. Furthermore, existing solutions require major modifications to the transmitting device or chip design, increasing costs.
It adopts a scalable controller architecture, including a master controller and slave controllers. By adaptively enabling one or more slave controllers to assist the master controller in receiving audio data packets, it increases the equivalent number of retransmissions, improves communication performance and transmission reliability, and does not require major changes to the transmitting equipment or chip design.
Without changing the transmitting device or chip design, it significantly improves the performance and transmission reliability of isochronous audio communication, adapts to different communication environments, and has good scalability.
Smart Images

Figure CN118473439B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a method for transmitting wireless audio data, a scalable controller, and a receiving device. Background Technology
[0002] Bluetooth Low Energy (BLE) audio technology employs the Isochronous Channels protocol, including Connected Isochronous Stream (CIS) links for point-to-point communication and Connected Isochronous Group (CIG) links consisting of at least one CIS link. It also includes Broadcast Isochronous Stream (BIS) links for point-to-multipoint communication and Broadcast Isochronous Group (BIG) links consisting of at least one BIS link. This provides users with lower power consumption, lower cost, lower latency, higher quality, and richer wireless audio services. For example, point-to-multipoint Wireless Broadcast Audio (WBA) functionality is implemented using the BIG link protocol, and point-to-point Wireless Low Latency Audio (WLLA) functionality is implemented using the CIG link protocol.
[0003] However, WBA implemented using BIG links and WLLA implemented using CIG links suffer from unsatisfactory performance in fading or interference environments due to the limited number of retransmissions. For example, in BIG-based WBA using the Classic BT Advanced Audio Distribution Profile (A2DP) or Wi-Fi wireless audio sources, the BIG master device's transmit time slot coexists with the A2DP or Wi-Fi transmit / receive time slots in a time-division multiplexing manner, making it difficult to increase the number of BIG retransmissions and resulting in unsatisfactory WBA performance.
[0004] In particular, for high-definition audio broadcasting with higher performance requirements, the number of BIG retransmissions is low, making WBA performance even more unsatisfactory. For example, to ensure low latency in WLLA, a very small CIG isochronous interval is used, making it difficult to increase the number of retransmissions, thus making WLLA performance unsatisfactory.
[0005] Furthermore, while supporting high sampling rates and high coding rates for low-latency audio, CIG has fewer retransmissions, making WLLA performance even less satisfactory. To increase the retransmission count for both BIG and CIG, one solution is to employ multi-channel multi-transmitter technology, or multi-radio frequency multi-receiver technology. However, these technologies require significant modifications to the transmitting equipment or chip design, thus increasing chip development costs. Summary of the Invention
[0006] This application aims to solve the technical problem of how to improve communication performance with a limited number of retransmissions.
[0007] In a first aspect, the present invention provides a method for transmitting wireless audio data, applied to a scalable controller, the scalable controller being connected to a main processor, the scalable controller including a main controller and at least one slave controller, the at least one slave controller being connected to the main controller, the scalable controller having a first operating mode during isochronous audio transmission, and the method comprising:
[0008] After the main controller is enabled, it receives the first audio data packet sent by the audio transmitting device and obtains the reception status of the first audio data packet by at least one enabled slave controller. The slave controller synchronously receives the first audio data packet sent by the audio transmitting device after being enabled and reports the reception status to the main controller.
[0009] The main controller determines the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported by the enabled slave controller. The target first audio data packet is the first audio data packet that has been correctly received.
[0010] The main controller reports the target first audio data packet to the main processor.
[0011] In conjunction with the first aspect, in one possible implementation, the reception status reported by at least one slave controller to the master controller includes: when the first audio data packet is correctly received, the reception status includes the first audio data packet; when the first audio data packet is not correctly received, the reception status includes an indication that the first audio data packet was not received.
[0012] In conjunction with the first aspect, in another possible implementation, the main controller determines the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported by the enabled slave controller, including:
[0013] If the main controller correctly receives the first audio data packet, it selects the first audio data packet that it correctly received as the target first audio data packet.
[0014] Alternatively, if the main controller fails to receive the first audio data packet correctly, but the slave controller correctly receives and reports the first audio data packet, the main controller may select the first audio data packet reported by the slave controller as the target first audio data packet.
[0015] In conjunction with the first aspect, in another possible implementation, the method further includes: the main controller reporting an indication that the first audio data packet was not received correctly to the main processor when it fails to receive the first audio data packet correctly itself, and the enabled slave controller also fails to receive the first audio data packet.
[0016] In conjunction with the first aspect, in another possible implementation, the scalable controller also has a second operating mode during isochronous audio transmission; in the second operating mode, the master controller or the target slave controller is selectively enabled to perform audio data packet transmission and reception functions according to the wireless channel quality, wherein the target slave controller is one of the at least one slave controller.
[0017] In conjunction with the first aspect, in another possible implementation, when the scalable controller is operating in the second operating mode, if the main controller is enabled for transceiver functionality, the method further includes:
[0018] After the main controller is activated, it receives the second audio data packet sent by the audio transmitting device.
[0019] The main controller determines the target second audio data packet based on its own reception of the second audio data packet. The target second audio data packet is the second audio data packet sent by the audio transmitting device and correctly received.
[0020] The main controller reports the target second audio data packet to the main processor.
[0021] When the wireless channel quality meets the first preset condition, the main controller's transmit / receive function is turned off, the target slave controller's transmit / receive function is enabled, and the data synchronization and channel evaluation functions between the main controller and the audio transmitting device are maintained.
[0022] The first preset condition is: the first channel quality is less than the first preset threshold, where the first channel quality is the channel quality of the master controller; the second channel quality is greater than the second preset threshold, where the second channel quality is the channel quality of the target slave controller, where the second preset threshold is greater than the first preset threshold.
[0023] In conjunction with the first aspect, in yet another possible implementation, in the second operating mode, when the target is enabled by the controller, the method further includes:
[0024] The target receives the second audio data packet sent by the audio transmitting device from the controller and reports the reception status to the main controller; the main controller determines the target second audio data packet based on the reception status reported by the target from the controller, and the target second audio data packet is the second audio data packet correctly received by the target from the controller;
[0025] The main controller reports the target second audio data packet to the main processor.
[0026] When the wireless channel quality meets the second preset condition, the transmit / receive function of the target slave controller is turned off, and the transmit / receive function of the master controller is re-enabled.
[0027] The second preset condition is: the quality of the second channel is less than the first preset threshold, and the quality of the first channel is greater than the second preset threshold.
[0028] In conjunction with the first aspect, in another possible implementation, the method further includes: when the wireless channel quality meets a third preset condition, switching the scalable controller from the second operating mode to the first operating mode.
[0029] The third preset condition is: the quality of the first channel is less than the first preset threshold, and the quality of the second channel is less than the first preset threshold.
[0030] In conjunction with the first aspect, in yet another possible implementation, the scalable controller further has a third operating mode during isochronous audio transmission, and when the scalable controller operates in the third operating mode, the method further includes:
[0031] The main controller continuously receives third audio data packets sent by the audio transmitting device.
[0032] The main controller determines the target third audio data packet based on its own reception of the third audio data packet, and the target third audio data packet is the third audio data packet that has been correctly received.
[0033] The main controller reports the target third audio data packet to the main processor.
[0034] In conjunction with the first aspect, in yet another possible implementation, the method further includes, in different operating modes of the scalable controller during isochronous audio transmission:
[0035] The main controller establishes an isochronous stream communication link with the audio transmitting device and communicates with the audio transmitting device based on the isochronous stream communication link; the at least one slave controller shares the isochronous stream communication link and communicates with the audio transmitting device based on the isochronous stream communication link; wherein, the isochronous stream communication link is one of two types of communication links: point-to-point and point-to-multipoint.
[0036] In conjunction with the first aspect, in another possible implementation, the point-to-point isochronous stream communication link is a connecting isochronous group (CIG) link; the point-to-multipoint isochronous stream communication link is a broadcast isochronous group (BIG) link.
[0037] In conjunction with the first aspect, in yet another possible implementation, during the connection isochronous group CIG link communication process, the method further includes:
[0038] In the first operating mode, the main controller sends a first confirmation message to the audio transmitting device through the connection isochronous group (CIG) link. The first confirmation message is used to provide feedback to the audio transmitting device on whether the first audio data packet has been correctly received.
[0039] Furthermore, the first confirmation information includes ACK or NAK, where ACK indicates that the main controller has correctly received the first audio data packet; and NAK indicates that the first audio data packet has not been correctly received.
[0040] In conjunction with the first aspect, in yet another possible implementation, during the connection isochronous group CIG link communication process, the method further includes:
[0041] In the second operating mode, the main controller or the target slave controller sends a second confirmation message to the audio transmitting device through the connection isochronous group (CIG) link. The second confirmation message is used to provide feedback to the audio transmitting device on whether the second audio data packet has been correctly received.
[0042] In conjunction with the first aspect, in another possible implementation, the main controller includes a first interface and a second interface defined according to the Bluetooth core specification, the first interface being used to connect to the main processor, and the second interface being used to connect to the at least one slave controller; the method further includes:
[0043] The main controller receives the reception status reported by the enabled slave controller through the second interface.
[0044] The main controller reports the target first audio data packet to the main processor, including:
[0045] The main controller reports the target first audio data packet to the main processor through the first interface.
[0046] In conjunction with the first aspect, in yet another possible implementation, the at least one slave controller is sequentially connected in series with the master controller.
[0047] Alternatively, the at least one slave controller may be connected in parallel to the master controller.
[0048] In conjunction with the first aspect, in another possible implementation, the master controller and each of the slave controllers are provided with one or more corresponding antennas, and the antennas corresponding to the master controller and the antennas corresponding to each of the slave controllers are spaced apart from each other.
[0049] In a second aspect, the present invention also provides a scalable controller, including a master controller and at least one slave controller, wherein the master controller includes a first interface and a second interface defined by the Bluetooth core specification, the first interface being used to connect to a master processor located outside the scalable controller, and the second interface being used to connect to the at least one slave controller.
[0050] The main controller and each of the slave controllers are provided with one or more corresponding antennas for receiving audio data packets sent by the audio transmitting device, and the antennas corresponding to the main controller and the antennas corresponding to each of the slave controllers are isolated from each other.
[0051] The main controller and each of the slave controllers further include a radio frequency unit and a processing unit for performing the wireless audio data transmission method described in the first aspect or any embodiment of the first aspect.
[0052] In conjunction with the second aspect, in one possible implementation, the master controller and the at least one slave controller are packaged in the same chip, and the antenna pins of the master controller and the at least one slave controller are located on two different sides of the chip.
[0053] Thirdly, the present invention also provides a receiving device, including a main processor and a scalable controller, wherein the main processor is connected to a first interface of the scalable controller, and the first interface is an interface defined by the Bluetooth core specification.
[0054] The scalable controller is used to execute the wireless audio data transmission method described in the first aspect or any embodiment of the first aspect; the main processor is used to receive the target audio data packet sent by the scalable controller through the first interface.
[0055] Fourthly, the present invention also provides a computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a computer to perform the wireless audio data transmission method described in the first aspect or any embodiment of the first aspect.
[0056] This invention provides a method for transmitting wireless audio data, a scalable controller, and a receiving device. The receiving device employs a scalable controller architecture, consisting of a main processor and a scalable controller, which in turn consists of a main controller and one or more scalable slave controllers. During isochronous audio data transmission, the scalable controller adaptively employs one or more slave controllers to assist the main controller in receiving isochronous audio data packets from the audio transmitting device. Compared to using only the main controller to receive audio data packets, this method can increase the equivalent number of retransmissions, thereby improving the communication performance or transmission reliability of isochronous audio.
[0057] In addition, this method does not require major modifications to the transmitting equipment or the chip design, and it has better scalability. That is, one or more slave controllers can be added to assist the master controller in receiving isochronous audio data packets according to performance requirements, and one or more controllers can be adaptively enabled to receive isochronous audio data packets according to changes in the communication environment. Attached Figure Description
[0058] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0059] Figure 1 This is a schematic diagram of the structure of a WBA system based on a BIG link provided in an embodiment of the present invention;
[0060] Figure 2 This is a schematic diagram of the structure of a WLLA system based on a CIG link provided in an embodiment of the present invention;
[0061] Figure 3 This is a schematic diagram of the structure of an SCISA receiving device provided in an embodiment of the present invention;
[0062] Figure 4 This is a schematic diagram of a cascaded connection between multiple controllers provided in an embodiment of the present invention;
[0063] Figure 5 This is a schematic diagram of a parallel connection structure between multiple controllers provided in an embodiment of the present invention;
[0064] Figure 6 This is a flowchart of a wireless audio data transmission method provided in an embodiment of the present invention;
[0065] Figure 7 This is a timing diagram of WBA master device A2DP and BIG provided in an embodiment of the present invention;
[0066] Figure 8 This is a flowchart of another wireless audio data transmission method provided in an embodiment of the present invention;
[0067] Figure 9 This is a CIG timing diagram of a WLLA system provided in an embodiment of the present invention;
[0068] Figure 10 This is a schematic diagram of the structure of a controller provided in an embodiment of the present invention;
[0069] Figure 11 This is a structural block diagram of a wireless audio data transmission device provided in an embodiment of the present invention. Detailed Implementation
[0070] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0071] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and are not limited in number; for example, a first object can be one or more.
[0072] Furthermore, the technical features involved in the different embodiments of this application described below can be combined with each other as long as they do not conflict with each other.
[0073] The following description, in conjunction with the accompanying drawings, details a method for transmitting wireless audio data provided in this application through specific embodiments and application scenarios.
[0074] First, the application scenarios of the technical solution in this application will be introduced.
[0075] See Figure 1 This is a WBA system architecture diagram based on a BIG link provided in an embodiment of the present invention, including a WBA master device and one or more SCISA receiving devices, where N≥1 and is a positive integer. The smartphone and the WBA master device communicate using the Classic BT Advanced Audio Distribution Profile (A2DP) protocol.
[0076] The WBA system may also include ordinary WBA slave devices; however, without loss of generality, this embodiment of the invention only discusses SCISA receiving devices. The WBA master device uses a Classic BT A2DP wireless audio source. Figure 1 As shown, the WBA master device obtains audio data from the smartphone via the A2DP link and then broadcasts it to the SCISA receiving device via the BIG link.
[0077] Optionally, the WBA master device is also a BIG master device, and the SCISA receiving device is also a BIG slave device, a WBA slave device, or an SCISA slave device.
[0078] See Figure 2 The diagram below illustrates a WLLA system architecture based on a CIG link, according to another embodiment of the present invention. It includes a WLLA master device and an SCISA receiver device. The WLLA master device transmits audio data to the SCISA receiver device via the CIG link. Optionally, the WLLA master device can also be a CIG master device, and the SCISA receiver device can be a CIG slave device, a WLLA slave device, or an SCISA slave device.
[0079] like Figure 3 The diagram shown is a structural schematic of an SCISA receiving device provided in this embodiment. The SCISA receiving device adopts a scalable controller structure. Specifically, the SCISA receiving device includes a host processor and a scalable controller. The scalable controller consists of a master controller and one or more scalable slave controllers.
[0080] The main processor and the main controller use a master-slave interface defined by the Bluetooth (BT) Core Specification, such as the Host Controller Interface (HCI). Furthermore, the physical interface of the HCI can be a UART, USB, or SDIO interface, etc.
[0081] Specifically, the main controller includes a first interface and a second interface defined according to the Bluetooth core specification. The first interface is used to connect to the main processor, and the second interface is used to connect to at least one slave controller. Further, both the first and second interfaces are HCI interfaces.
[0082] The master controller and slave controllers are connected in a cascaded manner, and their physical interfaces can be UART, USB, or SDIO, etc. Depending on the actual needs, up to M slave controllers can be cascaded / connected in series, such as... Figure 4 As shown above. Furthermore, the above... Figure 3 The multiple slave controllers shown are also connected in a cascaded / serial manner. For example, at least one of the slave controllers is connected in series to the second interface of the master controller.
[0083] To achieve better spatial diversity, the master controller and slave controller maintain a certain spatial distance, at least ensuring sufficient spatial distance between the antennas to minimize the fading correlation coefficient of the received signals. Generally speaking, the controller is the controller defined in the Bluetooth core specification, encompassing functions such as radio frequency (RF), baseband, link controller, link manager, or link layer.
[0084] In addition, the main processor is a collection of all functional modules of the SCISA receiver device except the controller. In addition to executing the Host protocol defined by the Bluetooth core specification, it also executes the Profiles protocol, application functions, audio codec, audio algorithms, and audio input / output.
[0085] Furthermore, the slave controllers in a scalable controller can also be connected in parallel, such as... Figure 5As shown, the master controller and slave controllers 1 through M are all connected to the master processor. The master processor communicates with the master controller and slave controllers via a Bluetooth Master-Slave Interface (HCI) as defined in the Bluetooth specification. Furthermore, the HCI interface can be UART, USB, or SDIO, etc. For example, each slave controller and master controller includes an HCI interface used to connect to the master processor and report audio data packets to it.
[0086] It should be noted that in the parallel connection method, the main processor needs to add interfaces for multiple processors in parallel and needs to control the protocols of multiple processors; the multiple processors do not need to be interconnected. In the cascaded method, the main processor connects to and controls the processors in the same way as a regular WBA or WLLA slave device. In this embodiment, the SCISA receiving method is applicable to both SCISA receiving devices in the controller cascade method and SCISA receiving devices in the controller parallel method.
[0087] In another parallel configuration, the main controller is connected to the main processor externally via an HCI interface, and internally connected in parallel with slave controllers 1 to M. Specifically, the main controller is connected in parallel with M slave controllers via M HCI interfaces, and each slave controller is connected to one HCI interface.
[0088] This invention uses a SCISA receiving device with a master-slave controller in series as an example to illustrate the SCISA receiving method.
[0089] The isochronous audio transmission method provided in this embodiment will be described in detail below.
[0090] Based on the aforementioned Scalable Controller structure, the isochronous audio data reception method adaptively employs one or more slave controllers to assist the master controller in receiving isochronous audio data packets. Specifically,
[0091] (1) When the main controller's receiving performance is good enough, enable the main controller to receive;
[0092] (2) Enable receiving from the controller when the receiving performance is good enough;
[0093] (3) When the receiving performance of both the master controller and the slave controller is poor, enable both the master controller and the slave controller to receive audio data packets, thereby obtaining more equivalent retransmission times to improve the communication performance or transmission reliability of isochronous audio.
[0094] The specific process can be illustrated through the following Examples 1 and 2.
[0095] Example 1
[0096] This embodiment uses WBA as a specific example to illustrate the SCISA receiving method. Applied to the above... Figure 1 The WBA system shown uses the Classic BT A2DP wireless audio source provided by a smartphone. The BIG link transmission time slot and the A2DP link transmit and receive time slot of the WBA master device coexist in a time-division multiplexing manner.
[0097] like Figure 6 The timing diagram shown for the WBA master device, illustrating the time-division coexistence of the A2DP and BIG links, is for illustrative purposes only. Figure 6 The diagram shows two parallel timelines (actually the same timeline): one is the A2DP transmit / receive timing, including receiving the Classic BT 2DH5 packet and the reply acknowledgment packet (ACK), and the other is the BIG link transmit timing.
[0098] As seen in the A2DP timeline, the smartphone sends a 2DH5 packet to the WBA master device, which then receives it and sends an ACK response message back to the smartphone. Simultaneously, in the BIG timeline, the WBA master device sends Protocol Data Unit (PDU) packets to the SCISA receiving device.
[0099] In this context, the A2DP transmit / receive timing is time-division multiplexed with the BIG transmit timing, meaning that when the BIG link is transmitting, the A2DP link cannot transmit or receive. Figure 6 In the diagram, the dashed box indicates the time slot where an ACK should have been sent, but no ACK was sent because the WBA master did not receive 2DH5. To ensure sufficient transmit and receive time slots for the A2DP link, the number of retransmissions of Broadcast Isochronous Stream (BIS) PDUs sent by the BIG link cannot be guaranteed to be high enough.
[0100] In a specific example, after receiving the A2DP audio data, the WBA master device first decodes it, and then resamples and re-encodes it according to the requirements of the BIG link.
[0101] The main parameters of the BIG link established by the WBA master device include: a frame length of 10ms for LC3 coding at a sampling rate of 48kHz, a mono coding rate of 96kbps, a mono Service Data Unit (SDU) size of 120 bytes, a BIG ISO Interval of 20ms, a BIS link number of 2, a Number of Sub-Events (NSE) of 4, a Burst Number (BN) of 2, an Immediate Repetition Count (IRC) of 2, and a Pre-Transmission Offset (PTO) value of 0. BLE 2Mbps physical layer transmission is used. The interval between periodic advertisements is 60ms, and the interval between the start of a periodic advertisement and the start of the BIG is 1.25ms. It is evident that each BIS PDU is transmitted only twice, i.e., retransmitted only once, making WBA performance unsatisfactory in fading and interference environments. Therefore, WBA slave devices require a reception method that can significantly improve reception performance.
[0102] To obtain more equivalent retransmissions and improve the communication performance and transmission reliability of isochronous audio streams, this embodiment adopts the aforementioned... Figures 3 to 5 The illustrated SCISA receiver architecture includes a scalable controller comprising a master controller and one or more slave controllers. For example, this architecture can be applied to a system-on-a-chip (SOC) for a portable speaker, where the master and slave controllers are packaged within the same SOC chip. However, the antenna pins of the master and slave controllers are located on two different sides of the chip. This allows for sufficient spatial distance between the two antennas connected to the master and slave controllers, ensuring a sufficiently small fading correlation coefficient in the received signal to achieve adequate spatial diversity gain.
[0103] SCISA receiving devices, or scalable controllers, have at least two operating modes during isochronous audio transmission. These include: a first operating mode (Cooperation Spatial Diversity); a second operating mode (Selective Spatial Diversity); and a third operating mode (Default Mode).
[0104] First, the first operating mode is introduced. When the scalable controller operates in the first operating mode, namely the cooperative spatial diversity mode, the master controller and the slave controller work simultaneously, receiving BIS PDU packets at the same time, and then merging all received BIS PDU packets. This mode is suitable for situations where selective spatial diversity mode cannot meet the communication performance requirements in wireless environments with deep fading and strong interference.
[0105] According to the Bluetooth BLE protocol, the SCISA receiving device (i.e., the BIG slave device) synchronizes with the WBA master device (i.e., the BIG master device) and obtains BIG link information (BIGInfo) by sending Extended Advertising Protocol Data Units (PDUs) on the Primary Advertising channel, Auxiliary Advertising PDUs (AUX_ADV_IND) on the Secondary Advertising channel, and Synchronization PDUs (AUX_SYNC_IND) on the Periodic Advertising channel. This allows the SCISA receiving device to receive audio data packets carried by the BIS PDUs sent by the WBA master device.
[0106] The WBA master device provides the BIG slave device with information such as the start point, interval, and access address for sending AUX_SYNC_IND PDUs via the synchronization information (SyncInfo) in the AUX_ADV_IND PDU. Similarly, the WBA master device provides the BIG slave device with information such as the start point, interval, access address, and number of transmissions for sending BIS PDUs via the BIG information (BIG Info) in the AUX_SYNC_IND PDU.
[0107] Similarly, regardless of whether the master controller or slave controller is enabled, each controller in the SCISA receiving device (i.e., the BIG slave device) operates independently, much like a BIG slave device. That is, each controller synchronizes with the WBA master device and obtains BIG link information (BIGInfo) by using the extended advertising (ADV_EXT_IND) PDU sent by the WBA master device on the primary advertising channel, the auxiliary advertising (AUX_ADV_IND) PDU sent on the secondary advertising channel, and the synchronization (AUX_SYNC_IND) PDU sent on the periodic advertising channel. This allows them to receive the audio data packets carried by the BIS PDU sent by the WBA master device.
[0108] In the first operating mode, both the master and slave controllers not only maintain synchronization with the WBA master device, but also simultaneously receive BIS PDUs sent by the WBA master device. For example... Figure 7 As shown, this embodiment provides a method for transmitting wireless audio data, the method including:
[0109] Step S101: After the main controller is enabled, it receives the first audio data packet sent by the audio transmitting device, and obtains the reception status of the first audio data packet by at least one enabled slave controller.
[0110] In this embodiment, the audio transmitting device can be a WBA master device, which sends at least one audio data packet at equal time intervals, referred to as the first audio data packet in this example. The master controller and each enabled slave controller synchronously receive the first audio data packet sent by the WBA master device.
[0111] After the controller is activated, it synchronously receives the first audio data packet sent by the audio transmitting device and reports the reception status to the main controller. The reception status can be either correct reception or incorrect reception of the first audio data packet, with two possible outcomes.
[0112] Furthermore, when the first audio data packet is received correctly, the reception status includes the first audio data packet; when the first audio data packet is not received correctly, the reception status includes an indication that the first audio data packet was not received.
[0113] In this embodiment, assuming that receiving the first audio data packet from controller 1 is enabled, the above-mentioned acquisition of the reception status of the first audio data packet by at least one enabled slave controller includes: acquiring the reception status of the first audio data packet by slave controller 1.
[0114] Step S102: The main controller determines the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported by the enabled slave controller.
[0115] The target first audio data packet is the first audio data packet that has been correctly received.
[0116] Specifically, step S102 includes the following situations:
[0117] Scenario 1: The master controller correctly receives the first audio data packet. In this case, the master controller selects the first audio data packet that it correctly received as the target first audio data packet.
[0118] Scenario 2: The main controller fails to receive the first audio data packet correctly, but the slave controller correctly receives and reports the first audio data packet to the main controller. In this case, the main controller selects the first audio data packet reported by the slave controller as the target first audio data packet.
[0119] Generally, after receiving the first audio data packet from the audio transmitting device, the slave controller performs a CRC (Cyclic Redundancy Check) on the data packet. If the check passes, it confirms that the first audio data packet has been correctly received. Then, the first audio data packet, such as a BIS PDU, is transmitted to the master controller through the interface between the master and slave controllers.
[0120] Step S103: The main controller reports the target first audio data packet to the main processor (HostProcessor).
[0121] In one implementation, the main controller reports the target first audio data packet to the main processor via the HCI interface.
[0122] It should be noted that in the above "Scenario 1", there is also the case where both the master controller and the slave controller receive the first audio data packet at the same time, and the first audio data packet is a correct data packet. In this case, the first audio data packet received by the master controller is still selected as the target first audio data packet for reporting, because the master controller has a higher priority than the slave controller.
[0123] Optionally, the first working mode also includes: Situation 3.
[0124] Scenario 3: The main controller itself does not receive the first audio data packet correctly, and the enabled slave controller also does not receive the first audio data packet. In this case, the main controller reports an indication that the first audio data packet was not received correctly to the main processor, which means that the audio data packet transmission and reception failed.
[0125] This method expands the controller to its first operating mode, significantly improving the reception performance of the SCISA receiver. Although both the master and slave controllers only have two opportunities to receive the same audio data packet (BIS PDU) (IRC=2, PTO=0 pre-transmission), the SCISA receiver in this embodiment, composed of the master and slave controllers, has four opportunities to receive the same audio data packet (BIS PDU), equivalent to IRC=4, PTO=0. Therefore, this method achieves more equivalent retransmissions, thereby improving communication performance or transmission reliability. Furthermore, it does not require the WBA master device to increase the number of BIS PDU transmissions, nor does it require changes to the transmitting device and chip design.
[0126] In addition, in this embodiment, the scalable controller also has a second operating mode during isochronous audio transmission, namely selective spatial diversity mode.
[0127] The selective spatial diversity mode involves selectively activating either the master controller or one or more slave controllers based on changing wireless environments. Without loss of generality, if there are multiple slave controllers, one of them can be selected to operate. Furthermore, the master or slave controller can be dynamically switched based on wireless channel quality, achieving an adaptive adjustment to select and activate either controller, thereby improving channel quality through spatial diversity.
[0128] The second operating mode involves selectively activating either the master controller or the target slave controller to perform audio data packet transmission and reception functions based on the wireless channel quality. The target slave controller is one of the at least one slave controller. This second operating mode is suitable for changing wireless environments where enabling only the master controller is insufficient to meet communication performance requirements, while enabling only the slave controller can also meet those requirements.
[0129] In the second working mode, both the master controller and the slave controller maintain a synchronized state with the WBA master device. That is, the master controller synchronizes the WBA master device and obtains BIGInfo through the above synchronization method, and at the same time, it enables the slave controller to synchronize the WBA master device and obtain BIGInfo through the interface between the master controller and the slave controller.
[0130] Specifically, in the second operating mode, the channel quality between the master controller and slave controllers and the WBA master device is periodically evaluated, for example, the packet error rate (PER) of received BIS PDUs. The lower the packet error rate, the better the channel quality. By default, for example, the master controller has the best channel quality, so the master controller is used to receive BIS PDUs first, that is, the master controller is enabled.
[0131] Corresponding to the above-described wireless audio data transmission method, when the master controller is enabled to transmit and receive, i.e., to receive audio data packets sent from the audio transmitting device, such as the "second audio data packet" (as opposed to the first audio data packet mentioned above, e.g., BIS PDU2), the method includes:
[0132] After the main controller is activated, it receives the second audio data packet sent by the audio transmitting device.
[0133] The main controller determines the target second audio data packet based on its reception status. This target second audio data packet is one sent by the audio transmitting device and correctly received. The main controller then reports the target second audio data packet to the main processor. Therefore, since only the main controller is active at this time, it is only necessary to determine the target second audio data packet based on its reception status and report it to the main processor.
[0134] During the activation of the main controller, the wireless channel quality is evaluated in real time. When the wireless channel quality meets a first preset condition, the main controller's transmit / receive function is disabled, and the target slave controller's transmit / receive function is enabled. The main controller also maintains data synchronization with the audio transmitting device and performs periodic channel evaluation. The target slave controller is one or more of at least one slave controller.
[0135] The first preset condition is: the first channel quality is less than a first preset threshold, where the first channel quality is the channel quality of the master controller; the second channel quality is greater than a second preset threshold, where the second channel quality is the channel quality of the target slave controller. Generally, the second preset threshold is greater than the first preset threshold. Optionally, when the wireless channel quality is measured by the packet loss rate (PER), both the first and second preset thresholds are reciprocals of PER.
[0136] Optionally, in one possible implementation, when the main controller is enabled, and the main controller fails to correctly receive the second audio data packet from the audio transmitting device within an equal time interval, the main controller reports an indication that the second audio data packet was not correctly received to the main processor, so as to inform the main processor that the second audio data packet sent by the current audio transmitting device failed to be received. The reason for the failure may be that the main controller has poor channel quality and packet loss during transmission.
[0137] In this example, when the channel quality of the master controller is lower than that of the slave controller, the slave controller is selectively enabled to receive BIS PDU2, while the master controller's receiving function is disabled, thereby ensuring the reliability of receiving the second audio data packet.
[0138] Furthermore, in the second operating mode, when the target is enabled from the controller, such as... Figure 8 As shown, the method also includes:
[0139] Step S201: The target receives the second audio data packet sent by the audio transmitting device from the controller and reports the reception status to the main controller.
[0140] The receiving status is the same as in step S101 above, including two situations: successful reception of the second audio data packet and unsuccessful reception of the second audio data packet (BIS PDU2).
[0141] The target controller reports the reception status of the second audio data packet to the main controller through the interface between the main controller and the slave controller.
[0142] Step S202: The main controller determines the target's second audio data packet based on the reception status reported by the target from the controller.
[0143] The target second audio data packet is the second audio data packet that is correctly received by the target from the controller.
[0144] If the target reports a successful reception of the second audio data packet from the controller, then the target's second audio data packet is determined to be the reported second audio data packet. Conversely, if the reported reception is unsuccessful, then the target has not successfully received the second audio data packet from the audio transmitting device from the controller, and an unsuccessful reception indication message is generated.
[0145] Step S203: The main controller reports the target second audio data packet to the main processor.
[0146] Specifically, the main controller reports the target second audio data packet to the main processor through the HCI interface, or, if it is determined that the target has not correctly received the second audio data packet from the controller, it reports the indication information of incorrect reception to the main processor to inform the main processor that the second audio data packet sent by the current audio transmitting device has failed to be received.
[0147] In addition, the wireless channel quality is detected in real time in this embodiment. When the wireless channel quality meets the second preset condition, the transmit and receive function of the target slave controller is turned off and the transmit and receive function of the master controller is re-enabled.
[0148] The second preset condition is: the second channel quality is less than the first preset threshold, and the first channel quality is greater than the second preset threshold. That is, when the Slave Controller's channel quality is lower than the first preset threshold and the Master Controller's channel quality is higher than the second preset threshold, the Master Controller switches to receive the second audio data packet, BIS PDU2.
[0149] In addition, the above method also includes: when the wireless channel quality meets a third preset condition, switching the scalable controller from the second operating mode to the first operating mode.
[0150] The third preset condition is: the quality of the first channel is less than the first preset threshold, and the quality of the second channel is less than the first preset threshold. That is, when the channel quality of both the Master Controller and the Slave Controller is less than the first preset threshold, the SCISA receiving device switches to the first operating mode, cooperative spatial diversity mode. Simultaneously, the master controller and slave controller are activated to increase the number of retransmissions and ensure the communication performance or transmission reliability of the isochronous audio stream transmission.
[0151] Specifically, the audio data packet transmission and reception process in the first working mode can be found in the aforementioned embodiments, and will not be repeated here.
[0152] Furthermore, in this embodiment, the scalable controller also has a third operating mode during isochronous audio transmission, namely the default mode. In this mode, only the master controller operates, while the slave controllers are powered down. Specifically, in the third operating mode, the method further includes:
[0153] The main controller continuously receives third audio data packets, such as BIS PDU3, sent by the audio transmitting device. Based on its reception status of these third audio data packets, the main controller determines a target third audio data packet and reports it to the main processor. The target third audio data packet is a correctly received third audio data packet; if it is not correctly received, an indication of incorrect reception is reported to the main processor.
[0154] The third working mode is suitable for environments with good wireless conditions, such as short communication distance, low channel fading, and little interference.
[0155] The audio data transmission method described above in this embodiment is based on the WBA system architecture of the BIG link. Therefore, before the audio data packet transmission, it also includes:
[0156] The main controller establishes an isochronous stream communication link with the audio transmitting device and communicates with the audio transmitting device based on the isochronous stream communication link; the at least one slave controller shares the isochronous stream communication link and communicates with the audio transmitting device based on the isochronous stream communication link.
[0157] The isochronous stream communication link can be a point-to-multipoint isochronous stream communication link, and further, the point-to-multipoint isochronous stream communication link can be a broadcast isochronous group (BIG) link.
[0158] This embodiment provides a method for transmitting wireless audio data. The SCISA receiving device employs a scalable controller architecture, consisting of a main processor and a scalable controller. The scalable controller comprises a main controller and one or more scalable slave controllers. During isochronous audio data transmission, the scalable controller adaptively employs one or more slave controllers to assist the main controller in receiving isochronous audio data packets from the audio transmitting device. Compared to using only the main controller to receive audio data packets, this method increases the equivalent number of retransmissions, thereby improving the communication performance or transmission reliability of the isochronous audio stream.
[0159] In addition, this method does not require major modifications to the transmitting equipment or chip design, and it has better scalability. That is, one or more slave controllers can be added to assist the master controller in receiving isochronous audio data packets according to performance requirements, and one or more controllers can be adaptively enabled to receive isochronous audio data packets according to changes in the communication environment.
[0160] Example 2
[0161] The difference between this embodiment and Embodiment 1 above is that this embodiment uses WLLA as a specific example to illustrate the SCISA receiving method, and it can be applied to the above... Figure 2 The WLLA system shown in the diagram communicates with the WLLA master device and the SCISA receiver via a CIG link.
[0162] Specifically, in some possible implementations, the WLLA master device is a game console, and the SCISA slave device is a gaming headset. Audio data is transmitted between the game console and the gaming headset via a CIG link. For example... Figure 9 The diagram shows the timing of the CIG link between the game console and the gaming headset. Figure 9A BLE ACL link and a CIS link are shown. The ISO interval of the CIG link is 5ms. The ACL PDU represents the transmission and reception of the BLE ACL link, and the CIS PDU and ACK PDU represent the transmission and reception of the CIG link. In this embodiment, the WLLA master device is an audio transmitting device. The SCISA slave device is an SCISA receiving device, and the isochronous stream communication link between them is a point-to-point isochronous stream communication link. Furthermore, this point-to-point isochronous stream communication link is a CIG link connecting the isochronous groups.
[0163] In one specific embodiment, the main parameters of the CIG link established between the WLLA master device and the WLLA slave device (i.e., the SCISA receiving device) include: a frame length of 5ms for LC3 encoding at a sampling rate of 48kHz, a coding rate of 128kbps for each stereo channel, a stereo service data unit (SDU) size of 160 bytes, a CIG isochronous interval (ISO Interval) of 5ms, a CIS link number of 1, a number of sub-events (NSE) of 3, a burst number (BN) of 1, and a flush time (FT) of 1.
[0164] The BLE ACL link between the WLLA master and slave devices uses BLE 1Mbps physical layer transmission, while the CIG link uses BLE 2Mbps physical layer transmission. The BLE ACL link between the WLLA master and slave devices occupies a time slot of 1.25ms, with the remaining 3.75ms of the 5ms ISO Interval used for the CIG link. The CIS PDU occupies 700µs of air time, T_IFS equals 150µs, the WLLA slave device's ACK (Acknowledgement) response occupies 44µs of air time, and the Sub_Interval is 1080µs, for a total of 3.24ms of air time across the three sub-events. It is evident that each CIS PDU can only be transmitted a maximum of three times, meaning only two retransmissions are made. In environments with fading and interference, WLLA performance is unsatisfactory. Therefore, the WLLA slave device needs to improve its receiving performance.
[0165] To improve the reception performance of the WLLA slave device (i.e., the SCISA receiving device), this embodiment adopts the above-mentioned... Figure 4The structure shown, i.e., the scalable controller in the SCISA receiver, includes a master controller and a slave controller. The master and slave controllers are packaged in the same SOC chip, but their antenna pins are located on two different sides of the chip. This allows for sufficient spatial distance between the two antennas connected to the master and slave controllers, ensuring a sufficiently small fading correlation coefficient in the received signal to achieve a sufficiently large spatial diversity gain.
[0166] In addition, in this embodiment, the SCISA receiving device is a gaming headset. Furthermore, the gaming headset can also place the SOC chip packaged with the main processor and main controller on the left ear side, and place the chip packaged separately with the slave controller on the right ear side, thereby maintaining sufficient spatial distance between the main controller and the slave controller, so that the fading correlation coefficient of the received signal is small enough to obtain a sufficiently large spatial diversity gain.
[0167] The scalable controller of the aforementioned SCISA receiving device has three operating modes: a first operating mode (cooperative space diversity mode), a second operating mode (selective space diversity mode), and a third operating mode (default mode). The specific processes for these three operating modes are similar to those in Embodiment 1 described above.
[0168] Under favorable wireless conditions, i.e., short communication distance, low channel fading, and minimal interference, the third operating mode is adopted: the default mode. In the default mode, the SCISA receiving device only enables the master controller to operate, while the slave controller is powered down, which is no different from ordinary WLLA slave devices using CIG links.
[0169] In a changing wireless environment, if enabling only the master controller cannot meet the communication performance requirements, and enabling only the slave controller can also meet the communication performance requirements, then the second working mode is adopted: selective spatial diversity mode.
[0170] Selective spatial diversity mode allows for the selective activation of either the master or slave controllers based on varying wireless conditions. Without loss of generality, in the case of multiple slave controllers, one of them can be selected to operate.
[0171] In wireless environments with deep fading and strong interference, where selective spatial diversity mode cannot meet communication performance requirements, the first operating mode is adopted: cooperative spatial diversity mode. In cooperative spatial diversity mode, the master controller and slave controller work simultaneously, that is, they simultaneously receive CIS PDUs and then combine the received CIS PDUs.
[0172] According to the BLE protocol, the CIG slave device first establishes a BLE ACL connection with the CIG master device, and then establishes a CIG link through the BLE ACL connection. In this embodiment, the master controller of the SCISA receiving device is responsible for establishing a BLE ACL connection with the WLLA master device, and then establishing a connection isochronous group CIG link through the BLE ACL connection. After the master controller of the SCISA receiving device establishes a CIG link with the WLLA master device, if it is necessary to enable the slave controller to work, the CIG link information is transmitted to the slave controller through the interface between the master controller and the slave controller, thereby enabling the slave controller to synchronize the CIG link with the WLLA master device.
[0173] Of the three operating modes of the SCISA receiving device, the third operating mode is similar to that of a regular WLLA slave device using a CIG link, and will not be described further in this invention. The specific receiving methods for the first and second operating modes are described below.
[0174] In the second working mode, namely the selective spatial diversity mode, the master controller maintains a BLE ACL connection with the WLLA master device and transmits CIG link information to the slave controller through the interface between the master controller and the slave controller, so that the slave controller can maintain CIG link synchronization with the WLLA master device.
[0175] The difference from Embodiment 1 is that, during the connection of the isochronous group CIG link communication, in the first working mode, the main controller sends a first confirmation message to the audio transmitting device through the CIG link. This first confirmation message is used to provide feedback to the audio transmitting device on whether the main controller has correctly received the first audio data packet.
[0176] If the first audio data packet from the audio transmitting device is received correctly, an ACK (ACK Knowledge Character) first acknowledgment message is sent back to the audio transmitting device; if the first audio data packet is not received correctly, a NAK (Negative Acknowledgment) first acknowledgment message is sent back to the audio transmitting device. Correspondingly, when the audio transmitting device receives an ACK from the main controller, it stops sending the first audio data packet, such as a CIS PDU packet; when the audio transmitting device receives a NAK from the main controller, it continues sending CIS PDU packets.
[0177] Similarly, in the third operating mode, i.e., the default mode, the master controller maintains a CIG connection with the WLLA master device and is responsible for replying with acknowledgment messages (ACK / NAK) to the audio transmitting device. The SCISA receiving device periodically evaluates the channel quality between the master and slave controllers and the WLLA master device. For example, channel quality is measured by the packet error rate (PER) of the received CIS PDUs; a lower packet error rate indicates better channel quality.
[0178] Optionally, the main controller first receives CIS PDU packets and replies with acknowledgment information. When the channel quality of the main controller deteriorates, such as when the first channel quality is lower than the first preset threshold, and the channel quality of the slave controller is better than the first channel quality, such as when the second channel quality is higher than the second preset threshold, the system switches to the second working mode.
[0179] In the second operating mode, the target device receives CIS PDU packets from the controller, such as the second audio data packet, and replies with a second acknowledgment (ACK / NAK) to the audio transmitting device. This second acknowledgment is used to inform the audio transmitting device whether the first audio data packet was correctly received. At this time, the main controller only maintains a BLE ACL connection or CIG link synchronization with the WLLA master device for periodic channel evaluation.
[0180] Wherein, the second preset threshold is greater than the first preset threshold. In this example, when measuring channel quality using PER, the first and second preset thresholds are the reciprocals of PER.
[0181] Similarly, when the channel quality of the target controller is lower than the first preset threshold and the channel quality of the main controller is higher than the second preset threshold, the main controller is switched to receive CIS PDU packets and reply with the second acknowledgment information (ACK / NAK) to the audio transmitting device.
[0182] When the target receives a CIS PDU packet from the controller, the target slave controller sends the correctly received CIS PDU packet to the master controller via the HCI interface between the master and slave controllers. The master controller then submits the packet to the main processor. When the channel quality of both the master and slave controllers is lower than a first preset threshold, the SCISA receiving device switches to the first operating mode, cooperative space diversity mode.
[0183] In the first operating mode, both the master controller and the slave controller maintain CIG link synchronization with the WLLA master device and simultaneously receive CIS PDU packets sent by the WLLA master device (audio transmitting device). The master controller or slave controller responds with acknowledgment information (ACK / NAK). Without loss of generality, this embodiment uses the master controller to respond with the acknowledgment information. The slave controller sends the received CIS PDU packets to the master controller through the HCI interface between the master and slave controllers. The master controller merges the CIS PDU packets it received with those received by the slave controller before submitting them to the main processor.
[0184] The term "merging received CIS PDU packets" refers to the process where, if both the master controller and the slave controller have correctly received CIS PDU packets, the master controller selects any one of the correct CIS PDU packets and submits it to the master processor.
[0185] If only one of the master and slave controllers correctly receives a CIS PDU packet, the master controller will submit the correctly received CIS PDU packet to the master processor. If neither the master nor slave controller receives a correctly received CIS PDU packet, the master controller will submit an indication that a CIS PDU packet was not correctly received to the master processor, and simultaneously send a NAK (Not Received) message to the WLLA master device to inform it that the WLLA master device did not correctly receive the CIS PDU packet.
[0186] Specifically, the process of receiving CIS PDU packets and reporting them to the main processor in this embodiment is the same as in the aforementioned embodiment one, and will not be repeated here.
[0187] Since the probability of both the master and slave controllers failing to receive the CIS PDU correctly at the same time due to spatial fading is greatly reduced, the cooperative spatial diversity mode can significantly improve the reception performance of SCISA receiving equipment.
[0188] It should be noted that after the master controller correctly receives the CIS PDU and replies with an acknowledgment message only once or twice (less than NSE) within the current ISO Interval, the WLLA master device will stop sending CIS PDUs, and the slave controller will only have one or two opportunities to receive the CIS PDU. If the master controller fails to correctly receive the CIS PDU after receiving NSE times within the current ISO Interval, the slave controller also has NSE times to receive the CIS PDU, and has a certain probability of correctly receiving the CSIPDU within the current ISO Interval. Therefore, in this embodiment, although both the master and slave controllers have a maximum of 3 opportunities to receive the same CIS PDU (NSE = 3), the SCISA receiving device composed of the master and slave controllers has a maximum of 6 opportunities to receive the same CIS PDU, which is equivalent to increasing NSE to 6. This embodiment can achieve more equivalent retransmissions without requiring the WLLA master device to increase the number of CIS PDU transmissions, thereby improving communication reliability; and it does not require major changes to the transmitting equipment and chip design.
[0189] Example 3
[0190] In this embodiment, a scalable controller is also provided, the structure of which is as follows: Figure 3 As shown, it includes a master controller and at least one slave controller.
[0191] The main controller includes a first interface and a second interface defined according to the Bluetooth core specification. The first interface is used to connect to a host processor located outside the scalable controller, and the second interface is used to connect to the at least one slave controller. Figure 3 Multiple controllers 1 to N are cascaded / connected in series.
[0192] Furthermore, the structure of the master controller and each slave controller is as follows: Figure 10 As shown, it includes: an antenna, a radio frequency unit, a modulation and demodulation unit, a baseband processor, a link protocol processor, and a memory.
[0193] The main controller and each slave controller have one or more antennas for receiving audio data packets sent by the audio transmitting device, and the antennas corresponding to the main controller and each slave controller are isolated from each other.
[0194] The radio frequency unit, modulation and demodulation unit, baseband processor, link protocol processor, and memory are used to execute the wireless audio data transmission method described in Embodiments 1 and 2 above.
[0195] The link protocol processor includes the first interface and the second interface, both of which are HCI interfaces. The number of the second interface is greater than or equal to one.
[0196] It should be noted that if the master controller is cascaded with N slave controllers, the master controller can connect to the N slave controllers through a second interface; if the master controller is connected in parallel with N slave controllers, the master controller can connect to the N slave controllers through N second interfaces, where N ≥ 2 and is a positive integer.
[0197] The memory can be used to store transmitted data, such as audio data packets. It can also be used to store computer-readable program instructions, which, when executed by a computer, can implement the methods described in Embodiments 1 and 2.
[0198] Optionally, in one possible implementation, the master controller and at least one slave controller are packaged in the same chip, and the antenna pins of the master controller and at least one slave controller are located on two different sides of the chip, so that the two antennas of the master controller and the slave controller, respectively, maintain sufficient spatial distance so that the fading correlation coefficient of the received signal is small enough to obtain a sufficiently large spatial diversity gain.
[0199] In addition, this embodiment also provides a receiving device, the structure of which is as follows: Figure 3 As shown, it includes a host processor and a scalable controller. The host processor is connected to the first interface of the scalable controller, which is an interface defined according to the Bluetooth core specification.
[0200] The scalable controller is used to execute the wireless audio data transmission method described in Embodiments 1 and 2 above; the main processor is used to receive the target audio data packet sent by the scalable controller through the first interface.
[0201] It should be understood that in this embodiment, the main controller or the slave controller may include other more or fewer units / modules, and this embodiment does not limit this.
[0202] This embodiment also provides a wireless audio data transmission device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0203] This embodiment provides a wireless audio data transmission device, such as... Figure 11 As shown, the device includes a receiving unit 1101, an acquiring unit 1102, a determining unit 1103, and a sending unit 1104. In addition, the device may include other more or fewer units, and this embodiment does not limit this.
[0204] The receiving unit 1101 is used to receive the first audio data packet sent by the audio transmitting device after the controller is enabled.
[0205] The acquisition unit 1102 is used to acquire the reception status of the first audio data packet by at least one enabled slave controller; and report the reception status to the master controller. The slave controller synchronously receives the first audio data packet sent by the audio transmitting device after being enabled.
[0206] The determining unit 1103 is used to determine the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported from the controller when enabled, wherein the target first audio data packet is the first audio data packet that has been correctly received.
[0207] The sending unit 1104 is used to report the target first audio data packet to the main processor.
[0208] Optionally, in one possible implementation, the determining unit 1103 is further configured to select the target first audio data packet as the first audio data packet that it has correctly received, provided that it has correctly received the first audio data packet.
[0209] Alternatively, the determining unit 1103 is further configured to select the target first audio data packet as the first audio data packet reported by the slave controller when it has not correctly received the first audio data packet, but the slave controller has correctly received and reported the first audio data packet.
[0210] Alternatively, the determining unit 1103 is further configured to, through the sending unit 1104, report an indication message indicating that the first audio data packet was not received correctly to the main processor if it itself has not correctly received the first audio data packet and the enabled slave controller has also not received the first audio data packet.
[0211] Further functional descriptions of the above-mentioned units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0212] It should be noted that the structure of the above-mentioned wireless audio data transmission device can be applied to both the main controller and the slave controller; this embodiment does not impose any limitations on this.
[0213] Furthermore, embodiments of the present invention also provide a computer-readable storage medium. The methods described in Embodiments 1 and 2 of the present invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the wireless audio data transmission method shown in the above embodiments is implemented.
[0214] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for transmitting wireless audio data, characterized in that, Applied to a scalable controller connected to a main processor, the scalable controller includes a main controller and at least one slave controller connected to the main controller. The scalable controller has a first operating mode during isochronous audio transmission. When the scalable controller operates in the first operating mode, the method includes: After the main controller is enabled, it receives the first audio data packet sent by the audio transmitting device and obtains the reception status of the first audio data packet by at least one enabled slave controller. The slave controller synchronously receives the first audio data packet sent by the audio transmitting device after being enabled and reports the reception status to the main controller. The main controller determines the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported by the enabled slave controller. The target first audio data packet is the first audio data packet that has been correctly received. The main controller reports the target first audio data packet to the main processor.
2. The method according to claim 1, characterized in that, The reception status reported by at least one of the enabled slave controllers to the master controller includes: When the first audio data packet is received correctly, the reception status includes the first audio data packet; When the first audio data packet is not received correctly, the reception status includes an indication that the first audio data packet has not been received.
3. The method according to claim 1, characterized in that, The main controller determines the target first audio data packet based on its own reception status of the first audio data packet and the reception status reported by the enabled slave controller, including: If the main controller correctly receives the first audio data packet, it selects the first audio data packet that it correctly received as the target first audio data packet. or, If the main controller fails to receive the first audio data packet correctly, but the slave controller correctly receives and reports the first audio data packet, the main controller selects the first audio data packet reported by the slave controller as the target first audio data packet.
4. The method according to claim 1, characterized in that, The method further includes: If the main controller fails to receive the first audio data packet correctly, and the enabled slave controller also fails to receive the first audio data packet, the main controller reports an indication that the first audio data packet was not received correctly to the main processor.
5. The method according to any one of claims 1-4, characterized in that, The scalable controller also has a second operating mode during isochronous audio streaming transmission; In the second operating mode, the master controller or the target slave controller is selectively enabled to perform the audio data packet transmission and reception function according to the wireless channel quality, wherein the target slave controller is one of the at least one slave controller.
6. The method according to claim 5, characterized in that, When the scalable controller is operating in the second operating mode, and the main controller has its transmit / receive function enabled, the method further includes: After the main controller is activated, it receives the second audio data packet sent by the audio transmitting device. The main controller determines the target second audio data packet based on its own reception of the second audio data packet. The target second audio data packet is the second audio data packet sent by the audio transmitting device and correctly received. The main controller reports the target second audio data packet to the main processor; When the first channel quality is less than a first preset threshold and the second channel quality is greater than a second preset threshold, the transmit / receive function of the main controller is turned off, the transmit / receive function of the target slave controller is enabled, and the data synchronization and channel evaluation functions between the main controller and the audio transmitting device are maintained; wherein, the first channel quality is the channel quality of the main controller; the second channel quality is the channel quality of the target slave controller, and the second preset threshold is greater than the first preset threshold.
7. The method according to claim 6, characterized in that, In the second operating mode, when the target is enabled from the controller, the method further includes: The target receives the second audio data packet sent by the audio transmitting device from the controller and reports the reception status to the main controller; The main controller determines the target second audio data packet based on the reception status reported by the target from the controller. The target second audio data packet is the second audio data packet that has been correctly received by the target from the controller. The main controller reports the target second audio data packet to the main processor; When the quality of the second channel is less than the first preset threshold and the quality of the first channel is greater than the second preset threshold, the transmit / receive function of the target slave controller is turned off and the transmit / receive function of the master controller is re-enabled.
8. The method according to claim 6, characterized in that, The method further includes: When the quality of the first channel is less than the first preset threshold and the quality of the second channel is less than the first preset threshold, the scalable controller is switched from the second operating mode to the first operating mode.
9. The method according to claim 1, characterized in that, The scalable controller also has a third operating mode during isochronous audio transmission. When the scalable controller operates in the third operating mode, the method further includes: The main controller continuously receives third audio data packets sent by the audio transmitting device; The main controller determines the target third audio data packet based on its own reception of the third audio data packet, and the target third audio data packet is the third audio data packet that has been correctly received; The main controller reports the target third audio data packet to the main processor.
10. The method according to claim 5, characterized in that, In different operating modes of the isochronous audio streaming process, the method further includes: The main controller establishes an isochronous stream communication link with the audio transmitting device, and communicates with the audio transmitting device based on the isochronous stream communication link; The at least one slave controller shares the isochronous stream communication link and communicates with the audio transmitting device based on the isochronous stream communication link; The isochronous stream communication link is one of two types: point-to-point and point-to-multipoint.
11. The method according to claim 10, characterized in that, The point-to-point isochronous stream communication link is a link connecting the isochronous group CIG; The single-point to multi-point isochronous stream communication link is a broadcast isochronous group (BIG) link.
12. The method according to claim 11, characterized in that, During the connection of the isochronous group CIG link communication process, the method further includes: In the first operating mode, the main controller sends a first confirmation message to the audio transmitting device through the connection isochronous group (CIG) link. The first confirmation message is used to provide feedback to the audio transmitting device on whether the first audio data packet has been correctly received.
13. The method according to claim 11, characterized in that, During the connection of the isochronous group CIG link communication process, the method further includes: In the second operating mode, the main controller or the target slave controller sends a second confirmation message to the audio transmitting device through the connection isochronous group (CIG) link. The second confirmation message is used to provide feedback to the audio transmitting device on whether the second audio data packet has been correctly received.
14. The method according to claim 1, characterized in that, The main controller includes a first interface and a second interface defined according to the Bluetooth core specification, the first interface being used to connect to the main processor, and the second interface being used to connect to the at least one slave controller; the method further includes: The main controller receives the reception status reported by the enabled slave controller through the second interface; The main controller reports the target first audio data packet to the main processor, including: The main controller reports the target first audio data packet to the main processor through the first interface.
15. The method according to claim 14, characterized in that, The at least one slave controller is connected in series with the master controller in sequence; Alternatively, the at least one slave controller may be connected in parallel to the master controller.
16. The method according to claim 1, characterized in that, The main controller and each of the slave controllers are provided with one or more corresponding antennas, and the antennas corresponding to the main controller and the antennas corresponding to each slave controller are spaced apart from each other.
17. A scalable controller, characterized in that, It includes a master controller and at least one slave controller, wherein the master controller includes a first interface and a second interface defined according to the Bluetooth core specification, the first interface is used to connect to a master processor located outside the scalable controller, and the second interface is used to connect to the at least one slave controller; The main controller and each of the slave controllers are provided with one or more antennas for receiving audio data packets sent by the audio transmitting device, and the antennas corresponding to the main controller and the antennas corresponding to each of the slave controllers are isolated from each other. The master controller and each of the slave controllers include a radio frequency unit, a modulation and demodulation unit, a baseband processor, a link protocol processor, and a memory, for executing the wireless audio data transmission method as described in any one of claims 1 to 16.
18. The scalable controller according to claim 17, characterized in that, The main controller and the at least one slave controller are packaged in the same chip, and the antenna pins of the main controller and the at least one slave controller are located on two different sides of the chip.
19. A receiving device, characterized in that, It includes a main processor and a scalable controller, wherein the main processor is connected to a first interface of the scalable controller, and the first interface is an interface defined using the Bluetooth core specification. The scalable controller is configured to execute the wireless audio data transmission method as described in any one of claims 1 to 16; the main processor is configured to receive the target audio data packet sent by the scalable controller through the first interface.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the wireless audio data transmission method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Bluetooth low-power-consumption audio data transmission method, device thereof and equipment
CN111800171A
Wireless audio data transmission method and related equipment
CN117500055A
