Voice data compensation method, device and equipment for wireless audio and video equipment group
By establishing asynchronous connectionless and synchronous connection-oriented in the wireless audio and video device group, the mutual comparison and retransmission rate calculation of voice packets is realized, which solves the problem of packet loss in voice communication and improves communication quality.
Patent Information
- Application Number
- CN202210209892.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-03
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-03-03
AI Technical Summary
During voice communication, due to bandwidth limitations and co-frequency interference, voice packets are lost, especially in long-distance calls and noisy air signals, which affects the user experience.
By establishing asynchronous connectionless and synchronous connection-oriented between the first device and the second device in the wireless audio and video device group, sending voice packets to each other, and performing comparison and retransmission rate calculation after receiving the packet, Recover the target voice packet to ensure reliable transmission of the packet.
It effectively reduces the loss of voice packets and improves the quality of voice communication, especially in environments with severe interference, and improves the user experience.
Smart Images

Figure CN114666773B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of voice communication, and in particular relates to a voice data compensation method and device for a wireless audio and video device group, a wireless audio and video device group and a computer storage medium. Background Art
[0002] At present, in the process of voice communication, due to factors such as bandwidth, the number of retransmissions is generally one. Due to factors such as co-channel interference, voice data packet loss is inevitable, which is particularly prominent in long-distance calls and noisy air signals, resulting in noise and popping sounds in voice calls, seriously affecting user experience. For example, traditional True Wireless Stereo (TWS) Bluetooth headsets also have the same problem. Since both ears produce sound at the same time, they are particularly sensitive to data reliability and attach great importance to anti-interference capabilities.
[0003] Therefore, how to reduce the loss of voice data packets and thus improve the quality of voice communication is a technical problem that those skilled in the art need to solve urgently. Summary of the invention
[0004] The embodiments of the present invention provide a voice data compensation method and device for a wireless audio and video device group, a wireless audio and video device group and a computer storage medium, which can reduce the loss of voice data packets and thus improve the quality of voice communication.
[0005] In a first aspect, an embodiment of the present invention provides a voice data compensation method for a wireless audio and video device group, the wireless audio and video device group comprising a first device and a second device paired with the first device, the method comprising:
[0006] When at least the first device receives the target voice data packet sent by the target device, the first device sends the target voice data packet to the second device;
[0007] The second device determines whether the target voice data packet is incorrect;
[0008] When it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices.
[0009] Optionally, when the first device is a primary device and the second device is a secondary device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the method further includes:
[0010] The first device establishes an asynchronous connectionless link (ACL) with the target device;
[0011] The first device establishes a synchronous connection oriented link (SCO) or an extended synchronous connection oriented link (eSCO) with the target device.
[0012] Optionally, when at least the first device receives the target voice data packet sent by the target device, the first device sends the target voice data packet to the second device, including:
[0013] When at least the first device receives the target voice data packet, the second device sends an empty data packet or a first voice data packet to the first device;
[0014] When determining that the empty data packet or the first voice data packet is erroneous, the first device sends the target voice data packet to the second device.
[0015] Optionally, the method further includes:
[0016] In the case that neither the first device nor the second device receives the target voice data packet, the first device sends the received second voice data packet to the second device, and the second device sends the received third voice data packet to the first device;
[0017] The first device and the second device both compare the second voice data packet with the third voice data packet bit by bit to restore the target voice data packet.
[0018] Optionally, the method further includes:
[0019] calculating a first retransmission rate between the target device and the first device;
[0020] A second retransmission rate between the target device and the second device is calculated.
[0021] Optionally, the first device is a primary Bluetooth headset, and the second device is a secondary Bluetooth headset.
[0022] In a second aspect, an embodiment of the present invention provides a voice data compensation device for a wireless audio and video device group, the wireless audio and video device group comprising a first device and a second device paired with the first device, the device comprising:
[0023] A first sending module, configured to send the target voice data packet to the second device when at least the first device receives the target voice data packet sent by the target device;
[0024] A judgment module, used for the second device to judge whether the target voice data packet is wrong;
[0025] The second sending module is used for, when it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices.
[0026] Optionally, when the first device is a master device and the second device is a slave device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the apparatus further includes:
[0027] A first establishing module, used for the first device to establish an asynchronous connectionless connection with the target device;
[0028] The second establishing module is used for the first device to establish a synchronous connection-oriented or an extended synchronous connection-oriented with the target device.
[0029] Optionally, the first sending module is used to cause the second device to send an empty data packet or a first voice data packet to the first device when at least the first device receives the target voice data packet; when the first device determines that the empty data packet or the first voice data packet is erroneous, the first device sends the target voice data packet to the second device.
[0030] Optionally, the device further comprises:
[0031] A third sending module, configured to, when neither the first device nor the second device receives the target voice data packet, cause the first device to send the received second voice data packet to the second device, and for the second device to send the received third voice data packet to the first device;
[0032] The comparison module is used for the first device and the second device, and compares the second voice data packet with the third voice data packet bit by bit to restore the target voice data packet.
[0033] Optionally, the device further comprises:
[0034] A first calculation module, used to calculate a first retransmission rate between the target device and the first device;
[0035] The second calculation module is used to calculate a second retransmission rate between the target device and the second device.
[0036] Optionally, the first device is a primary Bluetooth headset, and the second device is a secondary Bluetooth headset.
[0037] In a third aspect, an embodiment of the present invention provides a wireless audio and video device group, the wireless audio and video device group comprising:
[0038] a processor and a memory storing computer program instructions;
[0039] When the processor executes the computer program instructions, the voice data compensation method of the wireless audio and video device group in the first aspect or any optional implementation of the first aspect is implemented.
[0040] In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the voice data compensation method for a wireless audio and video device group in the first aspect or any optional implementation method of the first aspect is implemented.
[0041] The voice data compensation method and device of the wireless audio and video device group, the wireless audio and video device group and the computer storage medium of the embodiments of the present invention can reduce the loss of voice data packets and thus improve the quality of voice communication.
[0042] The voice data compensation method of the wireless audio and video device group, when at least the first device receives the target voice data packet sent by the target device, the first device sends the target voice data packet to the second device; the second device determines whether the target voice data packet is wrong; when it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices. It can be seen that the method realizes mutual compensation of voice data packets, reduces the loss of voice data packets, and thus improves the quality of voice communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 It is a flow chart of a voice data compensation method of a wireless audio and video device group provided by an embodiment of the present invention;
[0045] Figure 2 It is a structural schematic diagram of a voice data compensation device for a wireless audio and video device group provided by an embodiment of the present invention;
[0046] Figure 3 It is a structural schematic diagram of a wireless audio and video device group provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0048] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0049] At present, in the process of voice communication, due to factors such as bandwidth, the number of retransmissions is generally one. Due to factors such as co-channel interference, voice data packet loss is inevitable, which is particularly prominent in long-distance calls and noisy air signals, resulting in noise and popping sounds in voice calls, seriously affecting user experience. For example, traditional True Wireless Stereo (TWS) Bluetooth headsets also have the same problem. Since both ears produce sound at the same time, they are particularly sensitive to data reliability and attach great importance to anti-interference capabilities.
[0050] In order to solve the problems of the prior art, the embodiments of the present invention provide a method and apparatus for compensating voice data of a wireless audio and video device group, a wireless audio and video device group and a computer storage medium. The following first introduces the method for compensating voice data of a wireless audio and video device group provided by the embodiments of the present invention.
[0051] Figure 1 The flowchart of a voice data compensation method of a wireless audio and video device group provided by an embodiment of the present invention is shown. The wireless audio and video device group includes a first device and a second device paired with the first device. Figure 1 As shown, the voice data compensation method of the wireless audio and video device group may include the following steps:
[0052] S101. When at least a first device receives a target voice data packet sent by a target device, the first device sends a target voice data packet to a second device.
[0053] In one embodiment, the first device may be a main Bluetooth headset, and the second device may be a secondary Bluetooth headset. In another embodiment, the first device may be a secondary Bluetooth headset, and the second device may be a main Bluetooth headset. The target device may be a mobile terminal, such as a mobile phone. The target voice data packet is a correct voice data packet.
[0054] In one embodiment, when the first device is a master device and the second device is a slave device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the method also includes: the first device establishes an asynchronous connectionless connection with the target device; the first device establishes a synchronous connection-oriented or extended synchronous connection-oriented connection with the target device.
[0055] In one embodiment, when at least the first device receives a target voice data packet sent by a target device, the first device sends a target voice data packet to a second device, including: when at least the first device receives the target voice data packet, the second device sends an empty data packet or a first voice data packet to the first device; when the first device determines that the empty data packet or the first voice data packet is erroneous, the first device sends the target voice data packet to the second device.
[0056] S102: The second device determines whether the target voice data packet is incorrect.
[0057] S103: When it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices.
[0058] In one embodiment, the method also includes: when neither the first device nor the second device receives the target voice data packet, the first device sends the received second voice data packet to the second device, and the second device sends the received third voice data packet to the first device; the first device and the second device both compare the second voice data packet and the third voice data packet bit by bit to recover the target voice data packet.
[0059] In one embodiment, the method further includes: calculating a first retransmission rate between the target device and the first device; and calculating a second retransmission rate between the target device and the second device.
[0060] The voice data compensation method of the wireless audio and video device group, when at least the first device receives the target voice data packet sent by the target device, the first device sends the target voice data packet to the second device; the second device determines whether the target voice data packet is wrong; when it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices. It can be seen that the method realizes mutual compensation of voice data packets, reduces the loss of voice data packets, and thus improves the quality of voice communication.
[0061] The embodiments of the present invention include but are not limited to Bluetooth (including classic Bluetooth and Bluetooth low Energy (BLE)) transmission methods during voice communication, and may also utilize real-time wireless transmission methods such as Wi-Fi to achieve mutual compensation for left and right ear voices, thereby reducing data loss rate and improving voice call quality.
[0062] The following takes the voice communication between a mobile phone and a Bluetooth headset (including a main headset and a secondary headset) as an example to illustrate the above content.
[0063] An ACL connection and a SCO connection or an eSCO connection is established between the main headset and the mobile phone. The main headset and the mobile phone can exchange information, while the secondary headset can only receive voice data packets sent by the mobile phone in one direction.
[0064] The mobile phone sends voice data packets to the main headset and the auxiliary headset. The main headset determines whether the voice data packet is received. When the main headset receives the voice data packet, it sends the voice data packet to the auxiliary headset. The auxiliary headset compares the voice data packet with the voice data packet it has received, and sends the correct voice data packet to the main headset. When the main headset does not receive the voice data packet, it sends an empty data packet to the auxiliary headset, and the auxiliary headset sends the voice data packet it has received to the main headset.
[0065] After the main earphone determines that the voice data packet sent by the auxiliary earphone is correct, the main earphone and the auxiliary earphone send the correct voice data packet to their respective upper layer protocol stacks and transmit it through the speaker.
[0066] It can be seen that the embodiment of the present invention has an air compensation mechanism for voice data packets. The transmission efficiency calculation after the mechanism is implemented is:
[0067] Assume that the retransmission rate between the mobile phone and the primary and secondary earphones is P(x), where x represents the distance between the mobile phone and the primary and secondary earphones, and P(x) changes linearly with x (x can also be other environmental variables, such as the degree of co-channel interference in the air channel). The retransmission rate between the primary and secondary earphones is temporarily fixed at P(0) (the relative positions of the primary and secondary earphones are temporarily unchanged, and P(0) will also change when the interference in the air channel increases).
[0068] Calculation of comprehensive retransmission rate:
[0069] It is a special case that the main and auxiliary earphones receive errors at the same time. At this time, the retransmission rate after compensation is P(y) = P(x)*P(x). In the case of simultaneous reception errors, the most likely possibility is to rely on the Programmable Logic Controller (PLC) for compensation. If air compensation is not possible, the erroneous data can be transmitted to each other and then compared bit by bit in order to achieve the possibility of data recovery.
[0070] Table 1 Calculation variable settings
[0071] Retransmission rate between the mobile phone and the primary and secondary headsets P(x) Variable, which changes linearly with x Retransmission rate between primary and secondary headphones P(0) Can be considered as a constant Retransmission rate P(y) Retransmission rate between mobile phone headsets before compensation Retransmission rate after compensation P(y)' Retransmission rate between mobile phone headsets after compensation
[0072] Table 2 Four scenarios
[0073]
[0074] Assume that the retransmission rate between the primary and secondary earphones is P(0) = 0.03, and the retransmission rates P(x) between the mobile phone and the primary and secondary earphones are 0.03, 0.07, and 0.09 respectively. Calculate the retransmission rate difference (both ears receive errors at the same time, and only one case is calculated temporarily):
[0075] Table 3
[0076] The main and sub earphones receive the wrong signal at the same time Main earphone pair Pair of earphones 0.00087219 0.028227 0.02820081 0.00474859 0.063147 0.06308841 0.00784971 0.076167 0.07936929
[0077] It can be seen that when P(0) is constant and small enough, that is, the communication between the primary and secondary earphones is very good, as P(x) increases, the improvement in the retransmission rate is greater.
[0078] The embodiment of the present invention further provides a voice data compensation device for a wireless audio and video device group, wherein the wireless audio and video device group includes a first device and a second device paired with the first device. Figure 2 As shown, the device comprises:
[0079] The first sending module 201 is configured to send the target voice data packet to the second device when at least the first device receives the target voice data packet sent by the target device;
[0080] A determination module 202, used for the second device to determine whether the target voice data packet is incorrect;
[0081] The second sending module 203 is used for, when it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices.
[0082] Optionally, in one embodiment, when the first device is a master device and the second device is a slave device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the apparatus further includes:
[0083] A first establishing module, used for the first device to establish an asynchronous connectionless connection with the target device;
[0084] The second establishing module is used for the first device to establish a synchronous connection-oriented or an extended synchronous connection-oriented with the target device.
[0085] Optionally, in one embodiment, the first sending module 201 is used for the second device to send an empty data packet or a first voice data packet to the first device when at least the first device receives the target voice data packet; when the first device determines that the empty data packet or the first voice data packet is erroneous, the first device sends the target voice data packet to the second device.
[0086] Optionally, in one embodiment, the device further comprises:
[0087] A third sending module, configured to, when neither the first device nor the second device receives the target voice data packet, cause the first device to send the received second voice data packet to the second device, and for the second device to send the received third voice data packet to the first device;
[0088] The comparison module is used for the first device and the second device, and compares the second voice data packet with the third voice data packet bit by bit to restore the target voice data packet.
[0089] Optionally, in one embodiment, the device further comprises:
[0090] A first calculation module, used to calculate a first retransmission rate between the target device and the first device;
[0091] The second calculation module is used to calculate a second retransmission rate between the target device and the second device.
[0092] Optionally, in one embodiment, the first device is a primary Bluetooth headset, and the second device is a secondary Bluetooth headset.
[0093] Figure 2 Each module / unit in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.
[0094] Figure 3 A schematic structural diagram of a wireless audio and video device group provided by an embodiment of the present invention is shown.
[0095] The wireless audio and video device group may include a processor 301 and a memory 302 storing computer program instructions.
[0096] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0097] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 302 may include a removable or non-removable (or fixed) medium, or the memory 302 is a non-volatile solid-state memory. The memory 302 may be inside or outside the wireless audio and video device group.
[0098] In one example, the memory 302 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0099] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement Figure 1 The method in the embodiment shown in the figure is achieved Figure 1 The corresponding technical effects achieved by executing the methods / steps in the example shown are not repeated here for the sake of brevity.
[0100] In one example, the wireless audio and video device group may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0101] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0102] Bus 310 includes hardware, software or both, and couples the components of wireless audio and video equipment group to each other. For example, but not limitation, bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), Hyper Transport (HT) interconnection, Industry Standard Architecture (ISA) bus, InfiniBand interconnection, Low Pin Count (LPC) bus, Memory bus, Micro Channel Architecture (MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0103] In addition, the embodiment of the present invention can be implemented by providing a computer storage medium. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, Figure 1 The voice data compensation method of the wireless audio and video device group is shown.
[0104] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0105] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0106] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0107] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for compensating voice data of a wireless audio and video device group, characterized in that: The wireless audio and video device group includes a first device and a second device paired with the first device, and the method includes: When at least the first device receives a target voice data packet sent by a target device, the first device sends the target voice data packet to the second device; The second device determines whether the target voice data packet is erroneous; When it is determined that the target voice data packet is correct, the first device and the second device send the target voice data packet to their respective voice output devices; In the case that neither the first device nor the second device receives the target voice data packet, the first device sends the received second voice data packet to the second device, and the second device sends the received third voice data packet to the first device; wherein the second voice data packet and the third voice data packet both include error data; The first device and the second device both compare the second voice data packet with the third voice data packet bit by bit to restore the target voice data packet; When the first device is a primary device and the second device is a secondary device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the method further includes: The first device establishes an asynchronous connectionless connection with the target device; The first device establishes a synchronous connection-oriented or extended synchronous connection-oriented with the target device; The first device sending the target voice data packet to the second device when at least the first device receives the target voice data packet sent by the target device includes: When at least the first device receives the target voice data packet, the second device sends an empty data packet or a first voice data packet to the first device; The first device sends the target voice data packet to the second device when determining that the empty data packet or the first voice data packet is erroneous; The main device and the target device can exchange information, while the secondary device can only receive voice data packets sent by the target device in one direction; The target device sends a voice data packet to the main device and the slave device. The main device determines whether the voice data packet is received. When the main device receives the voice data packet, it sends the voice data packet to the slave device. The slave device compares the voice data packet with the voice data packet received by itself and sends the correct voice data packet to the main device. When the main device does not receive the voice data packet, it sends an empty data packet to the slave device, and the slave device sends the voice data packet received by itself to the main device. After the master device determines that the voice data packet sent by the slave device is correct, the master device and the slave device send the correct voice data packet to their respective upper layer protocol stacks and transmit it through the speaker.
2. The voice data compensation method of the wireless audio and video equipment group according to claim 1, characterized in that: The method further comprises: Calculating a first retransmission rate between the target device and the first device; A second retransmission rate between the target device and the second device is calculated.
3. The voice data compensation method of the wireless audio and video equipment group according to claim 1, characterized in that: The first device is a primary Bluetooth headset, and the second device is a secondary Bluetooth headset.
4. A voice data compensation device for a wireless audio and video equipment group, characterized in that: The wireless audio and video device group includes a first device and a second device paired with the first device, and the apparatus includes: A first sending module, configured to, when at least the first device receives a target voice data packet sent by a target device, cause the first device to send the target voice data packet to the second device; A judging module, used for the second device to judge whether the target voice data packet is wrong; A second sending module, configured to, when determining that the target voice data packet is correct, cause the first device and the second device to send the target voice data packet to respective voice output devices; A third sending module, configured to, when neither the first device nor the second device receives the target voice data packet, cause the first device to send the received second voice data packet to the second device, and for the second device to send the received third voice data packet to the first device; A comparison module, used for the first device and the second device, to compare the second voice data packet with the third voice data packet bit by bit to restore the target voice data packet; When the first device is a primary device and the second device is a secondary device, before the first device sends the target voice data packet to the second device, when at least the first device receives the target voice data packet sent by the target device, the step includes: The first device establishes an asynchronous connectionless connection with the target device; The first device establishes a synchronous connection-oriented or extended synchronous connection-oriented with the target device; The first device sending the target voice data packet to the second device when at least the first device receives the target voice data packet sent by the target device includes: When at least the first device receives the target voice data packet, the second device sends an empty data packet or a first voice data packet to the first device; The first device sends the target voice data packet to the second device when determining that the empty data packet or the first voice data packet is erroneous; The main device and the target device can exchange information, while the secondary device can only receive voice data packets sent by the target device in one direction; The target device sends a voice data packet to the main device and the slave device. The main device determines whether the voice data packet is received. When the main device receives the voice data packet, it sends the voice data packet to the slave device. The slave device compares the voice data packet with the voice data packet received by itself and sends the correct voice data packet to the main device. When the main device does not receive the voice data packet, it sends an empty data packet to the slave device, and the slave device sends the voice data packet received by itself to the main device. After the master device determines that the voice data packet sent by the slave device is correct, the master device and the slave device send the correct voice data packet to their respective upper layer protocol stacks and transmit it through the speaker.
5. The voice data compensation device for a wireless audio and video equipment group according to claim 4, characterized in that: When the first device is a primary device and the second device is a secondary device, when at least the first device receives a target voice data packet sent by a target device, before the first device sends the target voice data packet to the second device, the apparatus further includes: A first establishing module, used for the first device to establish an asynchronous connectionless connection with the target device; The second establishing module is used for the first device to establish a synchronous connection-oriented or an extended synchronous connection-oriented with the target device.
6. A wireless audio and video equipment set, characterized in that: The wireless audio and video equipment group includes: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the voice data compensation method of the wireless audio and video device group as described in any one of claims 1-3.
7. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the voice data compensation method for a wireless audio and video device group according to any one of claims 1 to 3 is implemented.
