Wireless audio transmission method, device and system, electronic equipment and storage medium
By establishing isochronous stream link groups between uplink and downlink devices and utilizing the transmission enable flag and sequence number comparison mechanism, the problem of low link efficiency in ULLWGA is solved, achieving efficient and reliable wireless audio transmission, suitable for demanding game audio scenarios with bidirectional and multi-channel audio.
Patent Information
- Application Number
- CN202511935952.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-02-27
AI Technical Summary
In existing technologies, when using CIG to implement bidirectional ultra-low latency wireless gaming audio (ULLWGA) applications, the link efficiency is low and the transmission reliability is low.
By establishing isochronous stream link groups between uplink and downlink devices and dynamically controlling downlink activation and audio allocation using the transmit enable flag in the protocol data unit, flexible sharing and efficient utilization of transmission resources are achieved. An asymmetric burst number setting and sequence number comparison mechanism are adopted to ensure the reliability and efficiency of data transmission.
It improves the bandwidth utilization efficiency and system adaptability of wireless audio transmission, reduces the overall power consumption and transmission latency of the system, and enhances the stability and reliability of the communication system.
Smart Images

Figure CN121586103A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and more specifically to wireless audio transmission methods, apparatus, systems, electronic devices, and storage media. Background Technology
[0002] Bluetooth Low Energy (BLE) audio technology employs the Isochronous Channels (ISC) protocol, including Connected Isochronous Stream (CIS) links for point-to-point communication and Connected Isochronous Group (CIG) protocols consisting of at least one CIS link, as well as Broadcast Isochronous Stream (BIS) links for point-to-multipoint communication and Broadcast Isochronous Group (BIG) protocols 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, a two-way Wireless Gaming Audio (WGA) service can be provided using a CIG consisting of one or two bidirectional CIS links. However, when using CIG to implement Ultra Low Latency Wireless Gaming Audio (ULLWGA), the link efficiency and transmission reliability of CIG are low. Summary of the Invention
[0003] This invention provides a wireless audio transmission method, apparatus, system, electronic device, and storage medium to solve the problem of low link efficiency in the prior art when using CIG to implement ULLWGA or WGA applications.
[0004] In a first aspect, the present invention provides a wireless audio transmission method applied to an uplink device, the method comprising: A connection isochronous stream link is established with the downlink device. A connection isochronous stream link group is formed. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. In the first time slot of at least two sub-event intervals of the current isochronous time interval, the first connection isochronous stream link protocol data unit is sent to the downlink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for the first audio data and the second audio data. The transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous time interval; In the second and third time slots of at least one sub-event interval of the current isochronous time interval, the downlink device receives two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, which are sequentially transmitted based on the connected isochronous stream link. Alternatively, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, the downlink device receives two second connected isochronous stream link protocol data units, each carrying first audio data and second audio data, which are respectively transmitted based on the connected isochronous stream link.
[0005] In this invention, by establishing a link group consisting of isochronous stream links between uplink and downlink devices, and dynamically controlling the activation of the downlink and audio allocation using the transmit enable flag in the protocol data unit, flexible sharing and efficient utilization of transmission resources are achieved. This method allows any second-connection isochronous stream link protocol data unit to share the time slot of another second-connection isochronous stream link protocol data unit to transmit audio data of the same channel, thereby improving transmission reliability. This significantly improves bandwidth utilization efficiency and system adaptability of wireless audio transmission while ensuring low latency, making it particularly suitable for demanding bidirectional, multi-channel game audio scenarios.
[0006] In one optional implementation, the second connection isochronous stream link protocol data unit carries a next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. In the first time slot of at least two sub-event intervals of the current isochronous time interval, the first connection isochronous stream link protocol data unit is sent to the downlink device through the connection isochronous stream link, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is sent to the downlink device through the connection isochronous stream link; In the first time slot of other sub-event intervals within the current isochronous interval, the determination of whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit received in the previous sub-event interval of the current sub-event interval carries uplink audio data is based on whether the sequence number has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval excluding the first sub-event interval.
[0007] In this invention, a first connection isochronous stream protocol data unit carrying uplink audio data is sent at a fixed interval during the first sub-event interval of the current isochronous time interval. In subsequent sub-event intervals, the system intelligently determines whether to retransmit uplink data based on whether the next expected sequence number received in the previous interval has changed. This mechanism ensures the basic reliability of uplink audio data transmission while avoiding unnecessary duplicate transmissions through sequence number comparison. Therefore, while ensuring the accuracy and integrity of uplink data, it effectively optimizes air interface resource utilization and reduces overall system power consumption and transmission latency.
[0008] In one optional implementation, the first time slot is used to send a first connection isochronous stream link protocol data unit; the second time slot is used to receive a first second connection isochronous stream link protocol data unit; and the third time slot is used to receive a second second connection isochronous stream link protocol data unit; the starting points of the first time slot, the second time slot, and the third time slot are all predetermined.
[0009] In this invention, by precisely fixing the starting points of three time slots in advance and strictly defining their functions as sending uplink data, receiving first audio data, and receiving second audio data, the entire bidirectional audio transmission process exhibits high determinism and predictable timing. This design effectively avoids timing conflicts and resource contention during data transmission, significantly improving the stability and reliability of the communication system. Simultaneously, the orderly time slot scheduling optimizes air interface resource utilization, ensuring low-latency and high-efficiency audio transmission performance.
[0010] In one alternative implementation, the burst number from the uplink device to the downlink device is less than the burst number from the downlink device to the uplink device.
[0011] In this invention, by setting an asymmetric burst number, it is easier to resist interference and share time, thereby improving transmission reliability.
[0012] In one alternative implementation, two bits are defined in the first connection isochronous stream link protocol data unit as transmission enable flags for the first audio data and the second audio data, respectively.
[0013] In this invention, by adding two bits to the protocol data unit as independent transmission enable flags, fine-grained switching control of each connection isochronous stream link is achieved.
[0014] In one alternative implementation, two bits in the reserved field of the first connection isochronous stream link protocol data unit are used as transmission enable flags for different channels of audio data.
[0015] In this invention, two bits originally reserved in the protocol data unit are cleverly utilized and defined as transmission enable flags for the first and second audio data, respectively. This design achieves precise and independent control of the transmission status of each link with minimal control overhead, thereby significantly enhancing the flexibility and accuracy of link management and effectively improving the efficiency of isochronous stream data transmission and system resource utilization.
[0016] In one optional implementation, establishing a connection isochronous stream link with the downlink device includes: using a bit in the reserved field of the connection isochronous stream link request protocol data unit as a protocol enable flag; and determining whether to establish a connection isochronous stream link with the downlink device based on whether the protocol enable flag is activated.
[0017] In this invention, by multiplexing one bit of the originally reserved field in the Connection Isochronous Stream Link Request Protocol data unit as a protocol enable flag, flexible control of dual-link establishment is achieved with extremely low signaling overhead. This method does not require the introduction of new fields or complex negotiation procedures; it indicates whether two connection isochronous stream links are enabled simply through the status of a single bit. This significantly simplifies protocol design and improves link establishment efficiency and system configuration flexibility while maintaining compatibility with traditional Bluetooth devices.
[0018] In one optional implementation, the first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. Before sending the first connection isochronous stream link protocol data unit to the downlink device via the connection isochronous stream link, the method further includes: Determine whether the second connection isochronous stream link protocol data unit carrying the audio data of the corresponding channel of the downlink device was correctly received in the previous sub-event interval of the current isochronous interval. When correctly received, the bit value of the transmit enable flag for the corresponding downlink channel audio data in the first connection isochronous stream link protocol data unit to be transmitted within the current event interval is set to invalid; If the data is not received correctly, the bit value of the transmit enable flag for the corresponding channel audio data of the downlink in the first connection isochronous stream link protocol data unit to be transmitted within the current event interval is set to valid.
[0019] In this invention, before sending uplink data, the system intelligently determines whether the corresponding downlink channel audio data in the previous time slot has been correctly received, and dynamically sets the transmit enable flag in the uplink data packet accordingly. This mechanism allows the receiver to accurately identify whether lost specific channel data needs to be retransmitted through this flag, thereby achieving on-demand and precise retransmission control. This not only effectively avoids unnecessary retransmission overhead and saves air interface resources, but also significantly improves the reliability of bidirectional audio transmission and overall bandwidth utilization efficiency.
[0020] In one optional implementation, the first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. In the second and third time slots of at least one sub-event interval of the current isochronous time interval, the system receives two second connected isochronous stream link protocol data units, each carrying the first audio data, or two second connected isochronous stream link protocol data units, each carrying the second audio data, sequentially transmitted by the downlink device based on the connected isochronous stream link. Alternatively, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, the system receives second connected isochronous stream link protocol data units, each carrying the first audio data and the second audio data, respectively transmitted by the downlink device based on the connected isochronous stream link. This includes: When both downlink audio data transmission enable flags are valid, in the second time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of one channel is sent by the downlink device to the uplink device is received; in the third time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of the other channel is received by the downlink device to the uplink device. When the transmit enable flag for only one channel of downlink audio data is valid, in the second and third time slots of the current sub-event interval, two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are received sequentially from the downlink device.
[0021] In this invention, intelligent switching of downlink audio data transmission modes is achieved through flexible configuration of the link transmission enable flag. When dual links are enabled, different time slots can be used to transmit audio data of different channels; when a single link is enabled, a single link can share the time slots of other links to transmit audio data of the same channel, thereby improving transmission reliability.
[0022] In an optional implementation, the method further includes: when the number of sub-events in the current isochronous interval reaches a threshold, stopping the transmission and reception of connected isochronous stream link protocol data units within the current isochronous interval, wherein the interval between any two sub-events is the sub-event interval.
[0023] In this invention, by setting a threshold for the number of secondary events as a control switch, when the number of communication transactions (secondary events) to be processed within a single equal time interval is too dense and reaches the threshold, the subsequent data unit transmission and reception within the current interval can be actively suspended.
[0024] Secondly, the present invention provides a wireless audio transmission method applied to a downlink device, the method comprising: A connection isochronous stream link is established with the uplink device. A connection isochronous stream link group is formed. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. Within the first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link is received, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for the first audio data and the second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data within the current sub-event interval of the current isochronous time interval; In the second and third time slots of at least one event interval within the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connection isochronous stream link protocol data units, each carrying the first audio data, or two second connection isochronous stream link protocol data units, each carrying the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one sub-event interval within the current isochronous time interval, second connection isochronous stream link protocol data units, each carrying the first audio data and the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link.
[0025] In one optional implementation, the first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. In the second and third time slots of at least one event interval within the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connected isochronous stream link protocol data units, each carrying the first audio data, or two second connected isochronous stream link protocol data units, each carrying the second audio data, are sequentially transmitted to the uplink device based on the connected isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval within the current isochronous time interval, second connected isochronous stream link protocol data units carrying the first and second audio data are sequentially transmitted to the uplink device based on the connected isochronous stream link, including: Determine whether the bit value of the transmit enable flag for each channel of downlink audio data carried in the first connection isochronous stream link protocol data unit is valid; When the bit values of the transmit enable flags for the two downlink audio channels are both valid, the second and third time slots are occupied, and the second connection isochronous stream link protocol data unit carrying the downlink audio data of different channels is transmitted sequentially to the uplink device based on the connection isochronous stream link; When only the bit value of the transmit enable flag for one channel of downlink audio data is valid, the second and third time slots are occupied, and two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are sent to the uplink device based on the connection isochronous stream link; When the bit values of the transmit enable flags for both downlink audio channels are invalid, the transmission and reception of the current equal time interval will end.
[0026] In one optional implementation, the first time slot is used to receive the first connection isochronous stream link protocol data unit; the second time slot is used to send the first second connection isochronous stream link protocol data unit; and the third time slot is used to send the second second connection isochronous stream link protocol data unit; the starting points of the first time slot, the second time slot, and the third time slot are all predetermined.
[0027] In one optional implementation, the second connection isochronous stream link protocol data unit carries a next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. Within the first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit transmitted by the uplink device through the connection isochronous stream link is received, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is received by the uplink device through the connection isochronous stream link; Based on whether the uplink audio data was correctly received, determine whether the next expected sequence number in the second connection isochronous stream link protocol data unit has changed; In the first time slot of other sub-event intervals within the current isochronous interval, a first connection isochronous stream link protocol data unit carrying uplink audio data is received from the uplink device via the connection isochronous stream link. Whether the first connection isochronous stream link protocol data unit carries uplink audio data is determined based on whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit sent by the downlink device in the previous sub-event interval of the current sub-event interval has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval other than the first sub-event interval.
[0028] In one optional implementation, establishing a connection isochronous stream link with the uplink device includes: determining whether the protocol enable flag in the connection isochronous stream request protocol data unit is activated; when activated, establishing a connection isochronous stream link with the uplink device.
[0029] Thirdly, the present invention provides a wireless audio transmission device applied to an uplink device, the device comprising: The first link establishment module is used to establish a connection isochronous stream link with the downlink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The first transmitting module is configured to transmit a first connection isochronous stream link protocol data unit to a downlink device via a connection isochronous stream link in a first time slot of at least two sub-event intervals of the current isochronous interval. The first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data. The transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device transmits a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous interval. The first receiving module is configured to receive, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, sent sequentially by the downlink device based on the connected isochronous stream link; or, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, and second audio data, sent by the downlink device based on the connected isochronous stream link respectively.
[0030] Fourthly, the present invention provides a wireless audio transmission device applied to a downlink device, the device comprising: The second link establishment module is used to establish a connection isochronous stream link with the uplink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The second receiving module is configured to receive, within a first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data within the current sub-event interval of the current isochronous time interval; The second transmission module is configured to, in the second and third time slots of at least one event interval of the current isochronous time interval, if only one audio data transmission enable flag is valid, sequentially transmit two second connected isochronous stream link protocol data units, both carrying the first audio data, or two second connected isochronous stream link protocol data units, both carrying the second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of at least one event interval of the current isochronous time interval. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval of the current isochronous time interval, sequentially transmit second connected isochronous stream link protocol data units, carrying the first audio data and the second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of the current isochronous time interval.
[0031] Fifthly, the present invention provides a wireless audio transmission system, comprising: The wireless audio transmission device as described in the third aspect of the present invention; The wireless audio transmission device as described in the fourth aspect of the present invention.
[0032] In a sixth aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the wireless audio transmission method of the first aspect or any corresponding embodiment thereof, or the wireless audio transmission method of the second aspect or any corresponding embodiment thereof.
[0033] In a seventh aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the wireless audio transmission method of the first aspect or any corresponding embodiment thereof, or the wireless audio transmission method of the second aspect or any corresponding embodiment thereof.
[0034] Eighthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the wireless audio transmission method of the first aspect or any corresponding embodiment thereof, or the wireless audio transmission method of the second aspect or any corresponding embodiment thereof. Attached Figure Description
[0035] 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.
[0036] Figure 1 This is a schematic flowchart of a first method for wireless audio transmission according to an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating an application scenario of the wireless audio transmission method according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the packet header structure of the first connection isochronous stream link protocol data unit according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the time slot structure of the connected isochronous flow link group according to an embodiment of the present invention; Figure 5 This is a schematic diagram of a second process of a wireless audio transmission method according to an embodiment of the present invention; Figure 6 This is a first structural block diagram of a wireless audio transmission device according to an embodiment of the present invention; Figure 7 This is a second structural block diagram of a wireless audio transmission device according to an embodiment of the present invention; Figure 8This is a schematic diagram of the time slot structure of the isochronous stream link group for a wireless low-latency game audio application according to an embodiment of the present invention; Figure 9 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0037] 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.
[0038] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0039] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0040] According to an embodiment of the present invention, a wireless audio transmission method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0041] This embodiment provides a wireless audio transmission method. Figure 1 This is a flowchart of a wireless audio transmission method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: Establish a connection isochronous stream link with the downlink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving.
[0042] Step S102: In the first time slot of at least two sub-event intervals within the current isochronous interval, a first connection isochronous stream link protocol data unit is sent to the downlink device via the connection isochronous stream link. The first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data. The transmission enable flag for the first or second audio data is used to indicate whether the downlink device should send a second connection isochronous stream link protocol data unit carrying the first or second audio data within the current sub-event interval of the current isochronous interval. The current isochronous interval is one of the series of isochronous intervals.
[0043] Step S103: In the second and third time slots of at least one sub-event interval of the current isochronous interval, receive two second connected isochronous stream link protocol data units, both carrying first audio data, or two second connected isochronous stream link protocol data units, both carrying second audio data, sent sequentially by the downlink device based on the connected isochronous stream link; or, in the second and third time slots of at least one sub-event interval of the current isochronous interval, receive two second connected isochronous stream link protocol data units, respectively carrying first audio data and second audio data, sent by the downlink device based on the connected isochronous stream link.
[0044] Specifically, this wireless audio transmission method can be applied to, for example... Figure 2 The data transmission between the ULLLGA downlink and uplink devices in the wireless low-latency gaming audio system shown can also be applied to the data transmission between WGA downlink and uplink devices. The following explanation uses ULLWGA as an example. The ULLWGA downlink device can be a smartphone, personal computer, tablet, smart TV, wireless game console, etc. The ULLWGA uplink device can be a wireless gaming headset, wireless headphones, etc. The ULLWGA downlink device can be either a central device or a peripheral device, and the ULLWGA uplink device can be either a peripheral device or a central device. Without loss of generality, in this invention, the ULLWGA downlink device is considered a peripheral device, and the ULLWGA uplink device is considered a central device.
[0045] It should be noted that, compared to the connection isochronous stream links used for point-to-point communication and the connection isochronous stream link groups consisting of at least one connection isochronous stream link in related technologies, the connection isochronous stream link in this embodiment is connected between the uplink device and the downlink device, and the connection isochronous stream link transmits audio data bidirectionally. The first connection isochronous stream link protocol data unit carries uplink audio data and a transmission enable flag for the first audio data and the second audio data. This transmission enable flag enables the downlink device to send polling information for the second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data, while simultaneously sharing a time slot to transmit the first audio data and the second audio data. That is, in this connection isochronous stream link, the number of data packets transmitted bidirectionally is asymmetrical. Therefore, the connection isochronous stream link used in this embodiment can also be called an asymmetric connection isochronous stream (ACIS) link. Asymmetric connection isochronous stream links constitute an asymmetric connection isochronous group (ACIG) (or, an asymmetric connection isochronous stream link group).
[0046] The bidirectional ACIS link includes a downlink and an uplink. The transmission direction from the ULLWGA downlink device to the ULLWGA uplink device is called the downlink, and the transmission direction from the ULLWGA uplink device to the ULLWGA downlink device is called the uplink. Specifically, the downlink is used to transmit a second connection isochronous stream link protocol data unit carrying audio data of the corresponding downlink channel, and the uplink is used to transmit a first connection isochronous stream link protocol data unit carrying uplink audio data. In this embodiment, the ACIS protocol data unit (PDU) of the ACIS link is defined the same as the CIS PDU. Without loss of generality, this invention defines the ACIS PDU sent from the uplink device to the uplink device as an ACISC PDU (i.e., the first connection isochronous stream link protocol data unit), and defines the ACIS PDU sent from the downlink device to the uplink device as an ACISP PDU (i.e., the second connection isochronous stream link protocol data unit).
[0047] Understandably, isochronous streaming, as a common data transmission method, is widely used in audio streaming with high real-time requirements due to its emphasis on time accuracy and periodicity, and its ability to ensure timing stability through coordinated bandwidth allocation. In some embodiments, both the connecting isochronous streaming link and the broadcast isochronous streaming link can be isochronous streaming links, and at least one or more isochronous streaming links belong to the same isochronous streaming link group, wherein the isochronous streaming link group defines common timing parameters, etc., for all isochronous streaming links within the group.
[0048] The connection isochronous stream link group adopts a connection-oriented isochronous stream data transmission mechanism.
[0049] In some specific embodiments of this application, the connection isochronous stream link can be a CIS link established with reference to the BLE CIS link protocol, or it can be a CIS link established based on other public or private connection-oriented isochronous stream transmission mechanisms.
[0050] For an asymmetric connection isochronous stream link group, in order to realize the transmission of multiple protocol data units, its transmission time includes a series of isochronous intervals. Protocol data units carrying the same audio data can be transmitted in each isochronous interval. That is, each isochronous interval includes multiple sub-event intervals, and protocol data units are sent and received once in each sub-event interval. Specifically, within each sub-event interval, the uplink device first sends a first connected isochronous stream link protocol data unit (i.e., ACISC PDU) via the connected isochronous stream link, and then receives two second connected isochronous stream link protocol data units (i.e., ACISP PDUs) carrying first audio data or second audio data sent by the downlink device via the connected isochronous stream link. If the second connected isochronous stream link protocol data unit is not correctly received, the corresponding transmission enable flag in the first connected isochronous stream link protocol data unit sent in the next sub-event interval instructs the downlink device to resend the second connected isochronous stream link protocol data unit carrying the first audio data or second audio data. If the second connected isochronous stream link protocol data unit is correctly received, the corresponding transmission enable flag in the first connected isochronous stream link protocol data unit sent in the next sub-event interval instructs the downlink device not to resend the second connected isochronous stream link protocol data unit carrying the first audio data or second audio data.
[0051] In this wireless audio transmission method, three connected isochronous stream link protocol data units need to be transmitted within at least one sub-event interval of each isochronous interval. Based on this, this embodiment allocates a time slot for the transmission of each protocol data unit. Specifically, in the first time slot of the first sub-event interval of the current isochronous interval, the uplink device first sends an ACISC PDU. At this time, both transmit enable flags in the ACISC PDU indicate that the downlink device needs to send a second connected isochronous stream link protocol data unit carrying the first audio data and a second connected isochronous stream link protocol data unit carrying the second audio data through two connected isochronous stream links. That is, in the second and third time slots, the downlink device sends an ACISP1 PDU carrying the first audio data and an ACISP2 PDU carrying the second audio data, respectively.
[0052] If the uplink device fails to correctly receive either the ACISP1 PDU or ACISP2 PDU sent by the downlink device, it must retransmit and receive them in the same manner as the first sub-event interval during the second sub-event interval. If the downlink device correctly receives either the ACISP1 PDU or ACISP2 PDU, it will send an ACISC PDU in the first time slot of the next sub-event interval. In this case, one transmit enable flag in the ACISC PDU indicates that the downlink device does not need to send the second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data, while the other transmit enable flag indicates that the corresponding downlink device needs to send the second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data. This will free up the corresponding time slot, allowing the downlink device to use the second and third time slots to retransmit the ACISP1 PDU or ACISP2 PDU carrying the first audio data or the second audio data twice. PDU. Thus, this embodiment uses a shared time slot method, so that the isochronous stream link of the connection that needs to send the first audio data or the second audio data occupies its own allocated time slot and the time slot of the isochronous stream link of the connection that does not need to send, and performs two transmissions within a sub-event interval (i.e., sends two ACISP1 PDUs or ACISP2 PDUs with the same audio data).
[0053] In one optional implementation, the burst count from the uplink device to the downlink device is less than the burst count from the downlink device to the uplink device. Specifically, the burst count (BN_C_To_P) from the ACIG central device to the ACIG peripheral devices is different from the burst count (BN_P_To_C) from the ACIG peripheral devices to the ACIG central device. In this embodiment, BN_P_To_C > BN_C_To_P. Specifically, BN_P_To_C equals 2, and BN_C_To_P equals 1, meaning that within at least one sub-event interval of each isochronous interval, the uplink device sends one first connection isochronous stream link protocol data unit, and the downlink device sends two second connection isochronous stream link protocol data units.
[0054] In one optional implementation, the second connection isochronous stream link protocol data unit carries a next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. In the first time slot of at least two sub-event intervals of the current isochronous time interval, the first connection isochronous stream link protocol data unit is sent to the downlink device through the connection isochronous stream link, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is sent to the downlink device through the connection isochronous stream link; In the first time slot of other sub-event intervals within the current isochronous interval, the determination of whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit received in the previous sub-event interval of the current sub-event interval carries uplink audio data is based on whether the sequence number has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval excluding the first sub-event interval.
[0055] When an uplink device sends an ACISC PDU via the uplink, the protocol data unit also includes uplink audio data that needs to be sent to the downlink device. However, uplink audio data is not required to be carried in the protocol data unit for every event interval in every equal-time interval. In this embodiment, the next expected sequence number is set in ACISP1 PDU and ACISP2 PDU to indicate whether uplink audio data needs to be carried in the ACISC PDU.
[0056] Specifically, in the first time slot of the first sub-event interval of the current isochronous interval, the uplink device first sends an ACISC PDU carrying uplink audio data. Then, in the second and third time slots, the receiving downlink device sends an ACISP1 PDU carrying the first audio data and an ACISP2 PDU carrying the second audio data, respectively, through the isochronous stream link. Both ACISP1 and ACISP2 PDUs carry the next expected sequence number, which is used to indicate whether the downlink device has correctly received the uplink audio data in the ACISC PDU. When correctly received, the next expected sequence number changes compared to the initially set bit value, for example, from the initially set 1 to 0; when incorrectly received, the next expected sequence number does not change compared to the initially set bit value, for example, it remains at the initially set 1.
[0057] In the first time slot of the second sub-event interval of the current isochronous link protocol data interval, the uplink device determines whether to carry uplink audio data in the transmitted ACISC PDU based on whether the bit value of the next expected sequence number of the ACISP1 PDU and ACISP2 PDU has changed. For example, if the bit value changes, the ACISC PDU transmitted by the uplink device does not need to carry uplink audio data; that is, it only carries a transmit enable flag in the ACISC PDU to indicate whether retransmission is required. If the bit value does not change, the ACISC PDU transmitted by the uplink device needs to carry uplink audio data. Then, it determines whether to carry uplink audio data in the ACISC PDU transmitted in the third sub-event interval based on whether the next expected sequence number in the second connection isochronous stream link protocol data unit received in the second and third time slots has changed.
[0058] In one optional implementation, the first time slot is used to send a first connection isochronous stream link protocol data unit; the second time slot is used to receive a first second connection isochronous stream link protocol data unit; and the third time slot is used to receive a second second connection isochronous stream link protocol data unit; the starting points of the first time slot, the second time slot, and the third time slot are all predetermined.
[0059] Specifically, three time slots are allocated for each sub-event interval within each equal-time interval. Each time slot is used for either uplink devices to transmit ACISC PDUs or downlink devices to transmit ACISP PDUs. This ensures that the transmission start time for ACISC and ACISP PDUs is fixed, meaning the transmission start time for uplink and downlink devices is fixed and independent (or, the transmission start time for ACISP PDUs is independent of the transmission end time for ACISC PDUs), and the frequency channels are independent. Based on this, the interval between ACISC and ACISP PDUs is T_MSS (Time of Minimum Slot Space) instead of the inter-frame space (T_IFS) defined in BLE CIG. That is, the uplink device first transmits the ACISC PDU in the first time slot, and the downlink device transmits two ACISP PDUs sequentially in the second and third time slots after an interval of T_MSS. The minimum interval between two ACISP PDUs is T_MSS, and the minimum interval between the second ACISP PDU and the next sub-interval ACISCPDU is also T_MSS.
[0060] The minimum time slot interval means that the air time occupied by the connection isochronous stream link protocol data unit is uncertain, but the interval between the start of sending the previous connection isochronous stream link protocol data unit and the start of sending the next connection isochronous stream link protocol data unit is certain. The minimum time slot interval is the interval between the end of sending the ACISC PDU and the start of sending the first ACISP PDU, and the interval between the end of sending the first ACISP PDU and the start of sending the second ACISP PDU. However, it may be larger. For example, the interval between ACIS PDUs without load is larger than T_MSS.
[0061] Therefore, by allocating three time slots, the problem of asymmetric transmission and reception performance caused by the correlation between the start time of downlink device sending ACISP PDU and the end time of uplink device sending ACISP PDU is avoided. Even if the downlink device does not correctly match the access address of the ACISP PDU or incorrectly resolves its payload length, it can still send the ACISP PDU at the agreed fixed start time, thus avoiding the problem of worse transmission reliability of CIG peripheral devices. Furthermore, frequency channel independence can also improve anti-interference performance.
[0062] In one optional implementation, establishing a connection isochronous stream link with the downlink device includes: using a bit in the reserved field of the connection isochronous stream link request protocol data unit as a protocol enable flag; and determining whether to establish a connection isochronous stream link with the downlink device based on whether the protocol enable flag is activated.
[0063] Specifically, to support ACIG, this embodiment defines one bit in the reserved for future use (RFU) field of the control data (CtrData) of the BLE specification's link layer connection isochronous stream request (LL_CIS_REQ) protocol data unit as ACIG_En (protocol enable flag). Alternatively, an additional bit can be added to the control data as the protocol enable flag. ACIG_En set to 1 indicates that the CIG central device supports the ACIG protocol, while setting it to 0 indicates that the CIG central device does not support the ACIG protocol. When the protocol enable flag is set to 1, data transmission between the uplink and downlink devices can proceed according to the wireless audio transmission method described in the above embodiment. That is, an asymmetric isochronous stream link group can be established between the uplink and downlink devices to achieve protocol data unit transmission through shared polling information. Simultaneously, when the protocol enable flag is set to 1, the burst number from the uplink device to the downlink device is less than the burst number from the downlink device to the uplink device.
[0064] In one optional implementation, two bits in the first connection isochronous stream link protocol data unit are defined as transmission enable flags for the first audio data and the second audio data, respectively. Specifically, two bits in the original reserved field of the first connection isochronous stream link protocol data unit can be used as the link transmission enable flags for each connection isochronous stream link. Alternatively, in other embodiments, new bits can be added to the header of the protocol data unit as link transmission enable flags. This can be determined by the number of remaining undefined bits in the original reserved field. That is, undefined bits in the original reserved field are used preferentially; if the number of bits in the original reserved field is insufficient, new bits can be added to the header of the protocol data unit as link transmission enable flags. In this embodiment, the ACISC PDU defines one bit in the original reserved field (RFU) of the CIS PDU header as ACISP PDU1 transmission enable (PDU1_En), and defines another bit in the original reserved field (RFU) of the CIS PDU header as ACISP PDU2 transmission enable (PDU2_En).
[0065] In this embodiment, the header structure of the ACISC PDU is as follows: Figure 3As shown, the first RFU bit in the CIS PDU header is defined as PDU1_En, and the second RFU bit is defined as PDU2_En. The meanings of the other fields in the ACISC PDU header are the same as in the CIS PDU header. LLID (Logical Link Identifier) is the logical link identifier, used to indicate the payload type of the ACISC PDU. SN (Sequence Number) is the current sequence number of the ACISC PDU. CIE (Close Isochronous Event) is the close isochronous event, indicating whether the isochronous event has ended. NPI (Null PDU Indicator) is the null PDU identifier; in a CIS PDU, it indicates whether the PDU is a CIS Data PDU or a CIS Null PDU; in an ACISC PDU, it indicates whether the PDU is an ACISC Data PDU or an ACISC Null PDU. Length indicates the payload length of the ACISC PDU. NESN (Next Expected Sequence Number) is the next expected sequence number.
[0066] In one optional implementation, the first audio data includes downlink first channel (e.g., left channel) audio data, and the second audio data includes downlink second channel (e.g., right channel) audio data. Before sending the first connection isochronous stream link protocol data unit to the downlink device via the connection isochronous stream link, the method further includes: determining whether the second connection isochronous stream link protocol data unit carrying downlink audio data of the corresponding channel, sent by the downlink device, was correctly received in the previous sub-event interval of the current sub-event interval of the current isochronous interval; when correctly received, setting the bit value of the transmission enable flag for the corresponding downlink channel audio data in the first connection isochronous stream link protocol data unit to be sent in the current sub-event interval to invalid; when not correctly received, setting the bit value of the transmission enable flag for the corresponding downlink channel audio data in the first connection isochronous stream link protocol data unit to be sent in the current sub-event interval to valid.
[0067] Specifically, by carrying transmission enable flags (i.e., PDU1_En and PDU2_En) for the first and second audio data in the first connection isochronous stream link protocol data unit, the validity of the bit value of the transmission enable flag can be used to characterize whether the ACISP PDU carrying the downlink audio data of the corresponding channel transmitted through the corresponding connection isochronous stream link is correctly received. For example, a bit value of 1 for the link transmission enable flag can be used to represent validity, and a bit value of 0 can be used to represent invalidity. Other bit values can also be used for characterization, and this embodiment does not specifically limit this.
[0068] The first sub-event interval of each equal-time interval can be determined by setting a refresh timeout value. When the refresh timeout value (FT_P_To_C) is 1, data not successfully transmitted in the current equal-time interval will be refreshed and will not be transmitted in the next equal-time interval. If FT_P_To_C=2, protocol data units not successfully transmitted in the current equal-time interval will continue to be transmitted in the next equal-time interval. For example, when FT_C_To_P=1, the bit values of the transmission enable flags of each link in the first sub-event interval of the current equal-time interval are updated, that is, PDU1_En and PDU2_En are both set to 1, and the bit value of the next expected sequence number can also be updated.
[0069] For the second sub-event interval of each isochronous interval, it is necessary to determine whether the uplink device correctly received the ACISP PDU carrying the corresponding downlink channel audio data sent by the downlink device during the first sub-event interval. If it was correctly received, the bit value of the transmit enable flag for the corresponding downlink channel audio data in the first connection isochronous stream link protocol data unit sent by the uplink device is set to 1 during the second sub-event interval; otherwise, it is set to 0. For example, if the header of the ACISC PDU sent by the uplink device during the first sub-event interval contains both PDU1_En and PDU2_En as 1, and the uplink device subsequently correctly received the ACISP1 PDU carrying the downlink first channel audio data sent by the first downlink device, but failed to correctly receive the ACISP2 PDU carrying the downlink second channel audio data sent by the second downlink device, then during the second sub-event interval, the header of the ACISC PDU sent by the uplink device will contain PDU1_En as 0 and PDU2_En as 1. Then, by checking whether the ACISP2 PDU carrying the downlink second channel audio data sent by the downlink device is correctly received in the next event interval, the bit value of PDU2_En in the next event interval is determined.
[0070] In one optional implementation, during the second and third time slots of at least one sub-event interval of the current isochronous interval, two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, are sequentially transmitted by the downlink device based on the connected isochronous stream link. Alternatively, during the second and third time slots of at least one sub-event interval of the current isochronous interval, second connected isochronous stream link protocol data units, each carrying first audio data and second audio data, are respectively transmitted by the downlink device based on the connected isochronous stream link. This includes: When both downlink audio data transmission enable flags are valid, in the second time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of one channel is sent by the downlink device to the uplink device is received; in the third time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of the other channel is received by the downlink device to the uplink device. When the transmit enable flag for only one channel of downlink audio data is valid, in the second and third time slots of the current sub-event interval, two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are received sequentially from the downlink device.
[0071] Specifically, in the second and third time slots of at least one sub-event interval of the current equal time interval, whether the downlink device sends ACISP1 PDU or ACISP2 PDU is determined based on the validity of the corresponding transmit enable flag bit value. That is, it either alternately sends ACISP PDU1 carrying downlink first channel audio data and ACISP PDU2 carrying downlink second channel audio data, or it continuously sends two ACISP PDU1 carrying downlink first channel audio data or two ACISP PDU2 carrying downlink second channel audio data, depending on the values of PDU1_En and PDU2_En. When both PDU1_En and PDU2_En are set to 1, the ULLWGA downlink device alternately sends ACISP PDU1 carrying downlink first channel audio data and ACISP PDU2 carrying downlink second channel audio data, that is, it sends ACISP PDU1 first and then ACISP PDU2. When PDU1_En is set to 1 and PDU2_En is set to 0, the ULLWGA downlink device continuously sends two ACISP PDU1 carrying downlink first channel audio data. When PDU1_En is set to 0 and PDU2_En is set to 1, the ULLWGA downlink device continuously transmits two ACISP PDU2s carrying downlink second channel audio data. When both PDU1_En and PDU2_En are set to 0, the ULLWGA downlink device transmits neither ACISP PDU1 nor ACISP PDU2.
[0072] For example, such as Figure 4As shown, the communication time is divided into a series of ISO intervals. ACIG consists of one ACIS link, with BN_P_To_C equal to 2 and BN_C_To_P equal to 1. Each ISO interval contains multiple sub-events, meaning the number of sub-events (NSE) is greater than 1, and the interval between sub-events is called the sub-interval. Within each ISO interval, ACIG peripheral devices send two ACISP PDUs: ACISP PDU1 carrying downlink first channel audio data and ACISP PDU2 carrying downlink second channel audio data. Within a sub-interval, there are three time slots. The ACIG central device, acting as the ULLWGA uplink device, sends an ACISC PDU carrying uplink audio data in the first time slot. The ACIG peripheral device, acting as the ULLWGA downlink device, sends two ACISP PDUs carrying downlink audio data in the second and third time slots after an interval of T_MSS. The interval between the two ACISP PDUs is T_MSS. The interval between the second ACISP PDU and the ACISC PDU in the next sub-interval is also T_MSS. T_MSS is the minimum time slot space.
[0073] Within the first sub-event interval of an equal-time interval, the ACIG central device sets PDU1_En and PDU2_En in the header of the ACISC PDU packet carrying uplink audio data to 1. The ACIG peripheral devices, acting as ULWLGA downlink devices, then sequentially send ACISP PDU1 and ACISP PDU2. If ACISP PDU1 is correctly received by the ACIG central device acting as a ULLWGA uplink device, but ACISP PDU2 is not, then in the second sub-event interval, the ACIG central device sets PDU1_En to 0 and PDU2_En to 1 in the header of the ACISC PDU packet. ACISP PDU2 can share the time slot of ACISP PDU1 and be sent twice consecutively. If ACISP PDU2 is not correctly received by the ACIG central device after two consecutive transmissions, it can be sent twice more consecutively in subsequent sub-event intervals. This increases the maximum retransmission count of ACISP PDU2 and improves transmission reliability. Similarly, ACISP PDU1 can also share the time slots of ACISP PDU2 to increase the maximum number of retransmissions of ACISP PDU1 and improve transmission reliability.
[0074] In an optional implementation, the method further includes: stopping the transmission and reception of connected isochronous stream link protocol data units within the current isochronous time interval when the number of sub-events in the current isochronous time interval reaches a threshold, wherein the interval between any two sub-events is the sub-event interval. Specifically, the number of sub-events can also be understood as the maximum number of times the downlink device sends an ICISP PDU within the current isochronous time interval. For example, if the number of sub-events is 4, then a maximum of four ICISP PDUs can be sent. For example, if the downlink device sends only two sub-events and the uplink device correctly receives them, the transmission and reception of the current isochronous time interval can be terminated directly; if it sends four sub-events and the uplink device fails to receive them correctly, the transmission and reception of the current isochronous time interval can also be terminated.
[0075] Therefore, as Figure 4As shown, the two solid-line boxes for ACISC PDUs indicate that the ACIG central device, acting as an uplink device in the ULLWGA, transmits at least two ACISC PDUs within each equal-time interval. The dashed-line boxes for ACISC PDUs indicate that the ACIG central device may or may not transmit ACISC PDUs within each equal-time interval. At least the first ACISC PDU carries uplink audio data; the other ACISC PDUs may or may not carry uplink audio data. The solid-line boxes for ACISP PDU1 and ACISP PDU2 indicate that the ACIG peripheral device, acting as a downlink device in the ULLWGA, transmits at least one ACISP PDU1 carrying downlink first-channel audio data and one ACISP PDU2 carrying downlink second-channel audio data. The dashed-line boxes for ACISP PDU1 and ACISP PDU2 indicate that the ULLWGA downlink device may transmit ACISP PDU1 and ACISP PDU2 separately within each equal-time interval, or transmit ACISP PDU1 or ACISP PDU2 consecutively.
[0076] This embodiment provides a wireless audio transmission method applied to downlink devices, such as... Figure 5 As shown, the method includes the following steps: Step S201: Establish a connection isochronous stream link with the uplink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving.
[0077] Step S202: In the first time slot of at least two sub-event intervals of the current isochronous interval, receive a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for the first audio data and the second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous interval.
[0078] In step S203, in the second and third time slots of at least one event interval of the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connection isochronous stream link protocol data units, both carrying the first audio data or two second connection isochronous stream link protocol data units, both carrying the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, second connection isochronous stream link protocol data units, carrying the first audio data and the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link.
[0079] Specifically, in the ultra-low latency wireless game audio transmission system applied in this embodiment, a connection isochronous stream link (also referred to as an asymmetric connection isochronous stream link, i.e., ACIS link) is established between the uplink device and the downlink device. For the downlink device, it receives the first connection isochronous stream link protocol data unit (i.e., ACISC PDU) through the ACIS link, and sends the second connection isochronous stream link protocol data unit (i.e., ACISP PDU) carrying the audio data of the two downlink channels through the ACIS link.
[0080] In one optional implementation, the first time slot is used to receive the first connection isochronous stream link protocol data unit; the second time slot is used to send the first second connection isochronous stream link protocol data unit; and the third time slot is used to send the second second connection isochronous stream link protocol data unit. The starting points of the first, second, and third time slots are all predetermined. Specifically, by allocating the three time slots, the start time of the ACISP PDU's transmission is independent of the end time of the ACISP PDU's transmission, thus achieving the effect of independent transmission and reception times.
[0081] In one optional implementation, the first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. In the second and third time slots of at least one event interval within the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connected isochronous stream link protocol data units, each carrying the first audio data, or two second connected isochronous stream link protocol data units, each carrying the second audio data, are sequentially transmitted to the uplink device based on the connected isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval within the current isochronous time interval, second connected isochronous stream link protocol data units carrying the first and second audio data are sequentially transmitted to the uplink device based on the connected isochronous stream link, including: Determine whether the bit value of the transmit enable flag for each channel of downlink audio data carried in the first connection isochronous stream link protocol data unit is valid; When the bit values of the transmit enable flags for the two downlink audio channels are both valid, the second and third time slots are occupied, and the second connection isochronous stream link protocol data unit carrying the downlink audio data of different channels is transmitted sequentially to the uplink device based on the connection isochronous stream link; When only the bit value of the transmit enable flag for one channel of downlink audio data is valid, the second and third time slots are occupied, and two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are sent to the uplink device based on the connection isochronous stream link; When the bit values of the transmit enable flags for both downlink audio channels are invalid, the transmission and reception of the current equal time interval will end.
[0082] Specifically, within at least one event interval of the current isochronous time interval, when the downlink device receives an ACISCPDU, it determines whether the bit values of the transmission enable flags corresponding to the first and second audio data are valid. If both bit values of the transmission enable flags for the two audio data are valid, the downlink device occupies two allocated time slots to transmit the second connection isochronous stream link protocol data unit carrying the downlink audio data of the two channels respectively. If only one bit value of the transmission enable flags corresponding to the two audio data is valid, the device can occupy two time slots to transmit the second connection isochronous stream link protocol data unit carrying the corresponding downlink audio data of the channel twice.
[0083] In one optional implementation, establishing a connection isochronous flow link with the uplink device includes: determining whether the protocol enable flag in the connection isochronous flow request protocol data unit is activated; and establishing a connection isochronous flow link with the uplink device when activated. Specifically, for the downlink device, before establishing the ACIS link with the uplink device according to this embodiment, it first determines whether the protocol enable flag in the connection isochronous flow request protocol data unit is activated, that is, it determines the value of ACIG_En. If ACIG_En is set to 1, the link establishment process is performed; if ACIG_En is set to 0, the ACIS link is not established with the central device.
[0084] In one optional implementation, the second connection isochronous stream link protocol data unit carries a next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. Within the first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit transmitted by the uplink device through the connection isochronous stream link is received, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is received by the uplink device through the connection isochronous stream link; Based on whether the uplink audio data was correctly received, determine whether the next expected sequence number in the second connection isochronous stream link protocol data unit has changed; In the first time slot of other sub-event intervals within the current isochronous interval, a first connection isochronous stream link protocol data unit carrying uplink audio data is received from the uplink device via the connection isochronous stream link. Whether the first connection isochronous stream link protocol data unit carries uplink audio data is determined based on whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit sent by the downlink device in the previous sub-event interval of the current sub-event interval has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval other than the first sub-event interval.
[0085] Specifically, in addition to the downlink corresponding channel audio data, the second connection's isochronous stream link protocol data unit also carries the next expected sequence number, which is used to indicate whether the uplink audio data carried in the received ACISC PDU has been correctly received. If correctly received, the downlink device changes the bit value of the next expected sequence number when sending the ACISP PDU, to indicate that the uplink device does not need to carry uplink audio data in the ACISC PDU sent in the next sub-event interval; if not correctly received, the downlink device keeps the bit value of the next expected sequence number unchanged when sending the ACISP PDU, to indicate that the uplink device needs to carry uplink audio data in the ACISC PDU sent in the next sub-event interval.
[0086] This embodiment also provides a wireless audio transmission device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" 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.
[0087] This embodiment provides a wireless audio transmission device applied to uplink devices, such as... Figure 6 As shown, the device includes: The first link establishment module 61 is used to establish a connection isochronous stream link with the downlink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The first transmitting module 62 is used to transmit a first connection isochronous stream link protocol data unit to a downlink device via a connection isochronous stream link in a first time slot of at least two sub-event intervals of the current isochronous interval. The first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data. The transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device transmits a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous interval. The first receiving module 63 is configured to receive, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, sent sequentially by the downlink device based on the connected isochronous stream link; or, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, and second audio data, sent by the downlink device based on the connected isochronous stream link respectively.
[0088] This embodiment provides a wireless audio transmission device applied to downlink devices, such as... Figure 7 As shown, the device includes: The second link establishment module 71 is used to establish a connection isochronous stream link with the uplink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The second receiving module 72 is configured to receive, within a first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data within the current sub-event interval of the current isochronous time interval; The second transmitting module 73 is configured to, in the second and third time slots of at least one event interval of the current isochronous time interval, if only one audio data transmission enable flag is valid, sequentially transmit two second connected isochronous stream link protocol data units, both carrying first audio data, or two second connected isochronous stream link protocol data units, both carrying second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of at least one event interval of the current isochronous time interval. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval of the current isochronous time interval, sequentially transmit second connected isochronous stream link protocol data units, carrying first audio data and second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of the current isochronous time interval.
[0089] The wireless audio transmission device provided in this embodiment of the invention can execute the wireless audio transmission method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.
[0090] This embodiment also provides a wireless audio transmission system, including: The wireless audio transmission device applied to an uplink device as described in the above embodiments; The wireless audio transmission device applied to downlink devices as described in the above embodiments.
[0091] As a specific application embodiment of the present invention, the ultra-low latency wireless gaming audio system provided in this embodiment will be further described as follows: In the ULLWGA system, the ULLWGA downlink device is a smartphone, and the ULLWGA uplink device is a wireless gaming headset. The ULLWGA downlink and uplink devices transmit audio data bidirectionally through an asymmetric connection isochronous group (ACIG), which consists of an asymmetric connection isochronous stream (ACIS) link. The ULLWGA downlink device is the ACIG peripheral, and the ULLWGA uplink device is the ACIG central.
[0092] When a wireless gaming headset, acting as the ACIG central device, establishes an ACIS link with a smartphone, acting as an ACIG peripheral device, the ACIG_En in the LL_CIS_REQ PDU sent is set to 1 to support the ACIG protocol.
[0093] The digital audio samples of the left (first) and right (second) channels of downlink game audio transmitted by the smartphone, acting as a ULLWGA downlink device, have a sampling rate of 48kHz and a quantization bit count of 16 per audio sample. Low Complexity Communication Codec (LC3) is used, with a frame length of 2.5ms, a mono coding rate of 144kbps, and a downlink Service Data Unit (SDU) size of 45 bytes. The digital audio samples of the uplink audio (microphone audio) of the wireless gaming headset, acting as a ULLWGA uplink device, have a sampling rate of 32kHz and a quantization bit count of 16 per audio sample. LC3 encoding is used, with a frame length of 2.5ms, a mono coding rate of 64kbps, and an uplink SDU size of 20 bytes. Using a BLE 2Mbps physical layer (PHY), the ACISP PDU1 carrying the downlink first channel audio SDU or the ACISP PDU2 carrying the downlink second channel audio SDU has a duty cycle of 240us, the ACISC PDU carrying uplink audio data has a duty cycle of 140us, and the ACISC PDU not carrying uplink audio data has a duty cycle of 44us.
[0094] In such Figure 4 In the ACIG time slot structure shown, the ISO interval is 2.5ms, the number of sub-events (NSE) is 3, and the refresh timeout values FT_P_To_C and FT_P_To_C in both directions are 1. BN_P_To_C is 2, and BN_C_To_P is 1. The sub-interval is 830us, of which T_MSS is 70us. Within one ISO interval, the three sub-intervals occupy a total of 2.49ms of air time. In a specific embodiment, the third ISO interval coexists with the BLE asynchronous connection-oriented link (ACL) time-division multiplexing, and ACIG has a higher priority. The specific ACIG time slot structure set with these parameters is as follows: Figure 4 As shown.
[0095] Specifically, in such Figure 8In the ACIG timeslot structure shown, during each ISO interval, the ACIG central device sends an ACISC PDU packet carrying uplink audio data with both PDU1_En and PDU2_En set to 1 in the header during the first sub-event interval. The smartphone then sequentially sends ACISP PDU1 and ACISP PDU2. During the first sub-event interval, the smartphone correctly receives the ACISC PDU carrying uplink audio data, and the transmitted ACISP PDU1 is acknowledged as correctly received by the ACIG central device (acting as a wireless gaming headset). However, ACISP PDU1 is not acknowledged as correctly received by the ACIG central device. Therefore, during the second sub-event interval, the ACIG central device sends an ACISC PDU without uplink audio data with PDU1_En set to 0 and PDU2_En set to 1 in the header, thus sending ACISP PDU2 twice consecutively. Unfortunately, during the second sub-event interval, the ACIG central device sends ACISP PDU2 twice consecutively, but it is also not acknowledged as correctly received by the ACIG central device. Therefore, during the third sub-event interval, the ACIG central device retransmits an ACISC PDU without uplink audio data, with PDU1_En set to 0 and PDU2_En set to 1 in its header, thus transmitting ACISP PDU2 twice more. As can be seen from this specific embodiment, if ACISP PDU2 does not share the time slot of ACISP PDU1, it can be retransmitted a maximum of 2 times; while sharing the time slot of ACISP PDU1, it can be retransmitted a maximum of 4 times, greatly increasing the probability of ACISP PDU2 being correctly received, thereby improving the transmission reliability of ACISP PDU2. Similarly, ACISP PDU1 can also share the time slot of ACISP PDU2 to increase the probability of ACISP PDU1 being correctly received, thereby improving the transmission reliability of ACISP PDU1.
[0096] The embodiments described above can achieve ultra-low latency wireless gaming audio headsets with audio latency of no more than 10ms.
[0097] As can be seen from the above embodiments, compared to CIG, the ACIG central device can save the time of sending ACISP PDU1 and ACISP PDU2 separately to improve link efficiency in all event intervals, and can also allow ACISP PDU1 and ACISP PDU2 to share time slots to increase the maximum number of retransmissions, thereby improving the reliability of ultra-low latency wireless game audio transmission.
[0098] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0099] The following is a detailed reference. Figure 9 This diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 11, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 12 or a program loaded from memory 18 into random access memory (RAM) 13. The RAM 13 also stores various programs and data required for the operation of the electronic device. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0100] Typically, the following devices can be connected to I / O interface 15: input devices 16 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 17 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 18 including, for example, magnetic tapes, hard disks, etc.; and communication devices 19. Communication device 19 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0101] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 19, or installed from a memory 18, or installed from a ROM 12. When the computer program is executed by the processor 11, it performs the functions defined in the wireless audio transmission method of the embodiments of the present invention.
[0102] Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0103] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the 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 transmission method shown in the above embodiments is implemented.
[0104] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0105] 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 wireless audio transmission method, characterized in that, Applied to uplink devices, the method includes: A connection isochronous stream link is established with the downlink device. A connection isochronous stream link group is formed. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. In the first time slot of at least two sub-event intervals of the current isochronous time interval, the first connection isochronous stream link protocol data unit is sent to the downlink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for the first audio data and the second audio data. The transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous time interval; In the second and third time slots of at least one sub-event interval of the current isochronous time interval, the downlink device receives two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, which are sequentially transmitted based on the connected isochronous stream link. Alternatively, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, the downlink device receives two second connected isochronous stream link protocol data units, each carrying first audio data and second audio data, which are respectively transmitted based on the connected isochronous stream link.
2. The method according to claim 1, characterized in that, The second connection isochronous stream link protocol data unit carries the next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. In the first time slot of at least two sub-event intervals of the current isochronous time interval, the first connection isochronous stream link protocol data unit is sent to the downlink device through the connection isochronous stream link, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is sent to the downlink device through the connection isochronous stream link; In the first time slot of other sub-event intervals within the current isochronous interval, the determination of whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit received in the previous sub-event interval of the current sub-event interval carries uplink audio data is based on whether the sequence number has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval excluding the first sub-event interval.
3. The method according to claim 1, characterized in that: The first time slot is used to send the first connection isochronous stream link protocol data unit; The second time slot is used to receive the first second connection isochronous stream link protocol data unit; The third time slot is used to receive the second second connection isochronous stream link protocol data unit; The starting points of the first, second, and third time slots are all predetermined.
4. The method according to claim 1, characterized in that: The number of bursts from uplink devices to downlink devices is less than the number of bursts from downlink devices to uplink devices.
5. The method according to claim 1, characterized in that: In the first connection isochronous stream link protocol data unit, two bits are defined as transmission enable flags for the first audio data and the second audio data, respectively.
6. The method according to claim 5, characterized in that: In the first connection isochronous stream link protocol data unit, two bits in the reserved field are used as transmission enable flags for different channels of audio data.
7. The method according to claim 1, characterized in that, Establish an isochronous stream link with the downlink device, including: Use one bit in the reserved field of the connection isochronous stream link request protocol data unit as the protocol enable flag; Whether to establish an isochronous stream link with the downlink device is determined by whether the enable flag of the protocol is activated.
8. The method according to claim 1, characterized in that, The first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. Before sending the first connection isochronous stream link protocol data unit to the downlink device via the connection isochronous stream link, the method further includes: Determine whether the second connection isochronous stream link protocol data unit carrying the audio data of the corresponding channel of the downlink device was correctly received in the previous sub-event interval of the current isochronous interval. When correctly received, the bit value of the transmit enable flag for the corresponding downlink channel audio data in the first connection isochronous stream link protocol data unit to be transmitted within the current event interval is set to invalid; If the data is not received correctly, the bit value of the transmit enable flag for the corresponding channel audio data of the downlink in the first connection isochronous stream link protocol data unit to be transmitted within the current event interval is set to valid.
9. The method according to claim 1, characterized in that, The first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. In the second and third time slots of at least one sub-event interval of the current isochronous time interval, the system receives two second connected isochronous stream link protocol data units, each carrying the first audio data, or two second connected isochronous stream link protocol data units, each carrying the second audio data, sequentially transmitted by the downlink device based on the connected isochronous stream link. Alternatively, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, the system receives second connected isochronous stream link protocol data units, each carrying the first audio data and the second audio data, respectively transmitted by the downlink device based on the connected isochronous stream link. This includes: When both downlink audio data transmission enable flags are valid, in the second time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of one channel is sent by the downlink device to the uplink device is received; in the third time slot of the current sub-event interval of the current equal time interval, a second connection isochronous stream link protocol data unit carrying downlink audio data of the other channel is received by the downlink device to the uplink device. When the transmit enable flag for only one channel of downlink audio data is valid, in the second and third time slots of the current sub-event interval, two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are received sequentially from the downlink device.
10. The method according to claim 1, characterized in that, The method further includes: When the number of sub-events in the current equal time interval reaches the threshold, the transmission and reception of data units of the connection equal time stream link protocol within the current equal time interval shall be stopped. The interval between any two sub-events is the sub-event interval.
11. A wireless audio transmission method, characterized in that, Applied to downlink devices, the method includes: A connection isochronous stream link is established with the uplink device. A connection isochronous stream link group is formed. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. Within the first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link is received, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for the first audio data and the second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data within the current sub-event interval of the current isochronous time interval; In the second and third time slots of at least one event interval within the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connection isochronous stream link protocol data units, each carrying the first audio data, or two second connection isochronous stream link protocol data units, each carrying the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one sub-event interval within the current isochronous time interval, second connection isochronous stream link protocol data units, each carrying the first audio data and the second audio data, are sequentially transmitted to the uplink device based on the connection isochronous stream link.
12. The method according to claim 11, characterized in that, The first audio data includes downlink first channel audio data, and the second audio data includes downlink second channel audio data. In the second and third time slots of at least one event interval within the current isochronous time interval, if only one audio data transmission enable flag is valid, two second connected isochronous stream link protocol data units, each carrying the first audio data, or two second connected isochronous stream link protocol data units, each carrying the second audio data, are sequentially transmitted to the uplink device based on the connected isochronous stream link. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval within the current isochronous time interval, second connected isochronous stream link protocol data units carrying the first and second audio data are sequentially transmitted to the uplink device based on the connected isochronous stream link, including: Determine whether the bit value of the transmit enable flag for each channel of downlink audio data carried in the first connection isochronous stream link protocol data unit is valid; When the bit values of the transmit enable flags for the two downlink audio channels are both valid, the second and third time slots are occupied, and the second connection isochronous stream link protocol data unit carrying the downlink audio data of different channels is transmitted sequentially to the uplink device based on the connection isochronous stream link; When only the bit value of the transmit enable flag for one channel of downlink audio data is valid, the second and third time slots are occupied, and two second connection isochronous stream link protocol data units carrying the same channel of downlink audio data are sent to the uplink device based on the connection isochronous stream link; When the bit values of the transmit enable flags for both downlink audio channels are invalid, the transmission and reception of the current equal time interval will end.
13. The method according to claim 11, characterized in that: The first time slot is used to receive the first connection isochronous stream link protocol data unit; The second time slot is used to send the first second connection isochronous stream link protocol data unit; The third time slot is used to send the second second connection isochronous stream link protocol data unit; The starting points of the first, second, and third time slots are all predetermined.
14. The method according to claim 11, characterized in that, The second connection isochronous stream link protocol data unit carries the next expected sequence number, which is used to indicate whether the uplink audio data carried in the first connection isochronous stream link protocol data unit sent by the uplink device within the current sub-event interval of the current isochronous interval has been correctly received. Within the first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit transmitted by the uplink device through the connection isochronous stream link is received, including: In the first time slot of the first sub-event interval of the current isochronous interval, the first connection isochronous stream link protocol data unit carrying uplink audio data is received by the uplink device through the connection isochronous stream link; Based on whether the uplink audio data was correctly received, determine whether the next expected sequence number in the second connection isochronous stream link protocol data unit has changed; In the first time slot of other sub-event intervals within the current isochronous interval, a first connection isochronous stream link protocol data unit carrying uplink audio data is received from the uplink device via the connection isochronous stream link. Whether the first connection isochronous stream link protocol data unit carries uplink audio data is determined based on whether the next expected sequence number carried in the second connection isochronous stream link protocol data unit sent by the downlink device in the previous sub-event interval of the current sub-event interval has changed. Other sub-event intervals are the sub-event intervals within the current isochronous interval other than the first sub-event interval.
15. The method according to claim 11, characterized in that, Establish an isochronous stream link with the uplink device, including: Determine whether the protocol enable flag in the connection isochronous stream request protocol data unit is activated; Upon startup, an isochronous stream link is established with the uplink device.
16. A wireless audio transmission device, characterized in that, Applied to uplink devices, the device includes: The first link establishment module is used to establish a connection isochronous stream link with the downlink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The first transmitting module is configured to transmit a first connection isochronous stream link protocol data unit to a downlink device via a connection isochronous stream link in a first time slot of at least two sub-event intervals of the current isochronous interval. The first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data. The transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device transmits a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data in the current sub-event interval of the current isochronous interval. The first receiving module is configured to receive, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, or two second connected isochronous stream link protocol data units, each carrying second audio data, sent sequentially by the downlink device based on the connected isochronous stream link; or, in the second and third time slots of at least one sub-event interval of the current isochronous time interval, two second connected isochronous stream link protocol data units, each carrying first audio data, and second audio data, sent by the downlink device based on the connected isochronous stream link respectively.
17. A wireless audio transmission device, characterized in that, Applied to downlink devices, the device includes: The second link establishment module is used to establish a connection isochronous stream link with the uplink device. A connection isochronous stream link forms a connection isochronous stream link group. The transmission time of the connection isochronous stream link group is divided into a series of isochronous intervals. Each isochronous interval of each connection isochronous stream link includes multiple sub-event intervals. Each sub-event interval includes multiple time slots for sending or receiving. The second receiving module is configured to receive, within a first time slot of at least two sub-event intervals of the current isochronous time interval, a first connection isochronous stream link protocol data unit sent by the uplink device through the connection isochronous stream link, wherein the first connection isochronous stream link protocol data unit carries a transmission enable flag for first audio data and second audio data, and the transmission enable flag for the first audio data or the second audio data is used to indicate whether the downlink device sends a second connection isochronous stream link protocol data unit carrying the first audio data or the second audio data within the current sub-event interval of the current isochronous time interval; The second transmission module is configured to, in the second and third time slots of at least one event interval of the current isochronous time interval, if only one audio data transmission enable flag is valid, sequentially transmit two second connected isochronous stream link protocol data units, both carrying the first audio data, or two second connected isochronous stream link protocol data units, both carrying the second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of at least one event interval of the current isochronous time interval. Alternatively, if both audio data transmission enable flags are valid, in the second and third time slots of at least one event interval of the current isochronous time interval, sequentially transmit second connected isochronous stream link protocol data units, carrying the first audio data and the second audio data, to the uplink device based on the connected isochronous stream link in the second and third time slots of the current isochronous time interval.
18. A wireless audio transmission system, characterized in that, include: The wireless audio transmission device as described in claim 16; The wireless audio transmission device as described in claim 17.
19. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the wireless audio transmission method of any one of claims 1 to 10 or any one of claims 11 to 15.
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 transmission method according to any one of claims 1 to 10 or any one of claims 11 to 15.