Audio transmission method, related device and readable storage medium

CN117319314BActive Publication Date: 2026-08-11WUXI ZGMICRO ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0004]本发明实施例提供一种音频传输方法、相关设备及可读存储介质,以解决音频数据的传输效率较低,传输时延较高,难以实现超低延迟的宽带音频流传输的问题

Benefits of technology

[0022] In this embodiment, the duration of the equal-time interval is less than 5ms, and each equal-time interval includes N sub-events. Each sub-event contains a transmission time slot for sending a data packet. The transmitting device transmits audio data from the broadband audio stream in each sub-event based on the data packet, and in at least some sub-events, transmits control information in addition to the audio data. The receiving device acquires the audio data and control information based on the data packet and completes synchronization with the transmitting device. This method shortens the duration of the equal-time interval, uses all sub-events for audio data transmission, and enables wireless communication synchronization, control, and audio data transmission functions based on a single data packet. This ensures efficient audio data transmission, improves time slot utilization, reduces audio data transmission latency, and achieves ultra-low latency broadband audio stream transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117319314B_ABST
    Figure CN117319314B_ABST
Patent Text Reader

Abstract

This invention discloses an audio transmission method, related equipment, and a readable storage medium, relating to the field of wireless communication technology, to solve the problems of low transmission efficiency and high transmission latency of audio data. The wireless audio transmission method is applied to a transmitting device, which wirelessly communicates with a receiving device to transmit a wideband audio stream within consecutive equal time intervals. The duration of each equal time interval is less than 5ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for transmitting a data packet, where N is a positive integer. The method includes: transmitting audio data from the wideband audio stream in each sub-event based on the data packet, and in at least some of the sub-events, simultaneously transmitting control information in addition to the audio data. The control information includes at least parameters required by the receiving device to receive the data packet. Embodiments of this invention can improve the transmission efficiency of audio data and reduce data transmission latency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to an audio transmission method, related equipment, and readable storage medium. Background Technology

[0002] Wireless audio technology brings people unrestricted freedom of communication and music enjoyment, gaining widespread popularity. Based on the commonly used Connected Isochronous Group (CIG) and Broadcast Isochronous Group (BIG) protocols, when transmitting and receiving devices communicate, they need to transmit various types of data packets on multiple channels within different sub-events of the ISO interval to meet the needs of synchronization, control, and data transmission in communication.

[0003] Taking advertising synchronization as an example, the BIG protocol stipulates that extended advertisements (ADV_EXT_IND) are first sent on three primary advertising channels, followed by auxiliary advertisements (AUX_ADV_IND) on the secondary advertising channel, and synchronization advertisements (AUX_SYNC_IND) on the periodic advertising channel. Such information transmission mechanisms result in low wireless transmission efficiency and high latency for audio data. Currently, both CIG and BIG protocols have a minimum isochronous stream interval of 5ms and use Low Complexity Communication Codec (LC3) to compress the audio digital signal before wireless transmission. LC3 encoding introduces a 2.5ms algorithm delay. Therefore, CIG and BIG typically only provide a wireless audio end-to-end latency of at least 20ms, and cannot provide lower end-to-end latency. Especially for broadband audio streams with sampling rates of at least 16kHz, there is currently a lack of effective ultra-low latency transmission solutions. Summary of the Invention

[0004] This invention provides an audio transmission method, related equipment, and readable storage medium to solve the problems of low transmission efficiency, high transmission latency, and difficulty in achieving ultra-low latency broadband audio stream transmission of audio data.

[0005] In a first aspect, embodiments of the present invention provide a wireless audio transmission method applied to a transmitting device, wherein the transmitting device wirelessly communicates with a receiving device within consecutive equal time intervals to transmit a broadband audio stream, the duration of the equal time interval being less than 5ms, and each equal time interval includes N sub-events, each sub-event including a transmission time slot for transmitting a data packet, where N is a positive integer; the method includes:

[0006] Based on the data packet, audio data in the broadband audio stream is sent in each of the sub-events, and in at least some of the sub-events, control information is sent simultaneously in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet.

[0007] Secondly, embodiments of the present invention also provide a wireless audio transmission method applied to a receiving device, wherein the receiving device wirelessly communicates with a transmitting device within consecutive equal time intervals to receive a broadband audio stream, wherein the duration of the equal time interval is less than 5ms, and each equal time interval includes N sub-events, each sub-event including a transmission time slot for sending a data packet, where N is a positive integer;

[0008] When the receiving device is operating in scanning mode, the method includes:

[0009] Search for data packets sent by the sending device;

[0010] The sending time of the data packet is synchronized with the sending device based on the search results;

[0011] Audio data from the broadband audio stream is obtained from the data packet obtained by the search, and the control information is also obtained if the data packet includes control information; the control information includes at least the parameters required by the receiving device to receive the data packet.

[0012] Thirdly, embodiments of the present invention also provide a transmitting device, which wirelessly transmits a broadband audio stream to a receiving device within consecutive equal time intervals, wherein the duration of the equal time interval is less than 5 ms, and each equal time interval includes N sub-events, each sub-event including a transmission time slot for transmitting a data packet, where N is a positive integer; the transmitting device includes:

[0013] A sending module is configured to send audio data in the broadband audio stream in each of the sub-events based on the data packet, and in at least some of the sub-events, send control information in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet.

[0014] Fourthly, embodiments of the present invention also provide a receiving device, which wirelessly communicates with a transmitting device within consecutive equal time intervals to receive a broadband audio stream, wherein the duration of the equal time interval is less than 5ms, and each equal time interval includes N sub-events, each sub-event including a transmission time slot for sending a data packet, where N is a positive integer;

[0015] The receiving device includes a search module, a first synchronization module, and a first acquisition module:

[0016] When the receiving device is operating in scanning mode,

[0017] The search module is used to search for data packets sent by the sending device;

[0018] The first synchronization module is used to synchronize with the sending device based on the sending time of the data packet obtained by searching;

[0019] The first acquisition module is configured to acquire audio data from the broadband audio stream from the data packet obtained through the search, and, if the data packet includes control information, also acquire the control information; the control information includes at least the parameters required by the receiving device to receive the data packet.

[0020] Fifthly, embodiments of the present invention also provide an electronic device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program in the memory to implement the steps of the wireless audio transmission method as described in the first or second aspect.

[0021] In a sixth aspect, embodiments of the present invention also provide a readable storage medium for storing a program, which, when executed by a processor, implements the steps of the method described in the first or second aspect.

[0022] In this embodiment, the duration of the equal-time interval is less than 5ms, and each equal-time interval includes N sub-events. Each sub-event contains a transmission time slot for sending a data packet. The transmitting device transmits audio data from the broadband audio stream in each sub-event based on the data packet, and in at least some sub-events, transmits control information in addition to the audio data. The receiving device acquires the audio data and control information based on the data packet and completes synchronization with the transmitting device. This method shortens the duration of the equal-time interval, uses all sub-events for audio data transmission, and enables wireless communication synchronization, control, and audio data transmission functions based on a single data packet. This ensures efficient audio data transmission, improves time slot utilization, reduces audio data transmission latency, and achieves ultra-low latency broadband audio stream transmission. Attached Figure Description

[0023] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a schematic diagram of a system applicable to embodiments of the present invention;

[0025] Figure 2 This is one of the flowcharts illustrating the wireless audio transmission method provided in this embodiment of the invention;

[0026] Figure 3 This is a schematic diagram of the time slot structure provided in an embodiment of the present invention;

[0027] Figure 4a This is a schematic diagram of the data packet structure provided in an embodiment of the present invention;

[0028] Figure 4b This is a schematic diagram of the structure of the Protocol Data Unit (PDU) provided in an embodiment of the present invention;

[0029] Figure 4c This is a schematic diagram of the structure of the header provided in an embodiment of the present invention;

[0030] Figure 4d This is a schematic diagram of the payload structure provided in an embodiment of the present invention;

[0031] Figure 5 This is a schematic diagram of the transmission process of the transmitting device provided in an embodiment of the present invention;

[0032] Figure 6 This is a second schematic flowchart of the wireless audio transmission method provided in this embodiment of the invention;

[0033] Figure 7 This is a schematic diagram of the workflow of the receiving device in scanning mode provided in an embodiment of the present invention;

[0034] Figure 8 This is a schematic diagram of the working process of the receiving device in audio data receiving mode according to an embodiment of the present invention;

[0035] Figure 9 This is one of the structural schematic diagrams of the transmitting device provided in the embodiments of the present invention;

[0036] Figure 10 This is one of the structural schematic diagrams of the receiving device provided in the embodiments of the present invention;

[0037] Figure 11 This is a second schematic diagram of the structure of the transmitting device provided in an embodiment of the present invention;

[0038] Figure 12 This is a second schematic diagram of the receiving device provided in an embodiment of the present invention;

[0039] Figure 13 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0041] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0042] This invention provides a wireless audio transmission method. To more clearly distinguish it from existing technologies and for ease of description and understanding, this method can also be called an Ultra-Low Latency Wireless Audio (ULLWA) transmission method. The link protocol implemented using the method provided in this invention can be called an Integrated Broadcast Isochronous Stream (IBIS) link protocol. As a specific example, the method provided in this invention can be applied to, for example... Figure 1 The ULLWA system is shown. The ULLWA system includes a transmitting device and one or more receiving devices, which transmit audio data via an IBIS link. It is understood that, in specific implementations, the ULLWA transmission method can be applied to point-to-point or point-to-multipoint ultra-low latency wireless microphone functions, and can also be applied to point-to-multipoint wireless audio sharing functions.

[0043] Please see Figure 2 The wireless audio transmission method provided in this embodiment of the invention is applied to a transmitting device and executed by the transmitting device. The transmitting device wirelessly communicates with a receiving device within consecutive equal time intervals to transmit a broadband audio stream. The duration of each equal time interval is less than 5ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for transmitting a data packet, where N is a positive integer. The method specifically includes the following steps:

[0044] Step 201: Based on the data packet, transmit audio data in the broadband audio stream in each of the sub-events, and in at least some of the sub-events, transmit control information in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet.

[0045] In each sub-event, the data packet sends audio data from the broadband audio stream. In addition, in at least some sub-events, the data packet not only sends audio data from the broadband audio stream but also sends control information. This method ensures that each data packet carries audio data.

[0046] As an optional implementation, the audio data in the broadband audio stream and the control information can be sent in each of the sub-events based on the data packet.

[0047] The data packet is used by the receiving device to perform functions such as synchronization, control, and audio data transmission.

[0048] When the receiving device is operating in scanning mode, it searches for data packets sent by the transmitting device and synchronizes the transmission time of the data packets with the transmitting device based on the search. If the data packet only includes audio data from the broadband audio stream, the audio data from the broadband audio stream is extracted from the data packet. If the data packet includes both audio data from the broadband audio stream and control information, both the audio data from the broadband audio stream and the control information are extracted from the data packet.

[0049] When the receiving device operates in scanning mode, it can determine the start time of the isochronous interval based on the transmission time of the data packets obtained through searching. Based on the start time and duration of the isochronous interval, it performs time synchronization with the transmitting device. In some embodiments, the receiving device can also perform frequency hopping channel synchronization with the transmitting device based on the control information. Frequency hopping channel synchronization refers to the receiving device selecting the same channel as the transmitting device in each sub-event.

[0050] When the receiving device operates in audio data receiving mode, it receives the data packets at each equal time interval. If the data packets contain only audio data from the broadband audio stream, the receiving device extracts the audio data from the broadband audio stream from each received data packet. If the data packets contain both audio data from the broadband audio stream and control information, as an optional implementation, the receiving device extracts both the audio data from the broadband audio stream and the control information from each received data packet. As another optional implementation, the receiving device extracts the audio data from the broadband audio stream from each received data packet and discards the control information.

[0051] It is understood that the parameters required for the receiving device to receive the data packet may be parameters related to the transmission time, transmission channel, error checking, etc. of the data packet, which can be configured according to the actual application scenario.

[0052] In this embodiment, the transmitting device and the receiving device communicate wirelessly to transmit a broadband audio stream. Broadband audio refers to an audio signal with a sampling rate greater than or equal to 16 kHz, and the specific sampling rate is not limited. Exemplarily, in some embodiments, the sampling rate of the broadband audio stream is greater than or equal to 24 kHz.

[0053] It should be understood that 5ms is the minimum isochronous interval of the BIG protocol in BLE audio. Since the duration of each isochronous interval in this application is less than 5ms, this method can have a lower latency compared to the BIG protocol. Optionally, in some embodiments, the duration of the isochronous interval is less than or equal to 2.5ms, for example, 2.5ms, 2ms, 1.25ms, or 1ms.

[0054] Each equal-time interval includes N sub-events, therefore, a maximum of N data packets can be sent within each equal-time interval. In practical implementations, since the duration of the equal-time interval is relatively short, the value of N is usually small. Optionally, in some embodiments, N is 1, 2, or 3.

[0055] In this embodiment, the duration of the equal-time interval is less than 5ms, and each equal-time interval includes N sub-events. Each sub-event contains a transmission time slot for sending a data packet. Based on the data packet, audio data in the broadband audio stream is transmitted in each sub-event, and in at least some sub-events, control information is transmitted simultaneously in addition to the audio data. This method shortens the duration of the equal-time interval, utilizes all sub-events for audio data transmission, and enables wireless communication synchronization, control, and audio data transmission functions based on a single data packet. This ensures efficient audio data transmission, improves time slot utilization, reduces audio data transmission latency, and achieves ultra-low latency broadband audio stream transmission.

[0056] Optionally, in some embodiments, step 201 includes:

[0057] Determine the type of the transmission slot for the current sub-event, wherein the type of the transmission slot includes synchronization slots and data slots, and the current sub-event is any one of the sub-events;

[0058] When the type of the transmission time slot of the current sub-event is the synchronization time slot, the data packet is transmitted based on the synchronization channel in the current sub-event; the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode;

[0059] When the type of the transmission time slot of the current sub-event is the data time slot, the data packet is transmitted based on the data channel in the current sub-event.

[0060] Both the synchronization channel and the data channel can be one or more channels. There are various methods for selecting channels. In one specific embodiment, the data channel can be a Bluetooth Low Energy (BLE) data channel, and the synchronization channel can be a BLE advertising channel. The Bluetooth Low Energy (BLE) specification defines 40 radio frequency (RF) channels, of which channels 37, 38, and 39 are defined as main advertising channels, and the other 37 channels are defined as data channels. The main advertising channels are used for initial broadcasts before connection and all traditional broadcast activities, while the data channels are mainly used for data communication between devices. In another specific embodiment, the synchronization channel can also be a subset of the BLE data channels, for example, designating one or more of the 37 data channels as the synchronization channel. It is understood that the synchronization channel and data channel can also be set in other ways, such as according to other general wireless communication technology specifications or user-defined technology specifications, defining the synchronization channel and data channel within a predetermined frequency range; this application does not specifically limit this.

[0061] The transmitting device can hop to the appropriate channel to transmit the data packet based on the type of the transmission time slot of the current sub-event. Correspondingly, the receiving device can search for data packets based on a known synchronization channel in scanning mode, and can hop to the appropriate channel to receive the data packet based on the type of the transmission time slot of the current sub-event in audio data receiving mode.

[0062] Optionally, in some embodiments, determining the type of the transmission slot for the current sub-event includes:

[0063] The type of the transmission slot for the current sub-event is determined based on the synchronization interval;

[0064] Specifically, when the start time of the transmission time slot of the current sub-event is the same as the start time of the synchronization interval, the type of the transmission time slot of the current sub-event is determined to be a synchronization time slot; otherwise, the type of the transmission time slot of the current sub-event is determined to be a data time slot, or...

[0065] When the start time of the current equal time interval in which the current sub-event is located is the same as the start time of the synchronization interval, the type of the transmission time slot of the predetermined sub-event in the current equal time interval is determined to be a synchronization time slot, and the type of the transmission time slot of the other sub-events in the current equal time interval besides the predetermined sub-event is determined to be a data time slot.

[0066] The duration of the synchronization interval is an integer multiple of the duration of the equal time interval.

[0067] Please see Figure 3 To facilitate understanding, the time slot structure used in this embodiment will first be described. To distinguish it from existing technologies, the data packet in this embodiment will be abbreviated as IBIS PDU. Figure 3 As shown, IBIS communication time is divided into equal time intervals. The time slot for transmitting IBIS PDUs on the synchronization channel is called a synchronization time slot, and the time sequence for transmitting IBIS PDUs on the data channel is called a data time slot. The time interval for transmitting IBIS PDUs on the synchronization channel is called the synchronization interval (i.e., the interval between the start times of two adjacent synchronization time slots is the synchronization interval), and the duration of the IBIS synchronization interval is an integer multiple of the duration of the IBIS equal time interval, for example, 32 times or 64 times. It can be understood that in some specific embodiments, IBIS PDUs can also be transmitted based on the synchronization channel in a set of multiple consecutive sub-events each time. In this case, the transmission time slots of this set of sub-events are all of the type of synchronization time slots, and the time interval between the start times of two adjacent sets of synchronization time slots is the synchronization interval.

[0068] like Figure 3As shown, k represents the synchronization interval with sequence number k. Each synchronization interval has M equal time intervals, and each equal time interval has N sub-events. Figure 3 The box labeled IBIS PDU indicates a sub-event; one sub-event is used to transmit one data packet. When N equals 1, an IBIS PDU is sent only once per equal time interval; when N equals 2, an IBIS PDU is sent twice per equal time interval. For example... Figure 3 As shown, the solid box marking IBIS PDU represents the sub-event of the first transmission of the IBIS PDU, and the dashed box marking IBIS PDU represents the sub-event of the second transmission of the IBIS PDU. In one specific embodiment, the second transmission of the IBIS PDU may be a retransmission of the first transmission of the IBIS PDU, or at least a retransmission of the audio data in the first transmission of the IBIS PDU.

[0069] In some embodiments, when the start time of the transmission slot of the current sub-event is the same as the start time of the synchronization interval (e.g.) Figure 3 The first sub-event from left to right, labeled IBIS PDU M*k+1 (or IBIS PDU M*(k+1)+1), determines the type of the transmission slot for the current sub-event as a synchronization slot.

[0070] In other embodiments, when the start time of the current isochronous interval where the current sub-event is located is the same as the start time of the synchronization interval, the isochronous interval includes a synchronization time slot, and the type of the transmission time slot for the predetermined sub-event within the isochronous interval is determined to be a synchronization time slot. For example, the predetermined sub-event can be the first sub-event within the isochronous interval, or it can be any other sub-event within the isochronous interval, depending on the actual situation. Further, the type of the transmission time slot for other sub-events within the current isochronous interval besides the predetermined sub-event can be determined to be a data time slot.

[0071] Optionally, the data packet includes an access address unit.

[0072] Sending the data packet based on the synchronization channel in the current sub-event includes:

[0073] The access address unit of the data packet is configured using a first access address parameter, wherein the first access address parameter is a preset specific value;

[0074] Sending the data packet based on the data channel in the current sub-event includes:

[0075] The access address unit of the data packet is configured using a second access address parameter, which is different from the first access address parameter.

[0076] When the data packet is transmitted via the synchronization channel in the current sub-event, to facilitate access by the access device, the access address unit of the data packet is typically configured using a first access address parameter, where the first access address parameter is a preset specific value. Knowing the first access address parameter in advance, the access device can confirm that the data packet obtained by searching on the synchronization channel is the data packet sent by the transmitting device, while excluding noise and other interfering data packets. For example, the first access address parameter can be an advertising address (0x8E89BED6) defined in the Bluetooth Low Energy specification.

[0077] When sending a data packet via the data channel in the current sub-event, the access address unit of the data packet is configured using the second access address parameter. Correspondingly, the control information is configured to include the second access address parameter. Since the control information includes the second access address parameter, the receiving device can receive the data packet on the data channel based on the second access address parameter. To facilitate the receiving device in distinguishing data packets sent by different sending devices, the second access address parameter is different for each sending device, thereby avoiding mutual interference between data packets sent by different sending devices and improving the anti-interference capability of the receiving device. Since the first access address parameter is usually a pre-determined and relatively well-known address, in this embodiment, the second access address parameter is different from the first access address parameter. For example, the second access address parameter is randomly generated each time the sending device is powered on.

[0078] Optionally, the data packet is an advertising data packet.

[0079] The synchronization channel adopts a Bluetooth Low Energy advertising channel or a portion of a Bluetooth Low Energy data channel.

[0080] The data channel uses Bluetooth Low Energy data channel.

[0081] Optionally, in some embodiments, the broadband audio stream is a mono audio stream, where, when N is greater than 1, the audio data transmitted in each sub-event within the same equal time interval is identical; or,

[0082] The broadband audio stream is a multi-channel audio stream. When N is greater than 1, at least two sub-events within the same equal time interval send audio data from different channels.

[0083] Optionally, in some embodiments, to further improve transmission efficiency and reduce transmission latency, the sub-event does not include a receive time slot for receiving data sent by the receiving device. It is understood that in the prior art, the receiving device may typically send audio data and / or acknowledgment information, and may also send control data. The acknowledgment information is used to characterize the receiving device's reception status of data packets sent by the sending device, and the control data is used for control commands transmitted by the receiving device to the sending device. In some embodiments of this application, the receive time slot is not configured in the sub-event, allowing the sending device to continuously send data packets while the receiving device continuously receives them. The time slot resources are used as much as possible to transmit the wideband audio stream data, thereby meeting the stringent time requirements for ultra-low latency.

[0084] Optionally, in some embodiments, the data packet further includes a protocol data unit, which includes a header and a payload, the payload being used to carry the audio data and control information.

[0085] Optionally, the control information may include various parameters related to wireless communication and audio data transmission, playback, and control between the transmitting and receiving devices, which can be configured according to the actual application scenario. To meet the ultra-low latency performance requirements of this embodiment, the parameter configuration in the control information can be optimized while optimizing the communication process. As a specific implementation, the control information includes at least one of the following: synchronization interval parameter, equal time interval parameter, number of sub-events, second access address parameter, channel mapping table, cyclic check setting value, load number, channel mode parameter, audio playback synchronization command, volume synchronization command, and master-slave switching command.

[0086] For ease of understanding, a specific embodiment will be used as an example below. As an optional implementation, the structure of the data packets in this embodiment can be set with reference to the Bluetooth Low Energy (BLE) Isochronous Channels protocol. For example, the structure of the data packets can refer to the structure of the BLE Protocol Data Unit (PDU).

[0087] In some embodiments, to distinguish the data packets provided in the embodiments of the present invention from data packets in related technologies, they can be identified by a Reserved for future use (RFU) value of a certain advertising PDU type. For example, when the reserve value is assigned the value b1100, it indicates that the PDU adopts the structure of the data packets provided in the embodiments of the present invention.

[0088] Please see Figures 4a-4d .like Figure 4a As shown, the data packet includes a preamble, an access address unit, a protocol data unit (PDU), and a cyclic redundancy check (CRC) bit. The preamble is used for automatic gain control and time-frequency synchronization, and can typically occupy 1 to 2 bytes (B). The access address unit is used to configure the first or second access address parameters required for link synchronization, and can typically occupy 4 bytes. The CRC is used to check if the PDU is correct, and can typically occupy 3 bytes. The PDU can typically occupy 2-258 bytes; its specific structure can be found in [reference needed]. Figure 4b A PDU includes a header and a payload. The header, for example, can be 1B or 2B in size, and the payload can be 1B-255B in size.

[0089] For example, the structure of the Header is as follows Figure 4c As shown. The header includes PDU type (4 bits) and RFU (1 bit) to indicate the packet type, ChSel (1 bit) to indicate the channel selection algorithm, TxAdd (1 bit) and RxAdd (1 bit) to indicate the device address attributes, and Length (8 bits) to indicate the payload length. The payload contains two parts: control information and audio data. The control information combines the SynInfo from the AUX ADV in the BLE audio protocol and the BIGInfo from the Periodic ADV.

[0090] For example, the structure of the payload is as follows Figure 4dAs shown. The payload includes a 4-bit synchronization interval (SyncInterval) parameter, a 2-bit equal time interval (ISO Interval) parameter, a 2-bit number of sub-events (NSE), a 32-bit access address (Access Address, AA), a 37-bit channel mapping table (ChM), an 8-bit cyclic check setpoint (CRCInit), a 9-bit IBIS payload count, and a 2-bit channel mode (CH Mode) parameter. The data length in the IBIS PDU payload is 0 to 240 bytes. The receiving device can obtain the data length by subtracting the length of the control information in the payload from the length of the IBIS header. The access address included in the payload is used to configure the second access address parameter. Parameters such as ChSel, ChM, and Payload Count can be used for frequency hopping channel calculation.

[0091] For example, the synchronization channel uses Bluetooth Low Energy (BLE) advertising channels, specifically the three primary advertising channels. IBIS PDUs transmitted on the primary advertising channels use the unified BLE advertising address (0x8E89BED6) as the AA (first access address parameter), while IBIS PDUs transmitted on the data channel use the AA (second access address parameter) set in the IBIS PDU control information. The second access address parameter can be randomly generated or use a pre-defined value; in specific implementations, the second access address parameter will differ between different devices or links.

[0092] In this embodiment, 37 Bluetooth Low Energy (BLE) data channels are used. These 37 data channels are divided into two categories: used channels and unused channels. The Channel Mapping Table (ChM) in the IBIS PDU control information is used to characterize which channels are used and which are unused. For example, the ChM consists of 37 bits, representing each of the 37 data channels. A bit set to 1 indicates that the data channel is a used channel, and a bit set to 0 indicates that the data channel is an unused channel. The synchronization interval is the interval between sending IBIS PDUs on the three main advertising channels, the equal-time interval is the interval between sending IBIS PDUs, and the NSE is the number of times an IBIS PDU is repeatedly sent within an equal-time interval. To achieve ultra-low latency, NSE is generally equal to 1, and at most equal to 2 or 3. CRCInit is used to set the initial value of the cyclic checksum for IBIS PDUs on the data channels. The lower 16 bits of the 24-bit cyclic checksum initial value of the IBIS PDUs sent on the data channels are composed of the higher 16 bits of AA, and the higher 8 bits are composed of CRCInit. The initial cyclic check value of the IBIS PDU transmitted on the main advertising channel consists of the high 24 bits of its corresponding AA. Payload Count is the sequence code of the IBIS PDU payload, used by the receiving device to identify which IBIS PDUs with different sequence numbers were not received correctly. The channel mode (CH Mode) is set to 1 for mono, 2 for stereo, and other values ​​are reserved. ISO Interval includes four modes: 0 for 1ms, 1 for 1.25ms, 2 for 2ms, and 3 for 2.5ms. Sync Interval is an integer multiple of the ISO Interval: 0 for a minimum of 4 ISO Intervals, 1 for 4*(1+1) equals 8 ISO Intervals, and 15 for 4*(15+1) equals 64 ISO Intervals.

[0093] In this embodiment, the synchronization, control, and data transmission functions in wireless communication are integrated into the same data packet. By optimizing the data packet structure and rationally configuring the parameters in the data packet, the communication process can be simplified, the algorithm complexity reduced, and redundant information eliminated, thereby effectively improving the time slot utilization, reducing system latency, and realizing ultra-low latency broadband audio stream data transmission.

[0094] For ease of understanding, the following description uses a specific embodiment as an example to illustrate the transmission process of the transmitting device provided in this embodiment of the invention. Please refer to... Figure 5In each IBIS equal time interval, the audio data in the broadband audio stream to be transmitted is prepared first, and then the clock set by the synchronization interval is used to determine whether the current transmission time slot is a synchronization time slot. In some embodiments, in order to achieve ultra-low latency, the transmitting device generally uses a time-domain compression method with low algorithm delay or an uncompressed method to process digital audio signals. If it is a synchronization time slot, the transmission channel is set as a synchronization channel, the access address unit of the data packet is configured based on the advertising address (e.g., 0x8E89BED6), and an IBIS PDU is generated. If it is a data time slot, the transmission channel is set as a data channel, the access address unit of the data packet is configured based on the randomly generated second access address parameters, and an IBIS PDU is generated. Then, an IBIS PDU is transmitted at the beginning of the corresponding synchronization time slot or data time slot. If the number of sub-events is greater than 1, there is a retransmission time slot in the current sub-event, and an IBIS PDU needs to be transmitted in the retransmission time slot until retransmission is no longer needed, at which point the transmission ends within the current equal time interval.

[0095] See Figure 6 , Figure 6 This is the second flowchart of the wireless audio transmission method provided in this embodiment of the invention. The wireless audio transmission method provided in this embodiment can be applied to a receiving device and executed by the receiving device. The receiving device has at least two operating modes: a scanning mode and an audio data receiving mode. When the receiving device enters the receiving state, it first executes the scanning mode, searching for data packets sent by the transmitting device and synchronizing with the transmitting device. After synchronization is completed, the receiving device executes the audio data receiving mode to continuously receive audio data.

[0096] like Figure 6 As shown, the receiving device wirelessly communicates with the transmitting device to receive a broadband audio stream within consecutive equal time intervals. The duration of each equal time interval is less than 5ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for sending a data packet, where N is a positive integer.

[0097] When the receiving device is operating in scanning mode, the method includes the following steps:

[0098] Step 601: Search for data packets sent by the sending device.

[0099] Step 602: Based on the search, the sending time of the data packet is synchronized with the sending device.

[0100] Step 603: Obtain audio data from the broadband audio stream from the data packet obtained by the search, and if the data packet includes control information, also obtain the control information; the control information includes at least the parameters required by the receiving device to receive the data packet.

[0101] Optionally, the step of synchronizing the transmission time of the data packet obtained through search with the transmission device includes:

[0102] Based on the search to obtain the transmission time of the data packet, the start time of the equal time interval is determined;

[0103] Based on the start time and duration of the equal time interval, time synchronization is performed with the transmitting device.

[0104] Optionally, after acquiring the control information when the data packet includes control information, the method further includes:

[0105] Based on the control information, frequency hopping channel synchronization is performed with the transmitting device.

[0106] It is understood that the receiving device can also perform frequency hopping channel synchronization with the transmitting device based on known parameters (such as factory settings).

[0107] In this embodiment, the synchronization, control, and data transmission functions in wireless communication are integrated into the same data packet. Based on the data packet, the receiving device can achieve time synchronization and frequency hopping channel synchronization, and acquire audio data and control information at the same time. The communication process is simple, the time slot utilization is high, and ultra-low latency broadband audio data reception can be achieved.

[0108] It is understood that, in specific implementation, the data packets searched and obtained by the receiving device can be sent by the sending device in a specific sub-event or in any sub-event; they can be sent in a specific channel or in any channel. Appropriate solutions can be adopted according to the specific application scenario.

[0109] In some specific embodiments, the transmitting device transmits control information based on the data packet only in certain sub-events. Therefore, certain flag bits of the data packet can be configured to indicate that the data packet carries control information, so that the receiving device can determine whether the received data packet carries control information. Alternatively, the transmitting device can transmit data packets carrying both audio data and control information based on a specific channel in certain sub-events, and the receiving device can search for the data packet based on the specific channel to determine whether the current data packet carries control information.

[0110] In other embodiments, the transmitting device may send data packets including audio data and control information in each sub-event. In this case, the receiving device can confirm that each data packet it receives includes control information.

[0111] Optionally, the search for data packets sent by the sending device includes:

[0112] The receiving device searches for data packets sent by the transmitting device on the synchronization channel based on the first access address parameter, where the first access address parameter is a preset specific value, and the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode.

[0113] Optionally, when the receiving device is operating in audio data receiving mode, the method further includes:

[0114] The data packet is received at each equal time interval;

[0115] Extract audio data from the broadband audio stream from each received data packet, or...

[0116] Audio data from the broadband audio stream is obtained from each received data packet, and control information is obtained from data packets received in at least some of the sub-events.

[0117] It is understood that, in a specific implementation, the receiving device can sequentially receive data in each sub-event at each equal time interval until the data packet is correctly received. Optionally, receiving the data packet at each equal time interval includes:

[0118] Determine the type of the transmission time slot for the current sub-event, wherein the type of the transmission time slot includes synchronization time slots and data time slots, and the current sub-event is any one of the sub-events in each equal time interval;

[0119] When the type of the transmission time slot of the current sub-event is the synchronization time slot, the data packet is received based on the synchronization channel in the current sub-event;

[0120] When the type of the transmission time slot of the current sub-event is the data time slot, the data packet is received based on the data channel in the current sub-event.

[0121] Optionally, receiving the data packet based on the synchronization channel in the current sub-event includes:

[0122] The data packet is received on the synchronization channel based on the first access address parameter, wherein the first access address parameter is a preset specific value;

[0123] Receiving the data packet based on the data channel in the current sub-event includes:

[0124] The data packet is received on the data channel based on a second access address parameter, which is different from the first access address parameter.

[0125] It should be noted that this embodiment is as a comparison with... Figure 2 The implementation method on the receiving device side corresponding to the example shown can be found in the following document: Figure 2 The relevant descriptions in the illustrated embodiments will not be repeated here to avoid repetition.

[0126] Optionally, in some embodiments, the receiving device employs a low-latency temporal packet loss concealment (PLC) technique, such as temporal PLC technique based on autoregressive models (AR models) or temporal PLC technique based on convolutional recurrent networks (CRN).

[0127] Optionally, in some embodiments, the receiving device employs a multi-path receiving method to receive data packets, thereby reducing the number of retransmissions and transmission delay while improving the reliability of audio data transmission.

[0128] As one specific implementation method, Figure 7 A schematic diagram illustrating the workflow of a receiving device in scanning mode is provided. (See attached diagram) Figure 7 Referring to the BLE protocol, the three main advertising channels numbered 37, 38, and 39 are designated as synchronization channels, while the other 37 channels are designated as data channels. After entering the receiving state, the receiving device is in scanning mode. It first searches for IBIS PDUs on the three main advertising channels (numbered 37, 38, and 39) using the advertising access address (0x8E89BED6). The receiving device synchronizes with the transmitting device based on the transmission time of the data packets obtained from the search, and further obtains control information from these packets. It then extracts relevant parameters for frequency hopping channel calculation from the control information to complete the frequency hopping channel synchronization. After synchronizing with the transmitting device on the main advertising channels, it switches to audio data receiving mode based on other parameters obtained from the control information, such as synchronization interval, isochronous interval, second access address parameters, channel mapping table, and cyclic checksum settings. This allows it to receive audio data on the main advertising channels based on the synchronization interval and advertising access address, and to receive audio data on the corresponding data channels based on the isochronous interval, second access address parameters, and channel mapping table.

[0129] As one specific implementation method, Figure 8 A schematic diagram illustrating the workflow of a receiving device in audio data receiving mode is provided. Figure 8As shown, when the receiving device enters a new equal-time interval in audio data reception mode to prepare for receiving audio data, it must first determine whether the current time slot is a synchronization time slot. If the current time slot is determined to be a synchronization time slot, the main advertising channel is set and the advertising access address is used to receive the IBIS PDU. If the current time slot is determined to be a data time slot, the data channel is set and the second access address parameter is used to receive the IBIS PDU. If the IBIS PDU is not received correctly, and there is a retransmission time slot within the equal-time interval requiring re-reception of the IBIS PDU, the IBIS PDU is received again in the retransmission time slot. When there is no retransmission time slot within the equal-time interval and no further re-reception of the IBIS PDU is required, reception ends within the current equal-time interval.

[0130] The application of the wireless audio transmission method provided by this invention in practical scenarios is described below with specific embodiments. A single-point to multi-point ultra-low latency wireless microphone (ULLWM) system is used as a specific embodiment, such as... Figure 1 The ULLWA system shown, ULLWM system includes a wireless microphone and one or more wireless microphone receiving devices, such as mobile phones, computers, recording devices, headphones or speakers, etc.

[0131] In one embodiment, the wireless microphone has a mono audio sampling rate of 48kHz, and the Pulse Code Modulation (PCM) quantization bit count for the digital audio signal is 16. In this embodiment, uncompressed encoding is used, and the required transmission rate for uncompressed digital audio is 768kbps. Figure 3In the IBIS timeslot structure shown, the isochronous interval is 1ms, the synchronization interval is 32ms, and each frame of audio data is 1ms long, totaling 96 bytes. The IBIS PDU uses a BLE 2M PHY, and its control information includes 4 bits for the synchronization interval (Sync Interval), 2 bits for the isochronous interval (ISO Interval), 2 bits for the number of sub-events (NSE), 32 bits for the access address (AA), 37 bits for the channel mapping table (ChM), 8 bits for the cyclic check setpoint (CRCInit), 9 bits for the IBIS payload count (Payload Count), and 2 bits for the channel mode (CHMode), totaling 12 bytes. The data length in the IBIS PDU payload is 96 bytes. Specifically, NSE = 1, ChM is set to all 1s, CRCInit is randomly generated, and CHMode is set to 0, indicating that the channel mode is mono. The IBIS PDU contains a 2-byte preamble, a 4-byte access address, a 2-byte header, a 3-byte cyclic checksum, 12 bytes of control information, and 96 bytes of data, totaling 119 bytes, with an airtime of 476µs.

[0132] In another embodiment, the wireless microphone has a mono audio sampling rate of 32kHz, and the digital audio signal uses 16 bits for Pulse Code Modulation (PCM) quantization. In this embodiment, uncompressed encoding is used, requiring a transmission rate of 512kbps for the uncompressed digital audio. Figure 3In the IBIS timeslot structure shown, the IBIS isochronous interval is 1ms, the synchronization interval is 32ms, and each frame of audio data is 1ms long, totaling 64 bytes. The IBIS PDU uses a BLE2M PHY, and its control information includes 4 bits for the synchronization interval (Sync Interval), 2 bits for the isochronous interval (ISOInterval), 2 bits for the number of sub-events (NSE), 32 bits for the access address (AA), 37 bits for the channel mapping table (ChM), 8 bits for the cyclic check setpoint (CRCInit), 9 bits for the IBIS payload count (Payload Count), and 2 bits for the channel mode (CH Mode), totaling 12 bytes. The data length in the IBIS PDU payload is 64 bytes. Specifically, NSE = 2, ChM is set to all 1s, CRCInit is randomly generated, and CH Mode is set to 0, indicating that the channel mode is mono. The IBIS PDU contains a 2-byte preamble, a 4-byte access address, a 2-byte header, a 3-byte cyclic parity bit, 12 bytes of control information, and 64 bytes of data, totaling 87 bytes, with an airtime of 348µs. Two sub-events are 500µs long, with an interval of 152µs between them. In this embodiment, NSE = 2, and each sub-event includes a retransmission slot. Audio data within this equal interval can be transmitted twice, thus providing more reliable wireless audio transmission.

[0133] It should be understood that the above are merely examples of two optional embodiments. In practical applications, higher-speed BLE physical layer (PHY) technologies, such as 4Mbps, 6Mbps, and 8Mbps PHY technologies, can also be used to provide stereo audio transmission and to provide a larger NSE to improve audio transmission reliability.

[0134] Please see Figure 9 ,like Figure 9The transmitting device shown includes an audio input unit, a user interface, an audio processing unit, a baseband data and protocol processor, and a BLE RF transceiver module. The audio input unit acquires digital audio signals and transmits them to the audio processing unit. If necessary, the audio processing unit compresses and encodes the digital audio signals into audio data; otherwise, it outputs them directly. The baseband data and protocol processor executes BLE Audio-related protocols and the IBIS protocol, and processes the audio data into IBIS PDUs suitable for transmission by the BLE RF transceiver module. The BLE RF transceiver module converts the IBIS PDUs into RF signals for transmission. The BLE RF transceiver module may also include support for future high-speed BLE physical layer technologies, such as 4Mbps, 6Mbps, and 8Mbps. The user interface can be buttons, a touchpad, a wireless control interface, etc.

[0135] Please see Figure 10 ,like Figure 10 The receiving device shown includes a user interface, an audio output unit, an audio processing unit, a baseband data and protocol processor, and a BLE RF transceiver module. The baseband data and protocol processor executes BLEAudio-related protocols and the IBIS protocol, processes IBIS PDUs received by the BLE RF transceiver module from the ULLWM transmitting device, and sends them to the audio processing unit. If necessary, the audio processing unit also performs post-processing such as audio decoding, packet loss handling, equalization, and sound effects. The audio output unit converts the audio signal into a sound signal. The BLE RF transceiver module is used for receiving BLE wireless signals or IBIS PDUs. The BLE RF transceiver module may also include support for future high-speed BLE physical layer technologies, such as 4Mbps, 6Mbps, and 8Mbps. The BLE RF transceiver module may also support multi-channel parallel reception to improve the reliability of wireless transmission, for example, dual-channel parallel reception. The user interface can be buttons, a touchpad, a wireless control interface, etc.

[0136] This invention also provides a transmitting device. See [link to relevant documentation]. Figure 11 , Figure 11 This is the second structural diagram of the transmitting device provided in this embodiment of the invention. Because the principle by which the transmitting device solves the problem is similar to... Figure 2 The wireless audio transmission method in the illustrated embodiments is similar, so the implementation of the transmitting device can refer to the implementation of the method, and the repeated parts will not be described again.

[0137] like Figure 11As shown, this embodiment of the invention also provides a transmitting device 1100, which wirelessly transmits a broadband audio stream to a receiving device within consecutive equal time intervals. The duration of each equal time interval is less than 5ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for transmitting a data packet, where N is a positive integer. The transmitting device 1100 includes:

[0138] The sending module 1101 is configured to send audio data in the broadband audio stream in each of the sub-events based on the data packet, and in at least some of the sub-events, send control information in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet.

[0139] Optionally, the sending module 1101 includes:

[0140] The first sending unit is configured to send audio data and control information in the broadband audio stream in each of the sub-events based on the data packet.

[0141] Optionally, the sending module 1101 includes:

[0142] The first determining unit is used to determine the type of the transmission time slot of the current sub-event, wherein the type of the transmission time slot includes a synchronization time slot and a data time slot, and the current sub-event is any one of the sub-events;

[0143] The second sending unit is configured to send the data packet based on a synchronization channel in the current sub-event when the type of the sending time slot of the current sub-event is the synchronization time slot; the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode;

[0144] The third sending unit is configured to send the data packet based on the data channel in the current sub-event when the type of the sending time slot of the current sub-event is the data time slot.

[0145] Optionally, the first determining unit is specifically used for:

[0146] The type of the transmission slot for the current sub-event is determined based on the synchronization interval;

[0147] Specifically, when the start time of the transmission time slot of the current sub-event is the same as the start time of the synchronization interval, the type of the transmission time slot of the current sub-event is determined to be a synchronization time slot; otherwise, the type of the transmission time slot of the current sub-event is determined to be a data time slot, or...

[0148] When the start time of the current equal time interval in which the current sub-event is located is the same as the start time of the synchronization interval, the type of the transmission time slot of the predetermined sub-event in the current equal time interval is determined to be a synchronization time slot, and the type of the transmission time slot of the other sub-events in the current equal time interval besides the predetermined sub-event is determined to be a data time slot.

[0149] The duration of the synchronization interval is an integer multiple of the duration of the equal time interval.

[0150] Optionally, the data packet includes an access address unit.

[0151] The second transmitting unit is specifically used for:

[0152] The access address unit of the data packet is configured using a first access address parameter, wherein the first access address parameter is a preset specific value;

[0153] The third transmitting unit is specifically used for:

[0154] The access address unit of the data packet is configured using a second access address parameter, which is different from the first access address parameter.

[0155] Optionally, the data packet further includes a protocol data unit, which includes a header and a payload, the payload being used to carry the audio data and control information;

[0156] The control information includes at least one of the following: synchronization interval parameter, equal time interval parameter, number of sub-events, second access address parameter, channel mapping table, cyclic check setting value, load number, channel mode parameter, audio playback synchronization command, volume synchronization command, and master-slave switching command.

[0157] Optionally, the data packet is an advertising data packet.

[0158] The synchronization channel adopts a Bluetooth Low Energy advertising channel or a portion of a Bluetooth Low Energy data channel.

[0159] The data channel uses Bluetooth Low Energy data channel.

[0160] Optionally, the broadband audio stream is a mono audio stream, where, when N is greater than 1, the audio data transmitted in each sub-event within the same equal time interval is identical; or,

[0161] The broadband audio stream is a multi-channel audio stream. When N is greater than 1, at least two sub-events within the same equal time interval send audio data from different channels.

[0162] Optionally, N is 1, 2, or 3; the isochronous interval duration is less than or equal to 2.5 ms; and the sampling rate of the broadband audio stream is greater than or equal to 24 kHz; and / or,

[0163] The sub-event does not include a receive time slot for receiving data sent by the receiving device.

[0164] The transmitting device 1100 provided in this embodiment of the invention can perform the above-described... Figure 2 The method embodiments shown are similar in principle and technical effect, and will not be described again here.

[0165] like Figure 12 As shown, this embodiment of the invention also provides a receiving device. See also Figure 12 , Figure 12 This is the second structural diagram of the receiving device provided in this embodiment of the invention. Because the principle of the receiving device in solving the problem is... Figure 6 The wireless audio transmission method in the illustrated embodiments is similar, so the implementation of the receiving device can refer to the implementation of the method, and the repeated parts will not be described again.

[0166] like Figure 12 As shown, the receiving device 1200 wirelessly communicates with the transmitting device to receive a broadband audio stream within consecutive equal time intervals. The duration of the equal time interval is less than 5ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for sending a data packet, where N is a positive integer.

[0167] The receiving device 1200 includes a search module 1201, a first synchronization module 1202, and a first acquisition module 1203.

[0168] When the receiving device 1200 is operating in scanning mode,

[0169] The search module 1201 is used to search for data packets sent by the sending device;

[0170] The first synchronization module 1202 is used to synchronize with the sending device based on the sending time of the data packet obtained by searching;

[0171] The first acquisition module 1203 is used to acquire audio data in the broadband audio stream from the data packet obtained by the search, and to acquire the control information when the data packet includes control information; the control information includes at least the parameters required by the receiving device 1200 to receive the data packet.

[0172] Optionally, the first synchronization module 1202 includes:

[0173] The second determining unit is used to determine the start time of the equal time interval based on the sending time of the data packet obtained by the search;

[0174] The first synchronization unit is used to synchronize time with the transmitting device based on the start time and duration of the equal time interval.

[0175] Optionally, the receiving device 1200 further includes:

[0176] The second synchronization module is used to perform frequency hopping channel synchronization with the transmitting device based on the control information.

[0177] Optionally, the search module 1201 is specifically used for:

[0178] The receiving device 1200 searches for data packets sent by the transmitting device on the synchronization channel based on the first access address parameter, wherein the first access address parameter is a preset specific value, and the synchronization channel is a dedicated channel for the receiving device 1200 to search for data packets in scanning mode.

[0179] Optionally, the receiving device 1200 further includes a receiving module, a second acquisition module, and a third acquisition module:

[0180] When the receiving device 1200 is operating in audio data receiving mode,

[0181] The receiving module is used to receive the data packet at each equal time interval;

[0182] The second acquisition module is configured to acquire audio data from the broadband audio stream from each received data packet, or,

[0183] The third acquisition module is used to acquire audio data from the broadband audio stream from each received data packet, and to acquire the control information from data packets received in at least some sub-events.

[0184] Optionally, the receiving module includes:

[0185] The third determining unit is used to determine the type of the transmission time slot of the current sub-event. The type of the transmission time slot includes a synchronization time slot and a data time slot. The current sub-event is any one of the sub-events in each equal time interval.

[0186] The first receiving unit is configured to receive the data packet based on the synchronization channel in the current sub-event when the type of the transmission time slot of the current sub-event is the synchronization time slot;

[0187] The second receiving unit is configured to receive the data packet based on the data channel in the current sub-event when the type of the transmission time slot of the current sub-event is the data time slot.

[0188] Optionally, the first receiving unit is specifically used for:

[0189] The data packet is received on the synchronization channel based on the first access address parameter, wherein the first access address parameter is a preset specific value;

[0190] The second receiving unit is specifically used for:

[0191] The data packet is received on the data channel based on a second access address parameter, which is different from the first access address parameter.

[0192] The receiving device 1200 provided in this embodiment of the invention can perform the above-described... Figure 6 The method embodiments shown are similar in principle and technical effect, and will not be described again here.

[0193] like Figure 13 As shown, this embodiment of the invention also provides an electronic device 1300, including a processor 1301, a memory 1302, and a program or instructions stored in the memory 1302 and executable on the processor 1301. When the program or instructions are executed by the processor 1301, they implement the following: Figure 2 or Figure 6 The various processes of the method embodiments shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0194] This invention also provides a readable storage medium storing a program that, when executed by a processor, performs the above-described... Figure 2 or Figure 6 The various processes of the illustrated method embodiments achieve the same technical effect, and will not be described again here to avoid repetition. The readable storage medium mentioned includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0195] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0196] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can be physically comprised separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or in the form of hardware plus software functional units.

[0197] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the transmission and reception methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0198] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A wireless audio transmission method, applied to a transmitting device, characterized in that, The transmitting device wirelessly communicates with the receiving device at consecutive equal time intervals to transmit a broadband audio stream. The duration of each equal time interval is less than 5 ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for transmitting a data packet, where N is a positive integer. The method includes: Based on the data packet, audio data in the broadband audio stream is sent in each of the sub-events, and in at least some of the sub-events, control information is sent simultaneously in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet; Based on the data packet, audio data from the broadband audio stream is sent in each of the sub-events, and in at least some of the sub-events, control information is sent simultaneously in addition to the audio data, including: Determine the type of the transmission slot for the current sub-event, wherein the type of the transmission slot includes synchronization slots and data slots, and the current sub-event is any one of the sub-events; When the type of the transmission time slot of the current sub-event is the synchronization time slot, the data packet is transmitted based on the synchronization channel in the current sub-event; the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode; When the type of the transmission time slot of the current sub-event is the data time slot, the data packet is transmitted based on the data channel in the current sub-event.

2. The method according to claim 1, characterized in that, The method of sending audio data from the broadband audio stream in each of the sub-events based on the data packet, and sending control information in addition to the audio data in at least some of the sub-events, further includes: Based on the data packet, audio data from the broadband audio stream and the control information are sent in each of the sub-events.

3. The method according to claim 1, characterized in that, Determining the type of the transmission slot for the current sub-event includes: The type of the transmission slot for the current sub-event is determined based on the synchronization interval; Specifically, when the start time of the transmission time slot of the current sub-event is the same as the start time of the synchronization interval, the type of the transmission time slot of the current sub-event is determined to be a synchronization time slot; otherwise, the type of the transmission time slot of the current sub-event is determined to be a data time slot, or... When the start time of the current equal time interval in which the current sub-event is located is the same as the start time of the synchronization interval, the type of the transmission time slot of the predetermined sub-event in the current equal time interval is determined to be a synchronization time slot, and the type of the transmission time slot of the other sub-events in the current equal time interval besides the predetermined sub-event is determined to be a data time slot. The duration of the synchronization interval is an integer multiple of the duration of the equal time interval.

4. The method according to claim 1, characterized in that, The data packet includes an access address unit. Sending the data packet based on the synchronization channel in the current sub-event includes: The access address unit of the data packet is configured using a first access address parameter, wherein the first access address parameter is a preset specific value; Sending the data packet based on the data channel in the current sub-event includes: The access address unit of the data packet is configured using a second access address parameter, which is different from the first access address parameter.

5. The method according to claim 4, characterized in that, The data packet also includes a protocol data unit, which includes a header and a payload, the payload being used to carry the audio data and control information; The control information includes at least one of the following: synchronization interval parameter, equal time interval parameter, number of sub-events, second access address parameter, channel mapping table, cyclic check setting value, load number, channel mode parameter, audio playback synchronization command, volume synchronization command, and master-slave switching command.

6. The method according to claim 5, characterized in that, The data packet is an advertising data packet. The synchronization channel adopts a Bluetooth Low Energy advertising channel or a portion of a Bluetooth Low Energy data channel. The data channel uses Bluetooth Low Energy data channel.

7. The method according to claim 1, characterized in that, The broadband audio stream is a mono audio stream, where, when N is greater than 1, the audio data transmitted in each sub-event within the same equal time interval is identical; or, The broadband audio stream is a multi-channel audio stream. When N is greater than 1, at least two sub-events within the same equal time interval send audio data from different channels.

8. The method according to claim 1, characterized in that, The N is 1, 2, or 3; the isochronous interval duration is less than or equal to 2.5 ms; and the sampling rate of the broadband audio stream is greater than or equal to 24 kHz; and / or, The sub-event does not include a receive time slot for receiving data sent by the receiving device.

9. A wireless audio transmission method, applied to a receiving device, wherein the receiving device wirelessly communicates with a transmitting device at consecutive equal time intervals to receive a broadband audio stream, characterized in that, The duration of the equal time interval is less than 5ms, and each equal time interval includes N sub-events, each sub-event containing a transmission time slot for sending a data packet, where N is a positive integer; When the receiving device is operating in scanning mode, the method includes: Search for data packets sent by the sending device; The sending time of the data packet is synchronized with the sending device based on the search results; Audio data from the broadband audio stream is obtained from the data packet obtained by the search, and the control information is also obtained if the data packet includes control information; the control information includes at least the parameters required by the receiving device to receive the data packet; When the receiving device is operating in audio data receiving mode, the method further includes: The data packet is received at each equal time interval; Extract audio data from the broadband audio stream from each received data packet, or... Audio data from the broadband audio stream is obtained from each received data packet, and control information is obtained from data packets received in at least some of the sub-events.

10. The method according to claim 9, characterized in that, The step of synchronizing the transmission time of the data packet obtained through search with the transmission device includes: Based on the search to obtain the transmission time of the data packet, the start time of the equal time interval is determined; Based on the start time and duration of the equal time interval, time synchronization is performed with the transmitting device.

11. The method according to claim 10, characterized in that, After acquiring the control information when the data packet includes control information, the method further includes: Based on the control information, frequency hopping channel synchronization is performed with the transmitting device.

12. The method according to claim 9, characterized in that, The search for data packets sent by the sending device includes: The receiving device searches for data packets sent by the transmitting device on the synchronization channel based on the first access address parameter, where the first access address parameter is a preset specific value, and the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode.

13. The method according to claim 9, characterized in that, Receiving the data packet at each equal time interval includes: Determine the type of the transmission time slot for the current sub-event, wherein the type of the transmission time slot includes synchronization time slots and data time slots, and the current sub-event is any one of the sub-events in each equal time interval; When the type of the transmission time slot of the current sub-event is the synchronization time slot, the data packet is received based on the synchronization channel in the current sub-event; When the type of the transmission time slot of the current sub-event is the data time slot, the data packet is received based on the data channel in the current sub-event.

14. The method according to claim 13, characterized in that, Receiving the data packet based on the synchronization channel in the current sub-event includes: The data packet is received on the synchronization channel based on the first access address parameter, wherein the first access address parameter is a preset specific value; Receiving the data packet based on the data channel in the current sub-event includes: The data packet is received on the data channel based on a second access address parameter, which is different from the first access address parameter.

15. A transmitting device, characterized in that, The transmitting device wirelessly communicates with the receiving device at consecutive equal time intervals to transmit a broadband audio stream. The duration of each equal time interval is less than 5 ms, and each equal time interval includes N sub-events. Each sub-event includes a transmission time slot for transmitting a data packet, where N is a positive integer. The transmitting device includes: A sending module is configured to send audio data in the broadband audio stream in each of the sub-events based on the data packet, and in at least some of the sub-events, send control information in addition to the audio data, the control information including at least the parameters required by the receiving device to receive the data packet; Based on the data packet, audio data from the broadband audio stream is sent in each of the sub-events, and in at least some of the sub-events, control information is sent simultaneously in addition to the audio data, including: Determine the type of the transmission slot for the current sub-event, wherein the type of the transmission slot includes synchronization slots and data slots, and the current sub-event is any one of the sub-events; When the type of the transmission time slot of the current sub-event is the synchronization time slot, the data packet is transmitted based on the synchronization channel in the current sub-event; the synchronization channel is a dedicated channel for the receiving device to search for data packets in scanning mode; When the type of the transmission time slot of the current sub-event is the data time slot, the data packet is transmitted based on the data channel in the current sub-event.

16. A receiving device that wirelessly communicates with a transmitting device at consecutive equal time intervals to receive a broadband audio stream, characterized in that, The duration of the equal time interval is less than 5ms, and each equal time interval includes N sub-events, each sub-event containing a transmission time slot for sending a data packet, where N is a positive integer; The receiving device includes a search module, a first synchronization module, a first acquisition module, a receiving module, a second acquisition module, and a third acquisition module. When the receiving device is operating in scanning mode, The search module is used to search for data packets sent by the sending device; The first synchronization module is used to synchronize with the sending device based on the sending time of the data packet obtained by searching; The first acquisition module is configured to acquire audio data from the broadband audio stream from the data packet obtained through the search, and, if the data packet includes control information, also acquire the control information; the control information includes at least the parameters required by the receiving device to receive the data packet; When the receiving device is operating in audio data receiving mode, The receiving module is used to receive the data packet at each equal time interval; The second acquisition module is configured to acquire audio data from the broadband audio stream from each received data packet, or, The third acquisition module is used to acquire audio data from the broadband audio stream from each received data packet, and to acquire the control information from data packets received in at least some sub-events.

17. An electronic device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program in the memory to implement the steps of the wireless audio transmission method as claimed in any one of claims 1 to 14.

18. A readable storage medium for storing a program, characterized in that, When the program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Single-point-to-multipoint wireless audio two-way transmission method, system and equipment

    CN114727387A

  • Apparatus, system and method of multiple device wireless power transfer

    US10020684B2