CN114079898A - Audio data communication method, device, equipment and system in dual-transmission mode - Google Patents

Audio data communication method, device, equipment and system in dual-transmission mode Download PDF

Info

Publication number
CN114079898A
CN114079898A CN202110830808.2A CN202110830808A CN114079898A CN 114079898 A CN114079898 A CN 114079898A CN 202110830808 A CN202110830808 A CN 202110830808A CN 114079898 A CN114079898 A CN 114079898A
Authority
CN
China
Prior art keywords
equipment
audio data
local
monitoring
link
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110830808.2A
Other languages
Chinese (zh)
Inventor
黄紫明
黄海涛
张启明
胡向军
罗广君
朱嘉俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN202110830808.2A priority Critical patent/CN114079898A/en
Publication of CN114079898A publication Critical patent/CN114079898A/en
Pending legal-status Critical Current

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 loop type
    • 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

Abstract

The invention discloses an audio data communication method, device, equipment and system under a dual-transmission mode, wherein the method comprises the following steps: step S100, driving a first Bluetooth playing device and a second Bluetooth playing device to perform link information interaction through an information interaction link established between the first Bluetooth playing device and the second Bluetooth playing device; step S200, controlling local equipment to receive first current audio data sent to the local equipment by the sound source equipment at a local link sub-event anchor point, and monitoring the first current audio data by monitoring equipment during the period; step S300, comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data to obtain a communication performance comparison result; step S400, selecting the local device or the listening device with better communication performance to respond to the sound source device. Aiming at the double-transmission mode, the link resource is effectively utilized, the influence of poor data receiving performance caused by external interference is reduced, and the communication quality of double Bluetooth playing equipment is improved.

Description

Audio data communication method, device, equipment and system in dual-transmission mode
Technical Field
The invention relates to the technical field of Bluetooth audio communication, in particular to an audio data communication method, device, equipment and system in a dual-transmission mode.
Background
The bluetooth alliance has incorporated Bluetooth Low Energy (BLE) audio enabled functionality (LE audio) into the bluetooth protocol version 5.2. In the application of the dual-wireless audio communication, such as the dual-wireless bluetooth headset, the dual-wireless bluetooth sound box and other scenes, because the bluetooth low energy protocol description is realized by using the mode of dual transmission of the sound source equipment, and only the monaural audio data belonging to the playing equipment is transmitted in each link, the problem that the dual-wireless audio communication distance is shortened due to environmental change, human interference and the like can be inevitably caused, so that the standard bluetooth network communication can not meet the application requirement of the dual-wireless audio.
Referring to fig. 1, it is a schematic diagram of a dual wireless audio network implemented in a dual mode in the prior art, and for a dual wireless audio implemented in a dual mode using a sound Source device, the dual wireless audio network includes three bluetooth devices, one of which is a bluetooth sound Source device (e.g., a mobile phone, a notebook computer, etc.), and two bluetooth devices (e.g., a TWS Sink1 and a TWS Sink2, e.g., a bluetooth dual headset, a dual speaker, etc.) playing simultaneously. Different from a receiving/monitoring mode in a traditional Bluetooth protocol, the dual-wireless audio application of a dual-transmission mode BLE protocol adopts a low-power consumption Bluetooth standard protocol, a Bluetooth sound source device (source) establishes audio communication synchronous links (CIS1 and CIS 2) with two Bluetooth playing devices respectively to exchange audio data, and the two Bluetooth playing devices are not connected and do not know the existence of the other party. The audio code rate is reduced by means of optimizing the coding and decoding of audio, only transmitting single-channel audio data belonging to the playing equipment of the audio in each link and the like, and compared with the existing double-wireless audio mode constructed by classical Bluetooth, the mode has the advantage of lower power consumption, but is more easily restricted by factors such as environmental change, human interference and the like due to the fact that the communication quality of Bluetooth sound source equipment and each Bluetooth playing equipment is completely relied on, so that the problem of short communication distance of double-wireless audio is caused, and user experience is influenced.
The existing dual-wireless Bluetooth audio equipment generally adopts a classic Bluetooth protocol to change to obtain a new audio communication mode to meet the dual-wireless audio communication requirement, and several methods used on the classic Bluetooth currently include a pure monitoring mode, a pure forwarding mode, a dual-transmission mode and a monitoring and forwarding mode. The Bluetooth technical alliance adds an audio function in a Bluetooth 5.2 protocol BLE part and adopts a double-transmission mode to transmit double wireless audio.
The pure monitoring mode that uses in classic bluetooth, bluetooth sound source equipment are connected with one of them bluetooth playback devices only, and two bluetooth playback devices connect the back and inform another bluetooth playback device with the connection information of bluetooth sound source equipment, make it can monitor the audio data of bluetooth sound source equipment through these information to carry out synchronous broadcast, realize two wireless bluetooth audio functions.
The pure forwarding mode used in classic bluetooth, bluetooth sound source equipment are connected with one of them bluetooth playback devices only, and two bluetooth playback devices are connected the back and directly forward another bluetooth playback device with the audio data of bluetooth sound source equipment, carry out synchronous broadcast, realize two wireless bluetooth audio functions.
The dual-mode that uses in classic bluetooth, bluetooth sound source equipment are connected respectively with two bluetooth playback devices to convey audio data respectively and carry out synchronous broadcast to every bluetooth playback device, realize two wireless bluetooth audio functions. This mode needs bluetooth sound source equipment to support two functions of sending out, so a large amount of popularization have a problem, influence product competitiveness.
The monitoring and forwarding mode used in the classic bluetooth integrates the pure monitoring mode and the pure forwarding mode, so that the reliability of communication can be optimized by the forwarding mode when the communication of the monitoring link is deteriorated, and the application scene of the dual-wireless bluetooth audio is improved.
The wireless audio communication method used by BLE is similar to the dual-transmission mode used by the classic bluetooth, as shown in fig. 1, but BLE reduces the audio code rate by optimizing the coding and decoding of audio and only transmitting the monaural audio data belonging to its playing device in each link, improves the communication bandwidth to reduce the overall power consumption, standardizes the behavior of the device use from the perspective of the standard protocol, and can be popularized in the future more than the proprietary dual-transmission mode of the classic bluetooth, and improves the product competitiveness.
For the dual wireless audio application of the dual transmission mode BLE protocol, in the standard bluetooth low energy protocol specification, there are factors such as environmental changes and human body interference, for example, the position of the human head in the dual wireless audio communication network interferes with the communication of the CIS1 or the CIS2, so that the performance of the TWS Sink1 or the TWS Sink2 for receiving audio data is deteriorated, on one hand, the TWS Sink1 or the TWS Sink2 may not respond to the sound source device in time, which causes the sound source device to retransmit audio data all the time, wastes bandwidth resources, and thereby brings a pause phenomenon; on the other hand, the quality of the audio data received by the TWS Sink1 or the TWS Sink2 is poor, which may also cause the distance shortening or the seizure problem in the dual wireless audio communication, and affect the user experience.
Therefore, how to effectively utilize link resources in the dual mode and reduce the influence of poor data receiving performance caused by external interference is an urgent technical problem to be solved.
Disclosure of Invention
Based on the above situation, a primary objective of the present invention is to provide an audio data communication method, apparatus, device and system in dual mode, so as to effectively utilize link resources and reduce the influence of poor data receiving performance caused by external interference in dual mode.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
according to a first aspect, an embodiment of the present invention discloses an audio data communication method in a dual-transmission mode, which is used for controlling data interaction between a first bluetooth playback device and a sound source device, where 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 sound source device performs audio data communication with the first bluetooth playback device and the second bluetooth playback device independently, and the audio data communication method includes:
step S100, driving a first Bluetooth playing device and a second Bluetooth playing device to perform link information interaction through an information interaction link established between the first Bluetooth playing device and the second Bluetooth playing device, so that when the first Bluetooth playing device is used as a local device, the second Bluetooth playing device is used as a monitoring device to monitor a first communication link; when the second Bluetooth playing device is used as the local device, the first Bluetooth playing device is used as a monitoring device to monitor the second communication link; the local equipment is equipment for receiving audio data sent by the sound source equipment; the monitoring equipment configures a monitoring link according to the link information of the local equipment;
step S200, controlling local equipment to receive first current audio data sent to the local equipment by the sound source equipment at a local link sub-event anchor point, and monitoring the first current audio data by monitoring equipment during the period; the link sub-event anchor point is a time point when the sound source receiving equipment sends audio data to the local equipment;
step S300, when the first current audio data is received and sent, comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data to obtain a communication performance comparison result;
step S400, according to the communication performance comparison result, selecting the local device or the listening device with better communication performance to respond to the sound source device.
Optionally, step S400 includes:
when the communication performance of the monitoring equipment is superior to that of the local equipment, the local equipment is driven nearby to send a response request packet to the monitoring equipment, so that the monitoring equipment responds to the sound source equipment through a monitoring link according to the response request packet;
when the communication performance of the local device is better than that of the monitoring device, the local device is driven to answer the sound source device through the local link.
Optionally, the method further comprises:
step S210, controlling the monitoring equipment to monitor second current audio data sent by the sound source equipment at the monitoring link sub-event anchor point; monitoring link sub-event anchor points are time points when audio source equipment sends audio data to local equipment;
step S310, a response request receiving window of the monitoring device is opened at a first preset time interval after the second current audio data is received and transmitted, a substitute response request sent by the local device is received through the information interaction link, and the substitute response request replaces the local device to respond to the sound source device.
Optionally, after step S200, the method further includes:
step S500, when the local link sub-event anchor point does not receive the first current audio data, the local device is controlled to send a forwarding request of the local device to the monitoring device through the information interaction link at a second preset time interval after the local link sub-event anchor point, so that the monitoring device forwards the first current audio data;
step S600, when the appointed anchor point arrives, controlling the receiving monitoring device of the local device to receive the first current audio data forwarded by the monitoring device.
Optionally, the method further comprises:
step S510, controlling the monitoring equipment to monitor second current audio data sent to the local equipment by the sound source equipment at the sub-event anchor point of the monitoring link;
step S520, controlling the monitoring device to open a receiving window for receiving the forwarding request at a second preset time interval after monitoring the link sub-event anchor point, so as to receive the forwarding request sent by the local device through the information interaction link, and forwarding the second current audio data to the local device according to the forwarding request.
Optionally, the arrival time of the first preset time interval is earlier than the arrival time of the second preset time interval.
Optionally, the second preset time interval is the sum of the maximum length of audio data currently transmitted by the sound source device and the frame interval of the adjacent data packet.
Optionally, step S300 includes:
counting the monitoring and forwarding times of forwarding the first current audio data by the monitoring equipment in the past preset time;
when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment;
and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment.
In a second aspect, an embodiment of the present invention discloses an audio data communication apparatus in a dual-transmission mode, configured to control data interaction between a first bluetooth playback device and a sound source device, where 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 sound source device performs audio data communication with the first bluetooth playback device and the second bluetooth playback device independently, and the audio data communication apparatus includes:
the information interaction link establishing module is used for driving the first Bluetooth playing device and the second Bluetooth playing device to carry out link information interaction through the information interaction link established between the first Bluetooth playing device and the second Bluetooth playing device, so that when the first Bluetooth playing device is used as the local device, the second Bluetooth playing device is used as the monitoring device to monitor the first communication link; when the second Bluetooth playing device is used as the local device, the first Bluetooth playing device is used as a monitoring device to monitor the second communication link; the local equipment is equipment for receiving audio data sent by the sound source equipment; the monitoring equipment configures a monitoring link according to the link information of the local equipment;
the first receiving and monitoring module is used for controlling the local equipment to receive first current audio data sent to the local equipment by the sound source equipment at the sub-event anchor point of the local link, and monitoring the first current audio data by the monitoring equipment in the period; the link sub-event anchor point is a time point when the sound source receiving equipment sends audio data to the local equipment;
the communication performance comparison module is used for comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data when the first current audio data is received and transmitted, so as to obtain a communication performance comparison result;
and the response selection module is used for selecting local equipment or monitoring equipment with better communication performance to respond to the sound source equipment according to the communication performance comparison result.
Optionally, the answer selection module comprises:
the monitoring response driving unit is used for driving the local device to send a response request packet to the monitoring device nearby when the communication performance of the monitoring device is superior to that of the local device, so that the monitoring device responds to the sound source device through a monitoring link according to the response request packet;
and the local response driving unit is used for driving the local equipment to respond to the sound source equipment through the local link when the communication performance of the local equipment is better than that of the monitoring equipment.
Optionally, the method further comprises:
the second receiving and monitoring module is used for controlling the monitoring equipment to monitor second current audio data sent by the sound source equipment at the sub-event anchor point of the monitoring link; monitoring link sub-event anchor points are time points when audio source equipment sends audio data to local equipment;
and the response receiving module is used for starting a response request receiving window of the monitoring equipment at a first preset time interval after the second current audio data is received and transmitted, receiving a substitute response request sent by the local equipment through the information interaction link, and replacing the local equipment to respond to the sound source equipment according to the substitute response request.
Optionally, the method further comprises:
the forwarding request module is used for controlling the local equipment to send a forwarding request of the local equipment to the monitoring equipment through the information interaction link at a second preset time interval after the local link sub-event anchor point when the local link sub-event anchor point does not receive the first current audio data so that the monitoring equipment forwards the first current audio data;
and the forwarding receiving module is used for controlling the receiving monitoring equipment of the local equipment to forward the first current audio data when the appointed anchor point arrives.
Optionally, the method further comprises:
the monitoring module is used for controlling the monitoring equipment to monitor second current audio data sent to the local equipment by the sound source equipment at the sub-event anchor point of the monitoring link;
and the request window opening module is used for controlling the monitoring equipment to open a receiving window for receiving the forwarding request at a second preset time interval after the link sub-event anchor point is monitored, so as to receive the forwarding request sent by the local equipment through the information interaction link and forward second current audio data to the local equipment according to the forwarding request.
Optionally, the arrival time of the first preset time interval is earlier than the arrival time of the second preset time interval.
Optionally, the second preset time interval is the sum of the maximum length of audio data currently transmitted by the sound source device and the frame interval of the adjacent data packet.
Optionally, the communication performance comparing module is specifically configured to:
counting the monitoring and forwarding times of forwarding the first current audio data by the monitoring equipment in the past preset time;
when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment;
and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment.
In a third aspect, an embodiment of the present invention discloses a bluetooth playback device, including:
a processor for implementing the method disclosed in the first aspect above.
In a fourth aspect, an embodiment of the present invention discloses an audio signal processing system, including: the system comprises a first Bluetooth playing device and a second Bluetooth playing device; the first Bluetooth playing device and the second Bluetooth playing device are a pair of audio playing devices,
the first Bluetooth playing device is provided with the device disclosed by the second aspect;
the second bluetooth player device has the apparatus disclosed in the second aspect above.
Optionally, the method further comprises:
and the sound source equipment is used for providing audio data for the first Bluetooth playing equipment and the second Bluetooth playing equipment.
In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, the computer program stored in the storage medium being used for being executed to implement the method disclosed in the first aspect.
In a fifth aspect, an embodiment of the present invention discloses a chip of an audio device, which has an integrated circuit thereon, wherein the integrated circuit is designed to implement the method disclosed in the first aspect.
[ PROBLEMS ] the present invention
According to the audio data communication method, the device, the equipment and the system in the dual-transmission mode disclosed by the embodiment of the invention, the first Bluetooth playing equipment and the second Bluetooth playing equipment are driven to carry out link information interaction through the information interaction link established between the first Bluetooth playing equipment and the second Bluetooth playing equipment, so that the first Bluetooth playing equipment and the second Bluetooth playing equipment can be monitoring equipment of the opposite party, and the monitoring equipment configures a monitoring link according to the link information of the local equipment and monitors a communication link of the opposite party; controlling local equipment to receive first current audio data sent to the local equipment by sound source equipment at a local link sub-event anchor point, and monitoring the first current audio data by monitoring equipment during the period; and when the first current audio data is received and sent, comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data, and selecting the local equipment with better communication performance or the monitoring equipment to answer the sound source equipment according to the comparison result of the communication performance. Under the condition of poor communication performance caused by interference of factors such as environment, human bodies and the like in a dual-transmission mode, the first Bluetooth playing device and the second Bluetooth playing device have different spatial diversity gains due to different spatial positions, so that better spatial diversity gains can be obtained according to a comparison result of the communication performance, and local devices or monitoring devices with better communication performance are selected to respond to the sound source device. The influence of poor signal quality caused by factors such as environment and human bodies is reduced, the problem that audio source equipment retransmits audio data all the time and bandwidth resources are wasted due to the fact that response is not timely after single link interference is avoided by selecting response modes in two links is solved, namely, link resources are effectively utilized in a double-transmission mode, the influence of poor data receiving performance caused by external interference is reduced, and the communication quality of double-Bluetooth playing equipment is improved.
Other advantages of the present invention will be described in the detailed description, and those skilled in the art will understand the technical features and technical solutions presented in the description.
Drawings
Embodiments according to the present invention will be described below with reference to the accompanying drawings. In the figure:
fig. 1 is a schematic diagram of a dual wireless audio network implemented in a dual mode according to the prior art;
fig. 2 is a schematic structural diagram of a bluetooth communication network in a dual mode disclosed in this embodiment;
fig. 3 is a flowchart illustrating an audio data communication method in a dual mode according to the present embodiment;
fig. 4 is a schematic diagram of an example communication timing sequence of a bluetooth communication network in a dual mode disclosed in this embodiment;
fig. 5 is a schematic structural diagram of an audio data communication device in a dual mode according to the present embodiment;
fig. 6 is a schematic structural diagram of an audio signal processing system disclosed in this embodiment.
Detailed Description
In order to effectively utilize link resources in a dual mode and reduce the influence of poor data receiving performance caused by external interference, this embodiment discloses an audio data communication method in the dual mode, please refer to fig. 2, which is a schematic diagram of a bluetooth communication network structure in the dual mode disclosed in this embodiment, a first bluetooth playback device 21 and a second bluetooth playback device 22 and a sound source device 20 form a bluetooth communication network in the dual mode, and the sound source device 20 provides respective audio data to the first bluetooth playback device 21 and the second bluetooth playback device 22 in a time-sharing manner. Specifically, the sound source device 20 establishes a first communication link CIS1 with the first bluetooth playing device 21, and the sound source device 20 establishes a second communication link CIS2 with the second bluetooth playing device 22, so that the sound source device 20 performs audio data communication independently with the first bluetooth playing device 21 and the second bluetooth playing device 22, respectively.
In this embodiment, the first bluetooth playing device 21 and the second bluetooth playing device 22 are taken as bluetooth headsets for explanation, and in the specific implementation process, the first bluetooth playing device 21 and the second bluetooth playing device 22 may also be devices with bluetooth and audio playing functions, such as a bluetooth sound box.
It should be noted that the first bluetooth playback device 21 and the second bluetooth playback device 22 are paired playback devices, and 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 used to distinguish the two bluetooth playback devices, for example, when the first bluetooth playback device 21 is a left earphone, the second bluetooth playback device 22 is a right earphone; when the first bluetooth player 21 is a right earphone, the second bluetooth player 22 is a left earphone.
Referring to fig. 3, a flowchart of an audio data communication method in a dual mode disclosed in this embodiment is used to control data interaction between the first bluetooth playback device 21 and the audio source device 20 and the second bluetooth playback device 22, where the audio data communication method includes: step S100, step S200, step S300, and step S400, wherein:
step S100, the first bluetooth playing device 21 and the second bluetooth playing device 22 are driven to perform link information interaction through the information interaction link CTRL established between the two devices. Referring to fig. 1 and fig. 2, in this embodiment, on the basis of the dual wireless audio network structure in the conventional dual mode shown in fig. 1, an information interaction link CTRL is established between the first bluetooth playback device 21 and the second bluetooth playback device 22, and the first bluetooth playback device 21 and the second bluetooth playback device 22 perform communication information interaction through the information interaction link CTRL. In this embodiment, the audio data received by the other party may also be mutually forwarded through the information interaction link CTRL.
Referring to fig. 2, after the first bluetooth playing device 21 and the second bluetooth playing device 22 establish the information interaction link CTRL, the two parties may perform link information interaction through the information interaction link CTRL, so that when the first bluetooth playing device 21 is used as a local device, the second bluetooth playing device 22 is used as a monitoring device to monitor the first communication link CIS 1; when the second bluetooth playback device 22 is used as the local device, the first bluetooth playback device 21 is used as the listening device to listen to the second communication link CIS 2. The dual-wireless Bluetooth audio network structure of a BLE protocol dual-transmission monitoring and forwarding mode is realized. In this embodiment, the local device is a device that receives the audio data sent by the audio source device 20, and the monitoring device configures a monitoring link according to the link information of the local device.
Step S200, controlling the local device to receive the first current audio data sent to the local device by the sound source device 20 at the sub-event anchor point of the local link, and during this period, the monitoring device monitors the first current audio data. In this embodiment, the bluetooth communication network in the dual mode includes a local link sub-event anchor and a monitoring link sub-event anchor, referring to fig. 2, when the TWS Sink1 is a local device and the TWS Sink2 is a monitoring device, the local link sub-event anchor is referred to as a time point (shown by a solid line labeled CIS1 in fig. 2) when the sound source device 20 sends audio data to the local device (i.e., TWS Sink 1); when the TWS Sink2 is a local device and the TWS Sink1 is a listening device, the called local link sub-event anchor is a time point (shown by a solid line marked with CIS2 in fig. 2) when the sound source receiving device 20 sends audio data to the local device (i.e., the TWS Sink 2); in this embodiment, the listening link sub-event anchor is a time point when the listening sound source device 20 sends audio data to the local device, for example, a time point when the TWS Sink1 listens (as shown by a dotted line labeled CIS2 in fig. 2) when the sound source device 20 sends audio data to the local device (i.e., the TWS Sink2) (as shown by a solid line labeled CIS2 in fig. 2).
Referring to fig. 4, an exemplary communication timing diagram of a bluetooth communication network in a dual mode disclosed in this embodiment, "CIS 1 below 1 anchor" and "CIS 1 below 2 anchor" indicate two host link sub-event anchors of a first bluetooth playback device 21 (e.g., TWS Sink1), and at this time, the second bluetooth playback device 22 is a listening link sub-event anchor; "CIS 2 subsequent 1 anchor", "CIS 2 subsequent 2 anchor" indicate two local link sub-event anchors of the second bluetooth playback device 22 (e.g., TWS Sink2), which is a listening link sub-event anchor for the first bluetooth playback device 21.
Referring to fig. 2 and 4, for the first bluetooth playback device 21 (e.g., TWS Sink1), at the local link sub-event anchor point, the sound source device 20 sends audio data 400 to the first bluetooth playback device 21 (e.g., TWS Sink1) through the first communication link CIS1, and at this time, the second bluetooth playback device 22 (e.g., TWS Sink2) listens to the audio data 400; for the second bluetooth player device 22, at the local link sub-event anchor point, the sound source device 20 sends the audio data 401 to the second bluetooth player device 22 (e.g., TWS Sink2) through the second communication link CIS2, and at this time, the first bluetooth player device 21 (e.g., TWS Sink1) listens to the audio data 401.
Step S300, comparing the communication performance when the local device receives the first current audio data with the communication performance when the monitoring device monitors the first current audio data. Referring to fig. 2 and fig. 4, taking the first bluetooth playing device 21 (e.g., TWS Sink1) as a local device and the second bluetooth playing device 22 (e.g., TWS Sink2) as a listening device as an example, when the local link sub-event anchor "CIS 1 sub-event 1 anchor" completes transceiving the first current audio data, the communication performance when the local device receives the first current audio data is compared with the communication performance when the listening device listens to the first current audio data, and a result of comparing the communication performance is obtained, for example, the communication performance when the local device (e.g., TWS Sink1) receives the first current audio data is better than the communication performance when the listening device (e.g., TWS Sink2) listens to the first current audio data. When the local link sub-event anchor point "CIS 1 previous 2 anchor" completes transceiving of the first current audio data, the communication performance when the local device receives the first current audio data is compared with the communication performance when the monitoring device monitors the first current audio data, and a result of comparing the communication performance is obtained, for example, the communication performance when the monitoring device (e.g., TWS Sink2) monitors the first current audio data is better than the communication performance when the local device (e.g., TWS Sink1) receives the first current audio data.
In an alternative embodiment, when performing step S300, the method includes: counting the monitoring and forwarding times of forwarding the first current audio data by the monitoring equipment in the past preset time; when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment; and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment. Specifically, for the technical scheme of forwarding, please refer to the following description, which is not described herein again.
It should be noted that, in this embodiment, the communication quality between the local device and the sound source device and between the listening device and the sound source device may be determined by counting the number of times of forwarding the past preset duration. Therefore, the current communication performance of the monitoring equipment and the current communication performance of the local equipment can be compared and determined, and the equipment response sound source equipment with better communication performance can be selected.
Step S400, according to the communication performance comparison result, selecting the local device or the listening device with better communication performance to respond to the sound source device 20. Referring to fig. 4, taking the first bluetooth playing device 21 (e.g., TWS Sink1) as a local device and the second bluetooth playing device 22 (e.g., TWS Sink2) as a listening device as an example, when the local link sub-event anchor point "CIS 1 subcavent 1 anchor", the communication performance of the local device (e.g., TWS Sink1) receiving the first current audio data is better than that of the listening device (e.g., TWS Sink2) listening to the first current audio data, and therefore, the local device (e.g., TWS Sink1) is selected to answer the sound source device 20 (as indicated by reference 421); at the local link sub-event anchor "CIS 1 below 2 anchor", the communication performance when the listening device (e.g., TWS Sink2) listens to the first current audio data is better than the communication performance when the local device (e.g., TWS Sink1) receives the first current audio data, and therefore, the listening device (e.g., TWS Sink2) is selected to respond to the sound source device 20 (as indicated by reference 442), and specifically, based on the comparison result, the local device (e.g., TWS Sink1) sends a response request (as indicated by reference 422) to the listening device (e.g., TWS Sink2), and the listening device (e.g., TWS Sink2) responds to the sound source device 20 (as indicated by reference 442) based on the response request (as indicated by reference 422).
In order to respond to the audio source device 20 in time and avoid that the audio source device 20 retransmits data all the time due to the response being not in time, in an alternative embodiment, the step S400 is executed and includes:
in one embodiment, when the communication performance of the listening device is better than that of the local device, the local device is driven to send the reply request packet to the listening device nearby, so that the listening device replies to the audio source device 20 through the listening link according to the reply request packet. Referring to fig. 4, in the present embodiment, the term "nearby" refers to that after the first current audio data is received and sent, a response request packet (for example, indicated by reference 422) is sent to the listening device in an idle time interval nearest to the time slot, specifically, the idle time interval should be earlier than the arrival time of the inter-frame interval TIFS of the bluetooth standard, so that the listening device can respond to the audio source device 20 in the present period. It should be noted that, since the first bluetooth playback device 21 (e.g., TWS Sink1) and the second bluetooth playback device 22 (e.g., TWS Sink2) are private communications, the first bluetooth playback device 21 (e.g., TWS Sink1) and the second bluetooth playback device 22 (e.g., TWS Sink2) may agree on the time for sending and receiving the response request packet, that is, the limitations of the bluetooth standard communication protocol can be overcome.
In another embodiment, when the communication performance of the local device is better than that of the listening device, the local device is driven to respond to the audio source device 20 through the local link. Referring to fig. 4, after the first current audio data transceiving is completed, the local device (e.g., TWS Sink1) may reply to the audio source device 20 (as indicated by reference numeral 421) when the time specified by the bluetooth standard protocol arrives. At this time, the local device (e.g., TWS Sink1) does not send a response request to the listening device (e.g., TWS Sink2), and therefore, the listening device (e.g., TWS Sink2) does not receive the response request packet (as shown by reference 440) sent by the local device (e.g., TWS Sink1) and does not respond to the audio source device 20 (as shown by reference 441).
In order to assist the local device in responding to the audio source device 20, in an alternative embodiment, referring to fig. 3, the audio data communication method further includes:
step S210, controlling the monitoring device to monitor the second current audio data sent by the audio source device 20 at the sub-event anchor point of the monitoring link. Referring to fig. 4, taking the first bluetooth playing device 21 (e.g., TWS Sink1) as a local device and the second bluetooth playing device 22 (e.g., TWS Sink2) as a listening device as an example, for the second bluetooth playing device 22 (e.g., TWS Sink2) as a listening device, the second bluetooth playing device 22 (e.g., TWS Sink2) listens to the second current audio data sent from the sound source device 20 to the local device (e.g., TWS Sink1) at the listening link sub-event anchor points "CIS 1subevent1 anchor", "CIS 1subevent 2 anchor".
Step S310, opening a response request receiving window of the monitoring device at a first preset time interval after the second current audio data is received and transmitted. Referring to fig. 4, after the listening link sub-event anchor "CIS 1 subsequent 1 anchor", the listening device (e.g., TWS Sink2) opens a response request receiving window 440 after the listening is completed; at the listening link sub-event anchor "CIS 1 subsequent 2 anchor", the listening device (e.g. TWS Sink2) opens a response request receiving window 422' after listening is completed, so that the substitute response request sent by the local device can be received through the information interaction link CTRL, and the substitute response request can be used to substitute the local device to respond to the sound source device 20. Specifically, at the anchor point "CIS 1 subsequent 1 anchor" of the listening link sub-event, since the native device (e.g., TWS Sink1) does not issue a response request, the listening device (e.g., TWS Sink2) does not receive a response request packet (as shown by a reference 440) sent by the native device (e.g., TWS Sink 1); at the listening link sub-event anchor "CIS 1 below 2 anchor", the native device (e.g., TWS Sink1) sends out a reply request packet 422, and thus, the listening device (e.g., TWS Sink2) receives the reply request packet (as indicated by reference 422').
In this embodiment, the response request receiving window of the monitoring device is opened at the first preset time interval after the second current audio data is received and sent, so that the monitoring device can timely receive the response request sent by the local device, and thus, the local device can be timely replaced with a response sound source device.
In order to avoid the problem of poor quality of received audio data caused by data transmission through a single link, in an alternative embodiment, after step S200, the method further includes:
step S500, when the local link sub-event anchor point does not receive the first current audio data, the local device is controlled to send a forwarding request of the local device to the monitoring device through the information interaction link CTRL at a second preset time interval after the local link sub-event anchor point. Referring to fig. 4, taking the second bluetooth playback device 22 (e.g., TWS Sink2) as an example of a local device, the sound Source device 20(Source) sends audio data 401 to the TWS Sink2 through the CIS2 link, the first bluetooth playback device 21 (e.g., TWS Sink1) listens to the audio data 401 sent by the sound Source device (Source)20, the TWS Sink2 device has poor receiving performance due to environmental changes or interference of human body, and cannot receive the audio data from the local CIS link, if the TWS Sink2 device does not receive the audio data 401 of the native CIS2 link at the CIS2 subsequent 1anchor position (as indicated by the reference 443), the second bluetooth playing device 21 (e.g., TWS Sink2) as the native device sends a forwarding request Rreq (as indicated by the reference 444) to the listening device (e.g., TWS Sink1) at a preset time interval after the anchor point of the native link sub-event, so that the listening device (e.g., TWS Sink1) forwards the first current audio data.
In an alternative embodiment, the second preset time interval is the sum of the maximum length MPTm of the audio data currently transmitted by the audio source device and the frame interval TIFS of the adjacent data packets. That is, a local device (e.g., TWS Sink2) will send a forward request Rreq after MPTm + TIFS time after the local link sub-event anchor, where: the MPTm is converted from the length of the longest audio data packet sent by the audio source device, and specifically, the length of the longest audio data packet can be obtained 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, and the TIFS is the frame interval 150us specified by the bluetooth protocol. In this embodiment, by adding the maximum length MPTm to the frame interval TIFS of the adjacent data packets as the preset time interval, the data packets can be prevented from being too long, and additional packets are not put at intervals.
Step S600, when the appointed anchor point arrives, controlling the receiving monitoring device of the local device to receive the first current audio data forwarded by the monitoring device. Referring to fig. 4, after receiving the forwarding request Rreq, the listening device (e.g., TWS Sink1) forwards the corresponding packet 423 in the next listening link sub-event anchor, and the local device (e.g., TWS Sink2) prepares to receive the corresponding packet 423 forwarded by the listening device (e.g., TWS Sink1) in the next listening link sub-event anchor.
It should be noted that, in this embodiment, the execution sequence between step S500 and step S300 is not limited.
In an alternative embodiment, the first communication link CIS1, the second communication link CIS2 and the information interaction link CTRL preferably operate in the same frequency band.
According to the standard protocol, when the local device (e.g., TWS Sink2) does not receive the audio data, it will not send an ACK response to the sound Source device, so that the sound Source device retransmits the first current audio data based on the non-receipt of the ACK response, e.g., at the CIS2 subsequent 2anchor point in fig. 4, and the sound Source device 20(Source) retransmits the corresponding first current audio data while the listening device (e.g., TWS Sink1) retransmits the corresponding data packet 423.
Therefore, the local device (e.g., TWS Sink2) may receive the first current audio data forwarded by the listening device (e.g., TWS Sink1) and the first current audio data retransmitted by the audio source device 20 at the same time, that is, the local device (e.g., TWS Sink2) may receive the retransmitted/retransmitted first current audio data from the two devices, thereby reducing the probability of data reception failure again due to interference of a single link, and further improving the success rate of receiving the first current audio data.
In an alternative embodiment, referring to fig. 3, the audio data communication method further includes:
step S510, controlling the monitoring device to monitor the second current audio data sent by the sound source device 20 to the local device at the sub-event anchor point of the monitoring link. Referring to fig. 4, when the listening link sub-event anchor (CIS1 subsequent 1 anchor) arrives, the sound Source device 20(Source) sends the second current audio data (as shown by reference 400) to the local device (e.g., TWS Sink 1); during this time, a listening device (e.g., TWS Sink2) listens for the second current audio data.
Step S520, controlling the monitoring device to open a receiving window for receiving the forwarding request at a second preset time interval after monitoring the link sub-event anchor point. Referring to fig. 4, a receiving window (e.g., mark 440) for receiving a forwarding request is opened at a second preset time interval after the listening link sub-event anchor (CIS1 subsequent 1 anchor), so that, when a local device (e.g., TWS Sink1) does not receive the second current audio data, the local device (e.g., TWS Sink1) may send the forwarding request to the receiving window of the listening device (e.g., TWS Sink2) through the information exchange link CTRL, and the listening device (e.g., TWS Sink2) may receive the forwarding request sent by the local device (e.g., TWS Sink1) through the information exchange link CTRL, so as to forward the second current audio data to the local device (e.g., TWS Sink1) according to the forwarding request. Specifically, when the second forwarding request is received in the receiving window (as indicated by reference numeral 441), the second current audio data is forwarded to the second bluetooth playing device 22 (as TWS Sink1) when the appointed anchor point arrives; conversely, when no forwarding request is received in the receive window (e.g., marker 440), then the second current audio data need not be forwarded.
In an alternative embodiment, the arrival time of the first preset time interval is earlier than the arrival time of the second preset time interval. Specifically, the first preset time interval may be an inter-frame interval TIFS, and the second preset time interval is a sum of a maximum length MPTm of audio data currently transmitted by the sound source device and a frame interval TIFS of adjacent data packets. Therefore, the sound source equipment can be responded in time, and the bandwidth waste caused by unnecessary data retransmission of the sound source equipment is avoided.
Fig. 5 is a schematic structural diagram of an audio data communication apparatus in a dual-transmission mode disclosed in this embodiment, wherein the audio device 20 establishes a first communication link CIS1 with the first bluetooth playing device 21, and the audio device 20 establishes a second communication link CIS2 with the second bluetooth playing device 22, so that the audio device 20 performs audio data communication with the first bluetooth playing device 21 and the second bluetooth playing device 22 independently, and the audio data communication apparatus disclosed in this embodiment includes: the information interaction link establishing module 100, the first receiving and monitoring module 200, the communication performance comparing module 300 and the response selecting module 400, wherein:
the information interaction link establishing module 100 is configured to drive the first bluetooth playing device 21 and the second bluetooth playing device 22 to perform link information interaction through an information interaction link CTRL established between the first bluetooth playing device 21 and the second bluetooth playing device 22, so that when the first bluetooth playing device 21 serves as a local device, the second bluetooth playing device 22 serves as a monitoring device to monitor the first communication link CIS 1; when the second bluetooth playing device 22 is used as the local device, the first bluetooth playing device 21 is used as a monitoring device to monitor the second communication link CIS 2; the local device is a device for receiving audio data sent by the audio source device 20; the monitoring equipment configures a monitoring link according to the link information of the local equipment;
the first receiving and monitoring module 200 is configured to control the local device to receive first current audio data sent to the local device by the sound source device 20 at the local link sub-event anchor point, and during this period, the monitoring device monitors the first current audio data; the sub-event anchor point of the link is a time point when the sound source receiving device 20 sends audio data to the local device;
the communication performance comparison module 300 is configured to, when the first current audio data is received and sent, compare the communication performance when the local device receives the first current audio data with the communication performance when the monitoring device monitors the first current audio data, and obtain a communication performance comparison result;
the response selection module 400 is used to select the local device or the listening device with better communication performance to respond to the audio source device 20 according to the comparison result of the communication performance.
In an alternative embodiment, the answer selection module 400 includes:
a monitoring response driving unit, configured to drive the local device to send a response request packet to the monitoring device nearby when the communication performance of the monitoring device is better than that of the local device, so that the monitoring device responds to the sound source device 20 through a monitoring link according to the response request packet;
and the local answer driving unit is used for driving the local equipment to answer the sound source equipment 20 through the local link when the communication performance of the local equipment is better than that of the monitoring equipment.
In an optional embodiment, the method further comprises:
a second receiving and monitoring module, configured to control the monitoring device to monitor second current audio data sent by the sound source device 20 at the sub-event anchor point of the monitoring link; the monitoring link sub-event anchor point is a time point when the monitoring sound source equipment 20 sends audio data to the local equipment;
and the response receiving module is configured to open a response request receiving window of the monitoring device at a first preset time interval after the second current audio data is received, receive a substitute response request sent by the local device through the information interaction link CTRL, and replace the local device to respond to the sound source device 20 according to the substitute response request.
In an optional embodiment, the method further comprises:
the forwarding request module is used for controlling the local equipment to send a forwarding request of the local equipment to the monitoring equipment through the information interaction link CTRL at a second preset time interval after the local link sub-event anchor point when the local link sub-event anchor point does not receive the first current audio data, so that the monitoring equipment forwards the first current audio data;
and the forwarding receiving module is used for controlling the receiving monitoring equipment of the local equipment to forward the first current audio data when the appointed anchor point arrives.
In an optional embodiment, the method further comprises:
the monitoring module is used for controlling the monitoring equipment to monitor second current audio data sent to the local equipment by the sound source equipment 20 at the sub-event anchor point of the monitoring link;
and the request window opening module is used for controlling the monitoring equipment to open a receiving window for receiving the forwarding request at a second preset time interval after monitoring the link sub-event anchor point, so as to receive the forwarding request sent by the local equipment through the information interaction link CTRL, and forward second current audio data to the local equipment according to the forwarding request.
In an alternative embodiment, the arrival time of the first preset time interval is earlier than the arrival time of the second preset time interval.
In an alternative embodiment, the second predetermined time interval is the sum of the maximum length of audio data currently transmitted by audio source device 20 and the frame interval of the adjacent data packets.
In an alternative embodiment, the communication performance comparing module 300 is specifically configured to:
counting the monitoring and forwarding times of forwarding the first current audio data by the monitoring equipment in the past preset time;
when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment;
and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment.
This embodiment also discloses a bluetooth playback device, and this bluetooth playback device can be for example bluetooth headset or bluetooth speaker etc. have the equipment of wireless data interaction function, and this bluetooth playback device includes: and the processor is used for realizing the method disclosed by the embodiment.
Referring to fig. 6, a schematic structural diagram of an audio signal processing system disclosed in this embodiment is shown, where the audio signal processing system includes: a first bluetooth player 21 and a second bluetooth player 22; the first bluetooth playing device 21 and the second bluetooth playing device 22 are a pair of audio playing devices, such as a pair of left and right earphones, and a pair of left and right speakers. In this embodiment, the first bluetooth playback device has the apparatus disclosed in the above embodiment; the second bluetooth playing device has the apparatus disclosed in the above embodiment.
In an alternative embodiment, the audio signal processing system further comprises: and the sound source device 20 is used for providing audio data for the first Bluetooth playing device and the second Bluetooth playing device. The sound source device can be a device with the function of transmitting audio data by Bluetooth, such as a mobile phone, a tablet, a notebook computer, a music player and the like.
The embodiment also discloses a computer readable storage medium, on which a computer program is stored, characterized in that the computer program stored in the storage medium is used for being executed to realize the method disclosed by the above embodiment.
The present embodiment also discloses a chip of an audio device having an integrated circuit thereon, the integrated circuit being designed to implement the method disclosed in the above embodiments.
According to the audio data communication method, the device, the equipment and the system in the dual-transmission mode disclosed by the embodiment of the invention, the first Bluetooth playing equipment and the second Bluetooth playing equipment are driven to carry out link information interaction through the information interaction link established between the first Bluetooth playing equipment and the second Bluetooth playing equipment, so that the first Bluetooth playing equipment and the second Bluetooth playing equipment can be monitoring equipment of the opposite party, and the monitoring equipment configures a monitoring link according to the link information of the local equipment and monitors a communication link of the opposite party; controlling local equipment to receive first current audio data sent to the local equipment by sound source equipment at a local link sub-event anchor point, and monitoring the first current audio data by monitoring equipment during the period; and when the first current audio data is received and sent, comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data, and selecting the local equipment with better communication performance or the monitoring equipment to answer the sound source equipment according to the comparison result of the communication performance. Under the condition of poor communication performance caused by interference of factors such as environment, human bodies and the like in a dual-transmission mode, the first Bluetooth playing device and the second Bluetooth playing device have different spatial diversity gains due to different spatial positions, so that better spatial diversity gains can be obtained according to a comparison result of the communication performance, and local devices or monitoring devices with better communication performance are selected to respond to the sound source device. The influence of poor signal quality caused by factors such as environment and human bodies is reduced, the problem that audio source equipment retransmits audio data all the time and bandwidth resources are wasted due to the fact that response is not timely after single link interference is avoided by selecting response modes in two links is solved, namely, link resources are effectively utilized in a double-transmission mode, the influence of poor data receiving performance caused by external interference is reduced, and the communication quality of double-Bluetooth playing equipment is improved.
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the present invention only for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method in question, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
It will be appreciated by those skilled in the art that the above-described preferred embodiments may be freely combined, superimposed, without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious and equivalent modifications and substitutions for details described herein may be made by those skilled in the art without departing from the basic principles of the invention.

Claims (21)

1. An audio data communication method in a dual-transmission mode, for controlling data interaction between a first bluetooth playing device (21) and a second bluetooth playing device (22) and an audio source device (20), wherein the audio source device (20) establishes a first communication link (CIS 1) with the first bluetooth playing device (21), and the audio source device (20) establishes a second communication link (CIS 2) with the second bluetooth playing device (22), so that the audio source device (20) communicates audio data with the first bluetooth playing device (21) and the second bluetooth playing device (22) independently, and the audio data communication method comprises:
step S100, driving the first Bluetooth playing device (21) and the second Bluetooth playing device (22) to perform link information interaction through an information interaction link (CTRL) established between the first Bluetooth playing device and the second Bluetooth playing device, so that when the first Bluetooth playing device (21) is used as a local device, the second Bluetooth playing device (22) is used as a monitoring device to monitor the first communication link (CIS 1); when the second Bluetooth playing device (22) is used as a local device, the first Bluetooth playing device (21) is used as a monitoring device to monitor the second communication link (CIS 2); wherein, the local equipment is equipment for receiving the audio data sent by the sound source equipment (20); the monitoring equipment configures a monitoring link according to the link information of the local equipment;
step S200, controlling the local equipment to receive first current audio data sent to the local equipment by the sound source equipment (20) at a local link sub-event anchor point, and monitoring the first current audio data by the monitoring equipment during the period; the local link sub-event anchor point is a time point for receiving audio data sent by the sound source equipment (20) to the local equipment;
step S300, when the first current audio data is received and sent, comparing the communication performance when the local equipment receives the first current audio data with the communication performance when the monitoring equipment monitors the first current audio data to obtain a communication performance comparison result;
step S400, according to the communication performance comparison result, selecting local equipment or monitoring equipment with better communication performance to answer the sound source equipment (20).
2. The audio data communication method according to claim 1, wherein said step S400 comprises:
when the communication performance of the monitoring equipment is better than that of the local equipment, the local equipment is driven to send a response request packet to the monitoring equipment nearby, so that the monitoring equipment responds to the sound source equipment (20) through a monitoring link according to the response request packet;
when the communication performance of the local device is better than that of the monitoring device, the local device is driven to answer the sound source device (20) through a local link.
3. The audio data communication method according to claim 1 or 2, further comprising:
step S210, controlling the monitoring equipment to monitor second current audio data sent by the sound source equipment (20) at a monitoring link sub-event anchor point; the monitoring link sub-event anchor point is a time point for monitoring audio data sent by the sound source equipment (20) to the local equipment;
step S310, a response request receiving window of the monitoring device is opened at a first preset time interval after the second current audio data is received, a substitute response request sent by the local device is received through the information interaction link (CTRL), and the local device is replaced by the substitute response request to respond to the sound source device (20).
4. The audio data communication method according to claim 3, further comprising, after said step S200:
step S500, when the local link sub-event anchor does not receive the first current audio data, controlling the local device to send a forwarding request of the local device to the monitoring device through the information exchange link (CTRL) at a second preset time interval after the local link sub-event anchor, so that the monitoring device forwards the first current audio data;
step S600, when an appointed anchor point arrives, controlling the local device to receive the first current audio data forwarded by the monitoring device.
5. The audio data communication method of claim 4, further comprising:
step S510, controlling the monitoring equipment to monitor second current audio data sent to the local equipment by the sound source equipment (20) at a monitoring link sub-event anchor point;
step S520, controlling the monitoring device to open a receiving window for receiving a forwarding request at a second preset time interval after the sub-event anchor point of the monitoring link, so as to receive the forwarding request sent by the local device through the information exchange link (CTRL), and forward the second current audio data to the local device according to the forwarding request.
6. The audio data communication method of claim 4, wherein an arrival time of the first preset time interval is earlier than an arrival time of the second preset time interval.
7. The audio data communication method according to claim 6, wherein the second predetermined time interval is a sum of a maximum length of audio data currently transmitted by the audio source device (20) and a frame interval of adjacent packets.
8. The audio data communication method according to any one of claims 4 to 7, wherein said step S300 comprises:
counting the monitoring and forwarding times of the first current audio data forwarded by the monitoring equipment in the past preset time;
when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment;
and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment.
9. An audio data communication apparatus in dual-transmission mode, for controlling data interaction between a first bluetooth playing device (21) and a second bluetooth playing device (22) and an audio source device (20), wherein the audio source device (20) establishes a first communication link (CIS 1) with the first bluetooth playing device (21), and the audio source device (20) establishes a second communication link (CIS 2) with the second bluetooth playing device (22), so that the audio source device (20) performs audio data communication independently with the first bluetooth playing device (21) and the second bluetooth playing device (22), respectively, the audio data communication apparatus comprising:
an information interaction link establishing module (100) for driving the first bluetooth playing device (21) and the second bluetooth playing device (22) to perform link information interaction through an information interaction link (CTRL) established between the first bluetooth playing device and the second bluetooth playing device, so that when the first bluetooth playing device (21) is used as a local device, the second bluetooth playing device (22) is used as a monitoring device to monitor the first communication link (CIS 1); when the second Bluetooth playing device (22) is used as a local device, the first Bluetooth playing device (21) is used as a monitoring device to monitor the second communication link (CIS 2); wherein, the local equipment is equipment for receiving the audio data sent by the sound source equipment (20); the monitoring equipment configures a monitoring link according to the link information of the local equipment;
a first receiving and monitoring module (200) for controlling the local device to receive first current audio data sent by the sound source device (20) to the local device at a local link sub-event anchor point, wherein the monitoring device monitors the first current audio data; the local link sub-event anchor point is a time point for receiving audio data sent by the sound source equipment (20) to the local equipment;
a communication performance comparison module (300) configured to, when the first current audio data is received and received, compare the communication performance when the local device receives the first current audio data with the communication performance when the monitoring device monitors the first current audio data, and obtain a communication performance comparison result;
and the response selection module (400) is used for selecting local equipment or monitoring equipment with better communication performance to respond to the sound source equipment (20) according to the communication performance comparison result.
10. The audio data communication device according to claim 9, wherein the answer selection module (400) comprises:
a listening response driving unit, configured to drive the local device to send a response request packet to the listening device nearby when the communication performance of the listening device is better than the communication performance of the local device, so that the listening device responds to the sound source device (20) through a listening link according to the response request packet;
and the local response driving unit is used for driving the local equipment to response the sound source equipment (20) through a local link when the communication performance of the local equipment is better than that of the monitoring equipment.
11. The audio data communication apparatus according to claim 9 or 10, further comprising:
the second receiving and monitoring module is used for controlling the monitoring equipment to monitor second current audio data sent by the sound source equipment (20) at the sub-event anchor point of the monitoring link; the monitoring link sub-event anchor point is a time point for monitoring audio data sent by the sound source equipment (20) to the local equipment;
and the response receiving module is used for starting a response request receiving window of the monitoring equipment at a first preset time interval after the second current audio data is received and transmitted, receiving a substitute response request sent by the local equipment through the information interaction link (CTRL), and replacing the local equipment to respond to the sound source equipment (20) according to the substitute response request.
12. The audio data communication device of claim 11, further comprising:
a forwarding request module, configured to, when the local link sub-event anchor does not receive the first current audio data, control the local device to send, to the listening device, a forwarding request of the local device through the information exchange link (CTRL) at a second preset time interval after the local link sub-event anchor, so that the listening device forwards the first current audio data;
and the forwarding receiving module is used for controlling the local equipment to receive the first current audio data forwarded by the monitoring equipment when the appointed anchor point arrives.
13. The audio data communication device of claim 12, further comprising:
the monitoring module is used for controlling the monitoring equipment to monitor second current audio data sent to the local equipment by the sound source equipment (20) at a monitoring link sub-event anchor point;
a request window opening module, configured to control, at a second preset time interval after the monitoring link sub-event anchor point, the monitoring device to open a receiving window for receiving a forwarding request, so as to receive, through the information exchange link (CTRL), a forwarding request sent by the local device, and forward the second current audio data to the local device according to the forwarding request.
14. The audio data communication device of claim 12, wherein the arrival time of the first preset time interval is earlier than the arrival time of the second preset time interval.
15. The audio data communication apparatus according to claim 14, wherein the second predetermined time interval is a sum of a maximum length of audio data currently transmitted by the audio source device (20) and a frame interval of adjacent packets.
16. The audio data communication device according to claim 12, wherein the communication performance comparison module (300) is specifically configured to:
counting the monitoring and forwarding times of the first current audio data forwarded by the monitoring equipment in the past preset time;
when the monitoring forwarding times exceed a preset value, determining that the current communication performance of the monitoring equipment is superior to the current communication performance of the local equipment;
and when the monitoring forwarding times are smaller than a preset value, determining that the current communication performance of the local equipment is superior to the current communication performance of the monitoring equipment.
17. A bluetooth playback device, comprising:
a processor for implementing the method of any one of claims 1-8.
18. An audio signal processing system comprising: a first Bluetooth player (21) and a second Bluetooth player (22); the first Bluetooth player device (21) and the second Bluetooth player device (22) are a pair of audio player devices, characterized in that,
the first bluetooth player device (21) having an apparatus as claimed in any one of claims 9 to 16;
the second bluetooth player device (22) having an apparatus as claimed in any one of claims 9 to 16.
19. The audio signal processing system of claim 18, further comprising:
and the sound source device (20) is used for providing audio data to the first Bluetooth playing device (21) and the second Bluetooth playing device (22).
20. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program stored in the storage medium is adapted to be executed to implement the method according to any of claims 1-8.
21. A chip of an audio device having an integrated circuit thereon, characterized in that the integrated circuit is designed for implementing the method as claimed in any one of claims 1 to 8.
CN202110830808.2A 2021-07-22 2021-07-22 Audio data communication method, device, equipment and system in dual-transmission mode Pending CN114079898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110830808.2A CN114079898A (en) 2021-07-22 2021-07-22 Audio data communication method, device, equipment and system in dual-transmission mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110830808.2A CN114079898A (en) 2021-07-22 2021-07-22 Audio data communication method, device, equipment and system in dual-transmission mode

Publications (1)

Publication Number Publication Date
CN114079898A true CN114079898A (en) 2022-02-22

Family

ID=80283098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110830808.2A Pending CN114079898A (en) 2021-07-22 2021-07-22 Audio data communication method, device, equipment and system in dual-transmission mode

Country Status (1)

Country Link
CN (1) CN114079898A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827974A (en) * 2022-06-29 2022-07-29 成都市安比科技有限公司 Bandwidth optimization method of TWS system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN109561419A (en) * 2019-02-19 2019-04-02 恒玄科技(上海)有限公司 The ears wireless headset of high reliability and communication means for ears wireless headset
WO2020133183A1 (en) * 2018-12-28 2020-07-02 华为技术有限公司 Audio data synchronization method and device
CN111436044A (en) * 2019-11-06 2020-07-21 珠海市杰理科技股份有限公司 Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
WO2020133183A1 (en) * 2018-12-28 2020-07-02 华为技术有限公司 Audio data synchronization method and device
CN109561419A (en) * 2019-02-19 2019-04-02 恒玄科技(上海)有限公司 The ears wireless headset of high reliability and communication means for ears wireless headset
CN111436044A (en) * 2019-11-06 2020-07-21 珠海市杰理科技股份有限公司 Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827974A (en) * 2022-06-29 2022-07-29 成都市安比科技有限公司 Bandwidth optimization method of TWS system

Similar Documents

Publication Publication Date Title
US9973839B2 (en) Method and apparatus for communicating audio data
CN108337074B (en) The bluetooth headset wireless communications method of high reliability
CN110995326B (en) Communication method of wireless earphone, wireless earphone and wireless earplug
CN112437369B (en) Audio data transmission method and system, TWS earphone pair, chip and medium
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
US11490237B2 (en) Bluetooth connection method and device
EP3923608B1 (en) Data transmission method between tws bluetooth devices and tws bluetooth device therefor
CN112672290B (en) Method, device and equipment for master-slave switching in wireless communication system
WO2023179159A1 (en) Communication chip, bluetooth communication devices and data transmission method
CN110166988B (en) Wireless communication system and method thereof
CN114079898A (en) Audio data communication method, device, equipment and system in dual-transmission mode
CN114079894B (en) Dual-wireless audio communication control method, device, equipment and system
KR20150130894A (en) Method and apparatus for communicating audio data
WO2021226881A1 (en) Data transmission method and apparatus, chip, electronic device and storage medium
CN114079896A (en) Method, device, equipment and system for correcting packet loss data in dual-transmission mode
JP2017076957A (en) Method for exchanging data packages between first portable communication device and second portable communication device
JP2017079463A (en) Method of exchanging data package between first portable communication device and second portable communication device using prioritized frequency band
US20230106965A1 (en) Wireless stereo headset group communications
WO2022134734A1 (en) Wireless communication method and system
US11601297B2 (en) Wireless audio output device and operation method thereof
EP4161100A1 (en) Wireless stereo headset group communications
US20220417637A1 (en) Method and system for wireless transmission of audio data
CN112437370B (en) Link switching method, system, TWS earphone pair, chip and medium
TWI710225B (en) Controller of wireless bluetooth device and method
CN111669741A (en) Signal sharing connection method based on Bluetooth communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination