Receiving and processing method and device, transmitting method and device, and storage medium

By calculating the refresh timeout and offset time of the connected isochronous group, early synchronization and selective transmission are achieved, which solves the problems of audio playback delay and transmission conflict of wireless headphones, and improves the audio playback performance and coexistence transmission efficiency of wireless headphones.

CN115022848BActive Publication Date: 2025-09-16AIROHA TECHNOLOGY CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110913458.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-03-05
Filing Date
2021-08-10
Publication Date
2025-09-16
Estimated Expiration
2041-08-10

AI Technical Summary

Technical Problem

When existing wireless headsets use Bluetooth technology to receive voice signals, there are problems such as limited audio playback performance and transmission time conflicts when coexisting with other wireless communication systems.

Method used

By calculating the refresh timeout and offset time of the starting isochronous interval of the connected isochronous group, early synchronization of the connected isochronous group is achieved, the sound playback delay is reduced, and medium data packets are selectively transmitted in the shared slot, and fragmented idle periods are merged to optimize wireless transmission.

Benefits of technology

It reduces the sound playback delay, improves the audio playback performance, optimizes the coexistence transmission time with other wireless communication systems, and improves the utilization efficiency of idle time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115022848B_ABST
    Figure CN115022848B_ABST
Patent Text Reader

Abstract

The present invention relates to a receiving and processing method and apparatus, a transmitting method and apparatus, and a storage medium. The method, executed by a processing unit of a first wireless slave device, includes: calculating a refresh timeout for a first protocol data unit (PDU) in a starting isochronous time interval of a connected isochronous group based on transmission and reception configuration information received from a wireless master device; calculating a first offset time from the refresh timeout to the connected isochronous group synchronization delay; calculating an early isochronous group synchronization time point based on the first offset time and a second offset time received from a second wireless slave device, wherein the early isochronous group synchronization time point is earlier than the connected isochronous group synchronization delay; and playing data in a media data packet received from the wireless master device starting from the early isochronous group synchronization time point. By having the first and second wireless slave devices play the data in the media data packet starting from the early isochronous group synchronization time point, the delay in sound playback is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a wireless transmission technology machine, in particular to a method for transmitting, receiving and processing a medium data packet in an isochronous group, a computer-readable storage medium and a device. Background Art

[0002] Wireless earbuds use Bluetooth technology to receive voice signals carried on radio waves from a source device, such as a mobile phone. A pair of wireless earbuds is also referred to as peer devices. Efficiently transmitting, receiving, and processing media data packets from the host device to the wireless earbuds has always been a critical issue affecting audio playback performance.

[0003] Furthermore, for electronic devices equipped with other wireless communication subsystems that use the same frequency band as the Bluetooth subsystem, how to effectively stagger the wireless transmission times of the coexisting systems is also an important issue.

[0004] Therefore, the present invention proposes a method for transmitting, receiving and processing media data packets in an isochronous group, a computer-readable storage medium and a device, which are used to alleviate or solve the technical problems in the above-mentioned subject. Summary of the Invention

[0005] In view of this, how to alleviate or eliminate the defects in the above-mentioned related fields is indeed a problem to be solved.

[0006] The present specification relates to an embodiment of a method for receiving and processing media data packets in a connection isochronous group, which is executed by a processing unit of a first wireless slave device and includes: calculating a refresh timeout of a first protocol data unit in a starting isochronous interval of the connection isochronous group based on transmission and reception configuration information received from a wireless master device; calculating a first offset time from the refresh timeout to a synchronization delay of the connection isochronous group; calculating an early synchronization time point of the connection isochronous group based on the first offset time and a second offset time received from a second wireless slave device, wherein the early synchronization time point of the connection isochronous group is earlier than the synchronization delay of the connection isochronous group; and playing data in a media data packet received from the wireless master device starting from the early synchronization time point of the connection isochronous group.

[0007] This specification also relates to an embodiment of a computer-readable storage medium, comprising a computer program. When a processing unit of a first wireless slave device loads and executes the computer program, the method for receiving and processing media data packets in an isochronous group connection as described above is implemented.

[0008] This specification also relates to an embodiment of a device for receiving and processing media packets in an isochronous group, comprising a processing unit configured to implement the above-described method for receiving and processing media packets in an isochronous group when loading and executing a computer program.

[0009] One of the advantages of the above embodiment is that the first and second wireless slave devices start playing the data in the media data packet from the early synchronization time point of the connected isochronous group as described above, thereby reducing the delay time of the sound playback.

[0010] The present specification relates to an embodiment of a method for transmitting media data packets in a connected isochronous group, which is executed by a processing unit of a wireless master device and includes: transmitting first transmission and reception configuration information to a first wireless slave device, so that the first wireless slave device receives a first media data packet in a first continuous sub-event of each isochronous interval; transmitting second transmission and reception configuration information to a second wireless slave device, so that the second wireless slave device receives a second media data packet in a second continuous sub-event of each isochronous interval, wherein the first continuous sub-event partially overlaps with the second continuous sub-event, and the overlapping portion between the first continuous sub-event and the second continuous sub-event includes multiple shared slots; and transmitting or retransmitting the first media data packet to the first wireless slave device, or transmitting or retransmitting the second media data packet to the second wireless slave device, in any of the shared slots according to abnormal information.

[0011] This specification also relates to an embodiment of a computer-readable storage medium, comprising a computer program. When a processing unit of a wireless master device loads and executes the computer program, the method for transmitting media packets in an isochronous group is implemented.

[0012] This specification also relates to an embodiment of a device for transmitting media data packets in an isochronous group, comprising a processing unit configured to implement the above-described method for transmitting media data packets in an isochronous group when loading and executing a computer program.

[0013] One of the advantages of the above embodiment is that, through the arrangement of shared slots and the selective transmission operation in the shared slots, multiple fragmented idle periods in each isochronous interval can be merged into a continuous idle period, allowing other coexisting wireless transmission subsystems to use the idle period more efficiently.

[0014] Other advantages of the present invention will be explained in more detail with reference to the following description and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0016] Figure 1 FIG. 1 is a schematic diagram of wireless communication according to an embodiment of the present invention.

[0017] Figure 2 Part A of FIG. 1 shows a timing diagram of wireless transmission in sequential mode for isochronous streaming of a low power connection according to some embodiments.

[0018] Figure 2 Part B in FIG. 1 shows a wireless transmission timing diagram of an interleaved mode of isochronous streaming of a low power connection according to some embodiments.

[0019] Figure 3 Part A in FIG. 1 shows a wireless transmission timing diagram of a sequential mode of isochronous streaming with a low power connection according to an embodiment of the present invention.

[0020] Figure 3 Part B in FIG. 1 shows a wireless transmission timing diagram of an interleaved mode of isochronous streaming with a low power connection according to an embodiment of the present invention.

[0021] Figure 4 FIG. 1 is a diagram of a system architecture configured in a left wireless headset or a right wireless headset according to an embodiment of the present invention.

[0022] Figure 5 Flowchart of a method for receiving and processing media data packets in an isochronous group connected in a left wireless headset or a right wireless headset according to an embodiment of the present invention.

[0023] Figure 6 Part A in FIG. 1 shows a wireless transmission timing diagram of sequential mode of isochronous streaming of a low power connection according to some embodiments.

[0024] Figure 6 Part B in FIG. 1 shows a wireless transmission timing diagram of an interleaved mode of isochronous streaming of a low power connection according to some embodiments.

[0025] Figure 7 A timing diagram showing wireless transmission in parallel mode of isochronous streaming with low power connection according to an embodiment of the present invention.

[0026] Figure 8 FIG. 1 is a diagram of a system architecture configured in a mobile phone according to an embodiment of the present invention.

[0027] Figure 9 Flowchart of a method for transmitting media data packets in an isochronous group connected in a mobile phone according to an embodiment of the present invention.

[0028] Figure 10 A timing diagram showing wireless transmission in parallel mode of isochronous streaming with low power connection according to an embodiment of the present invention.

[0029] Among them, the brief description of the symbols in the accompanying drawings is as follows:

[0030] 110: Left wireless headset; 120: Right wireless headset; 130: Mobile phone; t212-t216, t222-t226, t230, t262-t266, t272-t276, t280: Time points; Offset_L1, Offset_L2, Offset_R1, Offset_R2: Offset times; 410: Antenna; 420: RF module; 430: Modulator-demodulator; 440: Baseband module; 44 2: processing unit; 444: memory; S510~S570: method steps; t712, t722: time points; 810: antenna; 820: Bluetooth radio frequency module; 830: Bluetooth modem; 840: Bluetooth baseband module; 842: processing unit; 844: memory; 850: WiFi radio frequency module; 860: WiFi modem; 870: WiFi baseband module; 880: arbitrator; S910~S960: method steps. DETAILED DESCRIPTION

[0031] The embodiments of the present invention will be described below with reference to the accompanying drawings. In these drawings, the same reference numerals represent the same or similar components or method flows.

[0032] It must be understood that the words "comprise", "include" and the like used in this specification are used to indicate the existence of specific technical features, values, method steps, job processing, components and / or components, but do not exclude the addition of more technical features, values, method steps, job processing, components, components, or any combination of the above.

[0033] The terms "first", "second", "third", etc. used in the present invention are used to modify the components in the claims and are not used to indicate a priority order, a precedence relationship, or that one component precedes another, or a temporal sequence in executing method steps. They are only used to distinguish components with the same name.

[0034] It should be understood that when a component is described as being "connected" or "coupled" to another component, it can be directly connected or coupled to the other component, and intervening components may be present. Conversely, when a component is described as being "directly connected" or "directly coupled" to another component, there are no intervening components. Other words used to describe the relationship between components should be interpreted in a similar manner, for example, "between" versus "directly between," or "adjacent" versus "directly adjacent," etc.

[0035] refer to Figure 1In this embodiment, the user obtains data from the mobile phone 130 through a wireless headset. The wireless headset is a pair of devices with wireless communication capabilities, including a left wireless earbud 110 and a right wireless earbud 120. There is no physical wire connecting the left wireless earbud 110 and the right wireless earbud 120. Wireless communication connections, such as Bluetooth low energy audio (LE Audio), can be used to transmit data packets carrying the user's voice signals between the mobile phone 130 and the left wireless earbud 110, and between the mobile phone 130 and the right wireless earbud 120. In some embodiments, the left wireless earbud 110 and the right wireless earbud 120 can receive media packets corresponding to the left channel and the right channel of stereo data from the mobile phone 130, respectively. The mobile phone 130 can be referred to as a wireless master device, and the left wireless earbud 110 and the right wireless earbud 120 can be referred to as wireless slave devices. The left wireless headset 110 and the right wireless headset 120 are peer devices.

[0036] In some embodiments of low-power audio, the mobile phone 130 can establish different connection-oriented isochronous channels with the left wireless headset 110 and the right wireless headset 120, respectively, and each channel uses the logical transmission of the low-power connected isochronous stream (LE Connected Isochronous Stream, LE-CIS) and supports two-way communication. The two CIS form a connected isochronous group (CIG), and each CIS can have multiple CIS instances. In a group, transmit slots (TX slots) and receive slots (RX slots) are scheduled for each CIS, which are called events and subevents. CIS instances in the same CIG have common time reference data, which is used to synchronize the processing of isochronous data for the left wireless headset 110 and the right wireless headset 120. Each event occurs at regular time intervals, also known as isochronous intervals (ISO intervals). ISO intervals can be set to multiples of 1.25 milliseconds, ranging from 5 milliseconds (ms) to 4 seconds. Each event can also be divided into one or more sub-events. Each sub-event includes a transmit slot and a receive slot. In each sub-event in the CIS, mobile phone 130 can transmit a media packet to left wireless headset 110 or right wireless headset 120 during the transmit slot, and left wireless headset 110 or right wireless headset 120 can transmit a response packet to mobile phone 130 during the receive slot. A media packet may be a data packet containing a link layer data protocol data unit (LL data PDU) that carries left or right channel data. A response packet may be an empty packet and contain either an acknowledgment (ACK) or a negative-acknowledgment (NAK). When mobile phone 130 receives an unacknowledged message from left wireless headset 110 or right wireless headset 120, mobile phone 130 may retransmit the media data packet. For example, in one sub-event, if mobile phone 130 detects that the next expected sequence number (NESN) in the reply packet is equal to the sequence number (SN) in the media data packet, it indicates that the reply packet contains an unacknowledged message. Mobile phone 130 then retransmits the media data packet in the next sub-event.On the contrary, it means that the reply data packet contains confirmation information and this media data packet does not need to be retransmitted.

[0037] For example, reference Figure 2 In part A of the LL_CIS_REQ protocol, the mobile phone 130 may configure transmissions with the left wireless headset 110 and the right wireless headset 120 in sequential mode. In sequential mode, the mobile phone 130 may divide each ISO interval into two consecutive time periods: one for transmitting left-channel data to the left wireless headset 110 and the other for transmitting right-channel data to the right wireless headset 120. The mobile phone 130 may send a Link Layer Connection Isochronous Stream Request (LL_CIS_REQ) to the left wireless headset 110 and the right wireless headset 120. The control data field (CtrData Field) may include information such as the ISO interval length, sub-event length, burst number (BN), number of sub-events (NSE), and the time interval between the start times of two adjacent sub-events (Sub_Interval). The BN represents the number of new PDUs (excluding retransmitted PDUs) transmitted by the mobile phone 130 to the left wireless headset 110 or the right wireless headset 120 within an ISO interval. NSE represents the number of sub-events that the mobile phone 130 allocates to the left wireless headset 110 or the right wireless headset 120 in one ISO interval.

[0038] For example, the mobile phone 130 may include the following information in the control data field of the LL_CIS_REQ sent to the left wireless headset 110: BN=2, NSE=8, and Sub_Interval equal to the length of one sub-event. The mobile phone 130 may also include the following information in the control data field of the LL_CIS_REQ sent to the right wireless headset 120: BN=2, NSE=8, and Sub_Interval equal to the length of one sub-event.

[0039] After receiving the LL_CIS_REQ, the left wireless headset 110 or the right wireless headset 120 sends a Link Layer Isochronous Stream Response (LL CIS response, LL_CIS_RSP) to the mobile phone 130. After receiving the LL_CIS_RSP, the mobile phone 130 returns a Link Layer Isochronous Stream Indication (LL_CIS_IND) to the corresponding wireless headset. The LL_CIS_IND indicates the start time of the first sub-event of the first isochronous interval.

[0040] The left wireless headset 110 may receive a start time of the first sub-event (eg Figure 2 Based on the calculations of the A portion of the ISO interval (including the start time of the first sub-event in time slot L#1), BN, NSE, and Sub_Interval, the flush timeout (FT) t214 for PDU L#A is calculated as the end time of the sub-event in time slot L#4, and the flush timeout t216 for PDU L#B is calculated as the end time of the sub-event in time slot L#8. In other words, if the left wireless headset 110 has not successfully received PDU L#A by the time flush timeout t214 is reached, the mobile phone 130 will not retransmit PDU L#A in this ISO interval. Similarly, if the left wireless headset 110 receives PDU L#A in the sub-event in time slot L#4 and has not successfully received PDU L#B by the time flush timeout t216 is reached, the mobile phone 130 will not retransmit PDU L#B in this ISO interval. On the other hand, if the left wireless headset 110 receives PDU L#A in the sub-event including time slot L#2, the two sub-events including L#3 and L#4 originally used for PDU L#A can be used for PDU L#B instead.

[0041] Based on the start time of the first received sub-event, BN, NSE, and Sub_Interval, the right wireless headset 120 can calculate the refresh timeout t224 of PDU R#A as the end time of the sub-event including time slot R#4, and the refresh timeout t226 of PDU R#B as the end time of the sub-event including time slot R#8. In other words, if the left wireless headset 110 or the right wireless headset 120 fails to successfully receive the corresponding PDU before the refresh timeout expires, the mobile phone 130 will not retransmit the PDU.

[0042] refer to Figure 2In part B of the LL_CIS_REQ, mobile phone 130 can configure interleaved mode for transmission with left wireless headset 110 and right wireless headset 120. In each ISO interval in interleaved mode, if mobile phone 130 uses one sub-event to transmit left-channel data to left wireless headset 110, the next sub-event will be used to transmit right-channel data to right wireless headset 120, and vice versa. For example, mobile phone 130 can configure the control data field of the LL_CIS_REQ sent to the left wireless headset 110 to include the following information: BN = 2, NSE = 8, and Sub_Interval equal to the length of two sub-events. Mobile phone 130 can configure the control data field of the LL_CIS_REQ sent to the right wireless headset 120 to include the following information: BN = 2, NSE = 8, and Sub_Interval equal to the length of two sub-events. Upon receiving the LL_CIS_REQ, either left wireless headset 110 or right wireless headset 120 sends an LL_CIS_RSP to mobile phone 130. After receiving the LL_CIS_RSP, mobile phone 130 transmits an LL_CIS_IND to the corresponding wireless headset. The LL_CIS_IND indicates the start time of the first sub-event within the first equal-time interval. When the left wireless headset 110 or the right wireless headset 120 receives the LL_CIS_REQ and LL_CIS_IND, the left wireless headset 110 calculates the end time of the sub-event including time slot L#4, including the refresh timeout t264 of PDU L#A, and the end time of the sub-event including time slot L#8, including the refresh timeout t266 of PDU L#B, based on the received start time of the first sub-event, BN, NSE, and Sub_Interval. The right wireless headset 120 can calculate the refresh timeout t274 of PDU R#A as the end time point of the sub-event including time slot R#4 and the refresh timeout t276 of PDU R#B as the end time point of the sub-event including time slot R#8 based on the start time of the received first sub-event, BN, NSE, and Sub_Interval.

[0043] The parameters such as the start time of the first sub-event, BN, NSE, Sub_Interval, etc. mentioned above may be collectively referred to as transmission and reception configuration information.

[0044] When the left wireless headset 110 or the right wireless headset 120 receives the LL_CIS_REQ, it will issue an LL_CIS_RSP, where the LL_CIS_RSP indicates the start time of the first sub-event of the first proposed isochronous interval. When the mobile phone 130 receives the LL_CIS_RSP from the left wireless headset 110 or the right wireless headset 120, it will issue a link layer connection isochronous stream indication (LLCIS indication, LL_CIS_IND) to the corresponding wireless headset, wherein the control data field may include information about the connection isochronous group synchronization delay (CIG synchronization delay, CIG_Sync_Delay), which is used to allow the left wireless headset 110 and the right wireless headset 120 to start playing the left and right channel data at the same time point respectively. Regardless of whether in sequential mode or interleaved mode, the mobile phone 130 usually sets the connection isochronous group synchronization delay to after the latest refresh timeout in the starting ISO interval of the CIG, for example Figure 2 Time point t230 in part A, or Figure 2 Time point t280 in part B.

[0045] The embodiment of the present invention proposes a CIG early synchronization mechanism, which enables the left wireless headset 110 and the right wireless headset 120 to start playing the left channel and right channel data respectively earlier than the CIG_Sync_Delay. Specifically, whether in sequential mode or interleaved mode, the left wireless headset 110 and the right wireless headset 120 can start playing the left channel and right channel data at the latest refresh timeout of the first PDU in the starting ISO interval of the CIG (also known as the CIG early synchronization point), where Figure 3 As an example, the first PDU for the left wireless headset 110 is PDU L#A, and the first PDU for the right wireless headset 120 is PDU R#A. The latest PDU among PDU L#A and PDU R#A is PDU R#A. Therefore, the latest first PDU is in Figure 3 For example, refer to PDU R#A. Figure 3 In the sequential mode, the early synchronization time point of the connection isochronous group can be set to the end time point t330 of the sub-event including the time slot R#4. Figure 3In part B of the interleaved mode, the early synchronization time point for the connection isochronous group can be set to the end time point t380 of the sub-event including time slot R#4. The left wireless headset 110 and the right wireless headset 120 start playing the data in the media data packet from the early synchronization time point for the connection isochronous group, thereby reducing the delay time of audio playback.

[0046] refer to Figure 4 The system architecture diagram shown in FIG. This system architecture can be provided in either the left wireless headset 110 or the right wireless headset 120 and includes an antenna 410, a radio frequency (RF) module 420, a modulator-demodulator (modem) 430, and a baseband module 440. Baseband module 440 includes a processing unit 442 and a memory 444. Processing unit 442 can be implemented in a variety of ways, such as using general-purpose hardware (e.g., a microcontroller unit, a digital signal processor, a single processor, a multiprocessor with parallel processing capabilities, a graphics processor, or other processors with computing capabilities), and provides the functionality described below when executing software and / or firmware instructions. Memory 444 can be configured as a data buffer to temporarily store control data and media data packets received from the media. Memory 444 can also store data required during execution, such as variables and data tables. Processing unit 442 can be coupled to memory 444 via a bus architecture for data access.

[0047] Under the Bluetooth Low Energy (BLE) channel selection algorithm, mobile phone 130 can transmit the same or different channel maps to left wireless earphone 110 and right wireless earphone 120. Based on the received channel map and a predefined hopping algorithm, left wireless earphone 110 or right wireless earphone 120 can determine which physical channel (e.g., 37) in the 2.4 to 2.48 GHz band to use for data reception or transmission in each time interval (or time slot). RF module 420 can use the designated physical channel for data reception or transmission in each time interval. RF module 420 is configured to receive RF signals from a medium, convert the received signals into baseband signals that can be processed by modem 430, and receive baseband signals from modem 430 and convert them into RF signals that can be transmitted to mobile phone 130. RF module 420 may include a mixer to generate a new frequency based on the input signal and the output signal of a local oscillator. The modulator-demodulator 430 may implement modulation and demodulation techniques such as Gaussian Frequency Shift Keying (GFSK), Differential Quadrature Phase Shift Keying (DQPSK), or Differential Phase Shift Keying (DPSK).

[0048] In order to allow the left wireless headset 110 and the right wireless headset 120 to start playing the left and right channel data respectively before the CIG_Sync_Delay, an embodiment of the present invention proposes a method for receiving and processing media data packets in an isochronous group. This method is implemented by the processing unit 442 in the left wireless headset 110 or the right wireless headset 120 (also referred to as a wireless slave device) when loading and executing appropriate firmware and / or software program code. Figure 5 The detailed steps shown:

[0049] Step S510: Receive information such as BN, NSE, and Sub_Interval from a wireless master device (eg, mobile phone 130). The wireless slave device can obtain the above information from the control data field of the link layer connection isochronous streaming request.

[0050] Step S520: Receive information such as CIG_Sync_Delay from the wireless master device. The wireless slave device can obtain the above information from the control data field of the link layer connection isochronous stream indicator.

[0051] Step S530: Calculate the refresh timeout of the first PDU of the starting ISO interval of the CIG according to BN, NSE and Sub_Interval, and calculate the offset time (offset) of the refresh timeout of the first PDU from the CIG_Sync_Delay. Figure 3 In part A of FIG, the refresh timeout of the first PDU calculated by the left wireless headset 110 is the end time point t214 of the sub-event including time slot L#4, and the calculated offset time is Offset_L1. The refresh timeout of the first PDU calculated by the right wireless headset 120 is the end time point t224 of the sub-event including time slot R#4, and the calculated offset time is Offset_R1. In the example of the staggered mode, refer to Figure 3 In part B of the figure, the left wireless headset 110 calculates the refresh timeout for the first PDU as the end time t264 of the sub-event that includes time slot L#4, and the calculated offset time is Offset_L2. The right wireless headset 120 calculates the refresh timeout for the first PDU as the end time t274 of the sub-event that includes time slot R#4, and the calculated offset time is Offset_R2.

[0052] Step S540: Transmit the calculated offset time to the wireless peer device, so that the wireless peer device can refer to the offset time to calculate the CIG early synchronization time point. For example, a low energy connection (LE) can be established between the left wireless headset 110 and the right wireless headset 120. The left wireless headset 110 transmits its offset time to the right wireless headset 120, and the right wireless headset 120 transmits its offset time to the left wireless headset 110.

[0053] Step S550: Receive the offset time of the wireless peer device from the wireless peer device.

[0054] Step S560: Calculate the CIG early synchronization time point based on CIG_Sync_Delay, the offset time between the device and the wireless peer device. The calculation formula can refer to the following example:

[0055] CIG_Early_Sync_Delay=CIG_Sync_Delay–Minimum(Offset,Offset_Peer)

[0056] Wherein, CIG_Early_Sync_Delay represents the CIG early synchronization time point, CIG_Sync_Delay represents the connection isochronous group synchronization delay received from the wireless master device, Minimum() represents the function of taking the minimum value, Offset represents the offset time calculated in step S530, and Offset_Peer represents the offset time received from the wireless peer device in step S550.

[0057] Step S570: Starting from the CIG early synchronization time point, playing the data carried in the media data packet received from the wireless master device.

[0058] In other embodiments, the mobile phone 130 may directly calculate the refresh timeout of the first PDU of the first ISO interval of the CIG for the left and right wireless headsets 110 and 120 based on the start time of the first sub-event of the first isochronous interval and the BN, NSE, and Sub_Interval used to configure the left and right wireless headsets 110 and 120 (similar to step S530), and calculate the CIG early synchronization time point accordingly (similar to step S560). The mobile phone 130 then transmits the CIG early synchronization time point to the left and right wireless headsets 110 and 120, allowing them to begin playing data carried on the medium received from the mobile phone 130 from the CIG early synchronization time point. In such an embodiment, the left and right wireless headsets 110 and 120 may omit the calculations and information exchange steps S550 to S570.

[0059] When the transmission between the mobile phone 130, the left wireless headset 110 and the right wireless headset 120 is configured in sequential mode or interleaved transmission mode, in actual operation, each ISO interval may contain several fragmented idle slots, which can be further optimized. Figure 6 , assuming that the mobile phone 130 configures each ISO interval as BN=1 and NSE=3 for each wireless slave device (such as the left wireless headset 110 and the right wireless headset 120), the mobile phone 130 successfully transmits the left channel data to the left wireless headset 110 in the first left channel time slot CIS L#1, but does not successfully transmit the right channel data to the right channel headset 120 until the third right channel time slot CIS R#3: Figure 6 In the sequential mode shown in part A of FIG, the ISO interval contains two discontinuous idle times (shaded blocks), one of which contains the left channel time slots CIS L#2 and CIS L#3, and the other is the tail idle slots that are not used for transmission. Figure 6In the interleaved pattern shown in Part B of the figure, the ISO interval contains three discontinuous idle times (shaded squares): the first segment contains the left channel time slot CIS L#2, the second segment contains the left channel time slot CIS L#3, and the third segment is the tail idle time slot that is not originally used for transmission. In a system architecture where Bluetooth coexists with another communication system (such as Wi-Fi) in the same frequency band (approximately 2.4 GHz), if the fragmented idle periods in each ISO interval can be consolidated into a continuous idle period, the other Bluetooth or Wi-Fi communication module can use these idle periods more efficiently.

[0060] The embodiment of the present invention proposes a new wireless transmission mode, which is used to ensure that in each ISO interval, there is only one continuous idle gap in the transmission between the mobile phone 130, the left wireless headset 110 and the right wireless headset 120. Figure 7 The mobile phone 130 can configure the transmission between the left wireless headset 110 and the right wireless headset 120 in parallel mode. In parallel mode, the mobile phone 130 can arrange the time slots allocated to the left wireless headset 110 and the right wireless headset 120 in each ISO interval to partially overlap data transmission and reception. For example, the mobile phone 130 can configure the control data field of the LL_CIS_REQ transmitted to the left wireless headset 110 to carry the following information: BN = 1, NSE = 5, and Sub_Interval equal to the length of one sub-event. The mobile phone 130 can also configure the LL_CIS_IND transmitted to the left wireless headset 110 to carry the start time of the first sub-event of the first ISO interval as t712. This allows the left wireless headset 110 to receive left channel data in RX slots CIS L#1 to CISL#5 (also referred to as RX slots in consecutive sub-events). The mobile phone 130 may cause the control data field of the LL_CIS_REQ transmitted to the right wireless headset 120 to carry the following information: BN=1, NSE=5, and Sub_Interval equal to the length of one sub-event. Furthermore, the LL_CIS_IND transmitted to the right wireless headset 120 may cause the start time of the first sub-event of the first isochronous interval to be t722. This allows the right wireless headset 120 to receive right channel data in RX slots CIS R#1 to CIS R#5 (also referred to as RX slots in consecutive sub-events).

[0061] In the case of the mobile phone 130, the transmission slot CIS L#1 is dedicated to the left wireless headset 110 and can be called the dedicated slot of the left wireless headset 110, and the transmission slot CIS R#5 is dedicated to the right wireless headset 120 and can be called the dedicated slot of the right wireless headset 120. The transmission slots CIS L#2 to CIS L#5 overlap with the transmission slots CIS R#1 to CIS R#4, respectively, and can be called shared slots. Figure 7When describing the timing of mobile phone 130, transmit slots CIS L#2 and CIS R#1 are shown as overlapping. This is simply to illustrate that the timeslots in which they occur can be either transmit slots CIS L#2 or CIS R#1, not both. That is, in these timeslots, mobile phone 130 does not simultaneously transmit PDU L#2 to left wireless headset 110 and PDU R#1 to right wireless headset 120. Instead, if the timeslot is transmit slot CIS L#2, mobile phone 130 transmits PDU L#2 to left wireless headset 110, and if the timeslot is CIS R#1, mobile phone 130 transmits PDU R#1 to right wireless headset 120. Figure 10 Displays the time slots in a shared slot in a specific scheme according to Figure 9 The operation results obtained by operating the media data packet transmission method in the connected isochronous group shown will be described in detail as follows.

[0062] refer to Figure 8 The system architecture diagram shown is shown. This system architecture can be set in the mobile phone 130, including a coexisting Bluetooth subsystem and WiFi subsystem, and an arbiter for coordinating the transmission and reception of radio frequency signals between the Bluetooth subsystem and the WiFi subsystem. The Bluetooth subsystem and the WiFi subsystem can share an antenna 810. In other embodiments, the Bluetooth subsystem and the WiFi subsystem can use independent antennas. The Bluetooth subsystem includes a Bluetooth RF module 820, a Bluetooth modulator-demodulator (modem) 830, and a Bluetooth baseband module 840. The Bluetooth baseband module 840 includes a processing unit 842 and a memory 844. The WiFi subsystem includes a WiFi RF module 850, a WiFi modem 860, and a WiFi baseband module 870. The processing unit 842 can be implemented in a variety of ways, such as using general-purpose hardware (e.g., a microcontroller unit, a digital signal processor, a single processor, a multiprocessor with parallel processing capabilities, a graphics processor, or other processor with computing capabilities), and provides the functions described below when executing software and / or firmware instructions. The memory 844 can be configured with space as a data buffer to temporarily store media data packets to be transmitted to the left wireless headset 110 and the right wireless headset 120 via the medium, as well as response data packets received from the left wireless headset 110 and the right wireless headset 120 via the medium. The memory 844 can also store data required during execution, such as variables, data tables, etc. The processing unit 842 can be coupled to the memory 844 via a bus architecture for accessing data.

[0063] The general functions of the Bluetooth RF module 820, Bluetooth modem 830 and Bluetooth baseband module 840 are similar to those of the RF module 420, modem 430 and baseband module 440. For technical details, please refer to the above related descriptions and will not be repeated for the sake of brevity.

[0064] In order to reduce the fragmented idle gaps in the transmission between the mobile phone 130, the left wireless headset 110, and the right wireless headset 120 in each ISO interval, an embodiment of the present invention proposes a method for transmitting media packets in an isochronous group. This method is implemented by the processing unit 842 in the mobile phone 130 (also known as the wireless master device) when loading and executing appropriate firmware and / or software program code. Figure 9 The detailed steps shown:

[0065] Step S910: An ISO event begins, i.e., the current time reaches the lead time of an ISO interval. The processing unit 842 may generate media data packets to be transmitted (or retransmitted) to the left wireless headset 110 and the right wireless headset 120, and these media data packets may be temporarily stored in the memory 844.

[0066] Step S920: The current time reaches the lead time of the first (next) transmission slot.

[0067] Step S932: Determine whether the slot is a shared slot. If so, the process continues with step S934. Otherwise, the process continues with step S942.

[0068] Step S934: Transmit the corresponding media data packet to the left wireless headset 110 or the right wireless headset 120 based on the diverse information. The diverse information may include the destination of the media data packet to be transmitted. If there is only a media data packet to be transmitted to the left wireless headset 110, the processing unit 842 transmits the media data packet carrying the left channel data to the left wireless headset 110. If there is only a media data packet to be transmitted to the right wireless headset 120, the processing unit 842 transmits the media data packet carrying the right channel data to the right wireless headset 120. If there are media data packets to be transmitted to both the left wireless headset 110 and the right wireless headset 120, the processing unit 842 needs to refer to more information.

[0069] In some embodiments, the anomaly information further includes a historical reception success rate of the physical channel. The processing unit 842 can determine the physical channel used by the left wireless headset 110 or the right wireless headset 120 during this time slot based on the channel map and a predetermined jump-in algorithm, and obtain the historical reception success rate of the physical channel used by the left wireless headset 110 or the right wireless headset 120. The processing unit 842 can then select the physical channel with the higher historical reception success rate to transmit (or retransmit) the corresponding media data packet to the corresponding wireless slave device. For example, when the historical reception success rate of the physical channel used by the left wireless headset 110 during this time slot is higher than or equal to the historical reception success rate of the physical channel used by the right wireless headset 120 during this time slot, the processing unit 842 transmits (or retransmits) the corresponding media data packet to the left wireless headset 110. Otherwise, the processing unit 842 transmits (or retransmits) the corresponding media data packet to the right wireless headset 120.

[0070] In other embodiments, the abnormal information further includes the historical reception success rates of the left wireless headset 110 and the right wireless headset 120. The processing unit 842 may transmit (or retransmit) the corresponding media data packet to the wireless slave device with the higher historical reception success rate. For example, when the historical reception success rate of the left wireless headset 110 is higher than or equal to the historical reception success rate of the right wireless headset 120, the processing unit 842 transmits (or retransmits) the corresponding media data packet to the left wireless headset 110. Conversely, the processing unit 842 transmits (or retransmits) the corresponding media data packet to the right wireless headset 120.

[0071] Step S942: Determine whether the time slot is a left-only slot (the slot dedicated to the left wireless headset 110). If so, the process continues with step S944. Otherwise, the process continues with step S946.

[0072] Step S944: Transmit (or retransmit) the corresponding media data packet to the left wireless headset 110. After transmitting the corresponding media data packet to the left wireless headset 110, the processing unit 842 may check the reply data packet received during the receive slot of this sub-event to determine whether the media data packet has been successfully transmitted to the left wireless headset 110.

[0073] Step S946: Transmit (or retransmit) the corresponding media data packet to the right wireless headset 120. Similar to step S944, the processing unit 842 can check the reply data packet received in the receiving slot of this sub-event to determine whether the media data packet has been successfully transmitted to the right wireless headset 120.

[0074] Step S950: Determine whether all media data packets have been successfully transmitted to the wireless slave device. If so, the process continues with step S960. Otherwise, the process continues with step S920.

[0075] Step S960: End the ISO event. The processing unit 842 may send information to the arbitrator 880 to notify the Bluetooth subsystem that the data transmission and reception operation in the ISO interval has been completed, so that the WiFi subsystem can use the remaining time of the ISO interval to transmit and receive data.

[0076] The transmission configuration between the mobile phone 130, the left wireless headset 110 and the right wireless headset 120 is as follows Figure 7 When the parallel mode is shown, the Figure 9 The method of transmitting media packets in the connected isochronous group shown above allows the fragmented idle periods in each ISO interval to be consolidated into a continuous idle period. Figure 10 , assuming that the mobile phone 130 successfully transmits the left channel data to the left wireless headset 110 in the first left channel time slot CIS L#1, but does not successfully transmit the right channel data to the right channel headset 120 until the third right channel time slot CIS R#3: the mobile phone 130 can dynamically arrange the second to fourth sub-events into the right channel time slots CIS R#1 to CIS R#3, so that Figure 6 The fragmented idle periods in part A can be merged into a continuous idle period.

[0077] While the aforementioned embodiment describes a network formed by a mobile phone 130 (also referred to as a wireless master device), a left wireless headset 110, and a right wireless headset 120 (also referred to as wireless slave devices), this is for illustrative purposes only and is not intended to limit the scope of the present invention. Those skilled in the art can apply the methods for transmitting, receiving, and processing media packets in an isochronous group of connections disclosed herein to wireless audio connections or other similar networks. A wireless audio connection network may include a wireless master device and at least two wireless slave devices. The wireless master device may be, for example, a personal computer, laptop computer, tablet computer, mobile phone, or other electronic product. The wireless slave devices may be, for example, left and right speakers each incorporating a Bluetooth transmission module.

[0078] While the aforementioned embodiments describe a network formed by one wireless master device and two wireless slave devices, this is for illustrative purposes only and is not intended to limit the scope of the present invention. Persons skilled in the art can modify the parallel mode and methods for transmitting, receiving, and processing media data packets in an isochronous group to apply to data with more channels, such as 2.1 or 5.1 channels, after appropriate modification.

[0079] All or part of the steps in the method described in the present invention can be implemented by a computer program, such as a DSP program code. In addition, it can also be implemented in other types of programs as shown above. Those skilled in the art can write the method of the embodiment of the present invention into program code, which will not be described again for the sake of simplicity. The computer program implemented according to the method of the embodiment of the present invention can be stored in an appropriate computer-readable storage medium, such as a DVD, CD-ROM, USB flash drive, hard disk, or can be placed on a network server accessible via a network (e.g., the Internet, or other appropriate media).

[0080] Although Figure 4 、 Figure 8 The components described above are included in the invention, but it does not exclude the use of more additional components to achieve better technical effects without violating the spirit of the invention. Figure 5 、 Figure 9 The flowchart is executed in the specified order. However, those skilled in the art may modify the order of the steps without violating the spirit of the invention, provided that the same effect is achieved. Therefore, the present invention is not limited to the sequence described above. Furthermore, those skilled in the art may also combine several steps into one step, or perform more steps sequentially or in parallel in addition to the steps described above, and the present invention should not be limited thereby.

[0081] The above description is only a preferred embodiment of the present invention, but it is not intended to limit the scope of the present invention. Anyone familiar with this technology can make further improvements and changes on this basis without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined by the claims of this application.

Claims

1. A method for receiving and processing a medium data packet in an isochronous group, executed by a processing unit in a first wireless slave device, characterized in that: The method for receiving and processing media data packets in a connection isochronous group comprises: Calculating a refresh timeout of a first protocol data unit of an isochronous interval of the connected isochronous group according to the transmission and reception configuration information received from the wireless master device; calculating a first offset time between the refresh timeout and a connection isochronous group synchronization delay, wherein the connection isochronous group synchronization delay is obtained from the wireless master device; Calculating a connection isochronous group early synchronization time point according to the first offset time and a second offset time received from a second wireless slave device, wherein the connection isochronous group early synchronization time point is earlier than the connection isochronous group synchronization delay; and Playing the data in the media data packet received from the wireless master device starts from the early synchronization time point of the connected isochronous group.

2. The method for receiving and processing media data packets in an isochronous group according to claim 1, wherein: Also includes: The first offset time is transmitted to the second wireless slave device, so that the second wireless slave device calculates the early synchronization time point of the connection isochronous group with reference to the first offset time.

3. The method for receiving and processing media data packets in an isochronous group according to claim 1, wherein: The transmission and reception configuration information is obtained from a control data field in a link layer connection isochronous stream request sent by the wireless master device, and the connection isochronous group synchronization delay is obtained from a control data field in a link layer connection isochronous stream indication sent by the wireless master device.

4. The method for receiving and processing media data packets in a connection isochronous group according to claim 1, wherein: The calculation formula for the early synchronization time point of the connection isochronous group is: CIG_Early_Sync_Delay=CIG_Sync_Delay-Minimum(Offset,Offset_Peer), CIG_Early_Sync_Delay represents the early synchronization time point of the connection isochronous group, CIG_Sync_Delay represents the synchronization delay of the connection isochronous group, Minimum() represents the function of taking the minimum value, Offset represents the first offset time, and Offset_Peer represents the second offset time.

5. A computer-readable storage medium for storing a computer program executable by a processing unit of a first wireless slave device, characterized in that: When the computer program is executed by the processing unit of the first wireless slave device, the method for receiving and processing a media packet in an isochronous group connection according to any one of claims 1 to 4 is implemented.

6. A device for receiving and processing media data packets in an isochronous group, characterized in that: Include: A processing unit is configured to implement the method for receiving and processing media data packets in a connection isochronous group as claimed in any one of claims 1 to 4 when executing a computer program.

Citation Information

Patent Citations

  • Audio synchronous playing method and device, loudspeaker equipment and wireless earphone

    CN110290412A

  • Bluetooth communication method and electronic device

    CN112740728A