CN114079537B - Audio packet loss data receiving method, device, audio playing equipment and system - Google Patents

Audio packet loss data receiving method, device, audio playing equipment and system Download PDF

Info

Publication number
CN114079537B
CN114079537B CN202110830835.XA CN202110830835A CN114079537B CN 114079537 B CN114079537 B CN 114079537B CN 202110830835 A CN202110830835 A CN 202110830835A CN 114079537 B CN114079537 B CN 114079537B
Authority
CN
China
Prior art keywords
audio
data
error correction
link
received
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.)
Active
Application number
CN202110830835.XA
Other languages
Chinese (zh)
Other versions
CN114079537A (en
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 CN202110830835.XA priority Critical patent/CN114079537B/en
Publication of CN114079537A publication Critical patent/CN114079537A/en
Application granted granted Critical
Publication of CN114079537B publication Critical patent/CN114079537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses an audio packet loss data receiving method, an audio packet loss data receiving device, audio playing equipment and an audio playing system, wherein the method comprises the following steps: when the second audio playing device does not successfully receive the current audio data sent by the audio source device, sending prompt information indicating that the current audio data is not successfully received to the first audio playing device; receiving an error correction data packet forwarded by first audio playing equipment in a preset frequency band through a first link, and receiving current audio data retransmitted by the audio source equipment in the same preset frequency band through a second link during the period; comparing the signal power strength of the received data of the first link with the signal power strength of the received signal of the second link; the method comprises the steps of selectively demodulating data received through a first link or data received through a second link, and correcting the current audio data. The data can be received through a better link, so that the bandwidth efficiency is improved, and the robustness and the performance are better.

Description

Audio packet loss data receiving method, device, audio playing equipment and system
Technical Field
The present invention relates to the field of audio communication technologies, and in particular, to a method, an apparatus, an audio playing device, and a system for receiving audio packet loss data.
Background
Today, true Wireless Stereo (TWS) is very popular. This is because the TWS enables wireless transmission between the two earplugs and the handset, bringing great convenience to the consumer. Before the BLE 5.2 protocol, in the bluetooth protocol, it is not possible for the handset to connect two headphones simultaneously. In this case, in the bluetooth protocol, the industry generates different proprietary protocols to implement TWS, such as sniffing, basic relay, and Dual advanced audio distribution profiles (Dual-a 2 dp). However, none of these techniques completely overcomes the serious threat of deep fading caused by the human body to TWS stability in a wireless environment.
In the past, please refer to fig. 1, which is a schematic diagram of a conventional communication manner between a bluetooth headset and a mobile phone, the bluetooth protocol only supports a single A2DP, and a headset with only one or two earplugs connected by a wire appears.
Please refer to fig. 2, which is a timing diagram of a bluetooth communication protocol, wherein slot N, slot n+ … … slot n+5, slot n+ … … slot n+5, tx, rx, error, correct, audio packet 1, audio packet 2 respectively illustrate an audio packet 1, an audio packet 2, and in the bluetooth communication protocol, communication follows basic acknowledgement (basic Acknowledge, ACK): when negatively acknowledged (Negative Acknowledge, NACK) the handset needs to retransmit the current audio content until the handset gets an ACK from a speaker (e.g., an earplug) and the next audio content cannot be transmitted. The large number of retransmissions can lead to severe delays or discontinuities in audio playback. In addition, the bluetooth protocol employs Time Division Multiplexed Access (TDMA) and frequency hopping techniques to mitigate collisions.
With the development of technology, the solution of a true wireless earphone (True Wireless Stereo, TWS) realizes wireless between two earplugs and a mobile phone, and brings great convenience to consumers. Please refer to fig. 3, which is an exemplary schematic diagram of a communication manner between a conventional real wireless earphone and a mobile phone, wherein the left earphone and the right earphone respectively receive/monitor audio data of the mobile phone through a wireless link 1 and a wireless link 2, and perform wireless data interaction through a wireless link 3, so as to generate different technologies for the real wireless earphone, including: sniffing, forwarding, and double a2dp. However, none of these techniques completely overcomes the serious threat of deep fading to TWS stability in a wireless environment caused by the human body.
The performance of the TWS is substantially completely dependent on the radio conditions of radio link 1, radio link 2 and radio link 3, as shown in fig. 3, and if one of the links is problematic, the TWS performance in different technologies is reduced.
1. Sniffing technique
Referring to fig. 4A and fig. 4B, which are schematic diagrams illustrating an example of a process of receiving a mobile phone data packet by a real wireless headset according to the prior art, fig. 4A is a schematic diagram illustrating an example of a principle of receiving a mobile phone data packet by a real wireless headset according to the prior art, and fig. 4B is a schematic diagram illustrating a timing sequence of receiving a mobile phone data packet by a real wireless headset according to the prior art, as shown in fig. 4A and fig. 4B, when a user listens to music, the mobile phone sends a data packet to a master earphone (master earphone) and a slave earphone (slave earphone) is sniffing (sniffing). If the slave receives the correct data packet, the slave sends a prompt data packet to the master before the master returns an ACK or a negative acknowledgement (N-ACK) to the mobile phone. Otherwise, the slave does not send any information to the master. If the master earphone correctly receives the prompt packet sent by the slave earphone and the data packet sent by the mobile phone, the master earphone returns the ACK to the mobile phone and requests the next data packet. If not, the master earphone returns NACK to the mobile phone and requests to resend the data packet until both earphones correctly receive the data packet, and simultaneously prompts that both the packet and the ACK are correctly received. Since there is no data packet transmission between the two headphones, the advantage of sniffing is that the cross-head problem can be solved. However, a disadvantage of this technique is that it requires that the channel from the handset to both headphones cannot be deeply faded. However, certain directions from the handset to the headset must exist resulting in deep fades.
2. Forwarding technique
Referring to fig. 5A and fig. 5B, which are schematic diagrams illustrating an example of a process of receiving a mobile phone data packet by a prior art true wireless headset, fig. 5A is a schematic diagram illustrating a principle example of receiving a mobile phone data packet by a prior art true wireless headset, and fig. 5B is a schematic diagram illustrating a time sequence example of receiving a mobile phone data packet by a prior art true wireless headset, as shown in fig. 5A and fig. 5B, the mobile phone only sends the data packet to a master earphone (master earbud). After the master earphone (master earbud) receives the message correctly, the message is forwarded to the slave earphone (slave earbud). This technique has not only directional problems but also cross-head problems.
3. Double a2dp technique
Referring to fig. 6A and fig. 6B, which are schematic diagrams illustrating an example of a process of receiving a mobile phone data packet by a real wireless headset according to the prior art, fig. 6A is a schematic diagram illustrating an example of a principle of receiving a mobile phone data packet by a real wireless headset according to the prior art, and fig. 6B is a schematic diagram illustrating a time sequence of receiving a mobile phone data packet by a real wireless headset according to the prior art, as shown in fig. 6A and fig. 6B, a master earphone (master earbud) and a slave earphone (slave earbud) transmit audio data by using asynchronous connectionless (Asynchronous Connectionless, ACL), and the technical cost is high.
Therefore, on the premise of not increasing the cost additionally, how to reduce the influence of signal instability caused by deep fading caused by human body aiming at packet loss forwarding becomes a technical problem to be solved.
Disclosure of Invention
Based on the above-mentioned current situation, the main objective of the present invention is to provide a method, a device, an audio playing device and a system for receiving audio packet loss data, so as to reduce the influence of signal instability caused by deep fading due to human body, aiming at packet loss forwarding without increasing additional cost.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present invention discloses an audio packet loss data receiving method, which is applied to a second audio playing device, where the second audio playing device receives audio data from a sound source device, and the sound source device further sends the audio data to the first audio playing device, and the method includes:
step S100, when the second audio playing device does not successfully receive the current audio data sent by the audio source device, prompt information indicating that the second audio playing device does not successfully receive the current audio data is sent to the first audio playing device;
step S200, receiving an error correction data packet forwarded by a first audio playing device in a preset frequency band through a first link, wherein the error correction data packet is used for correcting errors of current audio data, and during the period, the second audio playing device receives the current audio data retransmitted by a radio source device in the same preset frequency band through a second link;
Step S300, comparing the signal power intensity of the first link received data with the signal power intensity of the second link received signal to obtain a power intensity comparison result;
and step S400, selecting to demodulate the data received through the first link or the data received through the second link based on the power strength comparison result so as to demodulate the data with stronger signal power strength, and correcting the current audio data.
Optionally, step S300 includes:
step S310, separating the data received through the first link and the second link to obtain a first audio playing device signal y e (n) Audio source device Signal y c (n);
Step S320, for the first audio playing device signals y respectively e (n) Audio source device Signal y c (n) performing preamble power estimation to obtain an estimation result, wherein the estimation result comprises: first audio playback device preamble power y ep (n) and source device preamble power y cp (n);
Step S330, the preamble power y of the first audio playing device is determined ep (n) and source device preamble power y cp The larger of the (n) located links is determined to be the link with the stronger signal power.
Optionally, in step S320, the first audio playing device preamble power y is modified by demodulating the threshold difference value ep (n)。
Optionally, the error correction data packet is split into at least two sub error correction data packets;
in step S200, at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot.
Optionally, when the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet.
Optionally, when the current audio data retransmitted by the audio source device is completely received in the current time slot, the receiving of the subsequent sub-error correction data packet is terminated.
In a second aspect, an embodiment of the present invention discloses an audio packet loss data receiving apparatus, which is applied to a second audio playing device, where the second audio playing device receives audio data from a sound source device, and the sound source device further sends the audio data to a first audio playing device, and the apparatus includes:
the prompt information sending module is used for sending prompt information representing that the current audio data is not successfully received to the first audio playing device when the second audio playing device does not successfully receive the current audio data sent by the audio source device;
The same-frequency receiving module is used for receiving an error correction data packet forwarded by the first audio playing device in a preset frequency band through a first link, wherein the error correction data packet is used for correcting errors of current audio data, and during the period, the second audio playing device receives the current audio data retransmitted by the audio source device in the same preset frequency band through a second link;
the power comparison module is used for comparing the signal power intensity of the received data of the first link with the signal power intensity of the received signal of the second link to obtain a power intensity comparison result;
and the demodulation error correction module is used for selectively demodulating the data received through the first link or the data received through the second link based on the power strength comparison result so as to demodulate the data with stronger signal power strength and correct the current audio data.
Optionally, the power comparison module includes:
a signal separation unit for separating the data received via the first link and the second link to obtain a first audio playing device signal y e (n) Audio source device Signal y c (n);
A preamble estimation unit for respectively signaling the first audio playing deviceNumber y e (n) Audio source device Signal y c (n) performing preamble power estimation to obtain an estimation result, wherein the estimation result comprises: first audio playback device preamble power y ep (n) and source device preamble power y cp (n);
A link selection unit for selecting the preamble power y of the first audio playing device ep (n) and source device preamble power y cp The larger of the (n) located links is determined to be the link with the stronger signal power.
Optionally, in the link selection unit, the first audio playback device preamble power y is modified by a demodulation threshold difference value ep (n)。
Optionally, the error correction data packet is split into at least two sub error correction data packets,
in the on-channel receiving module 200, at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot.
Optionally, when the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet.
Optionally, when the current audio data retransmitted by the audio source device is completely received in the current time slot, the receiving of the subsequent sub-error correction data packet is terminated.
In a third aspect, an embodiment of the present invention discloses an audio device, including:
A processor for implementing the method disclosed in the first aspect.
In a fourth aspect, an embodiment of the present invention discloses an audio signal processing system, including: a first audio playing device and a second audio playing device; the first audio playback device and the second audio playback device are a pair of character-interchangeable audio playback devices,
the first audio playing device is provided with the device disclosed in the second aspect;
the second audio playing device has the apparatus disclosed in the second aspect.
Optionally, the method further comprises:
and the sound source device is used for providing audio data for the first audio playing device and the second audio playing device.
In a fifth aspect, an embodiment of the present invention discloses a computer-readable storage medium having stored thereon a computer program, the computer program stored in the storage medium being for being executed to implement the method disclosed in the first aspect above.
In a sixth aspect, embodiments of the present invention disclose a chip of an audio device having an integrated circuit thereon, the integrated circuit being designed to implement the method disclosed in the first aspect above.
[ beneficial effects ]
According to the audio packet loss data receiving method, the device, the audio playing equipment and the system disclosed by the embodiment of the invention, when the second audio playing equipment does not successfully receive the current audio data sent by the audio source equipment, prompt information indicating that the current audio data is not successfully received is sent to the first audio playing equipment, so that the first audio playing equipment can forward an error correction data packet for correcting errors of the current audio data, then the error correction data packet forwarded by the first audio playing equipment is received in a preset frequency band through a first link, and during the period, the second audio playing equipment receives the current audio data retransmitted by the audio source equipment in the same preset frequency band through a second link, thereby comparing the signal power intensities of received signals of the first link and the second link, selecting data with stronger demodulation signal power intensity, and correcting errors of the current audio data. Because the signals of the first link and the second link are received in the same preset frequency band, the hardware cost is not required to be additionally increased, and the premise of not additionally increasing the cost is satisfied; the first link and the second link are different in space positions, so that signals from the same position to different positions can be received, namely, under the condition of packet loss error correction, better space diversity gain can be obtained, the influence caused by signal instability caused by deep fading caused by a human body is reduced, data can be received through the better link, the bandwidth efficiency is improved, and better robustness and performance are realized.
Other advantages of the present invention will be set forth in the description of specific technical features and solutions, by which those skilled in the art should understand the advantages that the technical features and solutions bring.
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 conventional communication manner between a bluetooth headset and a mobile phone;
FIG. 2 is a timing diagram of a Bluetooth communication protocol;
FIG. 3 is an exemplary diagram of a communication scheme between a conventional real wireless headset and a mobile phone;
fig. 4A and fig. 4B are schematic diagrams illustrating an example of a process of receiving a mobile phone data packet by a real wireless headset according to the prior art, fig. 4A is a schematic diagram illustrating an example of a principle of receiving a mobile phone data packet by a real wireless headset according to the prior art, and fig. 4B is a schematic diagram illustrating an example of a time sequence of receiving a mobile phone data packet by a real wireless headset according to the prior art;
fig. 5A and fig. 5B are schematic diagrams illustrating an example of a procedure of receiving a mobile phone data packet by a prior art true wireless headset, fig. 5A is a schematic diagram illustrating an example of a principle of receiving a mobile phone data packet by a prior art true wireless headset, and fig. 5B is a schematic diagram illustrating an example of a time sequence of receiving a mobile phone data packet by a prior art true wireless headset;
Fig. 6A and fig. 6B are schematic diagrams illustrating an example of a procedure of receiving a mobile phone data packet by a prior art true wireless headset, fig. 6A is a schematic diagram illustrating an example of a principle of receiving a mobile phone data packet by a prior art true wireless headset, and fig. 6B is a schematic diagram illustrating an example of a time sequence of receiving a mobile phone data packet by a prior art true wireless headset;
fig. 7 is a flowchart of a method for receiving audio packet loss data according to the present embodiment;
fig. 8 is a schematic structural diagram of an audio signal processing system according to the present embodiment;
fig. 9 is a schematic diagram illustrating an example of a user listening to an audio signal of an audio source device according to the present embodiment;
fig. 10, 11 and 12 are schematic diagrams illustrating an example timing diagram of an audio packet loss data receiving method according to the present embodiment, where fig. 10 is a first example timing diagram, fig. 11 is a second example timing diagram, and fig. 12 is a third example timing diagram;
fig. 13 is a schematic structural diagram of an audio packet loss data receiving device of the device disclosed in this embodiment;
fig. 14 is a schematic diagram of an audio packet loss data processing circuit according to the present embodiment.
Detailed Description
In order to reduce the influence of signal instability caused by deep fading due to human body in view of packet loss forwarding without increasing additional cost, an embodiment of the present invention discloses an audio packet loss data receiving method, please refer to fig. 7, which is a flowchart of an audio packet loss data receiving method disclosed in the present embodiment, and the method is applied to a second audio playing device, wherein the second audio playing device receives audio data from a sound source device, and the sound source device further sends the audio data to a first audio playing device.
Referring to fig. 8, a schematic structural diagram of an audio signal processing system according to the present embodiment is disclosed, where the audio signal processing system includes: a sound source device 1A, a first device 1B, and a second device 1C, wherein the sound source device 1A is for providing audio data, in particular, the sound source device 1A is for providing wireless audio data, such as bluetooth audio data, to the first device 1B and the second device 1C; the first device 1B and the second device 1C are a first audio playing device and a second audio playing device, respectively; the first device 1B performs data interaction with the sound source device 1A through a main link, and receives and transmits audio data; the second device 1C performs data interaction with the first device 1B through a first link, and is further configured to receive audio data provided by the radio source device through a second link; in this embodiment, the first device 1B and the second device 1C may be a bluetooth headset or a bluetooth speaker. In the implementation process, the first device 1B and the second device 1C may switch roles, which is not described herein.
Referring to fig. 7, the method for receiving audio packet loss data disclosed in the present embodiment includes: step S100, step S200, step S300, and step S400, wherein:
step S100, when the second audio playing device does not successfully receive the current audio data sent by the audio source device, prompt information indicating that the second audio playing device does not successfully receive the current audio data is sent to the first audio playing device. Referring to fig. 9, an exemplary schematic diagram of a user listening to an audio signal of a sound source device is disclosed in this embodiment, where a left earphone and a right earphone are respectively corresponding to a first audio playing device and a second audio playing device, and a mobile phone is respectively corresponding to the sound source device. In the implementation process, the left earphone and the right earphone both comprise receiving and transmitting antennas, the left earphone and the mobile phone perform data interaction through a third link (for example, receive data sent by the mobile phone), the left earphone and the right earphone perform data interaction through a first link, and the right earphone monitors the data sent by the mobile phone through a second link. In this embodiment, the mobile phone sends data to the left earphone and the right earphone according to the standard protocol, and when the right earphone does not successfully receive/monitor the current audio data sent by the mobile phone, the mobile phone sends prompt information indicating that the current audio data is not successfully received to the left earphone through the first link.
Step S200, receiving, by the second audio playing device, the current audio data retransmitted by the radio source device in the same preset frequency band through the second link during the error correction data packet forwarded by the first audio playing device in the preset frequency band through the first link. In this embodiment, the error correction data packet forwarded by the first audio playing device is used for correcting the current audio data, and after the second audio playing device receives the error correction data packet, the error correction can be performed on the current audio data based on the error correction data packet. In this embodiment, the second audio playing device receives the data sent by the first audio playing device and the audio source device through the first link and the second link at the same time. The called preset frequency band may be determined empirically, specifically, some frequency points in the preset frequency band may be used to receive the error correction data packet forwarded by the first audio playing device, and other frequency points in the preset frequency band may be used to receive the current audio data retransmitted by the audio playing device.
In addition, in the wireless communication, since the transceiver antenna can work in a frequency band formed by a plurality of frequency points in the same period, in this embodiment, the data of the first audio playing device and the audio source device can be received at the same time by allocating the frequency points in the preset frequency band, and no additional hardware devices, such as an additional antenna, are not required.
It should be noted that, in this embodiment, the term "simultaneously" may be a sequence of time points, rather than exactly equal time points.
Step S300, comparing the signal power intensity of the first link received data with the signal power intensity of the second link received signal to obtain a power intensity comparison result.
In a specific embodiment, the received data may be separated to distinguish the first audio playing device signal from the audio source device signal, and then the power of the two signals is compared. Specifically, step S300 includes step S310, step S320, and step S330, wherein:
step S310, separating the data received through the first link and the second link to obtain a first audio playing device signal y e (n) Audio source device Signal y c (n). Specifically, signals from the sound source device and the first audio playback device may be separated by frequency shift and low-pass filtering, and the separated signals are expressed as formula (1), respectively:
wherein y is e (n) is a signal from the first audio playback device, y c (n) is a signal from the sound source device; f (k) is a filter; r (n) represents the received signal; e, e -j Is a frequency converter, f c Is the signal frequency of the sound source equipment, f e Is the signal frequency of the first audio playback device.
Step S320, for the first audio playing device signals y respectively e (n) Audio source device Signal y c (n) advanceAnd estimating the power of the line preamble to obtain an estimation result. In this embodiment, the estimation result includes: first audio playback device preamble power y ep (n) and source device preamble power y cp (n)。
In this embodiment, the preamble is selected for power estimation to obtain the estimation result, and the whole signal is not required to be subjected to power estimation, so that the operand can be reduced, and the estimation efficiency can be improved.
Step S330, the preamble power y of the first audio playing device is determined ep (n) and source device preamble power y cp The larger of the (n) located links is determined to be the link with the stronger signal power. Referring to fig. 9, after the user wears the earphone, because the first link and the second link are different in spatial positions, the signal fading degrees of the first link and the second link caused by the human body are also different, and in this embodiment, in order to better receive data, by comparing the size of the preamble power, the link with stronger signal power can be determined, so that the audio data is received from the earphone through the link with stronger signal power. Specifically, the following equation (2) may be used to determine a link with strong signal power:
Wherein y is ep (n) is the preamble power of the first audio playback device, y cp And (n) is the preamble power of the sound source equipment.
Based on this, diversity performance can be improved by adopting unequal MCS (coding modulation scheme) diversity, and the audio playback apparatus can transmit data packets using DBPSK or DQPSK using Convolutional Coding (CC). In an alternative embodiment, in step S320, the first audio playback device preamble power y is modified by the demodulation threshold difference value ep (n), whereby equation (2) can be modified to equation (3):
wherein y is ep (n) +eta is the corrected first audio playing device preamble power, y cp (n) is the preamble power of the source device, and η is the difference between the demodulation thresholds.
Step S400, selecting to demodulate data received through the first link or to demodulate data received through the second link based on the power strength comparison result. In this embodiment, the link where the preamble power strength is high is selected as the demodulation target, so that data with high signal power strength can be demodulated, and error correction can be performed on the current audio data. Specifically, if the signal power strength of the first link received data is greater than the signal power strength of the second link received signal, then the data received over the first link is selected to be demodulated, that is, received over the first link and demodulated; conversely, if the signal power strength of the data received by the first link is less than the signal power strength of the signal received by the second link, then demodulation of the data received over the second link is selected, i.e., the data is received over the second link and demodulated.
DBPSK and DQPSK with Convolutional Coding (CC) can double the length of the data packet, exceeding the limit of the Bluetooth protocol on the length; to overcome the data length limitation imposed by the standard protocol, in an alternative embodiment, the error correction data packet is split into at least two sub error correction data packets; in step S200, at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot. In this embodiment, the sequential reception refers to receiving the next sub-error correction packet after completing one time of transmission and reception. Referring to fig. 10, a timing chart of an exemplary situation in the audio packet loss data receiving method disclosed in this embodiment is shown, where Slot N, slot n+ … … Slot n+5 represent the nth time Slot, the n+1th time Slot … … the n+5th time Slot; tx represents transmission, rx represents reception; audio packet indicates an audio packet, correct indicates correct reception, error indicates erroneous reception, ACK (Acknowledge) indicates acknowledgement, and NACK (negative acknowledge) indicates negative acknowledgement. Referring to fig. 10, the error correction data packet is split into a sub error correction data packet MCS 1-1 and a sub error correction data packet MCS 1-2, the sub error correction data packet MCS 1-1 is allocated in the n+1th slot, and the sub error correction data packet MCS 1-2 is allocated in the n+4th slot, that is, the second audio playback device receives the sub error correction data packet MCS 1-1 in sequence and then receives the sub error correction data packet MCS 1-2 in the subsequent slot.
In this embodiment, the error correction data packet is split into at least two sub error correction data packets, where each sub error correction data packet is allocated in a different time slot, so that the limitation of the data length caused by the standard protocol can be overcome, and the error correction data packet can be completely received and transmitted.
In an alternative embodiment, when the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet. Specifically, taking the case that the error correction data packet is split into the sub error correction data packet MCS 1-1 and the sub error correction data packet MCS 1-2 as an example, when the second audio playing device receives the sub error correction data packet MCS 1-1 of the current time in the current time slot in error, the second audio playing device sends a prompt message of failure/error of reception to the first audio playing device, and then the first audio playing device continues to send the sub error correction data packet MCS 1-1 in the next time slot, and starts to receive and send the sub error correction data packet MCS 1-2 after the second audio playing device successfully receives the sub error correction data packet MCS 1-1.
In an alternative embodiment, when the current audio data retransmitted by the audio source device is completely received in the current time slot, the receiving of the subsequent sub-error correction data packet is terminated. In this embodiment, when the second audio playing device selects to receive the current audio data retransmitted by the audio source device through the second link, when the second audio playing device receives the retransmitted current audio data completely, it may send a prompt message indicating successful error correction to the first audio playing device, so as to terminate the reception of the subsequent sub-error correction data packet, thereby saving the transmit-receive power consumption and unnecessary bandwidth occupation.
For the understanding of those skilled in the art, please refer to fig. 10, 11 and 12, which are exemplary timing diagrams of an audio packet loss data receiving method according to the present embodiment, wherein fig. 10 is a first exemplary timing diagram, fig. 11 is a second exemplary timing diagram, and fig. 12 is a third exemplary timing diagram. It should be noted that, in the following description, only the differences between fig. 10, fig. 11 and fig. 12 are described, and those skilled in the art can reconstruct a complete technical solution according to the following description, that is, the technical means illustrated in fig. 10, fig. 11 and fig. 12 may be mutually inserted, specifically:
Referring to fig. 10, it is illustrated that the second audio playback device successfully receives the sub-error correction data packet MCS 1-1 and the sub-error correction data packet MCS 1-2. Assuming that an audio data packet (audio packet) 1 sent by the audio source device, the first audio playing device receives correct data, the second audio playing device monitors that the received data is wrong, the first audio playing device sends an instruction "NACK" to request the audio source device to resend, and the first audio playing device splits the received correct audio data packet (audio packet) 1 into a data packet 1-1 and a data packet 1-2.
In the slot N time period, the audio source device sends out an audio data packet (audio packet) 1, the first audio playing device receives successfully (correct), the second audio playing device receives errors (error), the second audio playing device sends a TX instruction 'hit' to the first audio playing device, the first audio playing device receives a prompt of the second audio playing device, and the prompt indicates that the second audio playing device does not successfully receive the current audio data; specifically, the TX instruction "hit" may be transmitted immediately after the audio packet (audio packet) 1 is transmitted and received, thereby improving the timeliness;
in the slot n+1 time period, after receiving the TX instruction 'hit' sent by the second audio playing device, the first audio playing device knows that the current audio data packet is not successfully received, and therefore, the first audio playing device sends the instruction 'NACK' to the audio source device to indicate a negative response; the audio source equipment receives a NACK instruction sent by the first audio playing equipment, and meanwhile, the first audio playing equipment sends an instruction 'hit' to the second audio playing equipment to prompt the second audio playing equipment that the audio source equipment is ready to resend data and pay attention to monitoring and receiving; specifically, the first audio playing device may send a NACK negative acknowledgement first, and then instruct "hit" to the second audio playing device, so that the audio source device may prepare to retransmit an audio data packet (audio packet) 1 based on the NACK negative acknowledgement, and the second audio playing device may prepare to receive data sent by the first audio playing device and the audio source device based on the hit instruction sent by the main audio device;
In the slot n+2 period, the audio source device retransmits the audio data packet (audio packet) 1, the first audio playing device splits the previously received correct data packet 1 into a sub error correction data packet MCS 1-1 and a sub error correction data packet MCS 1-2, meanwhile, the first audio playing device forwards the sub error correction data packet MCS 1-1 to the second audio playing device, the second audio playing device listens to the audio data packet (audio packet) 1 sent by the audio source device, and receives the sub error correction data packet MCS 1-1 forwarded by the first audio playing device, and the preamble of the sub error correction data packet MCS 1-1 can bear the information that "is not a complete data packet". After receiving the sub-error correction data packet MCS 1-1, the second audio playing device sends an instruction 'hit' to the first audio playing device, which indicates that the sub-error correction data packet MCS 1-1 is successfully received, and the first audio playing device receives the instruction 'hit';
in the slot n+3 period, because the sub-error correction data packet MCS 1-1 received by the second audio playing device is not a complete data packet, the first audio playing device sends an instruction "NACK" to the audio source device, and after the audio source device receives the instruction "hit", the first audio playing device sends an instruction "hit" to the second audio playing device, prompts the second audio playing device to prepare to receive the audio data packet (audio packet) 1 and the sub-error correction data packet MCS 1-2, and the audio source device retransmits the audio data packet (audio packet) 1 again;
In the slot N+4 time period, the audio source equipment retransmits an audio data packet (audio packet) 1, and the first audio playing equipment forwards a sub error correction data packet MCS 1-2 to the second audio playing equipment; the second audio playing device receives the sub error correction data packet MCS 1-2, combines the received sub error correction data packet MCS 1-1 with the sub error correction data packet MCS 1-2, monitors and compares the received audio data packet (audio packet) 1 of the audio source device to determine that the audio data packet is a correct data packet, and sends an instruction 'hit' to the first audio playing device to indicate that the current audio data is successfully corrected, and the first audio playing device receives the instruction;
in the slot n+5 time period, the first audio playing device sends an instruction "ACK" to the audio source device, and after the audio source device receives the instruction "ACK", the first audio playing device sends an instruction "hit" to the second audio playing device to prompt the second audio playing device to prepare to monitor the audio source device to send a new audio data packet (audio packet).
Referring to fig. 11, it is illustrated that the second audio playback device successfully receives the sub-error correction data packet MCS 1-1, and erroneously receives the sub-error correction data packet MCS 1-2. Assuming that an audio data packet (audio packet) 1 sent by a sound source device, the first audio playing device receives correct data, the second audio playing device monitors that the received data is wrong, the first audio playing device sends an instruction "NACK" to request the sound source device to resend, and the first audio playing device splits the correct received audio data packet (audio packet) 1 into a sub-error correction data packet MCS 1-1 and a sub-error correction data packet MCS 1-2.
In the slot N time period, the audio source equipment retransmits an audio data packet (audio packet) 1, the first audio playing equipment forwards the sub error correction data packet MCS 1-1 to the second audio playing equipment, the second audio playing equipment receives the sub error correction data packet MCS 1-1 and does not meet the condition of a complete data packet, and the second audio playing equipment sends an instruction 'hit' to the first audio playing equipment, which indicates 'successful receiving of the sub error correction data packet MCS 1-1';
in the slot N+1 time period, the first audio playing device sends an instruction NACK to the audio source device, requests the audio source device to resend an audio data packet (audio packet) 1, and simultaneously sends an instruction Hint to the second audio playing device to prompt the second audio playing device to prepare to monitor again and receive the data packet;
in the slot N+2 time period, the audio source equipment retransmits an audio data packet (audio packet) 1, the first audio playing equipment retransmits a sub error correction data packet MCS 1-2, the second audio playing equipment determines an error receiving sub error correction data packet MCS 1-2 based on a preamble, the correct condition is not met, and the second audio playing equipment sends an instruction 'hit' to the first audio playing equipment to request retransmission;
in the slot n+3 time period, the first audio playing device sends an instruction "NACK" to the audio source device, requests to resend the audio data packet (audio packet) 1 again, and simultaneously, the first audio playing device sends an instruction "hit" to the second audio playing device to prompt to prepare to monitor and receive the data packet;
In the slot N+4 time period, the audio source equipment retransmits an audio data packet (audio packet) 1, the first audio playing equipment retransmits a sub error correction data packet MCS 1-2 again, the second audio playing equipment combines the sub error correction data packet MCS 1-1 and the sub error correction data packet MCS 1-2 to meet the correct condition, the second audio playing equipment sends an instruction 'hit' to the first audio playing equipment to indicate that the current audio data is successfully corrected, and the first audio playing equipment receives the instruction;
in the slot n+5 time period, the first audio playing device sends an instruction "ACK" to the audio source device, and after the audio source device receives the instruction "ACK", the first audio playing device sends an instruction "hit" to the second audio playing device to prompt the second audio playing device to prepare to monitor the audio source device to send a new audio data packet (audio packet).
Referring to fig. 12, it is illustrated that the second audio playback device successfully receives an audio packet (audio packet) retransmitted by the audio source device. Assuming that an audio data packet (audio packet) 1 sent by the audio source device, the first audio playing device receives correct data, the second audio playing device monitors that the received data is wrong, the first audio playing device sends an instruction "NACK" to request the audio source device to resend, and the first audio playing device splits the received correct audio data packet (audio packet) 1 into a data packet 1-1 and a data packet 1-2.
In the slot N time period, the audio source equipment retransmits an audio data packet (audio packet) 1, the first audio playing equipment forwards the data packet 1-1 to the second audio playing equipment, the second audio playing equipment monitors and acquires the audio data packet (audio packet) 1 from the audio source equipment, after the second audio playing equipment analyzes that the monitored audio data packet (audio packet) 1 is a correct audio data packet (audio packet) 1, the first audio playing equipment sends an instruction ' hit ', wherein the instruction ' hit ' comprises content, and the second audio playing equipment correctly monitors and receives the audio data packet (audio packet) 1 ' of the audio source equipment;
in the slot n+1 time period, the first audio playing device sends an instruction 'ACK' to the audio source device, requests the audio source device to send a new audio data packet (audio packet) 2, and simultaneously sends an instruction 'hit' to the second audio playing device to prompt the second audio playing device to prepare to monitor and receive the audio data packet (audio packet) 2;
that is, after the slot n+1 period, a new audio data transceiving cycle is directly entered without transceiving the sub-error correction data packet, i.e., terminating the reception of the subsequent sub-error correction data packet.
In the slot N+2 time period, the sound source device sends out a data packet 2, the first audio playing device receives errors, the second audio playing device receives correct errors, the second audio playing device sends out an instruction 'hit' to the first audio playing device, and the second audio playing device splits the data packet into a sub error correction data packet 2-1 and a sub error correction data packet 2-2;
In the slot N+3 time period, the first audio playing device sends an instruction NACK to the audio source device to request to resend an audio data packet (audio packet) 2, and simultaneously, the first audio playing device sends an instruction Hint to the second audio playing device to prompt to prepare to monitor and send a sub error correction data packet 2-1;
in the slot N+4 time period, the sound source equipment retransmits the data packet 2, the second audio playing equipment retransmits the sub error correction data packet 2-1, and the first audio playing equipment determines that the sub error correction data packet 2-1 does not meet the condition of the complete data packet based on the lead code;
in the slot N+5 time period, the first audio playing device sends an instruction of NACK to the sound source device, and meanwhile, the first audio playing device sends an instruction of Hint to the second audio playing device to prompt the second audio playing device to prepare to send another sub-error correction data packet 2-2;
in the slot n+6 time period, the audio source device retransmits the audio data packet (audio packet) 2, the second audio playing device retransmits the sub error correction data packet 2-2, the first audio playing device merges the sub error correction data packet-1 and the sub error correction data packet 2-2, and determines that the condition of the complete data packet is met, and the audio data packet of the next period can be transmitted and received.
The embodiment also discloses an audio packet loss data receiving device, which is applied to a second audio playing device, wherein the second audio playing device receives audio data from a sound source device, the sound source device further sends the audio data to the first audio playing device, please refer to fig. 13, and the audio packet loss data receiving device is a schematic structural diagram of the device disclosed in the embodiment, and includes: the system comprises a prompt information sending module 100, a common frequency receiving module 200, a power comparing module 300 and a demodulation and error correction module 400, wherein:
the prompt information sending module 100 is configured to send, to the first audio playing device, prompt information indicating that the current audio data is not successfully received when the second audio playing device does not successfully receive the current audio data sent by the audio source device;
the common-frequency receiving module 200 is configured to receive, through a first link, an error correction packet forwarded by a first audio playing device in a preset frequency band, where the error correction packet is used to correct an error of current audio data, and during that time, a second audio playing device receives, through a second link, the current audio data retransmitted by a radio source device in the same preset frequency band;
the power comparison module 300 is configured to compare the signal power strength of the first link received data with the signal power strength of the second link received signal to obtain a power strength comparison result;
The demodulation error correction module 400 is configured to selectively demodulate data received through the first link or demodulate data received through the second link based on the power strength comparison result, so as to demodulate data with stronger signal power strength, and correct the current audio data.
Optionally, the power comparison module 300 includes:
a signal separation unit for separating the data received by the first link and the second link to obtain a first audio playing device signalNumber y e (n) Audio source device Signal y c (n);
A preamble estimation unit for estimating the first audio playing device signal y e (n) Audio source device Signal y c (n) performing preamble power estimation to obtain an estimation result, wherein the estimation result comprises: first audio playback device preamble power y ep (n) and source device preamble power y cp (n);
A link selection unit for selecting the preamble power y of the first audio playing device ep (n) and source device preamble power y cp The larger of the (n) located links is determined to be the link with the stronger signal power.
Optionally, in the link selection unit, the first audio playback device preamble power y is modified by a demodulation threshold difference value ep (n)。
Optionally, the error correction data packet is split into at least two sub error correction data packets,
In the on-channel receiving module 200, at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot.
Optionally, when the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet.
Optionally, when the current audio data retransmitted by the audio source device is completely received in the current time slot, the receiving of the subsequent sub-error correction data packet is terminated.
For the understanding of those skilled in the art, please refer to fig. 14, which is a schematic diagram of an audio packet loss data processing circuit disclosed in this embodiment, the audio packet loss data processing circuit is applied to a second audio playing device, and it should be noted that, because roles of the first audio playing device and the second audio playing device are interchangeable, the audio packet loss data processing circuit may also be applied to the first audio playing device, and the audio packet loss data processing circuit includes: the device comprises a wireless receiving module 1, a frequency selection filtering module 2, a detecting module 3, a demodulating module 4 and a checking module 5, wherein:
The wireless receiving module 1 is configured to receive, in a preset frequency band, an error correction data packet forwarded by the first audio playing device, and during that time, the second audio playing device receives, in the same preset frequency band, current audio data retransmitted by the radio source device. The radio receiving module 1 can be implemented by using an existing antenna, an impedance circuit, an ADC, and the like. The called preset frequency band may be determined empirically, specifically, some frequency points in the preset frequency band may be used to receive the error correction data packet forwarded by the second audio playing device, and other frequency points in the preset frequency band may be used to receive the current audio data retransmitted by the audio playing device.
In addition, in the wireless communication, since the transceiver antenna can work in a frequency band formed by a plurality of frequency points in the same period, in this embodiment, the data of the first audio playing device and the audio source device can be received at the same time by allocating the frequency points in the preset frequency band, and no additional hardware devices, such as an additional antenna, are not required.
It should be noted that, in this embodiment, the term "simultaneously" may be a sequence of time points, rather than exactly equal time points.
The frequency selective filtering module 2 is connected to the wireless receiving module 1. In this embodiment, the frequency-selecting filtering module 2 separates and filters the signals output by the wireless receiving module 1, so as to obtain a first audio playing device signal after the filtering process and a sound source device signal after the filtering process. Specifically, the wireless receiving module 1 receives the data of the first audio playing device and the audio source device at the same time, so that signals output by the wireless receiving module 1 need to be separated to obtain the data of the first audio playing device and the data of the audio source device respectively, and then, corresponding filtering processing is performed on the data of the first audio playing device and the data of the audio source device respectively, so that processed signals of the first audio playing device and the processed signals of the audio source device can be obtained.
Referring to fig. 14, in an alternative embodiment, the frequency selective filtering module 2 includes: a first data processing channel 21 and a second data processing channel 22, wherein: the first data processing channel 21 separates and processes the signal output by the wireless receiving module 1 to obtain a processed sound source device signal; the second data processing channel 22 separates and processes the signal output by the wireless receiving module 1, and obtains a processed second audio playing device signal. Specifically, the first data processing channel 21 and the second data processing channel 22 are both connected to the wireless receiving module 1, and after the first data processing channel 21 and the second data processing channel 22 receive the signals output by the wireless receiving module 1, the signals output by the wireless receiving module 1 are separated and processed in respective manners, so that the first data processing channel 21 outputs the processed audio source device signals, and the second data processing channel 22 outputs the first audio playing device signals. In a specific embodiment, the first data processing channel 21 and the second data processing channel 22 may be implemented by respective low intermediate frequency demodulation means, for example, for shifting the low intermediate frequency signal to baseband, and frequency selective filtering means for filtering out spectral components other than the wanted signal, respectively.
As an example, the sound source device signal may be obtained as follows:
wherein y is c (n) is the signal of the obtained sound source device; r (n) is a signal received by the wireless receiving module 1;is the local carrier of the first data processing channel 21; f (k) is a frequency selective filter in the first data processing channel 21;representing a convolution operation; f (f) c Is the signal frequency point of the data packet retransmitted by the audio source equipment; n is denoted as the nth sampling instant; k is denoted as the kth filter coefficient.
As an example, the first audio playback device signal may be obtained as follows:
wherein y is e (n) is the resulting first audio playback device signal; r (n) is a signal received by the wireless receiving module 1;is the local carrier of the second data processing channel 22; f (k) is a frequency selective filter of the second data processing channel 22; />Representing a convolution operation; f (f) e The first audio playing device forwards the signal frequency point of the data packet; n is denoted as the nth sampling instant; k is denoted as the kth filter coefficient.
The detection module 3 is connected to the frequency selective filter module 2, wherein the detection module 3 comprises a first detection unit 31 and a second detection unit 32, which are respectively connected to the first data processing channel 21 and the second data processing channel 22. In a specific embodiment, the first detection unit 31 and the second detection unit 32 may be implemented by a respective preamble detection device and a power detection device, where the preamble detection device is used to perform preamble detection on signals on respective channels, and the power detection device is used to perform power intensity detection on signals on respective channels.
The demodulation module 4 is selectively connectable to the first detection unit 31 or the second detection unit 32 by means of a switch, in particular to a channel with a stronger signal power, i.e. to a link with a stronger signal power. The demodulation module 4 may be implemented by, for example, a DPSK demodulation device or a GFSK demodulation device.
The checking module 5 is connected between the demodulation module 4 and the bluetooth baseband 6, and the checking module 5 is configured to check the signal demodulated by the demodulation module 4, specifically, may perform CRC check through, for example, a CRC check device. In an alternative embodiment, the checking module 5 may further include viterbi decoding means, where the signal demodulated by the checking module 5 is viterbi decoded by the viterbi decoding means and then sent to, for example, CRC checking means for CRC checking.
The embodiment also discloses an audio device, which comprises:
and the processor is used for realizing the method disclosed in the embodiment.
The embodiment also discloses an audio signal processing system, which comprises: a first audio playing device and a second audio playing device; the first audio playing device and the second audio playing device are a pair of audio playing devices with interchangeable master-slave roles, and the first audio playing device is provided with the device disclosed in the embodiment; the second audio playing device has the apparatus disclosed in the above embodiment. For example, the first audio playing device and the second audio playing device are a pair of headphones, and for example, the first audio playing device and the second audio playing device are a pair of speakers.
In an alternative embodiment, the method further comprises:
and the sound source device is used for providing audio data for the first audio playing device and the second audio playing device. The sound source device may be a terminal having an audio data transmission function such as a mobile phone, a tablet, or the like.
The present embodiment also discloses a computer-readable storage medium having stored thereon a computer program, the computer program stored in the storage medium being for being executed to implement the method disclosed in the above embodiments.
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 packet loss data receiving method, the device, the audio playing equipment and the system disclosed by the embodiment of the invention, when the second audio playing equipment does not successfully receive the current audio data sent by the audio source equipment, prompt information indicating that the current audio data is not successfully received is sent to the first audio playing equipment, so that the first audio playing equipment can forward an error correction data packet for correcting errors of the current audio data, then the error correction data packet forwarded by the first audio playing equipment is received in a preset frequency band through a first link, and during the period, the second audio playing equipment receives the current audio data retransmitted by the audio source equipment in the same preset frequency band through a second link, thereby comparing the signal power intensities of received signals of the first link and the second link, selecting data with stronger demodulation signal power intensity, and correcting errors of the current audio data. Because the signals of the first link and the second link are received in the same preset frequency band, the hardware cost is not required to be additionally increased, and the premise of not additionally increasing the cost is satisfied; the first link and the second link are different in space positions, so that signals from the same position to different positions can be received, namely, under the condition of packet loss error correction, better space diversity gain can be obtained, the influence caused by signal instability caused by deep fading caused by a human body is reduced, data can be received through the better link, the bandwidth efficiency is improved, and better robustness and performance are realized.
It should be noted that step numbers (letter or number numbers) are used in the present invention to refer to certain specific method steps for convenience and brevity only, and are not intended to limit the order of the method steps by letter or number in any way. It will be apparent to those skilled in the art that the sequence of the steps of the relevant method should be determined by the technique itself and should not be unduly limited by the presence of step numbers.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict.
It will be understood that the above-described embodiments are merely illustrative and not restrictive, and that all obvious or equivalent modifications and substitutions to the details given above may be made by those skilled in the art without departing from the underlying principles of the invention, are intended to be included within the scope of the appended claims.

Claims (17)

1. An audio packet loss data receiving method is applied to a second audio playing device, wherein the second audio playing device receives audio data from a sound source device, and the sound source device also sends the audio data to a first audio playing device, and is characterized in that the method comprises the following steps:
Step S100, when the second audio playing device does not successfully receive the current audio data sent by the audio source device, prompt information indicating that the current audio data is not successfully received is sent to the first audio playing device;
step S200, receiving an error correction data packet forwarded by the first audio playing device in a preset frequency band through a first link, wherein the error correction data packet is used for correcting errors of the current audio data, and during the period, the second audio playing device receives the current audio data retransmitted by the audio source device in the same preset frequency band through a second link;
step S300, comparing the signal power intensity of the first link received data with the signal power intensity of the second link received signal to obtain a power intensity comparison result;
and step 400, selecting to demodulate the data received through the first link or the data received through the second link based on the power intensity comparison result, so as to demodulate the data with stronger signal power intensity, and correcting the error of the current audio data.
2. The audio packet loss data receiving method of claim 1, wherein the step S300 comprises:
Step S310, separating the data received through the first link and the second link to obtain a first audio playing device signal y e (n) Audio source device Signal y c (n);
Step S320, for the first audio playing device signals y respectively e (n) and the audio source device signal y c (n) performing preamble power estimation to obtain an estimation result, wherein the estimation result comprises: first audio playback device preamble power y ep (n) and source device preamble power y cp (n);
Step S330, the first audio playing device preamble power y is determined ep (n) and source device preamble power y cp (n) is higher than the twoThe large link is determined to be the link with stronger signal power strength.
3. The audio packet loss data receiving method of claim 2, wherein in said step S320, said first audio playback device preamble power y is modified by a demodulation threshold difference value ep (n)。
4. A method of audio packet loss data reception according to any one of claims 1 to 3, wherein the error correction data packet is split into at least two sub error correction data packets;
in the step S200, the at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot.
5. The audio packet loss data reception method of claim 4, wherein,
when the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet.
6. The audio packet loss data reception method of claim 4, wherein,
and when the current audio data retransmitted by the audio source equipment is completely received in the current time slot, terminating the receiving of the subsequent sub-error correction data packet.
7. An audio packet loss data receiving apparatus applied to a second audio playing device, wherein the second audio playing device receives audio data from a sound source device, and the sound source device further sends the audio data to a first audio playing device, the apparatus is characterized in that the apparatus comprises:
a prompt information sending module (100) configured to send, to the first audio playing device, a prompt information indicating that the current audio data is not successfully received, when the second audio playing device does not successfully receive the current audio data sent by the audio source device;
The same-frequency receiving module (200) is used for receiving an error correction data packet forwarded by the first audio playing device in a preset frequency band through a first link, wherein the error correction data packet is used for correcting errors of the current audio data, and during the error correction of the current audio data, the second audio playing device receives the current audio data retransmitted by the audio source device in the same preset frequency band through a second link;
the power comparison module (300) is used for comparing the signal power intensity of the first link received data with the signal power intensity of the second link received signal to obtain a power intensity comparison result;
and the demodulation error correction module (400) is used for selectively demodulating the data received through the first link or the data received through the second link based on the power intensity comparison result so as to demodulate the data with stronger signal power intensity and correct the current audio data.
8. The audio packet loss data receiving apparatus of claim 7, wherein said power comparison module (300) comprises:
a signal separation unit for separating the data received via the first link and the second link to obtain a first audio playback device signal (y e (n)) and source device signal (y) c (n));
A preamble estimation unit for estimating a preamble of the first audio playback device signal (y e (n)) and the audio source device signal (y) c (n)) performing preamble power estimation to obtain an estimation result, wherein the estimation result comprises: first audio playback device preamble power (y ep (n)) and source device preamble power (y) cp (n));
A link selection unit for selecting a preamble power (y ep (n)) and source device preamble power (y) cp (n)) bothThe larger link of the network is determined as the link with stronger signal power intensity.
9. The audio packet loss data receiving apparatus according to claim 8, wherein in said link selection unit, the first audio playback device preamble power (y ep (n))。
10. The audio packet loss data receiving apparatus according to any one of claims 7 to 9, wherein the error correction data packet is split into at least two sub error correction data packets,
in the same frequency receiving module (200), the at least two sub-error correction data packets are sequentially received in different time slots, wherein each sub-error correction data packet is allocated in a different time slot.
11. The audio packet loss data receiving apparatus of claim 10, wherein,
When the sub-error correction data packet of the current time is received in error in the time slot of the current time, the sub-error correction data packet of the current time is re-received in the time slot of the next received sub-error correction data packet, wherein the first audio playing device retransmits the sub-error correction data packet of the current time in the time slot of the next received sub-error correction data packet.
12. The audio packet loss data receiving apparatus of claim 10, wherein,
and when the current audio data retransmitted by the audio source equipment is completely received in the current time slot, terminating the receiving of the subsequent sub-error correction data packet.
13. An audio device, comprising:
a processor for implementing the method of any of claims 1-6.
14. An audio signal processing system, comprising: a first audio playing device and a second audio playing device; the first audio playing device and the second audio playing device are a pair of audio playing devices with interchangeable roles, characterized in that,
the first audio playback apparatus having the arrangement of any one of claims 7 to 12;
the second audio playback device having an apparatus as claimed in any one of claims 7 to 12.
15. The audio signal processing system of claim 14, further comprising:
and the sound source device is used for providing audio data for the first audio playing device and the second audio playing device.
16. 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 one of claims 1-6.
17. A chip of an audio device having an integrated circuit thereon, characterized in that the integrated circuit is designed for implementing the method according to any of claims 1-6.
CN202110830835.XA 2021-07-22 2021-07-22 Audio packet loss data receiving method, device, audio playing equipment and system Active CN114079537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110830835.XA CN114079537B (en) 2021-07-22 2021-07-22 Audio packet loss data receiving method, device, audio playing equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110830835.XA CN114079537B (en) 2021-07-22 2021-07-22 Audio packet loss data receiving method, device, audio playing equipment and system

Publications (2)

Publication Number Publication Date
CN114079537A CN114079537A (en) 2022-02-22
CN114079537B true CN114079537B (en) 2023-09-12

Family

ID=80283108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110830835.XA Active CN114079537B (en) 2021-07-22 2021-07-22 Audio packet loss data receiving method, device, audio playing equipment and system

Country Status (1)

Country Link
CN (1) CN114079537B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905925A (en) * 2019-05-10 2019-06-18 恒玄科技(上海)有限公司 The communication means of wireless device component and wireless device component
WO2020140186A1 (en) * 2018-12-31 2020-07-09 华为技术有限公司 Wireless audio system, and audio communication 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
CN111770428A (en) * 2020-06-24 2020-10-13 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
CN112039637A (en) * 2019-06-03 2020-12-04 南京中感微电子有限公司 Audio data communication method and system and audio communication equipment
CN112437369A (en) * 2020-07-27 2021-03-02 珠海市杰理科技股份有限公司 Audio data transmission method and system, TWS earphone pair, chip and medium
US10944154B1 (en) * 2020-09-24 2021-03-09 Bestechnic (Shanghai) Co., Ltd. Wireless audio system and method for wirelessly communicating audio information using the same
WO2021121289A1 (en) * 2019-12-16 2021-06-24 Oppo广东移动通信有限公司 Data receiving method and apparatus for bluetooth headset, device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9838829B2 (en) * 2012-12-03 2017-12-05 Sonova Ag Wireless streaming of an audio signal to multiple audio receiver devices
KR101910067B1 (en) * 2014-07-03 2018-10-22 엘지전자 주식회사 Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor
US10645490B2 (en) * 2016-07-27 2020-05-05 Sound Devices Llc Network system for reliable reception of wireless audio
US10880045B2 (en) * 2019-04-05 2020-12-29 Qualcomm Incorporated Retransmission and new packet detection in wireless systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020140186A1 (en) * 2018-12-31 2020-07-09 华为技术有限公司 Wireless audio system, and audio communication method and device
CN109905925A (en) * 2019-05-10 2019-06-18 恒玄科技(上海)有限公司 The communication means of wireless device component and wireless device component
CN112039637A (en) * 2019-06-03 2020-12-04 南京中感微电子有限公司 Audio data communication method and system and audio communication equipment
CN111436044A (en) * 2019-11-06 2020-07-21 珠海市杰理科技股份有限公司 Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network
WO2021121289A1 (en) * 2019-12-16 2021-06-24 Oppo广东移动通信有限公司 Data receiving method and apparatus for bluetooth headset, device, and storage medium
CN111770428A (en) * 2020-06-24 2020-10-13 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
CN112437369A (en) * 2020-07-27 2021-03-02 珠海市杰理科技股份有限公司 Audio data transmission method and system, TWS earphone pair, chip and medium
US10944154B1 (en) * 2020-09-24 2021-03-09 Bestechnic (Shanghai) Co., Ltd. Wireless audio system and method for wirelessly communicating audio information using the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于分组选择与混合重传算法的蓝牙数据传输性能研究";曾妍;《中国优秀硕士学位论文全文数据库 信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN114079537A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US10932043B2 (en) Wireless audio system and method for wirelessly communicating audio information using the same
US11064280B2 (en) Wireless audio system and method for wirelessly communicating audio information using the same
CN109660971B (en) Wireless earphone and communication method for wireless earphone
US10244307B1 (en) Communication of wireless headphones
US10659943B2 (en) Short-range wireless communication based on indirect transmission of communication parameters
CN110995326B (en) Communication method of wireless earphone, wireless earphone and wireless earplug
CN110913375B (en) Wireless communication system and equipment
CN110708142A (en) Audio data communication method, system and equipment
US8159990B2 (en) Wireless audio data distribution using broadcast and bidirectional communication channels
EP3439337A1 (en) Wireless device communication
CN110931026B (en) Audio data communication method, equipment and system
US20220239413A1 (en) Method and non-transitory computer-readable storage medium and apparatus for retransmitting wireless peer packet
CN112039637B (en) Audio data communication method, system and audio communication equipment
WO2021202290A1 (en) Systems and methods including wireless data packet retransmission schemes
CN109361493A (en) Bluetooth method of reseptance, bluetooth receiver and bluetooth equipment
CN111132377A (en) Data transmission method and system for terminal and earphone
CN114079537B (en) Audio packet loss data receiving method, device, audio playing equipment and system
CN114079900B (en) Bluetooth packet loss data receiving and transmitting method, circuit, audio playing device and system
CN114079895B (en) Audio packet loss data receiving circuit, method, audio playing device and system
CN114079899B (en) Bluetooth communication data processing circuit, packet loss processing method, device and system
CN112291762B (en) Data receiving and transmitting method, device, equipment and system in Bluetooth communication
JP5955755B2 (en) Digital radio communication system and radio apparatus
CN113078982B (en) Bluetooth data transmission method, device, circuit, electronic equipment and system
WO2024040159A1 (en) Coordinated sniffing of air traffic within a group of audio output devices
CN118119005A (en) Data synchronization method and related product

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
GR01 Patent grant
GR01 Patent grant