Wireless audio data transmission method and related device
Patent Information
- Application Number
- CN202310994109.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-05
- Filing Date
- 2023-08-08
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-08-08
AI Technical Summary
[0004]本公开的目的在于提供一种无线音频数据传输方法及相关设备,用于解决现有技术在进行音频数据流传输时,存在的链路效率低的技术问题
[0033]在本公开中,当音频接收设备在一个子事件间隔中未收到音频发送设备传输的音频数据包时,则在后续的子事件间隔中,为该音频发送设备设置与之前的子事件间隔中不同的时隙配置,通过调整该音频发送设备对应的时隙资源,增大该音频发送设备在后续的子事件间隔中成功传输所述音频数据包的概率,以规避现有技术中因时隙资源固定配置而带来的缺陷,提升无线音频数据传输系统在进行音频数据流传输时的链路效率和传输可靠性。
Smart Images

Figure CN116887451B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the technical field of wireless audio, specifically to a wireless audio data transmission method and related equipment. Background Technology
[0002] In Bluetooth Low Energy (BLE) audio applications, existing technologies employ isochronous channels protocols, namely, connected isochronous stream (CIS) links for point-to-point communication and connected isochronous group (CIG) protocols consisting of multiple CIS links, as well as broadcast isochronous stream (BIS) links for point-to-multipoint communication and broadcast isochronous group (BIG) protocols consisting of multiple BIS links, to provide wireless audio services to users; for example, multipoint-to-point wireless multi-microphone (WMM) applications implemented using CIG with multiple CIS links.
[0003] In practice, it was found that the link efficiency of WMM implemented using CIG is relatively low. Summary of the Invention
[0004] The purpose of this disclosure is to provide a wireless audio data transmission method and related equipment to solve the technical problem of low link efficiency in the prior art when transmitting audio data streams.
[0005] In a first aspect, embodiments of this disclosure provide a wireless audio data transmission method, applied to a first device, wherein the first device wirelessly communicates with a second device at consecutive equal time intervals based on a communication link, comprising:
[0006] Transmit first broadcast data to the second device, the first broadcast data being used to indicate that, within a first sub-event interval, the second device is permitted to transmit at least one first time slot of audio data packets to the first device via the communication link;
[0007] During at least one first time slot of the first sub-event interval, the audio data packet transmitted by the second device through the communication link is received;
[0008] If the reception of the audio data packet corresponding to the second device fails within the first sub-event interval, second broadcast data is transmitted to the second device. The second broadcast data is used to indicate that within the second sub-event interval, the second device is allowed to transmit at least one second time slot of the audio data packet to the first device through the communication link.
[0009] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio transmission system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0010] Secondly, embodiments of this disclosure also provide a wireless audio data transmission method, applied to a second device, the second device wirelessly communicating with a first device at consecutive equal time intervals based on a communication link, including:
[0011] Receive first broadcast data transmitted by the first device, and obtain from the first broadcast data an indication that the second device is permitted to transmit audio data packets to the first device via the communication link within a first sub-event interval;
[0012] During at least one first time slot of the first sub-event interval, the audio data packet is transmitted to the first device via the communication link;
[0013] Receive second broadcast data transmitted by the first device, and obtain from the second broadcast data an indication that the second device is permitted to transmit at least one second time slot of the audio data packet to the first device via the communication link during a second sub-event interval;
[0014] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0015] Thirdly, embodiments of this disclosure also provide a wireless audio data transmission device, applied to a first device, the first device wirelessly communicating with a second device at consecutive equal time intervals based on a communication link, including:
[0016] A first transmission module is configured to transmit first broadcast data to the second device when the second device and the first device establish a communication link based on equal time intervals. The first broadcast data is used to indicate at least one first time slot during which the second device is permitted to transmit audio data packets to the first device through the communication link within a first sub-event interval.
[0017] A first receiving module is configured to receive the audio data packet transmitted by the second device through the communication link within at least one first time slot of the first sub-event interval;
[0018] The second transmission module is configured to transmit second broadcast data to the second device if it fails to receive the audio data packet corresponding to the second device within the first sub-event interval. The second broadcast data is used to indicate that the second device is allowed to transmit at least one second time slot of the audio data packet to the first device through the communication link within the second sub-event interval.
[0019] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0020] Fourthly, embodiments of this disclosure also provide a wireless audio data transmission device, applied to a second device, the second device wirelessly communicating with a first device at continuous equal time intervals based on a communication link, including:
[0021] A first broadcast receiving module is configured to receive first broadcast data transmitted by the first device and obtain from the first broadcast data an indication that, within a first sub-event interval, the second device is permitted to transmit audio data packets to the first device via the communication link in at least one first time slot.
[0022] An audio transmission module is configured to transmit the audio data packet to the first device via the communication link during at least one first time slot in the first sub-event interval;
[0023] The second broadcast receiving module is configured to receive the second broadcast data transmitted by the first device and obtain from the second broadcast data an indication that the second device is permitted to transmit the audio data packet to the first device via the communication link within the second sub-event interval;
[0024] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0025] Fifthly, embodiments of this disclosure also provide a wireless audio data transmission system, comprising:
[0026] Multiple audio transmitting devices and one audio receiving device, wherein the multiple audio transmitting devices wirelessly communicate with the audio receiving device at consecutive equal time intervals based on corresponding communication links;
[0027] The audio receiving device is used to transmit first broadcast data to the plurality of audio transmitting devices. The first broadcast data is used to indicate that, within a first sub-event interval, the audio transmitting device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a first time slot, wherein the first time slots corresponding to different audio transmitting devices are different.
[0028] During the first sub-event interval, the audio receiving device is used to receive audio data packets transmitted by the audio sending device through the corresponding communication link;
[0029] The audio receiving device is used to transmit second broadcast data to the plurality of audio transmitting devices. The second broadcast data is used to indicate that within a second sub-event interval, a first target device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a second time slot. The second time slots corresponding to different first target devices are different. The first target device is an audio transmitting device among the plurality of audio transmitting devices that failed to transmit the corresponding audio data packet to the audio receiving device within the first sub-event interval.
[0030] The second sub-event interval is a sub-event interval that is later than the first sub-event interval. There is at least one first target device whose corresponding first time slot has a time slot distribution in the first sub-event interval that is different from the time slot distribution of its corresponding second time slot in the second sub-event interval.
[0031] In a sixth aspect, embodiments of this disclosure also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the wireless audio data transmission method as described in the first or second aspect.
[0032] In a seventh aspect, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the wireless audio data transmission method as described in the first or second aspect.
[0033] In this disclosure, when an audio receiving device does not receive an audio data packet transmitted by an audio transmitting device within a sub-event interval, a different time slot configuration is set for the audio transmitting device in subsequent sub-event intervals compared to the previous sub-event intervals. By adjusting the time slot resources corresponding to the audio transmitting device, the probability of the audio transmitting device successfully transmitting the audio data packet in subsequent sub-event intervals is increased, thereby avoiding the defects caused by the fixed configuration of time slot resources in the prior art and improving the link efficiency and transmission reliability of the wireless audio data transmission system when transmitting audio data streams. Attached Figure Description
[0034] Figure 1 This is a schematic diagram of a wireless audio data transmission method provided in an embodiment of this disclosure;
[0035] Figure 2 This is a schematic diagram of a wireless audio data transmission system provided in an embodiment of this disclosure;
[0036] Figure 3 This is a schematic diagram of another wireless audio data transmission method provided in an embodiment of this disclosure;
[0037] Figure 4 This is a schematic diagram of the structure of an AHISM PDU extension packet header provided in an embodiment of this disclosure;
[0038] Figure 5 This is a schematic diagram of the structure of an AHISS PDU extension packet header provided in an embodiment of this disclosure;
[0039] Figure 6 This is a schematic diagram of a time slot allocation scheme provided in an embodiment of this disclosure;
[0040] Figure 7 This is a schematic diagram of another time slot allocation scheme provided in an embodiment of this disclosure;
[0041] Figure 8 This is a schematic diagram of an audio receiving device provided in an embodiment of this disclosure;
[0042] Figure 9 This is a schematic diagram of an audio transmission device provided in an embodiment of this disclosure;
[0043] Figure 10 This is a schematic diagram of a wireless audio data transmission device provided in an embodiment of this disclosure;
[0044] Figure 11 This is a schematic diagram of another wireless audio data transmission device provided in an embodiment of this disclosure;
[0045] Figure 12 This is a schematic diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0046] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0047] Currently, existing technologies employ isochronous channels protocols, namely connected isochronous stream (CIS) links for point-to-point communication and connected isochronous group (CIG) protocols consisting of multiple CIS links, as well as broadcast isochronous stream (BIS) links for point-to-multipoint communication and broadcast isochronous group (BIG) protocols consisting of multiple BIS links, to provide wireless audio services to users; for example, multipoint-to-point wireless multi-microphone (WMM) applications implemented using CIG with multiple CIS links.
[0048] In practice, it was found that when using CIG to implement WMM, the time slot resources for each CIS link are usually allocated in a fixed manner, which results in low link efficiency, especially when supporting a large number of wireless microphones, making it difficult to guarantee the reliability of audio transmission. In addition, sending acknowledgment messages to multiple wireless microphones on each CIS link wastes a lot of time slot resources, which also leads to low link efficiency.
[0049] To address the aforementioned problem of low link efficiency, this disclosure provides a wireless audio data transmission method and related equipment.
[0050] For example, the link protocol for wireless communication based on the wireless audio data transmission method can be called the Agile Hybrid Isochronous Stream (AHIS) link protocol, and the communication link established based on the AHIS link protocol can be called an AHIS link. Two or more AHIS links constitute an Agile Hybrid Isochronous Group (AHIG) link.
[0051] In this embodiment of the disclosure, for a wireless audio data transmission system consisting of one audio receiving device and multiple audio transmitting devices, when the audio receiving device does not receive an audio data packet transmitted by the audio transmitting device in a sub-event interval, a different time slot configuration is set for the audio transmitting device in at least one subsequent sub-event interval compared to the previous sub-event interval. By adjusting the time slot resources corresponding to the audio transmitting device, the probability of the audio transmitting device successfully transmitting the audio data packet in the subsequent sub-event interval is increased, thus avoiding the defects caused by the fixed configuration of time slot resources in related technologies and improving the link efficiency and transmission reliability of the wireless audio data transmission system when transmitting audio data streams.
[0052] The following are specific embodiments of the wireless audio data transmission method and related devices provided in this disclosure.
[0053] like Figure 1 As shown, the first device wirelessly communicates with the second device at continuous equal time intervals based on a communication link. The wireless audio data transmission method applied to the first device includes:
[0054] Step 101: Transmit the first broadcast data to the second device.
[0055] Wherein, the first broadcast data is used to indicate that, within a first sub-event interval, the second device is permitted to transmit audio data packets to the first device via the communication link in at least one first time slot; the first device is an audio receiving device in a wireless audio data transmission system, and the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio transmission system.
[0056] For example, see Figure 2 , Figure 2 This paper illustrates a wireless audio data transmission system, specifically a wireless multi-microphone audio system. The system includes a wireless microphone audio receiver and multiple wireless microphone audio transmitters. Figure 2 In this case, N is an integer greater than 1.
[0057] It is understood that the wireless audio data transmission scheme of this application can also be applied to other specific application scenarios for audio data transmission.
[0058] It should be noted that in this disclosure, the communication time for audio data stream transmission in the wireless audio data transmission system is divided into multiple consecutive isochronous intervals. Each isochronous interval includes multiple SE intervals, and each SE interval can be configured with a transmit sub-time slot and a receive sub-time slot.
[0059] For example, an SE interval may include one transmit sub-slot and K receive sub-slots, where K is a positive integer.
[0060] For example, the transmitting sub-time slot can be the first sub-time slot in the corresponding SE interval. The audio receiving device sends broadcast data packets carrying broadcast data to multiple audio transmitting devices in the system in the form of broadcast during the transmitting sub-time slot. The receiving sub-time slot is the sub-time slot in which the audio receiving device receives the audio data packets transmitted by the corresponding audio transmitting device. An audio transmitting device can transmit an audio data packet once within a receiving sub-time slot.
[0061] The aforementioned at least one first time slot can be understood as: within the first sub-event interval, one or more receive sub-time slots used by the first device to receive audio data packets transmitted by the second device.
[0062] The first device can instruct the second device to send audio data packets within one receive sub-time slot within the first sub-event interval, or it can instruct the second device to send the audio data packets within multiple receive sub-time slots within the first sub-event interval, using the first broadcast data.
[0063] Furthermore, in some specific embodiments, when the audio receiving device transmits data packets to multiple audio sending devices in the system in a broadcast manner during a transmission sub-time slot, the first broadcast data can also be used to indicate that: within the first sub-event interval, the third device is allowed to transmit audio data packets to the first device through the corresponding communication link during the reception sub-time slot.
[0064] The third device is one of the multiple audio transmitting devices included in the wireless audio transmission system. The second device and the third device are different. The number of the at least one first time slot and the number of receiving sub-time slots corresponding to the third device in the first sub-event interval may be the same or different. This disclosure does not limit this.
[0065] It is understood that the first device may configure corresponding receiving sub-time slots for one or more second devices and one or more third devices among the plurality of audio transmitting devices within a sub-event interval, and indicate the configuration status through broadcast data.
[0066] Step 102: During at least one first time slot of the first sub-event interval, receive the audio data packet transmitted by the second device through the communication link.
[0067] The execution process of step 102 can be understood as follows: within at least one first time slot of the first sub-event interval, the first device receives audio data packets transmitted by the second device through the communication link; for example, when there are multiple first time slots, if the first device correctly receives the audio data packets in the previous first time slot, it does not need to perform the receiving operation in the next first time slot, or the first device can also perform the receiving operation once in each first time slot, regardless of whether it correctly received the data packets in the previous first time slot.
[0068] If the first device successfully receives the audio data packet transmitted by the second device, it can refrain from allocating a receive sub-time slot to the second device for retransmission of the audio data packet during subsequent SE intervals.
[0069] If the first device does not correctly receive the audio data packet transmitted by the second device, then proceed to step 103.
[0070] Step 103: If receiving the audio data packet corresponding to the second device fails within the first sub-event interval, transmit the second broadcast data to the second device.
[0071] Wherein, the second broadcast data is used to indicate that, within the second sub-event interval, the second device is permitted to transmit the audio data packet to the first device via the communication link for at least one second time slot; the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0072] The at least one second time slot can be understood as: within the second sub-event interval, one or more receiving sub-time slots for the first device to receive audio data packets transmitted by the second device.
[0073] In some specific embodiments, the second sub-event interval is a sub-event interval that is within the same time interval as the first sub-event interval but is later than the first sub-event interval.
[0074] In some other specific embodiments, the second sub-event interval is a sub-event interval later than the first sub-event interval within the refresh time (FT) of the audio data packet, wherein the FT value in this embodiment is greater than 1.
[0075] For example, the time slot distribution of the at least one first time slot in the first sub-event interval and the time slot distribution of the at least one second time slot in the second sub-event interval may be different as follows:
[0076] When the number of first time slots and the number of second time slots are the same, the time slot order of the first time slot within the first sub-event interval and the time slot order of the second time slot within the second sub-event interval are at least partially different;
[0077] or,
[0078] The number of timeslots in the first time slot is different from the number of timeslots in the second time slot.
[0079] Example as follows:
[0080] In Example 1, the number of the first time slot and the number of the second time slot can both be set to 1. In this case, the first time slot is the first receiving sub-time slot within the first SE interval, and the second time slot is the other receiving sub-time slots within the second SE interval except for the first receiving sub-time slot.
[0081] In Example 2, the number of first time slots and the number of second time slots can both be set to 2. In this case, the two first time slots are the first and second receiving sub-time slots in the first SE interval, respectively, and the two second time slots are the third and fourth receiving sub-time slots in the second SE interval, respectively (or, the two second time slots are the first and third receiving sub-time slots in the second SE interval, respectively).
[0082] In Example 3, the number of the first time slot can be set to 1, and the number of the second time slot can be set to 2.
[0083] It should be noted that, for the aforementioned third device, when the first device fails to receive the audio data packet corresponding to the third device within the first sub-event interval, the second broadcast data is also used to indicate that, within the second sub-event interval, the third device is allowed to transmit the audio data packet to the first device via the corresponding communication link in the receiving sub-time slot. The time slot distribution of the third device in the receiving sub-time slot in the first SE interval and the time slot distribution of the third device in the receiving sub-time slot in the second SE interval may be the same or different.
[0084] In one embodiment, the number of the at least one first time slot is less than or equal to the number of the at least one second time slot.
[0085] In this embodiment, when the second device fails to transmit audio data packets within the first SE interval, more receive sub-time slots are allocated to the second device within the second SE interval to increase the probability of successful retransmission of audio data packets and improve the communication quality of the audio data stream during transmission.
[0086] In an optional implementation, idle time slot resources can be used as the second time slot to improve the utilization rate of time slot resources in the wireless audio data transmission system. The idle time slot resources can be the time slot resources corresponding to the target audio transmitting device that successfully transmits audio data packets to the first device within the first SE interval. The target audio transmitting device is one of the plurality of audio transmitting devices, excluding the second device.
[0087] For example, when audio transmitting device A successfully transmits an audio data packet in the first receive sub-time slot of the first SE interval, while audio transmitting device B fails to transmit an audio data packet in the second receive sub-time slot of the first SE interval, the first and second receive sub-time slots of the second SE interval can be configured as the second time slot corresponding to the audio transmitting device B. In this example, the audio transmitting device A can be understood as the aforementioned target audio transmitting device, the audio transmitting device B can be understood as the aforementioned second device, and the first receive sub-time slot in the second SE interval can be understood as the aforementioned idle time slot resource.
[0088] It is understood that the idle time slot resources may also include other time slot resources within the first SE interval, and these other time slot resources have not been allocated corresponding communication events in the first SE interval, or the allocated communication events have been completed in the first SE interval.
[0089] In another optional implementation, the target time slot resource can also be used as the second time slot to improve the configuration flexibility of time slot resources in the wireless audio data transmission system, wherein the target time slot resource is a portion of the time slot resources of the target audio transmitting device.
[0090] For example, the first and second receive sub-time slots of the first SE interval are both configured for audio transmitting device C to transmit audio data packets. If audio transmitting device D fails to transmit audio data packets within the first SE interval, the first or second receive sub-time slot of the second SE interval can be configured as the second time slot corresponding to the audio transmitting device D. In this example, the audio transmitting device C can be understood as the aforementioned target audio transmitting device, the audio transmitting device D can be understood as the aforementioned second device, and the first and second receive sub-time slots within the second SE interval can be understood as the aforementioned target time slot resources.
[0091] In one embodiment, the first broadcast data includes a first sequence, the first sequence including at least one first element indicating the communication link, the order of the at least one first element in the first sequence being used to indicate that, within the first sub-event interval, the second device is permitted to transmit at least one first time slot of the audio data packet to the first device via the communication link;
[0092] The second broadcast data includes a second sequence, the second sequence including at least one second element indicating the communication link, the order of the at least one second element in the second sequence indicating that, within the second sub-event interval, the second device is permitted to transmit at least one second time slot of the audio data packet to the first device via the communication link.
[0093] In this embodiment, the receiving sub-time slots corresponding to multiple audio transmitting devices are indicated by the element values and order of each element in the sequence, which can reduce the bit resource overhead in indicating the receiving sub-time slots in the broadcast data.
[0094] For example, the first broadcast data and the second broadcast data are carried in different broadcast data packets.
[0095] The first device uses an Agile Hybrid Isochronous Stream Master (AHISM) Protocol Data Unit (PDU) to send the broadcast data packets.
[0096] It should be noted that broadcast data can be configured in the header or payload portion of the broadcast data packet.
[0097] The structure of an AHISM PDU can be customized or extended based on the structure of currently available broadcast data packets, thus ensuring compatibility with existing technologies.
[0098] For example, an AHISM PDU can have the same structure as a Bluetooth Low Energy (BLE) Broadcast Isochronous Stream (BIS) PDU, but with a different header format.
[0099] The header of an AHISM PDU can be modified by setting a 1-bit Reserved for Future Use (RFU) field to an AHIGM field, based on the header of a BIS PDU, to indicate whether the AHISM PDU is enabled. When the AHIGM field is set to 0, it means that the AHISM PDU is not enabled, and the PDU is a broadcast data packet that follows the BIS link protocol. When the AHIGM field is set to 1, it means that the AHISM PDU is enabled, and the PDU is a broadcast data packet that follows the AHIS link protocol.
[0100] When AHISM PDU is enabled, the header of AHISM PDU is further extended based on the header of BIS PDU. The extended portion of the header is used to carry broadcast data, such as the first broadcast data or the second broadcast data.
[0101] Understandably, the payload portion of the AMISM PDU can also carry audio data that the audio receiving device sends to the audio transmitting device or other audio devices.
[0102] For example, the header extension of an AHISM PDU includes a sequence (such as a first sequence or a second sequence) for indicating the corresponding receive sub-slot of the audio receiving device.
[0103] For example, if the link number of the communication link established between the second device and the first device is set to 1, and the link numbers of the communication links established between the other audio transmitting devices and the first device are 2 and 3 respectively, and the first sequence in the first broadcast data is
[1231] , then the first sequence indicates that there are four enabled receiving sub-time slots in the first SE interval, wherein the first receiving sub-time slot is assigned to the communication link numbered 1, the second receiving sub-time slot is assigned to the communication link numbered 2, the third receiving sub-time slot is assigned to the communication link numbered 3, and the fourth receiving sub-time slot is assigned to the communication link numbered 1.
[0104] In one embodiment, the first broadcast data includes at least one first parameter group corresponding to the at least one first time slot, the first parameter group including a first sub-parameter and a second sub-parameter, wherein the first sub-parameter is used to indicate a first time slot in which the audio data packet is allowed to be transmitted to the first device within the first sub-event interval, and the second sub-parameter is used to indicate the link number of the communication link;
[0105] The second broadcast data includes at least one second parameter group corresponding to the at least one second time slot. The second parameter group includes a third sub-parameter and a fourth sub-parameter, wherein the third sub-parameter is used to indicate the second time slot in which the audio data packet is allowed to be transmitted to the first device within the second sub-event interval, and the fourth sub-parameter is used to indicate the link number of the communication link.
[0106] In this embodiment, by setting sub-parameters for indicating the corresponding time slot and sub-parameters for indicating the corresponding communication link within the parameter group, a more flexible time slot resource configuration scheme is provided, further enhancing the versatility of the method described in this disclosure in practical applications.
[0107] In this embodiment, when the time slot resources corresponding to each audio transmitting device are indicated in the form of a parameter group, and a parameter group is set to include two sub-parameters, one of the sub-parameters in a parameter group is used to indicate the receiving sub-time slot corresponding to the parameter group, and the other sub-parameter in the parameter group is used to indicate the communication link corresponding to the parameter group, that is, to indicate the audio transmitting device corresponding to the parameter group.
[0108] For example, broadcast data (such as first broadcast data or second broadcast data) includes multiple parameter groups arranged in an ordered manner. If the first sub-parameter in the parameter group is set as a sub-parameter indicating a time slot, the second sub-parameter is set as a sub-parameter indicating a communication link, and the multiple parameter groups are [211233], then the multiple parameter groups indicate: within the corresponding SE interval, enabling the receiving sub-time slot numbered 2 and assigning it as the communication link numbered 1, enabling the receiving sub-time slot numbered 1 and assigning it as the communication link numbered 2, and enabling the receiving sub-time slot numbered 3 and assigning it as the communication link numbered 3.
[0109] It should be noted that, in applications, the number of parameter groups included in the broadcast data can be greater than, equal to, or less than the number of audio transmitting devices in the wireless audio data transmission system.
[0110] In one embodiment, the first broadcast data includes at least one third parameter group corresponding to the at least one first time slot, the third parameter group including a first sub-parameter, a second sub-parameter and a fifth sub-parameter, wherein the first sub-parameter is used to indicate a first time slot in which audio data packets are allowed to be transmitted to the first device within the first sub-event interval, the second sub-parameter is used to indicate the link number of the communication link, and the fifth sub-parameter is used to indicate the number of the audio data packets;
[0111] The second broadcast data includes at least one fourth parameter group corresponding to the at least one second time slot. The fourth parameter group includes a third sub-parameter, a fourth sub-parameter, and a sixth sub-parameter. The third sub-parameter is used to indicate the second time slot in which audio data packets are allowed to be transmitted to the first device within the second sub-event interval. The fourth sub-parameter is used to indicate the link number of the communication link. The sixth sub-parameter is used to indicate the number of the audio data packets.
[0112] In this embodiment, by setting sub-parameters for indicating the corresponding time slot, sub-parameters for indicating the corresponding communication link, and sub-parameters for indicating the corresponding audio data packet within the parameter group, a more flexible time slot resource configuration scheme is provided, further enhancing the versatility of the method described in this disclosure in practical applications.
[0113] For example, when broadcast data (such as first broadcast data or second broadcast data) includes multiple parameter groups arranged in an ordered manner, and each parameter group includes three sub-parameters, the first sub-parameter in each parameter group can be set as a sub-parameter used to indicate the corresponding receiving sub-time slot, the second sub-parameter as a sub-parameter used to indicate the corresponding communication link, and the third sub-parameter as a sub-parameter used to indicate the corresponding audio data packet.
[0114] For example, a sub-parameter used to indicate the corresponding receive sub-slot can occupy 1 bit of resources, a sub-parameter used to indicate the corresponding communication link can occupy 3 bits of resources, and a sub-parameter used to indicate the corresponding audio data packet can occupy 4 bits of resources.
[0115] In one embodiment, the parameter value of the first sub-parameter is used to indicate whether the corresponding first time slot is enabled;
[0116] The parameter value of the third sub-parameter is used to indicate whether the corresponding second time slot is enabled.
[0117] In this embodiment, by setting at least the following sub-parameters in the parameter group: a sub-parameter for indicating the corresponding time slot and a sub-parameter for indicating the corresponding communication link, and determining whether the corresponding receiving sub-time slot is enabled based on the parameter values of the sub-parameters of the corresponding time slot, a more flexible time slot resource configuration scheme is provided, further enhancing the versatility of the method described in this disclosure in practical applications.
[0118] For example, broadcast data (such as first broadcast data or second broadcast data) includes multiple parameter groups arranged in an ordered manner. If the first sub-parameter in the parameter group is set as the sub-parameter indicating the time slot, then for each parameter group, the parameter value of the first sub-parameter in the parameter group can be 0 or 1 (a value of 0 indicates that the corresponding receiving sub-time slot is not enabled, and a value of 1 indicates that the corresponding receiving sub-time slot is enabled). The receiving sub-time slot corresponding to the parameter group can be determined based on the order of the parameter group in the broadcast data, and whether the receiving sub-time slot corresponding to the parameter group is enabled can be determined based on the parameter value of the first sub-parameter in the parameter group.
[0119] The method of determining the corresponding receiving sub-slot based on the order of the parameter groups in the broadcast data can be understood as follows: the i-th parameter group in the broadcast data indicates the i-th receiving sub-slot within the corresponding SE interval, where i is a positive integer.
[0120] In one embodiment, the audio data packet includes audio data and preset parameters, wherein the preset parameters include at least one of the following:
[0121] The seventh parameter used to indicate the link number of the communication link;
[0122] The eighth parameter is used to indicate the number of the audio data packet.
[0123] For example, the audio receiving device uses an Agile Hybrid Isochronous Stream Slave (AHISS) PDU to send audio data packets.
[0124] The structure of the AHISS PDU can be customized or extended based on the structure of currently available audio data packets, thus ensuring compatibility with existing technologies.
[0125] For example, an AHISS PDU can have the same format as a BLE Connected Isochronous Stream (CIS) PDU but a different header format. In other words, an AHISS PDU can be understood as a CIS PDU with an extended header.
[0126] The header of the AHISS PDU can be based on the header of the CIS PDU by setting a 1-bit Reserved for Future Use (RFU) field to the AHIGS field to indicate whether the AHISS PDU is enabled. When the AHIGS field is set to 0, it means that the AHISS PDU is not enabled, and the PDU is an audio data packet that conforms to the CIS link protocol. When the AHIGS field is set to 1, it means that the AHISS PDU is enabled, and the PDU is an audio data packet that conforms to the AHIS link protocol.
[0127] When AHISS PDU is enabled, the header of AHISS PDU is further extended based on the header of CIS PDU. The extended portion of the header includes parameters indicating the communication link and / or parameters indicating audio data packets.
[0128] In one example, a parameter indicating the link number of a communication link can occupy 3 bits of resources, and a parameter indicating the number of an audio data packet can occupy 5 bits of resources.
[0129] In one embodiment, the method further includes:
[0130] If the audio data packet corresponding to the second device is successfully received within at least one first time slot of the first sub-event interval, third broadcast data is transmitted to the second device, the third broadcast data indicating that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
[0131] In this embodiment, by using a single broadcast data transmission, while allocating corresponding receiving sub-time slots to multiple audio transmitting devices, transmission feedback to multiple audio transmitting devices is simultaneously achieved, simplifying the reception confirmation process between audio transmitting and receiving devices and reducing the resource overhead of the entire wireless audio data transmission system.
[0132] Specifically, for an audio transmitting device that was allocated a receive sub-time slot in the previous SE interval, if the broadcast data indicates that the audio transmitting device is still allocated a receive sub-time slot in the current SE interval, it means that the audio transmitting device did not successfully transmit the corresponding audio data packet in the previous SE interval; conversely, if the broadcast data indicates that the audio transmitting device is not allocated a usable receive sub-time slot in the current SE interval, it means that the audio transmitting device successfully transmitted the corresponding audio data packet in the previous SE interval.
[0133] For example, the third broadcast data used to indicate that the second device is prohibited from transmitting the audio data packets to the first device via the communication link during the second sub-event interval can be:
[0134] The third broadcast data does not include indication information of the receiving sub-slot of the communication link corresponding to the second device;
[0135] or,
[0136] The third broadcast data includes indication information of the receive sub-slot corresponding to the communication link of the second device, but the receive sub-slot is indicated as disabled.
[0137] Understandably, the first device can be configured with second and third broadcast data corresponding to different audio transmitting devices, thereby flexibly allocating time slot resources.
[0138] It should be noted that the various optional implementations of the multiple embodiments described in this disclosure can be combined with each other or implemented individually without conflict, and this disclosure does not limit this.
[0139] In one embodiment, such as Figure 3 As shown, the second device wirelessly communicates with the first device at continuous equal time intervals based on a communication link. The wireless audio data transmission method applied to the second device includes:
[0140] Step 301: Receive the first broadcast data transmitted by the first device, and obtain from the first broadcast data an indication that the second device is permitted to transmit audio data packets to the first device through the communication link within the first sub-event interval in at least one first time slot.
[0141] Step 302: During at least one first time slot of the first sub-event interval, transmit the audio data packet to the first device through the communication link.
[0142] Step 303: Receive the second broadcast data transmitted by the first device, and obtain from the second broadcast data an indication that the second device is permitted to transmit at least one second time slot of the audio data packet to the first device through the communication link during the second sub-event interval.
[0143] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0144] It should be noted that this embodiment is a method embodiment for the audio transmitting device side, corresponding to the method embodiment for the audio receiving device side described above. Therefore, the relevant descriptions in the method embodiment for the audio receiving device side described above can be referred to, and the same beneficial effects can be achieved. To avoid repetition, further details will not be provided here.
[0145] In one embodiment, after transmitting the audio data packet to the first device via the communication link during the first sub-event interval, the method further includes:
[0146] The device receives third broadcast data transmitted by the first device and obtains from the third broadcast data an indication that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
[0147] In one embodiment, a wireless audio data transmission system provided in this disclosure includes:
[0148] Multiple audio transmitting devices and one audio receiving device, wherein the multiple audio transmitting devices wirelessly communicate with the audio receiving device at consecutive equal time intervals based on corresponding communication links;
[0149] The audio receiving device is used to transmit first broadcast data to the plurality of audio transmitting devices. The first broadcast data is used to indicate that, within a first sub-event interval, the audio transmitting device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a first time slot, wherein the first time slots corresponding to different audio transmitting devices are different.
[0150] During the first sub-event interval, the audio receiving device is used to receive audio data packets transmitted by the audio sending device through the corresponding communication link;
[0151] The audio receiving device is used to transmit second broadcast data to the plurality of audio transmitting devices. The second broadcast data is used to indicate that within a second sub-event interval, a first target device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a second time slot. The second time slots corresponding to different first target devices are different. The first target device is an audio transmitting device among the plurality of audio transmitting devices that failed to transmit the corresponding audio data packet to the audio receiving device within the first sub-event interval.
[0152] The second sub-event interval is a sub-event interval that is later than the first sub-event interval. There is at least one first target device whose corresponding first time slot has a time slot distribution in the first sub-event interval that is different from the time slot distribution of its corresponding second time slot in the second sub-event interval.
[0153] It should be noted that this embodiment is a system-side embodiment corresponding to the method embodiment on the audio receiving device side described above. Therefore, the relevant descriptions in the method embodiment on the audio receiving device side described above can be referred to, and the same beneficial effects can be achieved. To avoid repetition, further details will not be provided here.
[0154] In one embodiment, the audio receiving device is further configured to transmit third broadcast data to the plurality of audio transmitting devices, the third broadcast data being configured to indicate that, within a second sub-event interval, the second target device is prohibited from transmitting corresponding audio data packets to the audio receiving device via the corresponding communication link;
[0155] The second target device is the audio sending device that successfully sends the corresponding audio data packet to the audio receiving device within the first sub-event interval among the plurality of audio sending devices.
[0156] For example, if an audio receiving device in a system broadcasts a broadcast data packet to multiple audio transmitting devices within an SE interval, and the audio receiving device is taken as the main device, the broadcast data packet may include both second and third broadcast data, or it may include only the second or third broadcast data.
[0157] For example, if a broadcast packet indicates that multiple audio transmitting devices have been allocated available receive sub-time slots, then the broadcast packet can be considered to contain only the second broadcast data;
[0158] If a broadcast packet indicates that multiple audio transmitting devices have not been allocated available receive sub-time slots, then the broadcast packet can be considered to contain only third broadcast data;
[0159] If a broadcast data packet indicates that a portion of audio transmitting devices have available receive sub-time slots, while another portion of audio transmitting devices have not, then the broadcast data packet can be considered to include both second and third broadcast data.
[0160] Correspondingly, if the audio transmitting device is the main device, then the aforementioned broadcast data packet carries second or third broadcast data.
[0161] For ease of understanding, the following example is provided:
[0162] Example 1:
[0163] If the AHISM PDU and BLE broadcast PDU have the same structure but different header formats, i.e., the BIS PDU uses an extended header, then the format of the aforementioned AHISM PDU extended header can be as follows: Figure 4 As shown, AHISMPDU sets a 1-bit reserved field to the AHIGM field based on the BIS PDU header, which is used to indicate that AHISM PDU is enabled; where AHIGM field is set to 0 to indicate that AHISM PDU is not enabled, and AHIGM field is set to 1 to indicate that AHISM PDU is enabled.
[0164] When AHISM PDU is enabled, a certain number of bytes are added to the extended packet header as a Block Resource Allocation Table (BSAT). The Block Resource Allocation Table can be used to configure the aforementioned broadcast data (e.g., first broadcast data / second broadcast data / third broadcast data).
[0165] BSAT contains several resource allocation units, which are used to allocate corresponding time slot resources in batches to different AHIS links. It should be noted that the number of resource allocation units can be equal to, greater than, or less than the number of wireless microphone audio transmitters.
[0166] For a resource allocation unit in BSAT, the resource allocation unit may include: an enable signal (EN_n), a link number AHIS Num, and a protocol data unit number PDU Num. In this case, the resource allocation unit can be understood as the aforementioned third or fourth parameter group, the enable signal (EN_n) can be understood as the aforementioned first or third sub-parameter, the link number AHIS Num can be understood as the aforementioned second or fourth sub-parameter, and the protocol data unit number PDU Num can be understood as the aforementioned fifth or sixth sub-parameter.
[0167] Setting EN_n to 1 enables the time slot resource with the corresponding number n, and setting EN_n to 0 disables the time slot resource with the corresponding number n.
[0168] When EN_n is set to 1, the AHIS Num in the resource allocation unit numbered n indicates that the time slot resource numbered n is used for the AHIS link with link number AHIS Num or its corresponding wireless microphone audio transmitting device to transmit its corresponding AHISS PDU.
[0169] When EN_n is set to 1, the PDU Num in the resource allocation unit numbered n indicates that the time slot resource numbered n is used for the AHIS link with link number AHIS Num or its corresponding wireless microphone audio transmitting device to send its corresponding AHISS PDU with PDU Num.
[0170] In an optional implementation, each resource allocation unit may also include only the link number AHIS Num. In this case, the sequence of multiple link numbers AHIS Num can be understood as the aforementioned first sequence or second sequence.
[0171] The functions and usage of other fields in the AHISM PDU extended header are the same as those in the BIS PDU, including the Logical Link Identifier (LLID) for indicating the AHISM PDU payload type, the Control Subevent Sequence Number (CSSN), the Control Subevent Transmission Flag (CSTF), the length of the AHISM PDU payload, and a 1-bit RFU, where n is a positive integer.
[0172] Example 2:
[0173] If the AHISS PDU and BLE connection are configured to have the same time-stream PDU format but different header formats, i.e., using a CIS PDU with an extended header, then the format of the aforementioned AHISS PDU extended header can be as follows: Figure 5 As shown, based on the CISPDU packet header, a 1-bit reserved field is set to AHIGS to indicate that AHISS PDU is enabled.
[0174] Setting the AHIGS field to 0 indicates that AHISS PDU is disabled, while setting it to 1 indicates that AHISS PDU is enabled.
[0175] When AHISS PDU is enabled, the extended header is increased by a certain number of bytes, and contains at least the AHIS Num or PDU Num field. The AHIS Num can be understood as the aforementioned seventh parameter, and the PDU Num field can be understood as the aforementioned eighth parameter.
[0176] AHIS Num indicates the AHIS link number corresponding to the current AHISS PDU, and PDU Num indicates the PDU number of the AHIS link corresponding to the current AHISSPDU.
[0177] The meanings of the other fields in the AHISS PDU header are the same as those in the CIS PDU header. LLID (Logical Link Identifier) is the logical link identifier, used to indicate the load type of the AHISS PDU.
[0178] NESN (Next Expected Sequence Number) is the next expected sequence number, and SN (Sequence Number) is the current sequence number.
[0179] CIE (Close Isochronous Event) is a closed isochronous event that indicates whether to end the isochronous event.
[0180] NPI (Null PDU Indicator) is a null PDU identifier, indicating whether the PDU is an AHISSData PDU or an AHISS Null PDU in AHISS PDU.
[0181] Length indicates the load length of the AHISS PDU.
[0182] Example 3:
[0183] Referring to the settings in Examples 1 and 2, assume that the wireless audio data transmission system includes one audio receiving device and four audio transmitting devices. The audio receiving device establishes a maximum of four AHIS links with the four audio transmitting devices. The four AHIS links are defined as AHIS1 link (corresponding to AHIS Num equal to 1), AHIS2 link (corresponding to AHIS Num equal to 2), AHIS3 link (corresponding to AHIS Num equal to 3), and AHIS4 link (corresponding to AHIS Num equal to 4). AHIS1, AHIS2, AHIS3, and AHIS4 constitute AHIG.
[0184] The digital audio signal of each audio transmitting device has a sampling rate of 48kHz, a quantization bit count of 16 per sampling point, and is encoded using a Low Complexity Communication Codec (LC3). The frame length is 10ms, the encoding rate is 80kbps, and each frame of audio data is 100 bytes after encoding.
[0185] In a wireless audio data transmission system based on the AHIG protocol, the communication time is divided into 10ms isochronous intervals, using a BLE 2Mbps transmission rate; the payload length of the AHISM PDU carrying resource allocation information is 0 (the length is not 0 when audio data is being transmitted), and it occupies 60us of air time; the AHISSData PDU carrying wireless microphone audio data occupies 464us of air time.
[0186] Each equal time interval contains 3 subevent (SE) intervals; each SE interval includes 1 transmit subtime slot and 4 receive subtime slots, wherein the transmit subtime slot is used for the audio receiving device to send AHISM PDU to the audio transmitting device, and the receive subtime slot is used for the audio transmitting device to send AHISS PDU to the audio receiving device; and specifically, each SE interval is 2.666ms, and the interval between each subtime slot (Time of Minimum Slot Space, T_MSS) is 150us.
[0187] like Figure 6 As shown, within an equal time interval numbered k, the audio receiving device first sends an AHISM PDU numbered k in the first SE interval, i.e., AHISM PDU k, where the payload length is 0, the AHIGM field of the extended header is set to 1, the extended header indicates that all four receive sub-time slots are enabled, and are sequentially allocated to the four links AHIS1, AHIS2, AHIS3 and AHIS4, and the audio data packet PDU number is k.
[0188] The audio data packet PDU number can also be k-1, k-2, k-3, etc. Without loss of generality, k is used as an example in this example. After the audio receiving device sends the AHISM PDU, the audio transmitting devices corresponding to the AHIS links numbered 1, 2, 3, 4 send the AHISS PDU numbered k in sequence, namely AHISS1 PDU k, AHISS2 PDU k, AHISS3 PDU k, and AHISS4 PDU k. The AHIS Num of their extended packet headers are 1, 2, 3, and 4, respectively, and the PDU Num of their extended packet headers is k.
[0189] Assuming the audio receiving device correctly receives AHISS2 PDU k and AHISS3 PDU k, but fails to correctly receive AHISS1 PDU k and AHISS4 PDU k, then the AHIGM field of the extended header of the AHISS PDU k sent by the audio receiving device in the second SE interval will still be set to 1. The extended header indicates that all four receive sub-time slots are enabled and sequentially allocated to links AHIS1, AHIS4, and AHIS1 and AHIS4, with the PDU number still being k. At this time, the audio transmitting device corresponding to the AHIS link with link number 1 will send AHISS1 PDU k in the first and third receive sub-time slots, respectively, and the audio transmitting device corresponding to the AHIS link with link number 4 will send AHISS4 PDU k in the second and fourth receive sub-time slots, respectively. That is to say, within the second SE interval, the AHISS PDU with PDU number k for AHIS links with link numbers 1 and 4 will be sent twice. The audio transmitting devices corresponding to AHIS links numbered 2 and 3, after receiving AHISM PDU k, do not perform a transmission operation in the second SE interval because they have not been allocated a receive sub-time slot.
[0190] Assuming the audio receiving device correctly receives AHISS1 PDU k and AHISS4 PDU k within the second SE interval, the AHIGM field of the extended header of the AHISM PDU k sent by the audio receiving device in the third SE interval is still set to 1. The extended header indicates that all four receive sub-time slots are disabled. This means that the audio data packets transmitted by the four audio transmitting devices have been correctly received. Therefore, the AHISM PDU k sent in the third SE interval is equivalent to transmitting batch acknowledgment information to the four audio transmitting devices, confirming that the four audio transmitting devices do not need to retransmit the corresponding AIHSS PDU, and thus there is no need to allocate time slot resources to the four AHIS links.
[0191] As can be seen from the above, in the first SE interval and the second SE interval, AHIS links numbered 2 and 3 each used one transmission opportunity, while AHIS links numbered 1 and 4 each obtained 3 transmission opportunities.
[0192] like Figure 7 As shown, within an equal time interval numbered k+1, the audio receiving device first sends an AHISM PDU numbered k+1 in the first SE interval, i.e., AHISM PDU k+1, where the payload length is 0, the AHIGM field of the extended header is set to 1, the extended header indicates that all four receive sub-time slots are enabled, and are sequentially allocated to the four links AHIS1, AHIS2, AHIS3 and AHIS4, with PDU numbers all being k+1.
[0193] After receiving the AHISM PDU, the audio transmitting devices corresponding to the AHIS links numbered 1, 2, 3, and 4 sequentially send the AHISS PDU numbered k+1, namely AHISS1 PDU k+1, AHISS2 PDU k+1, AHISS3 PDU k+1, and AHISS4 PDU k+1.
[0194] Assuming that the audio receiving device correctly received AHISS1 PDU k+1 and AHISS4 PDU k+1 within the first SE interval, but did not correctly receive AHISS2 PDU k+1 and AHISS3 PDU k+1, then the AHIGM field of the extended header of the AHISS PDU k+1 sent by the audio receiving device in the second SE interval will still be set to 1. The extended header indicates that all four receive sub-time slots are enabled and are sequentially allocated to links AHIS2, AHIS3, and AHIS2 and AHIS3, with PDU number k+1 for each. In other words, within the second SE interval, the AHISS PDU with PDU number k+1 for links 2 and 3 was sent twice respectively.
[0195] Assuming that the audio receiving device correctly received AHISS2 PDU k+1 but not AHISS3 PDU k during the second SE interval, then the AHIGM field of the extended header of the AHISS PDU k sent by the audio receiving device in the third SE interval will still be set to 1. The extended header indicates that all four receive sub-slots are enabled and allocated to the AHIS3 link, with PDU numbers of k+1 for all slots. This means that the AHISS PDU of AHIS link number 3 was sent four times during the third SE interval. Therefore, within an equal-time interval numbered k+1, AHIS links numbered 1 and 4 each used one transmission opportunity, AHIS link number 2 used three transmission opportunities, and AHIS link number 3 received seven transmission opportunities.
[0196] Understandably, within the equal time interval numbered k+1, if any one of AHISS1 PDU k+1, AHISS2 PDU k+1, AHISS3 PDU k+1, and AHISS4 PDU k+1 fails to be correctly received by the audio receiving device, it can be repeatedly transmitted within the equal time intervals numbered k+2, k+3, ... until the refresh time (FT) expires, during which the PDU number remains unchanged.
[0197] Wherein, FT=1 means that it is only transmitted within the current equal time interval and will not be retransmitted in the next equal time interval; FT=2 means that it can be retransmitted within two consecutive equal time intervals, and so on. The larger the FT, the higher the transmission reliability, but the greater the transmission delay.
[0198] As can be seen from the above examples, the allocation of available time slot resources for each AHIS link in this application is relatively flexible. This allows the audio receiving device to flexibly allocate different time slot resources to different audio transmitting devices or different AHIS links according to the channel quality or receiving status of different AHIS links, thereby improving the link efficiency and transmission reliability during audio data stream transmission.
[0199] For example, such as Figure 8 As shown, the audio receiving device described in this disclosure may include: an audio output unit, an audio processing unit, a baseband data and protocol processor, and a BLE radio frequency transceiver module.
[0200] In the audio receiving device, the baseband data and protocol processor executes the BLE protocol and the AHIG protocol related to BLE Audio, processes the AHISS PDU sent by the audio transmitting device received by the BLE RF transceiver module, and sends it to the audio processing unit.
[0201] The audio processing unit is used for post-processing such as audio decoding, packet loss handling, equalization, and sound effects;
[0202] The audio output unit is used to convert audio signals into sound signals;
[0203] BLE RF transceiver modules are used for transmitting and receiving BLE wireless signals or various PDUs, including transmitting AHISM PDUs and receiving AHISS PDUs.
[0204] For example, such as Figure 9 As shown, the audio transmitting device described in this disclosure may include: an audio input unit, an audio processing unit, a baseband data and protocol processor, and a BLE radio frequency transceiver module.
[0205] In an audio transmitting device, the audio input unit is used to acquire digital audio signals and transmit them to the audio processing unit;
[0206] The audio processing unit is used to encode digital audio signals into audio data using LC3 compression.
[0207] The baseband data and protocol processor executes the BLE protocol and the AHIG protocol related to BLE Audio, and processes the audio data into an AHISS PDU suitable for transmission by the BLE RF transceiver module.
[0208] BLE RF transceiver modules are used for BLE wireless signal or PDU transmission and reception, including transmitting AHISS PDU and receiving AHISMPDU.
[0209] See Figure 10 , Figure 10 This disclosure provides a wireless audio data transmission device applied to a first device, which wirelessly communicates with a second device at continuous equal time intervals based on a communication link. Figure 10 As shown, the wireless audio data transmission device 1000 includes:
[0210] The first transmission module 1001 is configured to transmit first broadcast data to the second device, wherein the first broadcast data is configured to indicate that, within a first sub-event interval, the second device is permitted to transmit at least one first time slot of audio data packets to the first device via the communication link;
[0211] The first receiving module 1002 is configured to receive the audio data packet transmitted by the second device through the communication link within at least one first time slot of the first sub-event interval;
[0212] The second transmission module 1003 is configured to transmit second broadcast data to the second device if it fails to receive the audio data packet corresponding to the second device within the first sub-event interval. The second broadcast data is used to indicate that the second device is allowed to transmit at least one second time slot of the audio data packet to the first device through the communication link within the second sub-event interval.
[0213] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0214] In one embodiment, the number of the at least one first time slot is less than or equal to the number of the at least one second time slot.
[0215] In one embodiment, the first broadcast data includes a first sequence, the first sequence including at least one first element indicating the communication link, the order of the at least one first element in the first sequence being used to indicate that, within the first sub-event interval, the second device is permitted to transmit at least one first time slot of the audio data packet to the first device via the communication link;
[0216] The second broadcast data includes a second sequence, the second sequence including at least one second element indicating the communication link, the order of the at least one second element in the second sequence indicating that, within the second sub-event interval, the second device is permitted to transmit at least one second time slot of the audio data packet to the first device via the communication link.
[0217] In one embodiment, the first broadcast data includes at least one first parameter group corresponding to the at least one first time slot, the first parameter group including a first sub-parameter and a second sub-parameter, wherein the first sub-parameter is used to indicate a first time slot in which the audio data packet is allowed to be transmitted to the first device within the first sub-event interval, and the second sub-parameter is used to indicate the link number of the communication link;
[0218] The second broadcast data includes at least one second parameter group corresponding to the at least one second time slot. The second parameter group includes a third sub-parameter and a fourth sub-parameter, wherein the third sub-parameter is used to indicate the second time slot in which the audio data packet is allowed to be transmitted to the first device within the second sub-event interval, and the fourth sub-parameter is used to indicate the link number of the communication link.
[0219] In one embodiment, the first broadcast data includes at least one third parameter group corresponding to the at least one first time slot, the third parameter group including a first sub-parameter, a second sub-parameter and a fifth sub-parameter, wherein the first sub-parameter is used to indicate a first time slot in which audio data packets are allowed to be transmitted to the first device within the first sub-event interval, the second sub-parameter is used to indicate the link number of the communication link, and the fifth sub-parameter is used to indicate the number of the audio data packets;
[0220] The second broadcast data includes at least one fourth parameter group corresponding to the at least one second time slot. The fourth parameter group includes a third sub-parameter, a fourth sub-parameter, and a sixth sub-parameter. The third sub-parameter is used to indicate the second time slot in which audio data packets are allowed to be transmitted to the first device within the second sub-event interval. The fourth sub-parameter is used to indicate the link number of the communication link. The sixth sub-parameter is used to indicate the number of the audio data packets.
[0221] In one embodiment, the parameter value of the first sub-parameter is used to indicate whether the corresponding first time slot is enabled;
[0222] The parameter value of the third sub-parameter is used to indicate whether the corresponding second time slot is enabled.
[0223] In one embodiment, the audio data packet includes audio data and preset parameters, wherein the preset parameters include at least one of the following:
[0224] The seventh parameter used to indicate the link number of the communication link;
[0225] The eighth parameter is used to indicate the number of the audio data packet.
[0226] In one embodiment, the second transmission module 1003 is further configured to:
[0227] If the audio data packet corresponding to the second device is successfully received within at least one first time slot of the first sub-event interval, third broadcast data is transmitted to the second device, the third broadcast data indicating that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
[0228] The wireless audio data transmission device 1000 provided in this embodiment can realize the various processes in the wireless audio data transmission method embodiment on the audio receiving device side. To avoid repetition, it will not be described again here.
[0229] See Figure 11 , Figure 11 This disclosure provides a wireless audio data transmission device applied to a second device, which wirelessly communicates with a first device at continuous equal time intervals based on a communication link. Figure 11 As shown, the wireless audio data transmission device 1100 includes:
[0230] The first broadcast receiving module 1101 is configured to receive first broadcast data transmitted by the first device and obtain from the first broadcast data an indication that the second device is permitted to transmit audio data packets to the first device through the communication link within a first sub-event interval.
[0231] Audio transmission module 1102 is used to transmit the audio data packet to the first device via the communication link during at least one first time slot in the first sub-event interval;
[0232] The second broadcast receiving module 1103 is used to receive the second broadcast data transmitted by the first device and obtain from the second broadcast data an indication that the second device is allowed to transmit the audio data packet to the first device through the communication link during the second sub-event interval;
[0233] Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
[0234] In one embodiment, the second broadcast receiving module 1103 is further configured to:
[0235] The device receives third broadcast data transmitted by the first device and obtains from the third broadcast data an indication that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
[0236] The wireless audio data transmission device 1100 provided in this embodiment can realize the various processes in the wireless audio data transmission method embodiment on the audio transmitting device side. To avoid repetition, it will not be described again here.
[0237] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0238] Figure 12 A schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0239] like Figure 12 As shown, device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 1202 or a computer program loaded from storage unit 1208 into random access memory (RAM) 1203. The RAM 1203 may also store various programs and data required for the operation of device 1200. The computing unit 1201, ROM 1202, and RAM 1203 are interconnected via bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0240] Multiple components in device 1200 are connected to I / O interface 1205, including: input unit 1206, such as keyboard, mouse, etc.; output unit 1207, such as various types of monitors, speakers, etc.; storage unit 1208, such as disk, optical disk, etc.; and communication unit 1209, such as network card, modem, wireless transceiver, etc. Communication unit 1209 allows device 1200 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0241] The computing unit 1201 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above, such as wireless audio data transmission methods. For example, in some embodiments, the wireless audio data transmission method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on device 1200 via ROM 1202 and / or communication unit 1209. When the computer program is loaded into RAM 1203 and executed by the computing unit 1201, one or more steps of the wireless audio data transmission method described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform a wireless audio data transmission method by any other suitable means (e.g., by means of firmware).
[0242] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0243] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0244] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0245] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0246] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0247] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0248] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0249] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A wireless audio data transmission method, applied to a first device, wherein the first device wirelessly communicates with a second device at consecutive equal time intervals based on a communication link, characterized in that, The method includes: Transmit first broadcast data to the second device, the first broadcast data being used to indicate that, within a first sub-event interval, the second device is permitted to transmit at least one first time slot of audio data packets to the first device via the communication link; During at least one first time slot of the first sub-event interval, the audio data packet transmitted by the second device through the communication link is received; If the reception of the audio data packet corresponding to the second device fails within the first sub-event interval, second broadcast data is transmitted to the second device. The second broadcast data is used to indicate that within the second sub-event interval, the second device is allowed to transmit at least one second time slot of the audio data packet to the first device through the communication link. Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio transmission system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
2. The method according to claim 1, characterized in that, The number of the at least one first time slot is less than or equal to the number of the at least one second time slot.
3. The method according to claim 1, characterized in that, The first broadcast data includes a first sequence, the first sequence including at least one first element indicating the communication link, the order of the at least one first element in the first sequence being used to indicate that, within the first sub-event interval, the second device is permitted to transmit at least one first time slot of the audio data packet to the first device via the communication link; The second broadcast data includes a second sequence, the second sequence including at least one second element indicating the communication link, the order of the at least one second element in the second sequence indicating that, within the second sub-event interval, the second device is permitted to transmit at least one second time slot of the audio data packet to the first device via the communication link.
4. The method according to claim 1, characterized in that, The first broadcast data includes at least one first parameter group corresponding to the at least one first time slot. The first parameter group includes a first sub-parameter and a second sub-parameter, wherein the first sub-parameter is used to indicate the first time slot in which the audio data packet is allowed to be transmitted to the first device within the first sub-event interval, and the second sub-parameter is used to indicate the link number of the communication link. The second broadcast data includes at least one second parameter group corresponding to the at least one second time slot. The second parameter group includes a third sub-parameter and a fourth sub-parameter, wherein the third sub-parameter is used to indicate the second time slot in which the audio data packet is allowed to be transmitted to the first device within the second sub-event interval, and the fourth sub-parameter is used to indicate the link number of the communication link.
5. The method according to claim 1, characterized in that, The first broadcast data includes at least one third parameter group corresponding to the at least one first time slot. The third parameter group includes a first sub-parameter, a second sub-parameter, and a fifth sub-parameter. The first sub-parameter is used to indicate the first time slot in which audio data packets are allowed to be transmitted to the first device within the first sub-event interval. The second sub-parameter is used to indicate the link number of the communication link. The fifth sub-parameter is used to indicate the number of the audio data packets. The second broadcast data includes at least one fourth parameter group corresponding to the at least one second time slot. The fourth parameter group includes a third sub-parameter, a fourth sub-parameter, and a sixth sub-parameter. The third sub-parameter is used to indicate the second time slot in which audio data packets are allowed to be transmitted to the first device within the second sub-event interval. The fourth sub-parameter is used to indicate the link number of the communication link. The sixth sub-parameter is used to indicate the number of the audio data packets.
6. The method according to claim 4 or 5, characterized in that, The parameter value of the first sub-parameter is used to indicate whether the corresponding first time slot is enabled; The parameter value of the third sub-parameter is used to indicate whether the corresponding second time slot is enabled.
7. The method according to claim 1, characterized in that, The audio data packet includes audio data and preset parameters, wherein the preset parameters include at least one of the following: The seventh parameter used to indicate the link number of the communication link; The eighth parameter is used to indicate the number of the audio data packet.
8. The method according to claim 1, characterized in that, The method further includes: If the audio data packet corresponding to the second device is successfully received within at least one first time slot of the first sub-event interval, third broadcast data is transmitted to the second device, the third broadcast data indicating that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
9. A wireless audio data transmission method, applied to a second device, wherein the second device wirelessly communicates with a first device at continuous equal time intervals based on a communication link, characterized in that, The method includes: Receive first broadcast data transmitted by the first device, and obtain from the first broadcast data an indication that the second device is permitted to transmit audio data packets to the first device via the communication link within a first sub-event interval; During at least one first time slot of the first sub-event interval, the audio data packet is transmitted to the first device via the communication link; Receive second broadcast data transmitted by the first device, and obtain from the second broadcast data an indication that the second device is permitted to transmit at least one second time slot of the audio data packet to the first device via the communication link during a second sub-event interval; Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is an audio transmitting device among a plurality of audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
10. The method according to claim 9, characterized in that, After transmitting the audio data packet to the first device via the communication link during the first sub-event interval, the method further includes: The device receives third broadcast data transmitted by the first device and obtains from the third broadcast data an indication that the second device is prohibited from transmitting the audio data packet to the first device through the communication link during the second sub-event interval.
11. A wireless audio data transmission device, applied to a first device, wherein the first device wirelessly communicates with a second device at continuous equal time intervals based on a communication link, characterized in that, The device includes: A first transmission module is configured to transmit first broadcast data to the second device, wherein the first broadcast data is configured to indicate that, within a first sub-event interval, the second device is permitted to transmit at least one first time slot of audio data packets to the first device via the communication link; A first receiving module is configured to receive the audio data packet transmitted by the second device through the communication link within at least one first time slot of the first sub-event interval; The second transmission module is configured to transmit second broadcast data to the second device if it fails to receive the audio data packet corresponding to the second device within the first sub-event interval. The second broadcast data is used to indicate that the second device is allowed to transmit at least one second time slot of the audio data packet to the first device through the communication link within the second sub-event interval. Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
12. A wireless audio data transmission device, applied to a second device, the second device wirelessly communicating with a first device at continuous equal time intervals based on a communication link, characterized in that, The device includes: A first broadcast receiving module is configured to receive first broadcast data transmitted by the first device and obtain from the first broadcast data an indication that, within a first sub-event interval, the second device is permitted to transmit audio data packets to the first device via the communication link in at least one first time slot. An audio transmission module is configured to transmit the audio data packet to the first device via the communication link during at least one first time slot in the first sub-event interval; The second broadcast receiving module is configured to receive the second broadcast data transmitted by the first device and obtain from the second broadcast data an indication that the second device is permitted to transmit the audio data packet to the first device via the communication link within the second sub-event interval; Wherein, the first device is an audio receiving device in a wireless audio data transmission system, the second device is any one of the multiple audio transmitting devices included in the wireless audio system, the second sub-event interval is a sub-event interval later than the first sub-event interval, and the time slot distribution of the at least one first time slot in the first sub-event interval is different from the time slot distribution of the at least one second time slot in the second sub-event interval.
13. A wireless audio data transmission system, characterized in that, The system includes: Multiple audio transmitting devices and one audio receiving device; The plurality of audio transmitting devices communicate wirelessly with the audio receiving device at consecutive equal time intervals based on their respective communication links. The audio receiving device is used to transmit first broadcast data to the plurality of audio transmitting devices. The first broadcast data is used to indicate that, within a first sub-event interval, the audio transmitting device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a first time slot, wherein the first time slots corresponding to different audio transmitting devices are different. During the first sub-event interval, the audio receiving device is used to receive audio data packets transmitted by the audio sending device through the corresponding communication link; The audio receiving device is used to transmit second broadcast data to the plurality of audio transmitting devices. The second broadcast data is used to indicate that within a second sub-event interval, a first target device is allowed to transmit a corresponding audio data packet to the audio receiving device through a corresponding communication link in a second time slot. The second time slots corresponding to different first target devices are different. The first target device is an audio transmitting device among the plurality of audio transmitting devices that failed to transmit the corresponding audio data packet to the audio receiving device within the first sub-event interval. The second sub-event interval is a sub-event interval that is later than the first sub-event interval. There is at least one first target device whose corresponding first time slot has a time slot distribution in the first sub-event interval that is different from the time slot distribution of its corresponding second time slot in the second sub-event interval.
14. The system according to claim 13, characterized in that, The audio receiving device is also used to transmit third broadcast data to the plurality of audio transmitting devices, the third broadcast data being used to indicate that, within the second sub-event interval, the second target device is prohibited from transmitting the corresponding audio data packet to the audio receiving device through the corresponding communication link; The second target device is the audio sending device that successfully sends the corresponding audio data packet to the audio receiving device within the first sub-event interval among the plurality of audio sending devices.
15. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the wireless audio data transmission method as described in any one of claims 1 to 10.
16. A computer-readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the wireless audio data transmission method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
A source device broadcasts synchronization information associated with a bluetooth isochronous channel
CN108702720A
Multi-bluetooth radio device
US11304042B1