WO2023000565A1 - 双发模式下丢包数据纠错方法、装置、设备及系统 - Google Patents

双发模式下丢包数据纠错方法、装置、设备及系统 Download PDF

Info

Publication number
WO2023000565A1
WO2023000565A1 PCT/CN2021/132494 CN2021132494W WO2023000565A1 WO 2023000565 A1 WO2023000565 A1 WO 2023000565A1 CN 2021132494 W CN2021132494 W CN 2021132494W WO 2023000565 A1 WO2023000565 A1 WO 2023000565A1
Authority
WO
WIPO (PCT)
Prior art keywords
playback device
bluetooth playback
bluetooth
link
audio data
Prior art date
Application number
PCT/CN2021/132494
Other languages
English (en)
French (fr)
Inventor
黄紫明
黄海涛
张启明
胡向军
罗广君
朱嘉俊
Original Assignee
珠海市杰理科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海市杰理科技股份有限公司 filed Critical 珠海市杰理科技股份有限公司
Publication of WO2023000565A1 publication Critical patent/WO2023000565A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of Bluetooth audio communication, and in particular to a method, device, device and system for error correction of packet loss data in dual transmission mode.
  • the Bluetooth SIG has added the Bluetooth Low Energy (BLE) audio support function (LE audio) to the Bluetooth protocol version 5.2.
  • BLE Bluetooth Low Energy
  • LE audio audio support function
  • the Bluetooth SIG has added the Bluetooth Low Energy (BLE) audio support function (LE audio) to the Bluetooth protocol version 5.2.
  • BLE Bluetooth Low Energy
  • dual wireless audio communication such as dual wireless Bluetooth headsets, dual wireless Bluetooth speakers and other scenarios, because the description of the Bluetooth low energy protocol is implemented by using the dual transmission of audio source devices, and each link only transmits the data belonging to its own
  • the mono audio data of the playback device will inevitably have the problem of shortening the dual wireless audio communication distance due to environmental changes and human interference, which makes the standard Bluetooth network communication not meet the application requirements of dual wireless audio.
  • FIG. 1 is a schematic diagram of a dual-wireless audio network structure realized by a dual-transmission mode in the prior art.
  • dual-wireless audio realized by dual-transmission mode of audio source devices it includes three Bluetooth devices, one of which is a Bluetooth audio source device (Source, such as mobile phone, laptop, etc.), and two simultaneous playing Bluetooth devices (TWS Sink1 and TWS Sink2, such as Bluetooth dual headsets, dual speakers, etc.).
  • a Bluetooth audio source device Source
  • TWS Sink1 and TWS Sink2 such as Bluetooth dual headsets, dual speakers, etc.
  • the dual wireless audio application of the dual-mode BLE protocol adopts the Bluetooth low energy standard protocol, and the Bluetooth audio source device (source) establishes audio communication synchronization links with two Bluetooth playback devices respectively.
  • CIS1, CIS2 links for audio data exchange, but there is no connection between the two Bluetooth playback devices and they do not know the existence of the other party. And reduce the audio bit rate by optimizing audio codec and transmitting only monophonic audio data belonging to its playback device on each link.
  • This method has lower power consumption than the existing dual wireless audio method built by classic Bluetooth However, it depends entirely on the communication quality between the Bluetooth audio source device and each Bluetooth playback device, and is more likely to be restricted by factors such as environmental changes and human interference, resulting in the short distance of dual wireless audio communication and affecting user experience.
  • Existing dual wireless Bluetooth audio devices generally use the classic Bluetooth protocol to change to obtain a new audio communication method to meet the needs of dual wireless audio communication.
  • several methods used on classic Bluetooth include pure monitoring and pure forwarding. , double sending and monitoring plus forwarding.
  • the Bluetooth SIG has added an audio function to the BLE part of the Bluetooth 5.2 protocol, and uses a dual-transmission method for dual wireless audio transmission.
  • the Bluetooth audio source device is only connected to one of the Bluetooth playback devices.
  • the information monitors the audio data of the Bluetooth audio source device and plays it synchronously to realize the dual wireless Bluetooth audio function.
  • the Bluetooth audio source device is only connected to one of the Bluetooth playback devices. After the two Bluetooth playback devices are connected, the audio data of the Bluetooth audio source device is directly forwarded to another Bluetooth playback device for synchronous playback. Realize dual wireless Bluetooth audio function.
  • the Bluetooth audio source device is connected to two Bluetooth playback devices separately, and the audio data is transmitted to each Bluetooth playback device for synchronous playback, realizing the dual wireless Bluetooth audio function.
  • This method requires the Bluetooth audio device to support the dual-transmission function, so there are problems in mass promotion, which affects product competitiveness.
  • the monitoring and forwarding method used in classic Bluetooth is to integrate the pure monitoring method and the pure forwarding method together, so that when the communication of the monitoring link becomes poor, the reliability of the communication can be optimized by forwarding, and the dual wireless Bluetooth can be improved. Audio application scenarios.
  • the wireless audio communication method used in BLE is similar to the dual transmission method used in classic Bluetooth, as shown in Figure 1, but BLE optimizes the audio codec and only transmits the mono audio belonging to its playback device on each link Data and other means reduce the audio bit rate, increase the communication bandwidth, reduce the overall power consumption, and regulate the behavior of the device from the perspective of standard protocols. Compared with the classic Bluetooth private double transmission method, it can be promoted in the future and improve product competition. force.
  • the main purpose of the present invention is to provide a packet loss data error correction method, device, equipment and system in the dual-transmission mode, so as to reduce the error caused by the environment, human body and other factors interfering with the link in the dual-transmission mode. The effect of poor data reception performance.
  • the embodiment of the present invention discloses a packet loss data error correction method in dual-transmission mode, which is used to control the data interaction between the first Bluetooth playback device and the second Bluetooth playback device, wherein the first Bluetooth playback device and the second bluetooth playback device and the sound source device constitute a bluetooth communication network under the dual-issue mode, wherein the sound source device establishes a first communication link with the first bluetooth playback device, and the sound source device establishes a second communication link with the second bluetooth playback device , so that the audio source device communicates with the first Bluetooth playback device and the second Bluetooth playback device independently for audio data communication, the packet loss data error correction method includes:
  • Step S100 driving the first Bluetooth playback device and the second Bluetooth playback device to establish an information interaction link, and the first Bluetooth playback device and the second Bluetooth playback device perform communication information interaction through the information interaction link;
  • Step S200 control the first Bluetooth playback device to exchange link information with the second Bluetooth playback device through the information exchange link, so that the first Bluetooth playback device monitors the second communication link according to the link information configuration provided by the second Bluetooth playback device
  • the second bluetooth playback device monitors the first communication link according to the link information configuration provided by the first bluetooth device
  • Step S300 control the first Bluetooth playback device to receive the first current audio data sent by the audio source device to the first Bluetooth playback device at the anchor point of the local link sub-event, during which the second Bluetooth playback device monitors the first current audio data;
  • the machine link sub-event anchor point is the time point when the audio source device sends audio data to the first bluetooth playback device through the first communication link;
  • Step S400 when the first current audio data is not received at the anchor point of the local link sub-event, control the first Bluetooth playback device to transmit the information interaction link to the second
  • the second bluetooth playback device sends a first forwarding request, so that the second bluetooth playback device forwards the first current audio data
  • Step S500 when the agreed anchor point arrives, control the first bluetooth playback device to receive the first current audio data forwarded by the second bluetooth playback device according to the first forwarding request.
  • Step S320 control the first Bluetooth playback device to monitor the second current audio data sent by the audio source device to the second Bluetooth playback device at the anchor point of the monitoring link sub-event;
  • the anchor point of the monitoring link sub-event is that the audio source device passes through the second communication link The time point when the audio data is sent to the second bluetooth playback device;
  • Step S420 control the first bluetooth playback device to open the receiving window for receiving the forwarding request at a preset time interval after monitoring the anchor point of the link sub-event, so as to receive the second forwarding request sent by the second bluetooth playback device through the information interaction link, to Forwarding the second current audio data to the second Bluetooth playback device according to the second forwarding request.
  • step S420 when the second forwarding request is received in the receiving window, the method further includes:
  • the first bluetooth playback device When the agreed anchor point arrives, the first bluetooth playback device is latched into the forwarding state, and the second current audio data is forwarded.
  • step S420 when the second forwarding request is not received in the receiving window, the method further includes:
  • the preset time interval is the sum of the maximum length of audio data currently sent by the audio source device and the frame interval of adjacent data packets.
  • the embodiment of the present invention discloses a packet loss data error correction device in dual-transmission mode, which is used to control the data interaction between the first Bluetooth playback device and the second Bluetooth playback device, wherein the first Bluetooth playback device and the second bluetooth playback device and the sound source device constitute a bluetooth communication network under the dual-issue mode, wherein the sound source device establishes a first communication link with the first bluetooth playback device, and the sound source device establishes a second communication link with the second bluetooth playback device.
  • the packet loss data error correction device includes:
  • the information interaction link establishment module is used to drive the first Bluetooth playback device and the second Bluetooth playback device to establish an information interaction link, and the first Bluetooth playback device and the second Bluetooth playback device perform communication information interaction through the information interaction link;
  • the link information interaction module is used to control the first Bluetooth playback device to perform link information interaction with the second Bluetooth playback device through the information exchange link, so that the first Bluetooth playback device is configured according to the link information provided by the second Bluetooth playback device Listening to the second communication link, the second bluetooth playback device monitors the first communication link according to the link information configuration provided by the first bluetooth device;
  • the first receiving module is used to control the first bluetooth playback device to receive the first current audio data sent by the audio source device to the first bluetooth playback device at the local link sub-event anchor point, during which the second bluetooth playback device monitors the first current audio data Audio data;
  • the local link sub-event anchor point is the time point when the audio source device sends audio data to the first Bluetooth playback device through the first communication link;
  • the request sending module is used to control the first bluetooth playback device to pass the information interaction link at a preset time interval after the local link sub-event anchor point when the first current audio data is not received at the local link sub-event anchor point Sending a first forwarding request to the second bluetooth playback device, so that the second bluetooth playback device forwards the first current audio data;
  • the second receiving module is configured to control the first Bluetooth playback device to receive the first current audio data forwarded by the second Bluetooth playback device according to the first forwarding request when the agreed anchor point arrives.
  • the monitoring module is used to control the first Bluetooth playback device to monitor the second current audio data sent by the audio source device to the second Bluetooth playback device at the monitoring link sub-event anchor point;
  • the monitoring link sub-event anchor point is that the audio source device passes the second communication The time point when the link sends audio data to the second bluetooth playback device;
  • the window opening module is used to control the first bluetooth playback device to open the receiving window for receiving the forwarding request at a preset time interval after monitoring the link sub-event anchor point, so as to receive the second forwarding sent by the second bluetooth playback device through the information interaction link Request to forward the second current audio data to the second Bluetooth playback device according to the second forwarding request.
  • the window opening module when receiving the second forwarding request in the receiving window, it also includes:
  • the first bluetooth playback device When the agreed anchor point arrives, the first bluetooth playback device is latched into the forwarding state, and the second current audio data is forwarded.
  • the window opening module when the second forwarding request is not received in the receiving window, it also includes:
  • the preset time interval is the sum of the maximum length of audio data currently sent by the audio source device and the frame interval of adjacent data packets.
  • the embodiment of the present invention discloses a Bluetooth playback device, comprising:
  • a processor configured to implement the method disclosed in the first aspect above.
  • the embodiment of the present invention discloses an audio signal processing system, comprising: a first Bluetooth playback device and a second Bluetooth playback device; the first Bluetooth playback device and the second Bluetooth playback device are a pair of audio playback devices,
  • the first Bluetooth playback device has the device disclosed in the second aspect above;
  • the second Bluetooth playback device has the device disclosed in the second aspect above.
  • the audio source device is used to provide audio data to the first bluetooth playback device and the second bluetooth playback device.
  • the embodiment of the present invention discloses a computer-readable storage medium on which a computer program is stored, and the computer program stored in the storage medium is used to be executed to implement the method disclosed in the first aspect above.
  • the embodiment of the present invention discloses a chip of an audio device, which has an integrated circuit thereon, and the integrated circuit is designed to implement the method disclosed in the first aspect above.
  • the first Bluetooth playback device can interact with the second Bluetooth playback device through an information exchange link to exchange link information.
  • the second Bluetooth playback device is configured to monitor the first communication link according to the link information provided by the first Bluetooth device, thus, in the dual mode , the first Bluetooth playback device and the second Bluetooth playback device can monitor each other's audio data; receive the first current audio data sent by the audio source device to the first Bluetooth playback device at the anchor point of the local link sub-event, during which, the second The bluetooth playback device monitors the first current audio data, thus, the second bluetooth playback device can also receive the audio data sent by the audio source device to the first bluetooth playback device; When the current audio data is present, send the first forwarding request to the second Bluetooth playback device through the information interaction link at a preset time interval after the local link sub-event anchor point, and receive the second Bluetooth play
  • the first forwarding request forwards the first current audio data.
  • the first forwarding request in the dual transmission mode, when the first current audio data is not received, the first forwarding request is sent to the second Bluetooth playing device to receive the second forwarding request forwarded by the second Bluetooth playing device according to the first forwarding request.
  • a current audio data so that in the dual-transmission mode, in the case of poor link data reception performance of the first Bluetooth playback device caused by interference from factors such as the environment and human body, the first current audio data can be forwarded through the second Bluetooth playback device , and the first Bluetooth playback device and the second Bluetooth playback device have different positions in space, therefore, better space diversity gain can be obtained, and the influence of poor signal quality caused by factors such as environment and human body can be reduced.
  • the method of forwarding in other links avoids communication problems after single link interference and improves the communication quality of dual Bluetooth playback devices.
  • Fig. 1 is a schematic diagram of the structure of a dual wireless audio network realized by a dual transmission mode in the prior art
  • FIG. 2 is a schematic structural diagram of a bluetooth communication network in a dual-transmission mode disclosed in this embodiment
  • FIG. 3 is a flow chart of a method for correcting packet loss data in a dual-transmission mode disclosed in this embodiment
  • FIG. 4 is a schematic diagram of a Bluetooth communication network communication sequence in a dual-transmission mode disclosed in this embodiment
  • FIG. 5 is a schematic structural diagram of a packet loss data error correction device disclosed in this embodiment in a dual-transmission mode.
  • this embodiment discloses a packet loss data error correction method in the dual-transmission mode, please refer to FIG. 2, It is a schematic structural diagram of a bluetooth communication network in a dual mode disclosed in this embodiment.
  • the first bluetooth playback device 21, the second bluetooth playback device 22 and the sound source device 20 constitute a bluetooth communication network in a dual mode, wherein the sound source device 20 establishes the first communication link CIS 1 with the first bluetooth playback device 21, and the sound source device 20 establishes the second communication link CIS 2 with the second bluetooth playback device 22, so that the sound source device 20 is respectively with the first bluetooth playback device 21 and
  • the second Bluetooth playback device 22 performs audio data communication independently, specifically, the sound source device 20 provides respective audio data to the first Bluetooth playback device 21 and the second Bluetooth playback device 22 in time-sharing.
  • first Bluetooth playback device 21 and the second Bluetooth playback device 22 as an example of Bluetooth earphones for illustration.
  • the first Bluetooth playback device 21 and the second Bluetooth playback device 22 can also be Bluetooth Speakers and other devices with Bluetooth and audio playback functions.
  • first Bluetooth playback device 21 and the second Bluetooth playback device 22 are paired playback devices, therefore, the roles of the first Bluetooth playback device 21 and the second Bluetooth playback device 22 can be interchanged, that is, " “First” and “Second” are only to distinguish two bluetooth playback devices, for example, when the first bluetooth playback device 21 is the left earphone, the second bluetooth playback device 22 is the right earphone; when the first bluetooth playback device 21 is In the case of the right earphone, the second Bluetooth playback device 22 is the left earphone.
  • FIG. 3 is a flow chart of a method for correcting packet loss data in dual-transmission mode disclosed in this embodiment, which is used to control the data interaction between the first Bluetooth playback device 21 and the second Bluetooth playback device 22.
  • the packet loss data error correction method includes: step S100, step S200, step S310, step S410 and step S500, wherein:
  • Step S100 driving the first Bluetooth playback device to establish an information exchange link CTRL with the second Bluetooth playback device.
  • Fig. 1 and Fig. 2 in the present embodiment, on the basis of the dual wireless audio network structure under the traditional dual mode shown in Fig. 1, establish between the first Bluetooth playback device 21 and the second Bluetooth playback device 22
  • the information exchange link CTRL, the first Bluetooth playback device 21 and the second Bluetooth playback device 22 perform communication information exchange through the information exchange link CTRL.
  • the audio data received by the other party may also be forwarded to each other through the information exchange link CTRL.
  • Step S200 controlling the first Bluetooth playback device to exchange link information with the second Bluetooth playback device through an information exchange link.
  • the two parties can exchange link information through the information exchange link CTRL, thereby enabling the first Bluetooth playback
  • the device 21 monitors the second communication link CIS2 according to the link information configuration provided by the second Bluetooth playback device 22, and the second Bluetooth playback device 22 monitors the first communication link CIS1 according to the link information configuration provided by the first Bluetooth device 21.
  • the first Bluetooth playback device 21 and the second Bluetooth playback device 22 can monitor the audio data of the other party respectively, and can forward the audio data of the other party through the information interaction link CTRL, and realize the dual wireless monitoring and forwarding mode of the BLE protocol.
  • Bluetooth audio network structure
  • the local link sub-event anchor controls the first Bluetooth playback device to receive the first current audio data sent by the audio source device to the first Bluetooth playback device, during which the second Bluetooth playback device monitors the first current audio data.
  • the Bluetooth communication network under the dual-issue mode includes a local link sub-event anchor point and a monitoring link sub-event anchor point, please refer to FIG. 2, with TWS Sink1 as the first Bluetooth playback device 21 and TWS Sink2 as During the second bluetooth playback device 22, the so-called local link sub-event anchor point is the time point when the audio source device 20 sends audio data to the first bluetooth playback device 21 by the first communication link CIS 1 (marked as CIS in Fig.
  • FIG. 4 is a schematic diagram of a bluetooth communication network communication sequence in a dual-mode mode disclosed in this embodiment.
  • CIS2 subevent1 anchor and “CIS2 subevent2 anchor” represent the second bluetooth playback device 22 (such as TWS Sink2) two native link sub-event anchor points, at this time, for the first Bluetooth playback device 21, it is the monitoring link sub-event anchor point.
  • the sound source device 20 sends the first bluetooth playback device 21 to the first bluetooth playback device 21 by the first communication link CIS 1 (such as TWS Sink1) sends audio data 400, and at this moment, the second bluetooth playback device 22 (such as TWS Sink2) listens to the audio data 400;
  • the device 20 sends the audio data 401 to the second Bluetooth playback device 22 (such as TWS Sink2) through the second communication link CIS 2.
  • the first Bluetooth playback device 21 (such as TWS Sink1) monitors the audio data 401.
  • Step S400 when the first current audio data is not received at the anchor point of the local link sub-event, control the first Bluetooth playback device to transmit the information exchange link CTRL to The second Bluetooth playback device sends a first forwarding request.
  • TWS Sink2 as an example, that is, the audio source device 20 (Source) sends audio data 401 to TWS Sink2 through the CIS2 link, and TWS Sink1 monitors the audio data 401 sent by the audio source device (Source) 20, The receiving performance of the TWS Sink2 device deteriorates due to environmental changes or human interference, and cannot receive the local CIS link audio data.
  • the TWS Sink2 device cannot receive the local CIS2 link audio data 401 at the CIS2 subevent1 anchor position (such as Mark 443), the first Bluetooth playback device 21 (such as TWS Sink2) sends the first forwarding request Rreq to the second Bluetooth playback device 22 (such as TWS Sink1) at a preset time interval after the local link sub-event anchor point, So that the second bluetooth playback device forwards the first current audio data.
  • the first Bluetooth playback device 21 such as TWS Sink2
  • the second Bluetooth playback device 22 such as TWS Sink1 at a preset time interval after the local link sub-event anchor point
  • the preset time interval is the sum of the maximum length MPTm of audio data currently sent by the audio source device and the frame interval TIFS of adjacent data packets. That is, the first Bluetooth playback device (such as TWS Sink2) will send the first forwarding request Rreq after the local link sub-event anchor point MPTm+TIFS time, wherein: MPTm is the longest audio data packet sent by the audio source device The length is converted, specifically, the length of the longest audio data packet can be known through the header information of the audio data packet; the frame interval of adjacent data packets refers to the time interval from the end of the previous packet to the beginning of the next packet, TIFS is the frame interval specified by the Bluetooth protocol of 150us.
  • the maximum length MPTm to the frame interval TIFS of adjacent data packets as the preset time interval, it can prevent the data packets from being too long, resulting in no interval to put additional packets.
  • Step S500 when the agreed anchor point arrives, control the first bluetooth playback device to receive the first current audio data forwarded by the second bluetooth playback device according to the first forwarding request.
  • the second Bluetooth playback device 22 (such as TWS Sink1) will forward the corresponding data packet 423 in the anchor point of the next monitoring link sub-event, and the first Bluetooth playback device 21 ( For example, TWS Sink2) prepares to receive the corresponding data packet 423 forwarded by the second Bluetooth playback device 22 (such as TWS Sink1) at the anchor point of the next monitoring link sub-event.
  • the first communication link CIS 1, the second communication link CIS 2 and the information exchange link CTRL preferably work in the same frequency band.
  • the audio source device resends the first current audio data based on the failure to receive the ACK response, as shown in CIS2 subevent2 in Figure 4
  • the anchor anchor point position the sound source device 20 (Source) will retransmit the corresponding first current audio data while the second Bluetooth playback device 22 (such as TWS Sink1) forwards the corresponding data packet 423;
  • the first Bluetooth playback device 21 can simultaneously receive the first current audio data forwarded by the second Bluetooth playback device 22, and the first current audio data retransmitted by the sound source device 20, that is, the first Bluetooth playback device 21 can The retransmitted/forwarded first current audio data is received from the two devices, thereby reducing the probability of data reception failing again due to interference of a single link, and further improving the success rate of receiving the first current audio data.
  • the packet loss data error correction method in the dual-issue mode also includes:
  • Step S320 at the monitoring link sub-event anchor point, control the first Bluetooth playback device to monitor the second current audio data sent by the audio source device to the second Bluetooth playback device.
  • the audio source device 20 sends the second current audio data (as indicated by mark 400) to the second Bluetooth playback device 22 (such as TWS Sink1) Shown);
  • the first Bluetooth playback device 21 monitors the second current audio data.
  • Step S420 control the first Bluetooth playback device to open a receiving window for receiving forwarding requests at a preset time interval after monitoring the link sub-event anchor point.
  • the preset time interval opens the receiving window (such as mark 441) to receive the forwarding request, thus, when the second bluetooth playback device 22 (such as TWS Sink1)
  • the second Bluetooth playback device 22 (such as TWS Sink1) can send the second forwarding request to the receiving window of the first Bluetooth playback device 21 (such as TWS Sink2) through the information interaction link CTRL
  • the first Bluetooth playback device 21 may receive the second forwarding request sent by the second Bluetooth playback device through the information exchange link CTRL, so as to forward the second current audio data to the second Bluetooth playback device according to the second forwarding request.
  • the second forwarding request when receiving the second forwarding request in the receiving window (such as mark 441), when the agreed anchor point arrives, forward the second current audio data to the second bluetooth playback device 22 (such as TWS Sink1); On the contrary, when the second forwarding request is not received in the receiving window (such as mark 441), the second current audio data need not be forwarded.
  • the second bluetooth playback device 22 such as TWS Sink1
  • step S420 when the second forwarding request is received in the receiving window, it also includes: controlling the first Bluetooth playback device to latch into the forwarding state when the agreed anchor point arrives, and forwarding Second current audio data.
  • step S420 when the second forwarding request is not received in the receiving window, the method further includes: controlling the first bluetooth playback device to return to step S310 or step S320.
  • the first Bluetooth playback device 21 (as the monitoring device of the second Bluetooth playback device 22) receives the forwarding request Rreq of the second Bluetooth playback device 22, it latches the forwarding state for forwarding in the next monitoring link sub-event Corresponding to the data packet, the latched forwarding status flag is used to judge whether to continue to receive/monitor the link audio data packet or to forward the previous audio data packet at the agreed anchor point. If the latched forwarding status is forwarding, the first A bluetooth playback device 21 (as the listening device of the second bluetooth playback device 22 ) forwards at the agreed anchor point, and vice versa receives/receives.
  • the mark 422 position latched the forwarding state according to the information contained in the forwarding request 444, and then the audio data packet was forwarded at the next monitoring anchor point 423 position; the mark 441 position did not receive the forwarding request, and then the next The monitoring anchor point 442 continues to monitor the next audio data.
  • Case 1 The current time point is the anchor point of the local link sub-event.
  • the local link of the TWS Sink1 device is the CIS1 link
  • the local link of the TWS Sink2 device is the CIS2 link
  • the Source device sends audio data packets 400 or 401 to the TWS Sink1 device and TWS Sink2 device respectively.
  • the TWS Sink1 device starts to receive local link audio data 400 at the CIS1 sub-event anchor point
  • the TWS Sink2 device starts to receive local machine link audio data 401 at the CIS2 sub-event anchor point.
  • the TWS device cannot receive the local link audio data.
  • the TWS Sink2 device cannot receive the local link audio data 401 at the position of the CIS2 subevent1 anchor (marked in Figure 4 443), the TWS Sink2 device will send a forwarding request Rreq to the TWS Sink1 device after the MPTm+TIFS time after the CIS2 subevent1 anchor point (shown by mark 444 in Figure 4).
  • the TWS device judges whether the current time point is to monitor the sub-event anchor point of the CIS link, such as whether the TWS Sink1 device is at the sub-event anchor point position of the CIS2 link, or whether the TWS Sink2 device is at the sub-event anchor point position of the CIS1 link.
  • the monitoring link of the TWS Sink1 device is the CIS2 link
  • the monitoring link of the TWS Sink2 device is the CIS1 link
  • the TWS Sink1 device and TWS Sink2 device listen to the audio data packet 401 or 400 sent by the Source device respectively.
  • the TWS Sink1 device starts to receive and monitor the CIS link audio data 401 at the CIS2 sub-event anchor point, and the TWS Sink2 device starts to receive and monitor the CIS link audio data 400 at the CIS1 sub-event anchor point.
  • the TWS device listens to the audio data packet, it will open the receiving window to prepare to receive the forwarding request after the MPTm+TIFS time from the monitoring link sub-event anchor point, as shown in Figure 4, as the TWS Sink1 monitoring device TWS Sink2 mark 441 , as shown in TWS Sink1 mark 422 of the listening device TWS Sink2;
  • the monitoring device TWS Sink2 as TWS Sink1 does not receive a forwarding request at mark 441, and the monitoring device TWS Sink2 decides to continue at the anchor point of the next monitoring link (as shown in mark 442) Monitor the audio source data sent by the audio source device to TWS Sink1.
  • the monitoring device TWS Sink1 as TWS Sink2 receives the forwarding request 444 at mark 422, and the monitoring device TWS Sink1 judges whether it has listened to the corresponding audio data packet according to the information contained in the forwarding request packet , it is decided to forward the corresponding audio data 423 at the anchor point of the next monitoring link.
  • This embodiment also discloses a packet loss data error correction device in dual-transmission mode, which is used to control the data interaction between the first Bluetooth playback device and the second Bluetooth playback device, wherein the first Bluetooth playback device and the second Bluetooth playback device
  • the playback device and the audio source device form a Bluetooth communication network under dual-issue mode, wherein the audio source device establishes a first communication link CIS 1 with the first Bluetooth playback device, and the audio source device establishes a second communication link CIS 2 with the second Bluetooth playback device , so that the audio source device independently communicates with the first Bluetooth playback device and the second Bluetooth playback device for audio data.
  • a packet loss data error correction device in dual-transmission mode, which is used to control the data interaction between the first Bluetooth playback device and the second Bluetooth playback device, wherein the first Bluetooth playback device and the second Bluetooth playback device
  • the playback device and the audio source device form a Bluetooth communication network under dual-issue mode, wherein the audio source device establishes a first communication link CIS 1 with
  • the packet loss data error correction device includes: an information interaction link establishment module 100, a link information interaction module 200, The first receiving module 310, the request sending module 410 and the second receiving module 500, wherein:
  • the information interaction link establishment module 100 is used to drive the first Bluetooth playback device and the second Bluetooth playback device to establish an information interaction link CTRL, and the first Bluetooth playback device and the second Bluetooth playback device perform communication information interaction through the information interaction link CTRL;
  • the link information interaction module 200 is used to control the first Bluetooth playback device to perform link information interaction with the second Bluetooth playback device through the information exchange link CTRL, so that the first Bluetooth playback device can perform link information according to the link information provided by the second Bluetooth playback device.
  • Configure and monitor the second communication link CIS 2 and the second Bluetooth playback device configures and monitors the first communication link CIS 1 according to the link information provided by the first Bluetooth device;
  • the first receiving module 300 is used to control the first bluetooth playback device to receive the first current audio data sent by the audio source device to the first bluetooth playback device at the local link sub-event anchor point, during which the second bluetooth playback device monitors the first current audio data.
  • Audio data the local link sub-event anchor point is the time point when the audio source device sends audio data to the first bluetooth playback device through the first communication link CIS 1;
  • the request sending module 400 is used to control the first bluetooth playback device to pass the information interaction link at a preset time interval after the local link sub-event anchor point when the first current audio data is not received at the local link sub-event anchor point Road CTRL sends the first forwarding request to the second bluetooth playback device, so that the second bluetooth playback device forwards the first current audio data;
  • the second receiving module 500 is configured to control the first Bluetooth playback device to receive the first current audio data forwarded by the second Bluetooth playback device according to the first forwarding request when the agreed anchor point arrives.
  • it also includes:
  • the monitoring module is used to control the first Bluetooth playback device to monitor the second current audio data sent by the audio source device to the second Bluetooth playback device at the monitoring link sub-event anchor point;
  • the monitoring link sub-event anchor point is that the audio source device passes the second communication The time point when the link CIS 2 sends audio data to the second Bluetooth playback device;
  • the window opening module is used to control the first bluetooth playback device to open the receiving window for receiving the forwarding request at a preset time interval after monitoring the link sub-event anchor point, so as to receive the second bluetooth playback device sent by the second bluetooth playback device through the information interaction link CTRL
  • the forwarding request is used to forward the second current audio data to the second Bluetooth playback device according to the second forwarding request.
  • the window opening module when receiving the second forwarding request in the receiving window, it also includes:
  • the first bluetooth playback device When the agreed anchor point arrives, the first bluetooth playback device is latched into the forwarding state, and the second current audio data is forwarded.
  • the window opening module when the second forwarding request is not received in the receiving window, it also includes:
  • the preset time interval is the sum of the maximum length of audio data currently sent by the audio source device and the frame interval of adjacent data packets.
  • This embodiment also discloses a bluetooth playback device, which can be a device with wireless data interaction functions such as a bluetooth earphone or a bluetooth speaker. method.
  • This embodiment also discloses an audio signal processing system, including: a first Bluetooth playback device and a second Bluetooth playback device; the first Bluetooth playback device and the second Bluetooth playback device are a pair of audio playback devices, such as a pair of left and right earphones , Another example is the pair of left and right speakers.
  • the first Bluetooth playback device has the device disclosed in the above embodiment; the second Bluetooth playback device has the device disclosed in the above embodiment.
  • the audio signal processing system further includes: a sound source device, and the sound source device is used to provide audio data to the first bluetooth playback device and the second bluetooth playback device.
  • the audio source device may be, for example, a mobile phone, a tablet, a notebook computer, a music player, and the like that have the function of sending audio data via Bluetooth.
  • This embodiment also discloses a computer-readable storage medium on which a computer program is stored, and the feature is that the computer program stored in the storage medium is used to be executed to realize the method disclosed in the above-mentioned embodiment.
  • This embodiment also discloses a chip of an audio device, which has an integrated circuit on it, and the integrated circuit is designed to implement the methods disclosed in the above embodiments.
  • the first Bluetooth playback device can interact with the second Bluetooth playback device through an information exchange link to exchange link information.
  • the second Bluetooth playback device is configured to monitor the first communication link according to the link information provided by the first Bluetooth device, thus, in the dual mode , the first Bluetooth playback device and the second Bluetooth playback device can monitor each other's audio data; receive the first current audio data sent by the audio source device to the first Bluetooth playback device at the anchor point of the local link sub-event, during which, the second The bluetooth playback device monitors the first current audio data, thus, the second bluetooth playback device can also receive the audio data sent by the audio source device to the first bluetooth playback device;
  • the preset time interval sends the first forwarding request to the second Bluetooth playback device through the information interaction link, and when the agreed anchor point
  • the first forwarding request is sent to the second Bluetooth playing device to receive the second forwarding request forwarded by the second Bluetooth playing device according to the first forwarding request.
  • One current audio data so that in the double-transmission mode, the first Bluetooth playback device can transmit the first current audio data through the second Bluetooth playback device when the link data reception performance of the first Bluetooth playback device is poor due to interference from factors such as the environment and human body , and the first Bluetooth playback device and the second Bluetooth playback device have different positions in space, therefore, better space diversity gain can be obtained, and the influence of poor signal quality caused by factors such as environment and human body can be reduced.
  • the method of forwarding in other links avoids communication problems after single link interference and improves the communication quality of dual Bluetooth playback devices.
  • step numbers (letters or numbers) in the present invention to refer to some specific method steps is only for the purpose of convenience and brevity in description, rather than limiting these method steps with letters or numbers order of. Those skilled in the art can understand that the sequence of relevant method steps should be determined by the technology itself and should not be unduly limited due to the existence of step numbers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种双发模式下丢包数据纠错方法、装置、设备及系统,其中,所述方法包括:步骤S100,驱使第一蓝牙播放设备与第二蓝牙播放设备建立信息交互链路;步骤S200,控制第一蓝牙播放设备与第二蓝牙播放设备进行链路信息交互;步骤S300,控制第一蓝牙播放设备接收音源设备发送给第一蓝牙播放设备的第一当前音频数据;步骤S400,在本机链路子事件锚点之后预设时间间隔向第二蓝牙播放设备发送第一转发请求;步骤S500,接收第二蓝牙播放设备转发的第一当前音频数据。可以获得较优的空间分集增益,减小了环境、人体等因素所带来的信号质量差的影响,通过在其他链路中转发的方式来避免单一链路干扰后的通信问题,改善双蓝牙播放设备的通信质量。

Description

双发模式下丢包数据纠错方法、装置、设备及系统 技术领域
本申请涉及蓝牙音频通信技术领域,尤其涉及一种双发模式下丢包数据纠错方法、装置、设备及系统。
背景技术
蓝牙技术联盟在蓝牙协议5.2版本中加入了低功耗蓝牙(BLE)支持音频的功能(LE audio)。在双无线音频通信的应用中,如双无线蓝牙耳机、双无线蓝牙音箱等场景,由于低功耗蓝牙协议描述是使用音源设备双发的方式来实现,以及在每条链路仅传输属于其播放设备的单声道音频数据,必然会存在因环境变化和人体干扰等导致双无线音频通信距离变短的问题,使得标准蓝牙网络通信不满足双无线音频的应用需求。
请参考图1,为现有技术的一种双发模式实现的双无线音频网络结构示意图,对于使用音源设备双发方式来实现的双无线音频,包括三个蓝牙设备,其中一个为蓝牙音源设备(Source,如手机,笔记本电脑等),和两个同时播放的蓝牙设备(TWS Sink1和TWS Sink2,如蓝牙双耳机,双音箱等)。区别于传统蓝牙协议中的接收/监听模式,双发模式BLE协议的双无线音频应用,采用低功耗蓝牙标准协议,蓝牙音源设备(source)分别与两个蓝牙播放设备建立音频通信同步链路(CIS1、CIS2链路)进行音频数据交换,而两个蓝牙播放设备之间没有进行连接且并不知道对方的存在。并通过优化音频的编解码以及在每条链路仅传输属于其播放设备的单声道音频数据等手段降低音频码率,此方式比现有经典蓝牙构建的双无线音频方式拥有更低功耗的优势,但却要完全依赖蓝牙音源设备与每个蓝牙播放设备的通信质量,就会更容易受到环境变化和人体干扰等因素的制约,导致双无线音频通信距离短的问题,影响用户体验。
现有的双无线蓝牙音频设备,一般采用经典蓝牙协议进行变化得到一种新的音频通信方式来满足双无线音频通信需求,目前在经典蓝牙上 使用的几种方法有纯监听方式、纯转发方式、双发以及监听加转发方式。蓝牙技术联盟在蓝牙5.2协议BLE部分加入了音频功能,采用双发的方式进行双无线音频的传输。
在经典蓝牙中使用的纯监听方式,蓝牙音源设备只与其中一个蓝牙播放设备连接,两个蓝牙播放设备连接后把与蓝牙音源设备的连接信息通知到另外一个蓝牙播放设备,使其可以通过这些信息监听到蓝牙音源设备的音频数据,并进行同步播放,实现双无线蓝牙音频功能。
在经典蓝牙中使用的纯转发方式,蓝牙音源设备只与其中一个蓝牙播放设备连接,两个蓝牙播放设备连接后把与蓝牙音源设备的音频数据直接转发到另外一个蓝牙播放设备,进行同步播放,实现双无线蓝牙音频功能。
在经典蓝牙中使用的双发方式,蓝牙音源设备与两个蓝牙播放设备分别进行连接,并把音频数据分别传送到每个蓝牙播放设备进行同步播放,实现双无线蓝牙音频功能。此方式需要蓝牙音源设备支持双发功能,所以大量推广存在问题,影响产品竞争力。
在经典蓝牙中使用的监听加转发方式,则是把纯监听方式与纯转发方式整合在一起,使得在监听链路通信变差时可以通过转发的方式来优化通信的可靠性,提高双无线蓝牙音频的应用场景。
在BLE使用的无线音频通信方法与经典蓝牙上使用的双发方式类似,如图1所示,但BLE通过优化音频的编解码以及在每条链路仅传输属于其播放设备的单声道音频数据等手段降低音频码率,提高通信带宽,以降低整体功耗,并从标准协议的角度规范设备使用的行为,比经典蓝牙私有的双发方式在未来可以有更大的推广,提高产品竞争力。
对于双发模式BLE协议的双无线音频应用,在标准的低功耗蓝牙协议规定中,存在因环境变化和人体干扰等因素,如人的头部在此双无线音频通信网络中的位置,干扰了CIS1或CIS2的通信,使TWS Sink1或者TWS Sink2接收音频数据的性能变差,导致双无线音频通信出现距离变短或卡顿问题,影响用户体验。
因此,针对双发模式下,如何减少因环境、人体等因素干扰链路所导致的数据接收性能差的影响成为亟待解决的技术问题。
发明内容
基于上述现状,本发明的主要目的在于提供一种双发模式下丢包数据纠错方法、装置、设备及系统,以针对双发模式下,减少因环境、人体等因素干扰链路所导致的数据接收性能差的影响。
为实现上述目的,本发明采用的技术方案如下:
第一方面,本发明实施例公开了一种双发模式下丢包数据纠错方法,用于控制第一蓝牙播放设备和第二蓝牙播放设备之间的数据交互,其中,第一蓝牙播放设备和第二蓝牙播放设备与音源设备构成双发模式下的蓝牙通信网络,其中,音源设备与第一蓝牙播放设备建立第一通信链路,音源设备与第二蓝牙播放设备建立第二通信链路,以使音源设备分别与第一蓝牙播放设备和第二蓝牙播放设备独立进行音频数据通信,丢包数据纠错方法包括:
步骤S100,驱使第一蓝牙播放设备与第二蓝牙播放设备建立信息交互链路,第一蓝牙播放设备和第二蓝牙播放设备通过信息交互链路进行通信信息交互;
步骤S200,控制第一蓝牙播放设备通过信息交互链路与第二蓝牙播放设备进行链路信息交互,以使第一蓝牙播放设备根据第二蓝牙播放设备提供的链路信息配置监听第二通信链路,第二蓝牙播放设备根据第一蓝牙设备提供的链路信息配置监听第一通信链路;
步骤S300,在本机链路子事件锚点控制第一蓝牙播放设备接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据;本机链路子事件锚点为音源设备通过第一通信链路向第一蓝牙播放设备发送音频数据的时间点;
步骤S400,当在本机链路子事件锚点未接收到第一当前音频数据时,控制第一蓝牙播放设备在本机链路子事件锚点之后预设时间间隔通过信息交互链路向第二蓝牙播放设备发送第一转发请求,以使第二蓝牙播放设备转发第一当前音频数据;
步骤S500,在约定的锚点到来时控制第一蓝牙播放设备接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。
可选地,还包括:
步骤S320,在监听链路子事件锚点控制第一蓝牙播放设备监听音源设备发送给第二蓝牙播放设备的第二当前音频数据;监听链路子事件锚点为音源设备通过第二通信链路向第二蓝牙播放设备发送音频数据的时间点;
步骤S420,在监听链路子事件锚点之后预设时间间隔控制第一蓝牙播放设备开启接收转发请求的接收窗口,以通过信息交互链路接收第二蓝牙播放设备发送的第二转发请求,以根据第二转发请求向第二蓝牙播放设备转发第二当前音频数据。
可选地,在步骤S420中,当在接收窗口接收到第二转发请求时,还包括:
在约定的锚点到来时将第一蓝牙播放设备锁存为转发状态,并转发第二当前音频数据。
可选地,在步骤S420中,当在接收窗口未接收到第二转发请求时,还包括:
控制第一蓝牙播放设备返回执行步骤S310或步骤S320。
可选地,预设时间间隔为音源设备当前发送音频数据的最大长度与相邻数据包的帧间隔之和。
第二方面,本发明实施例公开了一种双发模式下丢包数据纠错装置,用于控制第一蓝牙播放设备和第二蓝牙播放设备之间的数据交互,其中,第一蓝牙播放设备和第二蓝牙播放设备与音源设备构成双发模式下的蓝牙通信网络,其中,音源设备与第一蓝牙播放设备建立第一通信链路,音源设备与第二蓝牙播放设备建立第二通信链路,以使音源设备分别与第一蓝牙播放设备和第二蓝牙播放设备独立进行音频数据通信,丢包数据纠错装置包括:
信息交互链路建立模块,用于驱使第一蓝牙播放设备与第二蓝牙播放设备建立信息交互链路,第一蓝牙播放设备和第二蓝牙播放设备通过信息交互链路进行通信信息交互;
链路信息交互模块,用于控制第一蓝牙播放设备通过信息交互链路与第二蓝牙播放设备进行链路信息交互,以使第一蓝牙播放设备根据第 二蓝牙播放设备提供的链路信息配置监听第二通信链路,第二蓝牙播放设备根据第一蓝牙设备提供的链路信息配置监听第一通信链路;
第一接收模块,用于在本机链路子事件锚点控制第一蓝牙播放设备接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据;本机链路子事件锚点为音源设备通过第一通信链路向第一蓝牙播放设备发送音频数据的时间点;
请求发送模块,用于当在本机链路子事件锚点未接收到第一当前音频数据时,控制第一蓝牙播放设备在本机链路子事件锚点之后预设时间间隔通过信息交互链路向第二蓝牙播放设备发送第一转发请求,以使第二蓝牙播放设备转发第一当前音频数据;
第二接收模块,用于在约定的锚点到来时控制第一蓝牙播放设备接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。
可选地,还包括:
监听模块,用于在监听链路子事件锚点控制第一蓝牙播放设备监听音源设备发送给第二蓝牙播放设备的第二当前音频数据;监听链路子事件锚点为音源设备通过第二通信链路向第二蓝牙播放设备发送音频数据的时间点;
窗口开启模块,用于在监听链路子事件锚点之后预设时间间隔控制第一蓝牙播放设备开启接收转发请求的接收窗口,以通过信息交互链路接收第二蓝牙播放设备发送的第二转发请求,以根据第二转发请求向第二蓝牙播放设备转发第二当前音频数据。
可选地,在窗口开启模块中,当在接收窗口接收到第二转发请求时,还包括:
在约定的锚点到来时将第一蓝牙播放设备锁存为转发状态,并转发第二当前音频数据。
可选地,在窗口开启模块中,当在接收窗口未接收到第二转发请求时,还包括:
控制第一蓝牙播放设备返回运行第一接收模块或监听模块。
可选地,预设时间间隔为音源设备当前发送音频数据的最大长度与相邻数据包的帧间隔之和。
第三方面,本发明实施例公开了一种蓝牙播放设备,包括:
处理器,用于实现上述第一方面公开的方法。
第四方面,本发明实施例公开了一种音频信号处理系统,包括:第一蓝牙播放设备和第二蓝牙播放设备;第一蓝牙播放设备和第二蓝牙播放设备为一对音频播放设备对,
第一蓝牙播放设备具有上述第二方面公开的装置;
第二蓝牙播放设备具有上述第二方面公开的装置。
可选地,还包括:
音源设备,用于向第一蓝牙播放设备和第二蓝牙播放设备提供音频数据。
第五方面,本发明实施例公开了一种计算机可读存储介质,其上存储有计算机程序,存储介质中存储的计算机程序用于被执行实现上述第一方面公开的方法。
第六方面,本发明实施例公开了一种音频设备的芯片,其上具有集成电路,集成电路被设计成用于实现上述第一方面公开的方法。
【有益效果】
依据本发明实施例公开的一种双发模式下丢包数据纠错方法、装置、设备及系统,通过信息交互链路与第二蓝牙播放设备进行链路信息交互,可以使第一蓝牙播放设备根据第二蓝牙播放设备提供的链路信息配置监听第二通信链路,第二蓝牙播放设备根据第一蓝牙设备提供的链路信息配置监听第一通信链路,由此,在双发模式下,第一蓝牙播放设备和第二蓝牙播放设备可以相互监听对方的音频数据;在本机链路子事件锚点接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据,由此,第二蓝牙播放设备也可以接收到音源设备发送给第一蓝牙播放设备的音频数据;当在本机链路子事件锚点未接收到第一当前音频数据时,在本机链路子事件锚点之后预设时间间隔通过信息交互链路向第二蓝牙播放设备发送第一转发请求,在约定的锚点到来时接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。本发明实施例中,在双发模式下,当未接收到第一当前音频数据时,通过向第二蓝牙播放设备发送第一转发请求, 接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据,使得在双发模式下,在环境、人体等因素干扰导致的第一蓝牙播放设备的链路数据接收性能差的情况下,可以通过第二蓝牙播放设备转发第一当前音频数据,而第一蓝牙播放设备和第二蓝牙播放设备在空间上的位置不同,因此,可以获得较优的空间分集增益,减小了环境、人体等因素所带来的信号质量差的影响,通过在其他链路中转发的方式来避免单一链路干扰后的通信问题,改善双蓝牙播放设备的通信质量。
本发明的其他有益效果,将在具体实施方式中通过具体技术特征和技术方案的介绍来阐述,本领域技术人员通过这些技术特征和技术方案的介绍,应能理解所述技术特征和技术方案带来的有益技术效果。
附图说明
以下将参照附图对根据本发明实施例进行描述。图中:
图1为现有技术的一种双发模式实现的双无线音频网络结构示意图;
图2为本实施例公开的一种双发模式下的蓝牙通信网络结构示意图;
图3为本实施例公开的一种双发模式下丢包数据纠错方法流程图;
图4为本实施例公开的一种双发模式下的蓝牙通信网络通信时序示意图;
图5为本实施例公开的一种双发模式下丢包数据纠错装置结构示意图。
具体实施方式
以下基于实施例对本申请进行描述,但是本申请并不仅仅限于这些实施例。在下文对本申请的细节描述中,详尽描述了一些特定的细节部分,为了避免混淆本申请的实质,公知的方法、过程、流程、元件并没有详细叙述。
此外,本领域普通技术人员应当理解,在此提供的附图都是为了说 明的目的,并且附图不一定是按比例绘制的。
除非上下文明确要求,否则整个说明书和权利要求书中的“包括”、“包含”等类似词语应当解释为包含的含义而不是排他或穷举的含义;也就是说,是“包括但不限于”的含义。
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
为了针对双发模式下,减少因环境、人体等因素干扰链路所导致的数据接收性能差的影响,本实施例公开了一种双发模式下丢包数据纠错方法,请参考图2,为本实施例公开的一种双发模式下的蓝牙通信网络结构示意图,第一蓝牙播放设备21和第二蓝牙播放设备22与音源设备20构成双发模式下的蓝牙通信网络,其中,音源设备20与第一蓝牙播放设备21建立第一通信链路CIS 1,音源设备20与第二蓝牙播放设备22建立第二通信链路CIS 2,以使音源设备20分别与第一蓝牙播放设备21和第二蓝牙播放设备22独立进行音频数据通信,具体而言,音源设备20分时向第一蓝牙播放设备21和第二蓝牙播放设备22提供各自的音频数据。
本实施例中,以第一蓝牙播放设备21和第二蓝牙播放设备22为蓝牙耳机为例进行说明,在具体实施过程中,第一蓝牙播放设备21和第二蓝牙播放设备22也可以是蓝牙音箱等具备蓝牙、音频播放功能的设备。
需要说明的是,第一蓝牙播放设备21和第二蓝牙播放设备22为成对的播放设备,因此,第一蓝牙播放设备21和第二蓝牙播放设备22的角色可以互换,也就是,“第一”、“第二”仅仅是为了区分两个蓝牙播放设备,例如,当第一蓝牙播放设备21为左耳机时,第二蓝牙播放设备22为右耳机;当第一蓝牙播放设备21为右耳机时,第二蓝牙播放设备22为左耳机。
请参考图3,为本实施例公开的一种双发模式下丢包数据纠错方法流程图,用于控制第一蓝牙播放设备21和和第二蓝牙播放设备22之间的数据交互,该丢包数据纠错方法包括:步骤S100、步骤S200、步骤S310、步骤S410和步骤S500,其中:
步骤S100,驱使第一蓝牙播放设备与第二蓝牙播放设备建立信息交互链路CTRL。请参考图1和图2,本实施例中,在图1所示传统双发模式下的双无线音频网络结构的基础上,在第一蓝牙播放设备21和第二蓝牙播放设备22之间建立信息交互链路CTRL,第一蓝牙播放设备21和第二蓝牙播放设备22通过信息交互链路CTRL进行通信信息交互。本实施例中,还可以通过信息交互链路CTRL相互进行转发对方接收的音频数据。
步骤S200,控制第一蓝牙播放设备通过信息交互链路与第二蓝牙播放设备进行链路信息交互。请参考图2,在第一蓝牙播放设备21和第二蓝牙播放设备22建立信息交互链路CTRL之后,双方可以通过信息交互链路CTRL进行链路信息交互,由此,可以使第一蓝牙播放设备21根据第二蓝牙播放设备22提供的链路信息配置监听第二通信链路CIS2,第二蓝牙播放设备22根据第一蓝牙设备21提供的链路信息配置监听第一通信链路CIS 1。从而实现了第一蓝牙播放设备21和第二蓝牙播放设备22分别监听对方的音频数据,并可以通过信息交互链路CTRL转发对方的音频数据,实现了BLE协议双发监听加转发方式的双无线蓝牙音频网络结构。
步骤S300,在本机链路子事件锚点控制第一蓝牙播放设备接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据。本实施例中,双发模式下的蓝牙通信网络包括本机链路子事件锚点和监听链路子事件锚点,请参考图2,以TWS Sink1为第一蓝牙播放设备21、TWS Sink2为第二蓝牙播放设备22时,所称本机链路子事件锚点为音源设备20通过第一通信链路CIS 1向第一蓝牙播放设备21发送音频数据的时间点(如图2中标记CIS 1的实线所示);所称监听链路子事件锚点为音源设备20通过第二通信链路CIS 2向第二蓝牙播放设备22发送音频数据的时间点(如图2中标记CIS 2的实线所示)。请参考图4,为本实施例公开的一种双发模式下的蓝牙通信网络通信时序示意图,“CIS1 subevent1 anchor”、“CIS1 subevent2 anchor”表示了第一蓝牙播放设备21(例如TWS Sink1)的两个本机链路子事件锚点,此时,对于第二蓝牙播放设备22,其为监听链路子事件锚点;“CIS2 subevent1 anchor”、“CIS2 subevent2 anchor”表示了第二蓝牙播放设备22(例如TWS Sink2)的两个本机链路子事件锚点,此时,对于第一蓝牙播放设备21,其为监听链路子事件锚点。
请参考图2和图4,对于第一蓝牙播放设备21(例如TWS Sink1),在本机链路子事件锚点时,音源设备20通过第一通信链路CIS 1向第一蓝牙播放设备21(例如TWS Sink1)发送音频数据400,此时,第二蓝牙播放设备22(例如TWS Sink2)监听该音频数据400;对于第二蓝牙播放设备22,在本机链路子事件锚点时,音源设备20通过第二通信链路CIS 2向第二蓝牙播放设备22(例如TWS Sink2)发送音频数据401,此时,第一蓝牙播放设备21(例如TWS Sink1)监听该音频数据401。
步骤S400,当在本机链路子事件锚点未接收到第一当前音频数据时,控制第一蓝牙播放设备在本机链路子事件锚点之后预设时间间隔通过信息交互链路CTRL向第二蓝牙播放设备发送第一转发请求。请参考图4,以TWS Sink2为本机为例,也就是,音源设备20(Source)通过CIS2链路向TWS Sink2发送音频数据401,TWS Sink1监听音源设备(Source)20发送的音频数据401,TWS Sink2设备由于环境变化或者人体等干扰而导致接收性能变差,接收不到本机CIS链路音频数据,如TWS Sink2设备在CIS2 subevent1 anchor位置接收不到本机CIS2链路音频数据401(如标记443所示),第一蓝牙播放设备21(如TWS Sink2)在本机链路子事件锚点之后预设时间间隔向第二蓝牙播放设备22(如TWS Sink1)发送第一转发请求Rreq,以使第二蓝牙播放设备转发第一当前音频数据。
在可选的实施例中,预设时间间隔为音源设备当前发送音频数据的最大长度MPTm与相邻数据包的帧间隔TIFS之和。也就是,第一蓝牙播放设备(如TWS Sink2)将在本机链路子事件锚点后MPTm+TIFS时间后发送第一转发请求Rreq,其中:MPTm为音源设备发送的最长音频数据包的长度换算而来,具体地,可以通过音频数据包的包头信息来获知最长音频数据包的长度;相邻数据包的帧间隔是指前一包的结尾到下一包的开始的时间间隔,TIFS为蓝牙协议规定的帧间隔150us。本实施例中,通过在相邻数据包的帧间隔TIFS上加最大长度MPTm来作为预 设时间间隔,可以防止数据包过长,导致没有间隔放附加包。
步骤S500,在约定的锚点到来时控制第一蓝牙播放设备接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。请参考图4,第二蓝牙播放设备22(如TWS Sink1)在接收到第一转发请求Rreq后,会下一监听链路子事件锚点中转发对应数据包423,第一蓝牙播放设备21(如TWS Sink2)在下一监听链路子事件锚点准备接收第二蓝牙播放设备22(如TWS Sink1)转发的对应数据包423。
在可选的实施例中,第一通信链路CIS 1、第二通信链路CIS 2和信息交互链路CTRL优选工作在同一频段。
按标准协议,第一蓝牙播放设备没有收到音频数据时,不会向音源设备发送ACK应答,因此,音源设备基于未收到ACK应答,重发第一当前音频数据,如图4中CIS2 subevent2 anchor锚点位置,音源设备20(Source)在第二蓝牙播放设备22(如TWS Sink1)转发对应数据包423的同时,也会重发对应的第一当前音频数据;
由此,第一蓝牙播放设备21可以同时接收第二蓝牙播放设备22转发的第一当前音频数据,以及,音源设备20重发的第一当前音频数据,也就是,第一蓝牙播放设备21可以从两个设备接收重发/转发的第一当前音频数据,从而,减少了因单一链路被干扰所导致的数据接收再次失败的概率,进一步提高了第一当前音频数据接收的成功率。
为了改善第二蓝牙播放设备的通信质量,在可选的实施例中,请参考图3,双发模式下丢包数据纠错方法还包括:
步骤S320,在监听链路子事件锚点控制第一蓝牙播放设备监听音源设备发送给第二蓝牙播放设备的第二当前音频数据。请参考图4,在监听链路子事件锚点(CIS1 subevent1 anchor)到来时,音源设备20(Source)向第二蓝牙播放设备22(如TWS Sink1)发送第二当前音频数据(如标记400所示);在此期间,第一蓝牙播放设备21(如TWS Sink2)监听该第二当前音频数据。
步骤S420,在监听链路子事件锚点之后预设时间间隔控制第一蓝牙播放设备开启接收转发请求的接收窗口。请参考图4,在监听链路子事件锚点(CIS1 subevent1 anchor)之后预设时间间隔开启接收转发请求的 接收窗口(如标记441),从而,当第二蓝牙播放设备22(如TWS Sink1)没有接收到第二当前音频数据时,第二蓝牙播放设备22(如TWS Sink1)可以通过信息交互链路CTRL向第一蓝牙播放设备21(如TWS Sink2)的该接收窗口发送第二转发请求,第一蓝牙播放设备21可以通过信息交互链路CTRL接收第二蓝牙播放设备发送的第二转发请求,以根据第二转发请求向第二蓝牙播放设备转发第二当前音频数据。具体地,当在该接收窗口(如标记441)接收到第二转发请求时,则在约定的锚点到来时,向第二蓝牙播放设备22(如TWS Sink1)转发该第二当前音频数据;反之,当在该接收窗口(如标记441)没有接收到第二转发请求时,则无需转发该第二当前音频数据。
在可选的实施例中,在步骤S420中,当在接收窗口接收到第二转发请求时,还包括:在约定的锚点到来时控制第一蓝牙播放设备将锁存为转发状态,并转发第二当前音频数据。在步骤S420中,当在接收窗口未接收到第二转发请求时,还包括:控制第一蓝牙播放设备返回执行步骤S310或步骤S320。
具体地,第一蓝牙播放设备21(作为第二蓝牙播放设备22的监听设备)接收到第二蓝牙播放设备22转发请求Rreq后,锁存转发状态,用于在下一监听链路子事件中转发对应数据包,此锁存的转发状态标志用于判断在约定的锚点是继续接收/监听链路音频数据包还是进行上一音频数据包的转发,若锁存的转发状态为转发,则第一蓝牙播放设备21(作为第二蓝牙播放设备22的监听设备)在此约定的锚点进行转发,反之则为接收/接收。
如图4所示,标记422位置根据转发请求444所包含的信息锁存了转发状态,此后在下一监听锚点423位置转发了音频数据包;标记441位置没有接收到转发请求,此后再下一监听锚点442位置继续监听下一音频数据。
为便于本领域技术人员理解,以下对图4分两种情况进行描述:
情况一:当前时间点是本机链路子事件锚点。
如图2和图4所示,TWS Sink1设备的本机链路为CIS1链路,TWS Sink2设备的本机链路为CIS2链路,所以当TWS Sink1设备时间点到达 CIS1 subevent1 anchor子事件锚点或者TWS Sink2设备时间点到达CIS2 subevent1 anchor子事件锚点,Source设备发送音频数据包400或者401分别传送至TWS Sink1设备和TWS Sink2设备。TWS Sink1设备在CIS1子事件锚点开始接收本机链路音频数据400,TWS Sink2设备在CIS2子事件锚点开始接收本机链路音频数据401。
由于环境变化或者人体等干扰而导致接收性能变差,TWS设备接收不到本机链路音频数据,如TWS Sink2设备在CIS2 subevent1 anchor位置接收不到本机链路音频数据401(图4中标记443所示),TWS Sink2设备将在CIS2 subevent1 anchor点后MPTm+TIFS时间后向TWS Sink1设备发送转发请求Rreq(图4中标记444所示)。
情况二:当前时间点是监听链路子事件锚点。
TWS设备判断当前时间点是否是监听CIS链路子事件锚点,如TWS Sink1设备是否在CIS2链路的子事件锚点位置,或者TWS Sink2设备是否在CIS1链路的子事件锚点位置。
如图4所示,TWS Sink1设备的监听链路为CIS2链路,TWS Sink2设备的监听链路为CIS1链路,所以当TWS Sink1设备时间点到达CIS2 subevent1 anchor子事件锚点或者TWS Sink2设备时间点到达CIS1 subevent1 anchor子事件锚点,TWS Sink1设备和TWS Sink2设备分别监听Source设备发送音频数据包401或者400。
TWS Sink1设备在CIS2子事件锚点开始接收监听CIS链路音频数据401,TWS Sink2设备在CIS1子事件锚点开始接收监听CIS链路音频数据400。
若TWS设备监听到音频数据包,将在监听链路子事件锚点开始算起MPTm+TIFS时间后打开接收窗口准备接收转发请求,如图4,作为TWS Sink1的监听设备TWS Sink2标记441所示,作为TWS Sink2的监听设备TWS Sink1标记422所示;
若在此位置没有接收到转发请求包,作为TWS Sink1的监听设备TWS Sink2在标记441没有接收到转发请求,监听设备TWS Sink2决定在下一监听链路锚点位置(如标记442所示位置)继续监听音源设备的发送给TWS Sink1的音源数据。
若在此位置接收到转发请求包,作为TWS Sink2的监听设备TWS Sink1在标记422接收到了转发请求444,监听设备TWS Sink1根据此转发请求包所包含的信息判断是否监听到了此对应的音频数据包,决定在下一监听链路锚点位置转发对应音频数据423。
本实施例还公开了一种双发模式下丢包数据纠错装置,用于控制第一蓝牙播放设备和第二蓝牙播放设备之间的数据交互,其中,第一蓝牙播放设备和第二蓝牙播放设备与音源设备构成双发模式下的蓝牙通信网络,其中,音源设备与第一蓝牙播放设备建立第一通信链路CIS 1,音源设备与第二蓝牙播放设备建立第二通信链路CIS 2,以使音源设备分别与第一蓝牙播放设备和第二蓝牙播放设备独立进行音频数据通信。请参考图5,为本实施例公开的一种双发模式下丢包数据纠错装置结构示意图,该丢包数据纠错装置包括:信息交互链路建立模块100、链路信息交互模块200、第一接收模块310、请求发送模块410和第二接收模块500,其中:
信息交互链路建立模块100用于驱使第一蓝牙播放设备与第二蓝牙播放设备建立信息交互链路CTRL,第一蓝牙播放设备和第二蓝牙播放设备通过信息交互链路CTRL进行通信信息交互;
链路信息交互模块200用于控制第一蓝牙播放设备通过信息交互链路CTRL与第二蓝牙播放设备进行链路信息交互,以使第一蓝牙播放设备根据第二蓝牙播放设备提供的链路信息配置监听第二通信链路CIS 2,第二蓝牙播放设备根据第一蓝牙设备提供的链路信息配置监听第一通信链路CIS 1;
第一接收模块300用于在本机链路子事件锚点控制第一蓝牙播放设备接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据;本机链路子事件锚点为音源设备通过第一通信链路CIS 1向第一蓝牙播放设备发送音频数据的时间点;
请求发送模块400用于当在本机链路子事件锚点未接收到第一当前音频数据时,控制第一蓝牙播放设备在本机链路子事件锚点之后预设时间间隔通过信息交互链路CTRL向第二蓝牙播放设备发送第一转发请 求,以使第二蓝牙播放设备转发第一当前音频数据;
第二接收模块500用于在约定的锚点到来时控制第一蓝牙播放设备接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。
在可选的实施例中,还包括:
监听模块,用于在监听链路子事件锚点控制第一蓝牙播放设备监听音源设备发送给第二蓝牙播放设备的第二当前音频数据;监听链路子事件锚点为音源设备通过第二通信链路CIS 2向第二蓝牙播放设备发送音频数据的时间点;
窗口开启模块,用于在监听链路子事件锚点之后预设时间间隔控制第一蓝牙播放设备开启接收转发请求的接收窗口,以通过信息交互链路CTRL接收第二蓝牙播放设备发送的第二转发请求,以根据第二转发请求向第二蓝牙播放设备转发第二当前音频数据。
在可选的实施例中,在窗口开启模块中,当在接收窗口接收到第二转发请求时,还包括:
在约定的锚点到来时将第一蓝牙播放设备锁存为转发状态,并转发第二当前音频数据。
在可选的实施例中,在窗口开启模块中,当在接收窗口未接收到第二转发请求时,还包括:
控制第一蓝牙播放设备返回运行第一接收模块或监听模块。
在可选的实施例中,预设时间间隔为音源设备当前发送音频数据的最大长度与相邻数据包的帧间隔之和。
本实施例还公开了一种蓝牙播放设备,该蓝牙播放设备可以是例如蓝牙耳机或蓝牙音箱等具有无线数据交互功能的设备,该蓝牙播放设备包括:处理器,用于实现上述实施例公开的方法。
本实施例还公开了一种音频信号处理系统,包括:第一蓝牙播放设备和第二蓝牙播放设备;第一蓝牙播放设备和第二蓝牙播放设备为一对音频播放设备对,例如左右耳机对,再如左右音箱对。本实施例中,第一蓝牙播放设备具有上述实施例公开的装置;第二蓝牙播放设备具有上述实施例公开的装置。
在可选的实施例中,音频信号处理系统还包括:音源设备,音源设 备用于向第一蓝牙播放设备和第二蓝牙播放设备提供音频数据。音源设备可以是例如手机、平板、笔记本电脑、音乐播放器等具有蓝牙发送音频数据功能的设备。
本实施例还公开了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,存储介质中存储的计算机程序用于被执行实现上述实施例公开的方法。
本实施例还公开了一种音频设备的芯片,其上具有集成电路,集成电路被设计成用于实现上述实施例公开的方法。
依据本发明实施例公开的一种双发模式下丢包数据纠错方法、装置、设备及系统,通过信息交互链路与第二蓝牙播放设备进行链路信息交互,可以使第一蓝牙播放设备根据第二蓝牙播放设备提供的链路信息配置监听第二通信链路,第二蓝牙播放设备根据第一蓝牙设备提供的链路信息配置监听第一通信链路,由此,在双发模式下,第一蓝牙播放设备和第二蓝牙播放设备可以相互监听对方的音频数据;在本机链路子事件锚点接收音源设备发送给第一蓝牙播放设备的第一当前音频数据,期间,第二蓝牙播放设备监听第一当前音频数据,由此,第二蓝牙播放设备也可以接收到音源设备发送给第一蓝牙播放设备的音频数据;当在本机链路子事件锚点未接收到第一当前音频数据时,在本机链路子事件锚点之后预设时间间隔通过信息交互链路向第二蓝牙播放设备发送第一转发请求,在约定的锚点到来时接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据。本发明实施例中,在双发模式下,当未接收到第一当前音频数据时,通过向第二蓝牙播放设备发送第一转发请求,接收第二蓝牙播放设备根据第一转发请求转发的第一当前音频数据,使得在双发模式下,在环境、人体等因素干扰导致的第一蓝牙播放设备的链路数据接收性能差的情况下,可以通过第二蓝牙播放设备转发第一当前音频数据,而第一蓝牙播放设备和第二蓝牙播放设备在空间上的位置不同,因此,可以获得较优的空间分集增益,减小了环境、人体等因素所带来的信号质量差的影响,通过在其他链路中转发的方式来避免单一链路干扰后的通信问题,改善双蓝牙播放设备的通信质量。
需要说明的是,本发明中采用步骤编号(字母或数字编号)来指代 某些具体的方法步骤,仅仅是出于描述方便和简洁的目的,而绝不是用字母或数字来限制这些方法步骤的顺序。本领域的技术人员能够明了,相关方法步骤的顺序,应由技术本身决定,不应因步骤编号的存在而被不适当地限制。
本领域的技术人员能够理解的是,在不冲突的前提下,上述各优选方案可以自由地组合、叠加。
应当理解,上述的实施方式仅是示例性的,而非限制性的,在不偏离本发明的基本原理的情况下,本领域的技术人员可以针对上述细节做出的各种明显的或等同的修改或替换,都将包含于本发明的权利要求范围内。

Claims (15)

  1. 一种双发模式下丢包数据纠错方法,用于控制第一蓝牙播放设备(21)和第二蓝牙播放设备(22)之间的数据交互,其中,所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)与音源设备(20)构成双发模式下的蓝牙通信网络,其中,所述音源设备(20)与所述第一蓝牙播放设备(21)建立第一通信链路(CIS 1),所述音源设备(20)与所述第二蓝牙播放设备(22)建立第二通信链路(CIS 2),以使所述音源设备(20)分别与所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)独立进行音频数据通信,其特征在于,所述丢包数据纠错方法包括:
    步骤S100,驱使所述第一蓝牙播放设备(21)与所述第二蓝牙播放设备(22)建立信息交互链路(CTRL),所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)通过所述信息交互链路(CTRL)进行通信信息交互;
    步骤S200,控制所述第一蓝牙播放设备(21)通过所述信息交互链路(CTRL)与所述第二蓝牙播放设备(22)进行链路信息交互,以使所述第一蓝牙播放设备(21)根据所述第二蓝牙播放设备(22)提供的链路信息配置监听所述第二通信链路(CIS 2),所述第二蓝牙播放设备(22)根据所述第一蓝牙设备提供的链路信息配置监听所述第一通信链路(CIS 1);
    步骤S300,在本机链路子事件锚点控制所述第一蓝牙播放设备(21)接收所述音源设备(20)发送给所述第一蓝牙播放设备(21)的第一当前音频数据,期间,所述第二蓝牙播放设备(22)监听所述第一当前音频数据;所述本机链路子事件锚点为所述音源设备(20)通过第一通信链路(CIS 1)所述向所述第一蓝牙播放设备(21)发送音频数据的时间点;
    步骤S400,当在所述本机链路子事件锚点未接收到所述第一当前音频数据时,控制所述第一蓝牙播放设备(21)在所述本机链路子事件锚点之后预设时间间隔通过所述信息交互链路(CTRL)向所述第二蓝牙 播放设备(22)发送第一转发请求,以使所述第二蓝牙播放设备(22)转发所述第一当前音频数据;
    步骤S500,在约定的锚点到来时控制所述第一蓝牙播放设备(21)接收所述第二蓝牙播放设备(22)根据所述第一转发请求转发的所述第一当前音频数据。
  2. 如权利要求1所述的双发模式下丢包数据纠错方法,其特征在于,还包括:
    步骤S320,在监听链路子事件锚点控制所述第一蓝牙播放设备(21)监听所述音源设备(20)发送给所述第二蓝牙播放设备(22)的第二当前音频数据;所述监听链路子事件锚点为所述音源设备(20)通过第二通信链路(CIS 2)向所述第二蓝牙播放设备(22)发送音频数据的时间点;
    步骤S420,在所述监听链路子事件锚点之后预设时间间隔控制所述第一蓝牙播放设备(21)开启接收转发请求的接收窗口,以通过所述信息交互链路(CTRL)接收所述第二蓝牙播放设备(22)发送的第二转发请求,以根据所述第二转发请求向所述第二蓝牙播放设备(22)转发所述第二当前音频数据。
  3. 如权利要求2所述的双发模式下丢包数据纠错方法,其特征在于,在所述步骤S420中,当在所述接收窗口接收到所述第二转发请求时,还包括:
    在约定的锚点到来时将所述第一蓝牙播放设备(21)锁存为转发状态,并转发所述第二当前音频数据。
  4. 如权利要求2所述的双发模式下丢包数据纠错方法,其特征在于,在所述步骤S420中,当在所述接收窗口未接收到所述第二转发请求时,还包括:
    控制所述第一蓝牙播放设备(21)返回执行步骤S310或步骤S320。
  5. 如权利要求1-4任意一项所述的双发模式下丢包数据纠错方法,其特征在于,所述预设时间间隔为所述音源设备(20)当前发送音频数据的最大长度与相邻数据包的帧间隔之和。
  6. 一种双发模式下丢包数据纠错装置,用于控制第一蓝牙播放设 备(21)和第二蓝牙播放设备(22)之间的数据交互,其中,所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)与音源设备(20)构成双发模式下的蓝牙通信网络,其中,所述音源设备(20)与所述第一蓝牙播放设备(21)建立第一通信链路(CIS 1),所述音源设备(20)与所述第二蓝牙播放设备(22)建立第二通信链路(CIS 2),以使所述音源设备(20)分别与所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)独立进行音频数据通信,其特征在于,所述丢包数据纠错装置包括:
    信息交互链路建立模块(100),用于驱使所述第一蓝牙播放设备(21)与所述第二蓝牙播放设备(22)建立信息交互链路(CTRL),所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)通过所述信息交互链路(CTRL)进行通信信息交互;
    链路信息交互模块(200),用于控制所述第一蓝牙播放设备(21)通过所述信息交互链路(CTRL)与所述第二蓝牙播放设备(22)进行链路信息交互,以使所述第一蓝牙播放设备(21)根据所述第二蓝牙播放设备(22)提供的链路信息配置监听所述第二通信链路(CIS 2),所述第二蓝牙播放设备(22)根据所述第一蓝牙设备提供的链路信息配置监听所述第一通信链路(CIS 1);
    第一接收模块(300),用于在本机链路子事件锚点控制所述第一蓝牙播放设备(21)接收所述音源设备(20)发送给所述第一蓝牙播放设备(21)的第一当前音频数据,期间,所述第二蓝牙播放设备(22)监听所述第一当前音频数据;所述本机链路子事件锚点为所述音源设备(20)通过第一通信链路(CIS 1)所述向所述第一蓝牙播放设备(21)发送音频数据的时间点;
    请求发送模块(400),用于当在所述本机链路子事件锚点未接收到所述第一当前音频数据时,控制所述第一蓝牙播放设备(21)在所述本机链路子事件锚点之后预设时间间隔通过所述信息交互链路(CTRL)向所述第二蓝牙播放设备(22)发送第一转发请求,以使所述第二蓝牙播放设备(22)转发所述第一当前音频数据;
    第二接收模块(500),用于在约定的锚点到来时控制所述第一蓝牙 播放设备(21)接收所述第二蓝牙播放设备(22)根据所述第一转发请求转发的所述第一当前音频数据。
  7. 如权利要求6所述的双发模式下丢包数据纠错装置,其特征在于,还包括:
    监听模块,用于在监听链路子事件锚点控制所述第一蓝牙播放设备(21)监听所述音源设备(20)发送给所述第二蓝牙播放设备(22)的第二当前音频数据;所述监听链路子事件锚点为所述音源设备(20)通过第二通信链路(CIS 2)向所述第二蓝牙播放设备(22)发送音频数据的时间点;
    窗口开启模块,用于在所述监听链路子事件锚点之后预设时间间隔控制所述第一蓝牙播放设备(21)开启接收转发请求的接收窗口,以通过所述信息交互链路(CTRL)接收所述第二蓝牙播放设备(22)发送的第二转发请求,以根据所述第二转发请求向所述第二蓝牙播放设备(22)转发所述第二当前音频数据。
  8. 如权利要求7所述的双发模式下丢包数据纠错装置,其特征在于,在所述窗口开启模块中,当在所述接收窗口接收到所述第二转发请求时,还包括:
    在约定的锚点到来时将所述第一蓝牙播放设备(21)锁存为转发状态,并转发所述第二当前音频数据。
  9. 如权利要求7所述的双发模式下丢包数据纠错装置,其特征在于,在所述窗口开启模块中,当在所述接收窗口未接收到所述第二转发请求时,还包括:
    控制所述第一蓝牙播放设备(21)返回运行所述第一接收模块或所述监听模块。
  10. 如权利要求6-9任意一项所述的双发模式下丢包数据纠错装置,其特征在于,所述预设时间间隔为所述音源设备(20)当前发送音频数据的最大长度与相邻数据包的帧间隔之和。
  11. 一种蓝牙播放设备,其特征在于,包括:
    处理器,用于实现如权利要求1-5任意一项所述的方法。
  12. 一种音频信号处理系统,包括:第一蓝牙播放设备(21)和第 二蓝牙播放设备(22);所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)为一对音频播放设备对,其特征在于,
    所述第一蓝牙播放设备(21)具有如权利要求6-10任意一项所述的装置;
    所述第二蓝牙播放设备(22)具有如权利要求6-10任意一项所述的装置。
  13. 如权利要求12所述的音频信号处理系统,其特征在于,还包括:
    音源设备(20),用于向所述第一蓝牙播放设备(21)和所述第二蓝牙播放设备(22)提供音频数据。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,存储介质中存储的计算机程序用于被执行实现如权利要求1-5任意一项所述的方法。
  15. 一种音频设备的芯片,其上具有集成电路,其特征在于,所述集成电路被设计成用于实现如权利要求1-5任意一项所述的方法。
PCT/CN2021/132494 2021-07-22 2021-11-23 双发模式下丢包数据纠错方法、装置、设备及系统 WO2023000565A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110830805.9A CN114079896B (zh) 2021-07-22 2021-07-22 双发模式下丢包数据纠错方法、装置、设备及系统
CN202110830805.9 2021-07-22

Publications (1)

Publication Number Publication Date
WO2023000565A1 true WO2023000565A1 (zh) 2023-01-26

Family

ID=80283093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132494 WO2023000565A1 (zh) 2021-07-22 2021-11-23 双发模式下丢包数据纠错方法、装置、设备及系统

Country Status (2)

Country Link
CN (1) CN114079896B (zh)
WO (1) WO2023000565A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190296858A1 (en) * 2018-03-22 2019-09-26 Marvell World Trade Ltd. Correlation-Based Detection of Encoded Address in Packet
WO2020124581A1 (zh) * 2018-12-21 2020-06-25 华为技术有限公司 一种音频数据传输方法及电子设备
CN111885553A (zh) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 蓝牙设备通信方法以及相关设备
CN111885554A (zh) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 基于双无线蓝牙通信的链路切换方法及相关设备
CN112205014A (zh) * 2020-08-26 2021-01-08 深圳市中科蓝讯科技股份有限公司 无线设备的通信方法、设备和计算机可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111106853B (zh) * 2019-10-08 2021-07-30 珠海市杰理科技股份有限公司 双无线蓝牙设备主从切换方法、装置、设备和音频系统
CN111107526B (zh) * 2019-10-08 2023-05-02 珠海市杰理科技股份有限公司 标准时隙的双无线蓝牙设备主从切换方法、设备和系统
CN111436043B (zh) * 2019-11-06 2023-05-09 珠海市杰理科技股份有限公司 双无线蓝牙通信网络的通信方法、装置、设备及系统
CN111436044B (zh) * 2019-11-06 2023-06-23 珠海市杰理科技股份有限公司 双无线蓝牙通信网络丢包数据处理方法、装置及系统
CN111435844B (zh) * 2019-11-06 2021-11-23 珠海市杰理科技股份有限公司 双无线蓝牙通信音频数据更正方法、装置、设备及系统
CN111200769B (zh) * 2020-01-08 2022-01-28 昆山泰芯微电子有限公司 一种用于蓝牙耳机设备的通信方法以及蓝牙耳机设备
CN111294784B (zh) * 2020-05-13 2020-10-20 深圳市汇顶科技股份有限公司 一种数据传输方法、装置、芯片、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190296858A1 (en) * 2018-03-22 2019-09-26 Marvell World Trade Ltd. Correlation-Based Detection of Encoded Address in Packet
WO2020124581A1 (zh) * 2018-12-21 2020-06-25 华为技术有限公司 一种音频数据传输方法及电子设备
CN111885553A (zh) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 蓝牙设备通信方法以及相关设备
CN111885554A (zh) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 基于双无线蓝牙通信的链路切换方法及相关设备
CN112205014A (zh) * 2020-08-26 2021-01-08 深圳市中科蓝讯科技股份有限公司 无线设备的通信方法、设备和计算机可读存储介质

Also Published As

Publication number Publication date
CN114079896A (zh) 2022-02-22
CN114079896B (zh) 2024-06-07

Similar Documents

Publication Publication Date Title
US11451906B2 (en) Operation mode switch of wireless headphones
US11259192B2 (en) Ultra-low latency audio over bluetooth
US10244307B1 (en) Communication of wireless headphones
US10432773B1 (en) Wireless audio transceivers
CN110267305B (zh) 一种无线数据重传方法
US10412481B1 (en) Operation mode switch of wireless headphones
CN111435844B (zh) 双无线蓝牙通信音频数据更正方法、装置、设备及系统
WO2022021607A1 (zh) 音频数据的传输方法、系统、tws耳机对、芯片及介质
WO2021129893A1 (zh) 一种用于无线通信系统的设备通信方法及系统
WO2021190430A1 (zh) 音频数据传输方法、系统和装置
CN111436043B (zh) 双无线蓝牙通信网络的通信方法、装置、设备及系统
EP3923608B1 (en) Data transmission method between tws bluetooth devices and tws bluetooth device therefor
US11115885B2 (en) Audio synchronization during handover
US10944154B1 (en) Wireless audio system and method for wirelessly communicating audio information using the same
CN110166988B (zh) 一种无线通信系统及其方法
WO2021223243A1 (zh) 音频数据传输的方法、装置、芯片和电子设备
CN111934724B (zh) 对耳耳机与智能设备的无线通信方法和无线耳机组件
CN114079894B (zh) 双无线音频通信控制方法、装置、设备和系统
WO2023000565A1 (zh) 双发模式下丢包数据纠错方法、装置、设备及系统
CN114079898B (zh) 双发模式下音频数据通信方法、装置、设备和系统
CN114079898A (zh) 双发模式下音频数据通信方法、装置、设备和系统
WO2022134734A1 (zh) 无线通讯方法及系统
US20240143272A1 (en) Systems and methods for wirelessly providing an audio stream
TWI710225B (zh) 無線藍牙裝置的控制器及方法
US20220417637A1 (en) Method and system for wireless transmission of audio data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21950803

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE