CN111770428B - Monitoring method of wireless equipment - Google Patents

Monitoring method of wireless equipment Download PDF

Info

Publication number
CN111770428B
CN111770428B CN202010589328.7A CN202010589328A CN111770428B CN 111770428 B CN111770428 B CN 111770428B CN 202010589328 A CN202010589328 A CN 202010589328A CN 111770428 B CN111770428 B CN 111770428B
Authority
CN
China
Prior art keywords
audio
equipment
data packet
audio equipment
monitoring
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
CN202010589328.7A
Other languages
Chinese (zh)
Other versions
CN111770428A (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.)
Hangzhou Nationalchip Science & Technology Co ltd
Original Assignee
Hangzhou Nationalchip Science & 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 Hangzhou Nationalchip Science & Technology Co ltd filed Critical Hangzhou Nationalchip Science & Technology Co ltd
Priority to CN202010589328.7A priority Critical patent/CN111770428B/en
Publication of CN111770428A publication Critical patent/CN111770428A/en
Application granted granted Critical
Publication of CN111770428B publication Critical patent/CN111770428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Otolaryngology (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a monitoring method of wireless equipment. The existing wireless audio sharing method cannot ensure the integrity of data through a Bluetooth protocol. The method comprises the steps that wireless sound source equipment sends a data packet to first audio equipment, second audio equipment acquires the data packet through monitoring, monitoring state information containing abstract information of each data packet of the data packet is sent to the first audio equipment in a time slot after monitoring is completed, division of the data packet and extraction of the abstract information are respectively processed according to the receiving state of the first audio equipment and the monitoring state of the second audio equipment according to the convention of the first audio equipment and the second audio equipment, and corresponding packet data information contents are replaced according to a data packet serial number corresponding to wrong packet data. The method of the invention adopts the first audio equipment to forward the corresponding error data packet instead of the whole data packet, thereby effectively reducing the occupation of bandwidth and reducing the power consumption.

Description

Monitoring method of wireless equipment
Technical Field
The invention belongs to the technical field of wireless communication, particularly relates to the technical field of audio wireless transmission, particularly relates to the field of classical Bluetooth audio transmission, and relates to a monitoring method of wireless equipment, which is applied to a complex network topology structure of three wireless audio devices.
Background
In the classic bluetooth BR/EDR protocol, a Piconet (Piconet) has only one Master device (Master) and may have a maximum of seven Slave devices (Slave), each Master device and each Slave device forming a bluetooth link for data transmission. A typical ACL link which ensures the correctness of data transmission can only be transmitted on the bluetooth links of the master device and the slave device; the master device may broadcast that multiple slave devices may receive, but the broadcast content cannot be acknowledged separately by each slave device, and thus it cannot be guaranteed that each slave device can receive accurately.
In many practical applications, such as bluetooth speaker sets and TWS bluetooth headsets, there is a similar wireless audio source and a plurality of wireless audio playback devices. While the conventional wireless audio sources (such as smart phones, tablet computers, notebook computers and the like) only support the classic bluetooth function. If all wireless devices are connected according to the topological structure of classical bluetooth, audio data can only be transmitted to one wireless audio playing device from a wireless audio source device, and then the wireless audio playing device forwards the audio data to other wireless audio playing devices, which means that one data content needs to be forwarded for many times, thus causing the waste of wireless bandwidth resources and power consumption, causing serious audio source delay and poor user experience.
In some designs, a method of wireless audio sharing is employed: namely, the wireless audio source device and one of the wireless audio playing devices are in normal Bluetooth connection, and the other wireless audio playing devices monitor the wireless link to indirectly obtain the data sent from the wireless audio source. As the audio playing device which is normally connected with the wireless sound source device, whether the data packet can be received or not is ensured by the Bluetooth protocol, and if the data packet fails to be received for a certain time, the Bluetooth protocol can ensure retransmission until the data transmission is successful. But as a listener, the integrity of the data cannot be guaranteed by the bluetooth protocol. In these designs, some devices interact with each other, but bandwidth and power consumption may be wasted.
In practical application scenarios, there are a large number of cases: only 1-2 bit errors exist in one transmitted long packet, and the retransmission of the whole packet is needed at the moment; or, a transmitted long packet is subjected to some external interference in a short time period, and continuous errors occur intensively, and at this time, retransmission of the whole packet is required. In these cases, it is actually hoped that some processing schemes will reduce the retransmission on the audio source side, and the correct side will receive the partial retransmission, so as to achieve effective reduction of bandwidth occupation and power consumption.
Disclosure of Invention
The invention aims to provide a monitoring method of wireless equipment aiming at the defects of the prior art, which can effectively reduce the occupation of bandwidth and the consumption of power consumption on the premise of ensuring the integrity of data of a monitoring party.
The method realizes the communication between the wireless sound source equipment and the wireless audio equipment, and the wireless audio equipment consists of first audio equipment and second audio equipment. The wireless sound source equipment is wirelessly connected with the first audio equipment through classical Bluetooth; the second audio equipment acquires the data packet and the control information of the communication between the first audio equipment and the wireless sound source equipment in a monitoring mode. The monitoring scheme specifically comprises the following steps:
a first wireless link is established between the first audio equipment and the second audio equipment, and a second wireless link is established between the wireless sound source equipment and the first audio equipment; the wireless sound source equipment sends a data packet to the first audio equipment through a second wireless link, the second audio equipment acquires the data packet through monitoring, and sends monitoring state information to the first audio equipment through the first wireless link in a time slot after the monitoring is completed; the monitoring condition information comprises whether the second audio equipment correctly monitors the complete data packet information and summary information of each data packet of the data packet; grouping according to the grouping size appointed by the first audio equipment and the second audio equipment, and extracting abstract information according to the rule appointed by the first audio equipment and the second audio equipment; according to the receiving state of the first audio equipment and the monitoring state of the second audio equipment, the following processing is carried out:
(1) if the first audio device receives the data packet sent by the wireless audio source device and the data packet is correct, the following steps are carried out:
(1-1) if the first audio equipment receives the monitoring condition information which shows that the monitoring is successful and is sent by the second audio equipment, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot, and the successful receipt of the data packet is confirmed.
(1-2) if the first audio equipment does not receive the monitoring state information sent by the second audio equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(1-3) if the first audio equipment receives the monitoring condition information sent by the second audio equipment but displays monitoring errors, executing (4);
(2) if the first audio equipment does not receive the data packet sent by the wireless sound source equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(3) if the first audio device receives the data packet sent by the wireless audio source device, but the data packet is wrong, the following processing is carried out:
(3-1) if the first audio equipment receives monitoring condition information which shows that the monitoring is successful and is sent by the second audio equipment, executing (5);
(3-2) if the first audio equipment does not receive the monitoring state information sent by the second audio equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
and (3-3) if the first audio equipment receives the monitoring condition information sent by the second audio equipment but displays monitoring errors, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame.
(4) The first audio device groups the received correct data packets according to the group size agreed by the first audio device and the second audio device, extracts the local summary information of each data packet according to the rule agreed by the first audio device and the second audio device, and compares the local summary information with the monitoring summary information of each data packet in the monitoring status information one by one:
(4-1) if the number of data packets of which the local summary information is different from the monitoring summary information is more than a set threshold, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, the wireless sound source equipment retransmits the data packet in a subsequent frame, and the second audio equipment regains the opportunity of receiving through the retransmission of the wireless sound source equipment;
(4-2) if the number of data packets with different local summary information and monitoring summary information is less than or equal to a set threshold, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot to confirm that the data packets are successfully received; the first audio equipment sends the data packet serial numbers of different summary information and the data packet content information to the second audio equipment through a first wireless link; and the second audio equipment replaces the content information of the corresponding data packet in the original data packet with the content received from the first audio equipment through the data packet serial number to re-form the correct data packet.
(5) The first audio device groups the received data packets according to the group size agreed by the first audio device and the second audio device, extracts the local summary information of each data packet according to the rule agreed by the first audio device and the second audio device, and compares the local summary information with the monitoring summary information of each data packet in the monitoring status information one by one:
(5-1) if the number of data packets of which the local summary information is different from the monitoring summary information is more than a set threshold value, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, the wireless sound source equipment retransmits the data packet in a subsequent frame, and the first audio equipment regains the opportunity of receiving through the retransmission of the wireless sound source equipment;
(5-2) if the number of data packets with different local summary information and monitoring summary information is less than or equal to a set threshold, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot to confirm that the data packets are successfully received; the method comprises the steps that a first audio device sends a data reissuing request to a second audio device through a first wireless link, wherein the data reissuing request comprises data grouping serial numbers of different summary information; the second audio equipment replies the data packet content corresponding to the packet sequence number to the first audio equipment according to the reissued data request; the first wireless audio equipment replaces the content of the error data packet in the original data packet with the content received from the second audio equipment, and the correct data packet is formed again.
By the method, under the condition that one audio device receives correctly and the other audio device receives less error bits or the error bits are concentrated, the correctly received audio device forwards corresponding wrong data packet contents to the incorrectly received audio device instead of retransmitting by the wireless sound source device or forwarding the whole data packet by the correctly received audio device, so that the occupation of bandwidth is effectively reduced and the power consumption is reduced.
Drawings
Fig. 1 is a diagram of a wireless network architecture for use with the present invention;
FIG. 2 is a timing diagram of one aspect of the method of the present invention;
FIG. 3 is a timing diagram of another aspect of the method of the present invention;
FIG. 4 is a timing diagram of a further aspect of the method of the present invention;
FIG. 5 is a timing diagram illustrating yet another aspect of the method of the present invention;
FIG. 6 is a timing diagram of yet another aspect of the method of the present invention;
FIG. 7 is a timing diagram illustrating the implementation of the present invention;
fig. 8 is a timing diagram for an embodiment of the present invention.
Detailed Description
Referring to fig. 1, a listening method of a wireless device realizes communication between a wireless sound source device and a wireless audio device. The wireless sound source equipment comprises a smart phone, a tablet computer or a notebook computer. The wireless audio device comprises a Bluetooth headset or a Bluetooth sound box. The wireless audio device is comprised of a first audio device and a second audio device (e.g., left and right earpieces of a headset), the first audio device in wireless communication with the second audio device.
The wireless sound source equipment is wirelessly connected with the first audio equipment through classic Bluetooth, and sends and receives data packets, wherein the classic Bluetooth is a BR/EDR part of a Bluetooth core protocol. The first audio equipment and the second audio equipment are in wireless communication through Bluetooth or a self-set communication protocol. The second audio equipment acquires the data packet and the control information of the communication between the first audio equipment and the wireless sound source equipment in a monitoring mode.
A first wireless link is established between the first audio equipment and the second audio equipment, and a second wireless link is established between the wireless sound source equipment and the first audio equipment; the wireless sound source equipment sends a data packet to the first audio equipment through a second wireless link, the second audio equipment acquires the data packet through monitoring, and sends monitoring state information to the first audio equipment through the second wireless link in a time slot after the monitoring is completed; the monitoring status information comprises whether the second audio equipment correctly monitors the complete data packet information and summary information of each data packet of the data packet; grouping according to the grouping size appointed by the first audio equipment and the second audio equipment, and extracting the summary information according to the rule appointed by the first audio equipment and the second audio equipment. With reference to fig. 2 to 6, a dotted line frame in the figure indicates transmission, a solid line frame indicates reception or monitoring, and the specific monitoring scheme is as follows:
(1) referring to fig. 2, the wireless sound source device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located; if the first audio equipment can not correctly receive the state information of the second audio equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, so that the wireless sound source equipment retransmits the data packet in the next time slot.
(2) Referring to fig. 3, the wireless audio device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment successfully receives the data packet and the second audio equipment successfully monitors the data packet, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot to confirm that the data packet is successfully received; the wireless audio device does not need to retransmit the data packet.
(3) Referring to fig. 4, the wireless audio device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment successfully receives the data packet and the second audio equipment cannot successfully monitor the data packet, the first audio equipment calculates the summary information of each local data packet according to the correctly received data packet and compares the summary information with the summary information of each data packet in the monitoring state information. If the summary information in the local summary information and the monitoring condition information are equal to each other for the same data packet, the packet content of the second audio equipment is proved to be correct; otherwise the packet content of the second audio device is proven to be erroneous. If the number of data packets with unequal digests is less than or equal to a certain set threshold, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot so as to confirm that the data packets are successfully received. The first audio equipment sends the content information and the serial number of the data packets with unequal abstracts to the second audio equipment on a first wireless link; and the second audio equipment replaces the corresponding data packet content in the original data packet with the content received from the first audio equipment through the sequence number information, and the correct data packet is formed again.
(4) Referring to fig. 5, the wireless audio source device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment successfully receives the data packet and the second audio equipment cannot successfully monitor the data packet, the first audio equipment calculates the summary information of each local data packet according to the correctly received data packet and compares the summary information with the summary information of each data packet in the monitoring state information. If the summary information in the local summary information and the monitoring condition information are equal to each other for the same data packet, the packet content of the second audio equipment is proved to be correct; otherwise the packet content of the second audio device is proven to be erroneous. If the number of data packets with unequal digests is more than a certain set threshold, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, so that the wireless sound source equipment retransmits the data packet in the next time slot. The second audio device will regain the opportunity to receive through retransmission by the wireless audio source device.
(5) Referring to fig. 5, the wireless audio source device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment and the second audio equipment can not successfully receive the data packet, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, so that the wireless sound source equipment retransmits the data packet in the next time slot.
(6) Referring to fig. 6, the wireless audio device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment can not successfully receive the data packet and the second audio equipment successfully monitors the data packet, the first audio equipment calculates the summary information of each local data packet according to the received error data packet and compares the summary information with the summary information of each data packet in the monitoring state information. If the summary information in the local summary information and the monitoring condition information are equal to each other for the same data packet, the packet content of the first audio equipment is proved to be correct; otherwise the packet content of the first audio device is proven to be erroneous. If the number of the data packets with unequal abstracts is less than or equal to a certain set threshold value, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot so as to confirm that the data packets are successfully received; the first audio equipment sends a data packet request to the second audio equipment on a first wireless link, and the second audio equipment replies corresponding data packet content to the first audio equipment according to the data packet request; the first audio equipment replaces the content of the error data packet in the original data packet with the content received from the second audio equipment, and the correct data packet is formed again. The threshold is set according to the bandwidth occupation condition, and is generally 5-50% of the number of the data packets.
(7) Referring to fig. 5, the wireless audio source device sends a data packet to the first audio device, and the second audio device obtains the data packet by monitoring and sends monitoring status information to the first audio device in the time slot where the complete packet is located. If the first audio equipment can not successfully receive the data packet and the second audio equipment successfully monitors the data packet, the first audio equipment calculates the summary information of each local data packet according to the received error data packet and compares the summary information with the summary information of each data packet in the monitoring state information. If the summary information in the local summary information and the monitoring condition information are equal to each other for the same data packet, the packet content of the first audio equipment is proved to be correct; otherwise the packet content of the first audio device is proven to be erroneous. If the number of data packets with unequal digests is more than a certain set threshold, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, so that the wireless sound source equipment retransmits the data packet in the next time slot. The first audio device will regain the opportunity to receive through retransmission by the wireless audio source device. The threshold is set according to the bandwidth occupation condition, and is generally 5-50% of the number of the data packets.
Three examples are provided below for further illustration. In three embodiments, the wireless audio source device sends the audio data packet to the first audio device as a 2DH5 packet with a payload length of 683 bytes at the maximum. The first audio device and the second audio device agree that the data packet size is 50 bytes so that the data packet can be loaded within a 2DH1 packet. The audio padding on the first wireless link is performed using 2DH1 packets. The wireless audio source device sends a 2DH5 audio packet with a payload length of 683 bytes plus a 2-byte CRC check code for a total of 685 bytes to the first audio device during a timeslot. Meanwhile, the second audio device monitors the audio packet. A total of 14 packets are formed by 50 bytes of one data packet, and 0 is complemented if the last packet is insufficient. The data packet error threshold is agreed to be 1 erroneous packet.
Example 1.
As shown in fig. 7, in this example, the CRC of the packet monitored by the second audio device cannot be successfully compared, i.e. the data cannot be correctly confirmed, so that the second audio device replies a monitoring status message including NACK information of reception failure and digest information of 14 data packets to the first audio device before the next time slot.
The first audio device can correctly receive the 2DH5 packet and correctly receive the listening status information sent by the second audio device. The first audio equipment calculates the summary information of 14 groups according to the correct received packets, and compares the summary information with the received corresponding group summary information of the second audio equipment respectively. As a result of the comparison, it is found that, except that the digest information of the group 2 is inconsistent, the other group digest information is consistent, indicating that the status of the second audio device is: bit error information is present only in data packet 2. The scheme provided by the invention can be used for carrying out data grouping and reissuing. The first audio device replies an ACK to the wireless audio device in the next slot to acknowledge that the 2DH5 packet has been successfully received without retransmission. The first audio device packages the correct data packet 2 and control information such as the location of the data packet 2 in a subsequent time slot, and sends the data packet to the second audio device in a 2DH1 packet.
And after receiving the 2DH1 packet sent by the first audio equipment, the second audio equipment completes the replacement of the data packet 2 of the 2DH5 packet according to the control information and reassembles the data packet into a correct 2DH5 packet.
In this example, the first audio device has successfully received the 2DH5 packet, and the second audio device is unable to successfully receive the 2DH5 packet. If the packet retransmitted 2DH5 needs to be transmitted by the wireless audio source device, it is necessary for the second audio device to re-receive the entire packet of 2DH5 occupying 5 slots, which consumes about 2876us of receiver power consumption; for the first audio device, it is necessary to receive at least the header of the retransmitted 2DH5 packet to confirm whether or not the packet is retransmitted, which costs about 126us of receiver power consumption; a NULL packet needs to be sent to tell whether the wireless audio source device was successfully received, which consumes about 126us of transmitter power. That is, it is necessary for the first audio apparatus and the second audio apparatus to consume about 3002us of reception power consumption and 126us of transmission power consumption in total. The bandwidth occupation is increased by 6 slots.
By adopting the scheme of the invention, only one 2DH1 packet needs to be sent to the second audio equipment by the first audio equipment, and a NULL packet needs to be sent to the first audio equipment by the second audio equipment. It is necessary for the first audio device and the second audio device to consume a total of about 920us of transmit power and 920us of receive power. The bandwidth occupation is increased by 2 time slots. Therefore, the consumption of power consumption and the occupation of bandwidth are obviously reduced.
Example 2.
In this embodiment, the wireless audio source device sends the audio data packet to the first audio device as a 2DH5 packet with a payload length of 683 bytes at the maximum. Meanwhile, the second audio device monitors the audio packet. In this embodiment, the CRC of the packet that is monitored by the second audio device cannot be successfully compared, i.e. the data cannot be correctly confirmed, so that the second audio device replies a monitoring status message to the first audio device before the next timeslot, including NACK information of reception failure and digest information of 14 data packets.
The first audio device can correctly receive the 2DH5 packet and correctly receive the listening status information sent by the second audio device. The first audio equipment calculates the summary information of 14 groups according to the correct received packets, and compares the summary information with the received corresponding group summary information of the second audio equipment respectively. The comparison result shows that 5 pieces of packet summary information are inconsistent and exceed the set threshold. The first audio device replies a NACK to the wireless audio device in the next slot to confirm that the 2DH5 packet was received unsuccessfully, requiring retransmission.
Example 3.
As shown in fig. 8, in the present embodiment, the wireless audio device sends the audio data packet to the first audio device as a 2DH5 packet with a payload length of 683 bytes at the maximum. Meanwhile, the second audio device monitors the audio packet. In this embodiment, the second audio device listens for the correct packet, so the second audio device replies to the first audio device with a listen status message, including ACK information for successful reception, and digest information for 14 data packets, before the next slot.
The first audio device cannot correctly receive the 2DH5 packet, but correctly receives the listening status information sent by the second audio device. The first audio equipment calculates the summary information of 14 groups according to the correct received packets, and compares the summary information with the received corresponding group summary information of the second audio equipment respectively. As a result of the comparison, it is found that, in addition to the inconsistency of the digest information of the group 1, the other group digest information is consistent, indicating that the state of the first audio device is: bit error information is present only in data packet 1. The scheme provided by the invention is used for carrying out data grouping and reissuing. The first audio device replies an ACK to the wireless audio device in the next slot to acknowledge successful reception of the 2DH5 packet without retransmission. The first audio equipment sends data grouping request information to the second audio equipment in a subsequent time slot; after receiving the data packet request message, the second audio device packages the correct data packet 1 together with the control information, and sends the data packet 1 and the control information to the first audio device in a 2DH1 package.
And after receiving the 2DH1 packet sent by the second audio equipment, the first audio equipment completes the replacement of the data packet 1 of the 2DH5 packet according to the control information and reassembles the data packet into a correct 2DH5 packet.

Claims (1)

1. A monitoring method of wireless equipment realizes communication between wireless sound source equipment and wireless audio equipment, wherein the wireless audio equipment consists of first audio equipment and second audio equipment which are in wireless communication through Bluetooth or a self-set communication protocol; the wireless sound source equipment is wirelessly connected with the first audio equipment through classical Bluetooth; the second audio equipment acquires a data packet and control information of communication between the first audio equipment and the wireless sound source equipment in a monitoring mode; the method is characterized in that: the monitoring specifically comprises:
a first wireless link is established between the first audio equipment and the second audio equipment, and a second wireless link is established between the wireless sound source equipment and the first audio equipment; the wireless sound source equipment sends a data packet to the first audio equipment through a second wireless link, the second audio equipment acquires the data packet through monitoring, and sends monitoring state information to the first audio equipment through the first wireless link in a time slot after the monitoring is completed; the monitoring condition information comprises whether the second audio equipment correctly monitors the complete data packet information and summary information of each data packet of the data packet; grouping according to the grouping size appointed by the first audio equipment and the second audio equipment, and extracting abstract information according to the rule appointed by the first audio equipment and the second audio equipment; according to the receiving state of the first audio equipment and the monitoring state of the second audio equipment, the following processing is carried out:
(1) if the first audio device receives the data packet sent by the wireless audio source device and the data packet is correct, the following steps are carried out:
(1-1) if the first audio equipment receives monitoring condition information which shows that monitoring is successful and is sent by the second audio equipment, the first audio equipment sends an ACK (acknowledgement character) packet to the wireless sound source equipment in the next time slot, and the successful receipt of the data packet is confirmed;
(1-2) if the first audio equipment does not receive the monitoring state information sent by the second audio equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(1-3) if the first audio equipment receives the monitoring condition information sent by the second audio equipment but displays monitoring errors, executing (4);
(2) if the first audio equipment does not receive the data packet sent by the wireless sound source equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(3) if the first audio device receives the data packet sent by the wireless audio source device, but the data packet is wrong, the following processing is carried out:
(3-1) if the first audio equipment receives monitoring condition information which shows that the monitoring is successful and is sent by the second audio equipment, executing (5);
(3-2) if the first audio equipment does not receive the monitoring state information sent by the second audio equipment, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(3-3) if the first audio equipment receives the monitoring state information sent by the second audio equipment but displays monitoring errors, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, and the wireless sound source equipment retransmits the data packet in the subsequent frame;
(4) the first audio device groups the received correct data packets according to the group size agreed by the first audio device and the second audio device, extracts the local summary information of each data packet according to the rule agreed by the first audio device and the second audio device, and compares the local summary information with the monitoring summary information of each data packet in the monitoring status information one by one:
(4-1) if the number of data packets of which the local summary information is different from the monitoring summary information is more than a set threshold, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, the wireless sound source equipment retransmits the data packet in a subsequent frame, and the second audio equipment regains the opportunity of receiving through the retransmission of the wireless sound source equipment;
(4-2) if the number of data packets with different local summary information and monitoring summary information is less than or equal to a set threshold, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot to confirm that the data packets are successfully received; the first audio equipment sends the data packet serial numbers of different summary information and the data packet content information to the second audio equipment through a first wireless link; the second audio equipment replaces the content information of the corresponding data packet in the original data packet with the content received from the first audio equipment through the data packet serial number, and the correct data packet is formed again;
(5) the first audio device groups the received data packets according to the group size agreed by the first audio device and the second audio device, extracts the local summary information of each data packet according to the rule agreed by the first audio device and the second audio device, and compares the local summary information with the monitoring summary information of each data packet in the monitoring status information one by one:
(5-1) if the number of data packets of which the local summary information is different from the monitoring summary information is more than a set threshold value, the first audio equipment sends a NACK packet to the wireless sound source equipment in the next time slot, the wireless sound source equipment retransmits the data packet in a subsequent frame, and the first audio equipment regains the opportunity of receiving through the retransmission of the wireless sound source equipment;
(5-2) if the number of data packets with different local summary information and monitoring summary information is less than or equal to a set threshold, the first audio equipment sends an ACK packet to the wireless sound source equipment in the next time slot to confirm that the data packets are successfully received; the method comprises the steps that a first audio device sends a data reissuing request to a second audio device through a first wireless link, wherein the data reissuing request comprises data grouping serial numbers of different summary information; the second audio equipment replies the data packet content corresponding to the packet sequence number to the first audio equipment according to the reissued data request; the first wireless audio equipment replaces the content of the error data packet in the original data packet with the content received from the second audio equipment, and the correct data packet is formed again.
CN202010589328.7A 2020-06-24 2020-06-24 Monitoring method of wireless equipment Active CN111770428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010589328.7A CN111770428B (en) 2020-06-24 2020-06-24 Monitoring method of wireless equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010589328.7A CN111770428B (en) 2020-06-24 2020-06-24 Monitoring method of wireless equipment

Publications (2)

Publication Number Publication Date
CN111770428A CN111770428A (en) 2020-10-13
CN111770428B true CN111770428B (en) 2021-12-07

Family

ID=72721666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010589328.7A Active CN111770428B (en) 2020-06-24 2020-06-24 Monitoring method of wireless equipment

Country Status (1)

Country Link
CN (1) CN111770428B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115549863A (en) * 2021-06-29 2022-12-30 Oppo广东移动通信有限公司 Method for retransmitting audio data packet, audio receiver, storage medium and system
CN114079537B (en) * 2021-07-22 2023-09-12 珠海市杰理科技股份有限公司 Audio packet loss data receiving method, device, audio playing equipment and system
CN114079895B (en) * 2021-07-22 2024-03-19 珠海市杰理科技股份有限公司 Audio packet loss data receiving circuit, method, audio playing device and system
CN114071438A (en) * 2021-11-12 2022-02-18 上海物骐微电子有限公司 Wireless audio monitoring method and wireless audio system
CN114666777B (en) * 2022-05-26 2022-07-29 成都市安比科技有限公司 Bandwidth improving method of Bluetooth audio system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860774B1 (en) * 2013-06-11 2014-10-14 New Vad, Llc System and method for PC-based video conferencing and audio/video presentation
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
CN106792454A (en) * 2016-12-19 2017-05-31 建荣半导体(深圳)有限公司 Bluetooth communication method, communicator, communication system and electronic equipment
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
CN108429949A (en) * 2018-03-21 2018-08-21 恒玄科技(上海)有限公司 A kind of Bluetooth audio frequency mixed communication method suitable for bluetooth headset
US10200791B1 (en) * 2017-10-18 2019-02-05 Bestechnic (Shanghai) Co., Ltd. Operation mode switch of wireless headphones
CN109327829A (en) * 2018-11-22 2019-02-12 重庆物奇科技有限公司 The method of bluetooth equipment, Bluetooth communication system and equipment room transmission instruction
CN109561419A (en) * 2019-02-19 2019-04-02 恒玄科技(上海)有限公司 The ears wireless headset of high reliability and communication means for ears wireless headset
CN109660906A (en) * 2019-03-12 2019-04-19 恒玄科技(上海)有限公司 Wireless Bluetooth headsets, wireless Bluetooth headsets master-slave swap optimization method
CN109905925A (en) * 2019-05-10 2019-06-18 恒玄科技(上海)有限公司 The communication means of wireless device component and wireless device component
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device
CN110225504A (en) * 2019-06-21 2019-09-10 恒玄科技(上海)有限公司 Transmit the method and wireless device component of data
CN110267305A (en) * 2019-06-13 2019-09-20 重庆物奇科技有限公司 A kind of wireless data repeating method
WO2019205054A1 (en) * 2018-04-26 2019-10-31 万魔声学科技有限公司 Wireless audio communication method and apparatus, and audio playback device and system
CN110636487A (en) * 2019-09-27 2019-12-31 恒玄科技(上海)有限公司 Wireless earphone and communication method of wireless earphone
CN110913375A (en) * 2019-11-27 2020-03-24 南京中感微电子有限公司 Wireless communication system and equipment
CN111031437A (en) * 2019-12-27 2020-04-17 恒玄科技(北京)有限公司 Wireless earphone assembly and communication method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804220B2 (en) * 2001-05-07 2004-10-12 Qualcomm Incorporated Method and apparatus for generating control information for packet data
CN111106853B (en) * 2019-10-08 2021-07-30 珠海市杰理科技股份有限公司 Master-slave switching method, device and equipment for double wireless Bluetooth equipment and audio system

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860774B1 (en) * 2013-06-11 2014-10-14 New Vad, Llc System and method for PC-based video conferencing and audio/video presentation
CN106792454A (en) * 2016-12-19 2017-05-31 建荣半导体(深圳)有限公司 Bluetooth communication method, communicator, communication system and electronic equipment
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
US10200791B1 (en) * 2017-10-18 2019-02-05 Bestechnic (Shanghai) Co., Ltd. Operation mode switch of wireless headphones
CN108429949A (en) * 2018-03-21 2018-08-21 恒玄科技(上海)有限公司 A kind of Bluetooth audio frequency mixed communication method suitable for bluetooth headset
WO2019205054A1 (en) * 2018-04-26 2019-10-31 万魔声学科技有限公司 Wireless audio communication method and apparatus, and audio playback device and system
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
CN109327829A (en) * 2018-11-22 2019-02-12 重庆物奇科技有限公司 The method of bluetooth equipment, Bluetooth communication system and equipment room transmission instruction
CN109561419A (en) * 2019-02-19 2019-04-02 恒玄科技(上海)有限公司 The ears wireless headset of high reliability and communication means for ears wireless headset
CN109660906A (en) * 2019-03-12 2019-04-19 恒玄科技(上海)有限公司 Wireless Bluetooth headsets, wireless Bluetooth headsets master-slave swap optimization method
CN109905925A (en) * 2019-05-10 2019-06-18 恒玄科技(上海)有限公司 The communication means of wireless device component and wireless device component
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device
CN110267305A (en) * 2019-06-13 2019-09-20 重庆物奇科技有限公司 A kind of wireless data repeating method
CN110225504A (en) * 2019-06-21 2019-09-10 恒玄科技(上海)有限公司 Transmit the method and wireless device component of data
CN110636487A (en) * 2019-09-27 2019-12-31 恒玄科技(上海)有限公司 Wireless earphone and communication method of wireless earphone
CN110913375A (en) * 2019-11-27 2020-03-24 南京中感微电子有限公司 Wireless communication system and equipment
CN111031437A (en) * 2019-12-27 2020-04-17 恒玄科技(北京)有限公司 Wireless earphone assembly and communication method thereof

Also Published As

Publication number Publication date
CN111770428A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN111770428B (en) Monitoring method of wireless equipment
EP1871031B1 (en) Retransmission control method and device
JP3677297B2 (en) Concatenated error detection coding and packet numbering for hierarchical ARQ schemes
EP1852996A2 (en) Error detection and retransmission methods and devices for communication systems
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
US20150163020A1 (en) Method And Arrangement For Retransmission Using HARQ
US8473803B2 (en) Apparatus and method for generating ARQ feedback message in wireless communication system
RU2481713C2 (en) Method and transmitting unit for reducing transmission loss risk
US10932159B2 (en) Data transmission method, data receiving device, and data sending device
WO2018228477A1 (en) Communication method, network device and terminal
WO2018126362A1 (en) Rlc layer status report control pdu transmitting method and related device
JP2004535136A (en) How to send data packets
WO2022083371A1 (en) Data transmission method and device
WO2021208694A1 (en) Data transmission method and network device
CN103999394A (en) Data retransmission and feedback methods, and corresponding apparatus
CN113473532B (en) Method and system for optimally transmitting radio link control state report
EP3790213B1 (en) Mac-based hybrid automatic repeat request (harq)
CN109756306B (en) Information transmission method and communication device
WO2019062555A1 (en) Data transmission method and apparatus
JPH08223214A (en) Transmission control system
CN112804622A (en) Wireless audio output device and operation method thereof
WO2023001130A1 (en) Communication method and apparatus
JP2013026820A (en) Communication apparatus, communication method and communication system
JP7206565B1 (en) Wireless communication system and method
JP2004134927A (en) Plant monitoring control system

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