CN114785981A - Data communication method and system suitable for 5.8G-WiFi conference system - Google Patents

Data communication method and system suitable for 5.8G-WiFi conference system Download PDF

Info

Publication number
CN114785981A
CN114785981A CN202210495111.9A CN202210495111A CN114785981A CN 114785981 A CN114785981 A CN 114785981A CN 202210495111 A CN202210495111 A CN 202210495111A CN 114785981 A CN114785981 A CN 114785981A
Authority
CN
China
Prior art keywords
data
wifi
time difference
data packet
multicast
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.)
Granted
Application number
CN202210495111.9A
Other languages
Chinese (zh)
Other versions
CN114785981B (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.)
Shenzhen Daxi Innovation Technology Co ltd
Original Assignee
Shenzhen Daxi Innovation 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 Shenzhen Daxi Innovation Technology Co ltd filed Critical Shenzhen Daxi Innovation Technology Co ltd
Priority to CN202210495111.9A priority Critical patent/CN114785981B/en
Publication of CN114785981A publication Critical patent/CN114785981A/en
Application granted granted Critical
Publication of CN114785981B publication Critical patent/CN114785981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a data communication method and a system suitable for a 5.8G-WiFi conference system, wherein the method comprises the following steps: the independent router of the 5.8G-WiFi conference system and the 5.8G-WiFi unit adopt an Internet group management protocol to realize one-to-many multicast communication; the independent router copies the multicast data and forwards the multicast data to all 5.8G-WiFi units in the multicast group; the independent router sends the data packet counting value and the timestamp to the 5.8G-WiFi unit, and judges whether data frame loss exists according to the comparison result of the received data packet counting value; and calculating according to the timestamp to obtain the time difference between the playing time and the collecting time, adjusting the sampling speed of the ADC according to the difference value between the current time difference and the last time difference, and updating the last time difference into the current time difference. According to the technical scheme, hardware cost does not need to be increased, signal synchronization of voice acquisition and voice playing is achieved, voice quality can be effectively improved, and user experience is improved.

Description

Data communication method and system suitable for 5.8G-WiFi conference system
Technical Field
The invention relates to the technical field of wireless communication, in particular to a data communication method suitable for a 5.8G-WiFi conference system and a data communication system suitable for the 5.8G-WiFi conference system.
Background
At present, a WiFi wireless conference system is a conference system that performs audio data transmission and conference process management based on a WiFi protocol. The WiFi conference system does not need complicated wiring, and each WiFi conference unit is powered by a battery, can be moved randomly and is independent from each other, so that the wired conference system has high flexibility and maintainability; in the wireless conference product market, WiFi conference products continuously emerge, and the wireless conference products are carried on with U section, infrared two kinds of wireless conference products that already exist, and the continuous improvement of WiFi wireless conference system market cognition degree, WiFi wireless conference will become the leading role of conference system, along with the popularization and development of WiFi, WiFi conference system also becomes market trend.
WiFi has two main frequency bands, 2.4GHz and 5.8 GHz. Since many devices in bluetooth and 2.4G-ISM use 2.4GHz, the frequency band is very noisy and is not suitable for conference systems with very high stability requirements. Conference systems require real-time transmission of audio signals for good user experience. A QOS mechanism suitable for 5.8G-WiFi transmission is realized in 802.11e and later protocols, and the protocol is called as WMM (5.8G-WiFi multimedia) protocol in the 5.8G-WiFi protocol and is used for ensuring that a high-priority message has a priority sending right, so that better quality of voice, video and other applications in a wireless network is ensured. The WMM carries out scheduling according to the message priority classification, the messages with high priority classification preferentially seize a wireless channel and are sent, extremely low transmission delay can be guaranteed, sending delay is difficult to guarantee for the messages with low priority, and therefore some data needing real time cannot be sent in time. Most wireless routers are provided with WMM services, and if priorities are required to be modified under a WMM service framework, for most developers, message priority setting needs to be carried out on a priority field of a network message at the bottom layer or multiple settings are carried out in bandwidth QOS management of a router, wherein many technical details are involved, and development difficulty is increased. If the WMM is not affected, the upper layer program of the conference system seems to send voice data at regular time, but the WiFi unit cannot receive the data in time, so that the phenomena of blocking and swallowing of the audio signal at the receiving end due to the delay of network transmission occur.
The 5.8G-WiFi conference system usually requires the simultaneous transmission function, the speaker's language is translated into other languages at the host end and transmitted to all the ears of the participants, and the participants listen to the translated contents through the earphones in their seats. This functionality requires that the 5.8G-WiFi conference system must implement broadcast-like functionality, which may be 5.8G-WiFi and does not support broadcast.
In addition, in the aspect of voice signal synchronization, due to the difference of crystal oscillators and other devices on the circuits of equipment at the transmitting end and the receiving end, voice data can be accumulated or lack, and the phenomena of swallowing, blocking and the like can be caused. The basic function of a conference system is that the speaker speaks and the other people hear the sound. At a microphone end of a speaker, a voice signal is sampled by an ADC (analog to digital converter) at a certain sampling rate and converted into a digital signal; at the sound output, the digital speech signal is played back at the same sampling rate by the DAC and converted to an analog voice signal. Due to the slight difference of crystal oscillators in the ADC chip circuits and the DAC chip circuits at two ends, even if the same sampling rate is set, the two chips cannot really achieve the same frequency, so that the situations that the ADC has more sampling data, the DAC has less playing data or vice versa can occur in the same time, the current data is not played at the output end after a period of time, new data is coming, the data which is not played in time is covered along with the accumulation of the data, and the phenomenon of swallowing is equivalently discarded; or the playing end waits for a long time and does not see data, so that the output voice has a pause phenomenon.
Disclosure of Invention
Aiming at the problems, the invention provides a data communication method and a data communication system suitable for a 5.8G-WiFi conference system, which directly carry out data transmission without setting message priority by removing WMM service of a 5.8G-WiFi protocol, realize one-to-many multicast communication by an IGMP protocol, do not need to increase hardware cost, realize signal synchronization of voice acquisition and voice playing by matching a transmitting end and a receiving end, effectively improve voice quality and improve user experience.
In order to achieve the above object, the present invention provides a data communication method suitable for a 5.8G-WiFi conference system, including:
the independent router of the 5.8G-WiFi conference system and the 5.8G-WiFi unit adopt an Internet group management protocol to realize one-to-many multicast communication;
when the independent router sends multicast data to the 5.8G-WiFi units in the multicast group, the multicast data are copied and forwarded to all the 5.8G-WiFi units;
the independent router sends the data packet counting value and the timestamp to the 5.8G-WiFi unit, and the 5.8G-WiFi unit judges whether data frame loss exists according to the comparison result of the received data packet counting value and the data packet counting value received last time;
and calculating according to the timestamp to obtain the time difference between the playing time and the collecting time, adjusting the sampling speed of the ADC according to the difference value between the current time difference and the last time difference, and updating the last time difference into the current time difference.
In the foregoing technical solution, preferably, when the independent router sends multicast data to the 5.8G-WiFi unit in the multicast group, the WMM service of the 5.8G-WiFi protocol is removed, the priority of the packet is removed, and data transmission is performed on each frame of data in the most direct manner.
In the above technical solution, preferably, each time the independent router completes playing of a preset number of frames of audio data, the data packet count value is incremented by one, and a current timestamp is obtained at the same time, and the current data packet count value and the current timestamp are sent to the 5.8G-WiFi unit through the 5.8G-WiFi network.
In the above technical solution, preferably, the specific process of determining whether there is a data frame loss according to the comparison result between the received data packet count value and the last received data packet count value includes:
and if the received data packet count value is equal to the last received data packet count value plus one, no data frame loss exists in the current data receiving process, otherwise, the data frame loss exists in the current data receiving process, and the last received data packet count value is updated to the current received data packet count value.
In the foregoing technical solution, preferably, the specific process of adjusting the ADC sampling speed according to the difference between the current time difference and the last time difference, and updating the last time difference to the current time difference includes:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the ADC sampling speed, otherwise, increasing the ADC sampling speed, and updating the last time difference into the current time difference.
The invention also provides a data communication system suitable for the 5.8G-WiFi conference system, and a data communication method suitable for the 5.8G-WiFi conference system, which is disclosed by any one of the above technical schemes, is applied, and comprises the following steps:
the networking communication module is used for enabling an independent router and a 5.8G-WiFi unit of the 5.8G-WiFi conference system to adopt an Internet group management protocol, and the router and the WiFi unit are added with multicast addresses to form a multicast group so as to realize one-to-many multicast communication;
the data forwarding module is used for copying and forwarding the multicast data to all 5.8G-WiFi units when the multicast data is sent to the 5.8G-WiFi units in the multicast group;
the frame loss judging module is used for sending the data packet counting value and the timestamp to the 5.8G-WiFi unit and judging whether the data frame loss exists according to the comparison result of the received data packet counting value and the data packet counting value received last time;
and the synchronous updating module is used for calculating the time difference between the playing time and the acquisition time according to the time stamp, adjusting the sampling speed of the ADC according to the difference value between the current time difference and the last time difference, and updating the last time difference into the current time difference.
In the foregoing technical solution, preferably, when the independent router sends multicast data to the 5.8G-WiFi unit in the multicast group, the WMM service of the 5.8G-WiFi protocol is removed, the priority of the packet is removed, and data transmission is performed on each frame of data in the most direct manner.
In the above technical solution, preferably, each time the independent router completes playing of a preset number of frames of audio data, the data packet count value is incremented by one, and a current timestamp is obtained at the same time, and the current data packet count value and the current timestamp are sent to the 5.8G-WiFi unit through the 5.8G-WiFi network.
In the above technical solution, preferably, the frame loss determining module is specifically configured to:
and if the received data packet count value is equal to the last received data packet count value plus one, no data frame loss exists in the current data receiving process, otherwise, the data frame loss exists in the current data receiving process, and the last received data packet count value is updated to the current received data packet count value.
In the foregoing technical solution, preferably, the synchronous update module is specifically configured to:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the sampling speed of the ADC, otherwise, increasing the sampling speed of the ADC, and updating the last time difference to be the current time difference.
Compared with the prior art, the invention has the following beneficial effects: the WMM service of the 5.8G-WiFi protocol is removed, data transmission is directly carried out without setting the message priority, one-to-many multicast communication is realized through the IGMP protocol, the hardware cost is not required to be increased, the signal synchronization of voice acquisition and voice playing is realized through the cooperation of the sending end and the receiving end, the voice quality can be effectively improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a data communication method applicable to a 5.8G-WiFi conference system according to an embodiment of the present invention;
fig. 2 is a schematic network architecture diagram of a data communication method suitable for a 5.8G-WiFi conference system according to an embodiment of the present invention;
fig. 3 is a schematic program flow diagram of a data communication method suitable for a 5.8G-WiFi conference system according to an embodiment of the present invention;
fig. 4 is a block diagram of a data communication system suitable for a 5.8G-WiFi conference system according to an embodiment of the present invention.
In the drawings, the correspondence between each component and the reference numeral is:
11. the system comprises a networking communication module, 12 a data forwarding module, 13 a frame loss judging module and 14 a synchronous updating module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The invention is described in further detail below with reference to the following drawings:
as shown in fig. 1 and fig. 2, a data communication method suitable for a 5.8G-WiFi conference system provided in the present invention includes:
the independent router of the 5.8G-WiFi conference system and the 5.8G-WiFi unit adopt an Internet group management protocol to realize one-to-many multicast communication;
when the independent router sends multicast data to the 5.8G-WiFi units in the multicast group, the multicast data are copied and forwarded to all the 5.8G-WiFi units;
the independent router sends the data packet counting value and the timestamp to the 5.8G-WiFi unit, and the 5.8G-WiFi unit judges whether data frame loss exists according to the comparison result of the received data packet counting value and the data packet counting value received last time;
and calculating according to the timestamp to obtain the time difference between the playing time and the acquisition time, judging the relative speed relation between the ADC data sampling speed and the host data playing speed according to the difference value between the current time difference and the last time difference, finely adjusting the sampling clock frequency of the ADC to adjust the ADC sampling speed according to the relative speed relation, and updating the last time difference into the current time difference.
In the embodiment, the WMM service of the 5.8G-WiFi protocol is removed, the data transmission is directly carried out without setting the message priority, the one-to-many multicast communication is realized through the IGMP protocol, the hardware cost is not required to be increased, the signal synchronization of voice acquisition and voice playing is realized through the cooperation of the sending end and the receiving end, the voice quality can be effectively improved, and the user experience is improved.
Specifically, the 5.8G-WiFi conference system requires a dedicated router as an access point to perform data transfer service of the 5.8G-WiFi unit, that is, except for 5.8G-WiFi voice data and other network services of the system, connection and communication are not performed with the internet, so that one 5.8G-WiFi conference system is a closed local area network formed by networking an independent router, a plurality of 5.8G-WiFi units and a plurality of wired units.
The data transmitted in this network is analyzed to be classified into 3 types:
(1) voice data, which has the largest data flow and requires real-time transmission, otherwise, the experience is deteriorated;
(2) the PC terminal WEB background transmits data for a conference manager to obtain conference related parameters, conference unit states and parameter configuration, and the data volume is small;
(3) the interactive information of the conference host and each 5.8G-WiFi unit comprises heartbeat data, host commands, unit requests and the like, and the data volume is small.
The whole local area network system has the largest data volume, the highest real-time requirement is voice data, the other data volume is not large, the real-time requirement is not high, and no other data needs to be transmitted. Since the system is a simple closed system, the total data volume does not exceed the bandwidth of the 5.8G-WiFi network, the WMM service provided for various services with huge data volume is meaningless, so that the WMM service of the 5.8G-WiFi protocol is removed, the 5.8G-WiFi protocol is directly used for data transmission in a more direct mode, and the packet priority is not existed, so that each data packet to be sent is sent immediately. Because the total amount of data per se is not large, the 5.8G-WIFI router of the conference system can completely send each frame of data in time, so that the delay is greatly reduced, the voice transmission of the system is smoother, and the audio output effect is better.
By configuring the system folder: content in/etc/config/wireless, setting wmm option to 0 closes wmm: option wmm 0
Typically at an international conference, one language of speech needs to be translated into several other languages and passed to each 5.8G-WiFi unit at the same time. In the cable conference system, broadcasting is possible, but broadcasting of 5.8G-WiFi signals cannot be achieved due to the limitation of the 5.8G-WiFi channel.
Therefore, the embodiment adopts the Internet Group Management Protocol (IGMP) to realize one-to-many multicast communication of the host to the 5.8G-WiFi unit. The host and the 5.8G-WiFi unit join the same multicast group through the same multicast address, and the router maintains an address list and can determine which hosts join the multicast group. When the host sends multicast data to the multicast address, the router copies and forwards the multicast data packet to all the 5.8G-WiFi unit devices added in the multicast group during forwarding, and multicast is realized. The function that the simultaneous transmission data covers all 5.8G-WiFi units is realized by applying a multicast mode, and the 5.8G-WiFi units allow participants to select simultaneous transmission languages and listen to voice.
In the above embodiment, the data communication method is based on an adaptive adjustment strategy, and the basic idea is to determine the relationship between the ADC acquisition speed and the DAC playing speed according to the change of the difference between the acquisition time and the playing time of the fixed-length data, and adjust the sampling speed of the ADC accordingly. The method needs to be realized in programs of a receiving end and a transmitting end, solves the problem in a software mode, and does not need extra hardware cost.
In the foregoing embodiment, preferably, when the independent router sends multicast data to the 5.8G-WiFi unit in the multicast group, the WMM service of the 5.8G-WiFi protocol is removed, and data transmission is performed on each frame of data in the most direct manner without message priority, so that each data packet to be sent is sent immediately, thereby greatly reducing delay, making voice transmission of the system smoother, and making audio output more effective.
In the foregoing embodiment, preferably, each time the independent router completes playing the preset number of frames of audio data, the data packet count value is incremented by one, and the current timestamp is obtained at the same time, and the current data packet count value and the current timestamp are sent to the 5.8G-WiFi unit through the 5.8G-WiFi network.
In the foregoing embodiment, preferably, the specific process of determining whether there is a data frame loss according to the comparison result between the received data packet count value and the data packet count value received last time includes:
and if the received data packet count value is equal to the last received data packet count value plus one, no data frame loss exists in the current data receiving process, otherwise, the data frame loss exists in the current data receiving process, and the last received data packet count value is updated to the current received data packet count value.
In the foregoing embodiment, preferably, the specific process of determining the relatively fast-slow relationship between the ADC data sampling speed and the host data playing speed according to the difference between the current time difference and the last time difference, accordingly fine-tuning the sampling clock frequency of the ADC to adjust the ADC sampling speed, and updating the last time difference to the current time difference includes:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the ADC sampling speed, otherwise, increasing the ADC sampling speed, and updating the last time difference into the current time difference.
As shown in fig. 3, according to the data communication method applicable to the 5.8G-WiFi conference system disclosed in the foregoing embodiment, a specific program flow includes the following steps:
(1) setting a data grouping count value P in a code of a voice receiving end (a host end), adding 1 to P when the playing of K (K >1) frame audio data is completed after receiving, and simultaneously obtaining a current timestamp which is marked as T;
(2) at a voice receiving end (a host end), each time the P value changes, the current P and T values are sent to the voice sending end (a 5.8G-WiFi unit) through a WiFi network;
(3) the last received P value by the voice sender (5.8G-WiFi unit) is denoted as P1. The received values are marked as P and T, and when the voice sending end finishes sampling K frame data, a local time stamp Tt is recorded for synchronous judgment and calculation. Firstly, judging the relation between P1 and P, if P is equal to (P1+1), indicating that no frame is lost in the data receiving process, in which case, the calculation can be continued; otherwise, it is considered that there is a frame loss and the current frame cannot be calculated, so that the update P1: p1 ═ P, exit the calculation.
(4) Calculating the difference between the playing time and the acquisition time:
diff=T–Tt,
after two or more operations of K frames of data, the last time difference diff1 can be obtained.
(5) Calculate the difference between the current time difference and the last time difference and update diff 1:
diff_delta=diff–diff1,diff1=diff;
diff _ delta indicates the comparison relation between the ADC sampling speed and the DAC playing speed, and if diff _ delta is greater than 0, the DAC playing speed is slower than the ADC sampling speed; otherwise, the DAC playing speed is higher than the ADC sampling speed. The theoretically best case is that diff _ delta is 0, i.e. the sampling speed and the playback speed are equal.
(6) And (5) adjusting the sampling speed of the ADC according to the calculated diff _ delta value, wherein the ADC sampling chip is provided with a PLL register and can finely adjust the sampling frequency. When diff _ delta is larger than 0, adjusting the value of a PLL register and properly reducing the ADC sampling speed; otherwise, the PLL register is adjusted to properly increase the sampling speed of the ADC.
After the adjustment of the step (6), the speed difference between the ADC and the DAC can be maintained in a very small range, so that the synchronization of voice sampling and voice playing is realized, the tone quality of the WiFi wireless conference system is improved, and the user experience of the system is further improved.
As shown in fig. 4, the present invention further provides a data communication system suitable for a 5.8G-WiFi conference system, and a data communication method suitable for a 5.8G-WiFi conference system, which is disclosed in any of the above embodiments, is applied to the data communication system, and includes:
the networking communication module 11 is used for enabling an independent router and a 5.8G-WiFi unit of the 5.8G-WiFi conference system to adopt an Internet group management protocol, and enabling the router and the WiFi unit to be added with multicast addresses to form a multicast group and achieve one-to-many multicast communication;
the data forwarding module 12 is configured to copy and forward the multicast data to all 5.8G-WiFi units when sending the multicast data to the 5.8G-WiFi units in the multicast group;
a frame loss judging module 13, configured to send the data packet count value and the timestamp to the 5.8G-WiFi unit, and judge whether a frame loss occurs according to a comparison result between the received data packet count value and the data packet count value received last time;
and the synchronous updating module 14 is configured to calculate a time difference between the playing time and the collecting time according to the timestamp, determine a relative fast-slow relationship between the ADC data sampling speed and the host data playing speed according to a difference between the current time difference and the last time difference, adjust the ADC sampling speed by fine-tuning the sampling clock frequency of the ADC, and update the last time difference to the current time difference.
In the embodiment, the WMM service of the 5.8G-WiFi protocol is removed, the data transmission is directly carried out without setting the message priority, the one-to-many multicast communication is realized through the IGMP protocol, the hardware cost is not required to be increased, the signal synchronization of voice acquisition and voice playing is realized through the cooperation of the sending end and the receiving end, the voice quality can be effectively improved, and the user experience is improved.
In the foregoing embodiment, preferably, when the independent router sends multicast data to the 5.8G-WiFi unit in the multicast group, the WMM service of the 5.8G-WiFi protocol is removed, the priority of the packet is removed, and data transmission is performed on each frame of data in the most direct manner.
In the foregoing embodiment, preferably, each time the independent router completes playing the preset number of frames of audio data, the data packet count value is incremented by one, and the current timestamp is obtained at the same time, and the current data packet count value and the current timestamp are sent to the 5.8G-WiFi unit through the 5.8G-WiFi network.
In the foregoing embodiment, preferably, the frame loss determining module 13 is specifically configured to:
and if the received data packet count value is equal to the last received data packet count value plus one, no data frame loss exists in the current data receiving process, otherwise, the data frame loss exists in the current data receiving process, and the last received data packet count value is updated to the current received data packet count value.
In the foregoing embodiment, preferably, the synchronous updating module 14 is specifically configured to:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the sampling speed of the ADC, otherwise, increasing the sampling speed of the ADC, and updating the last time difference to be the current time difference.
According to the data communication system applicable to the 5.8G-WiFi conference system disclosed in the foregoing embodiment, functions to be implemented by each module of the data communication system respectively correspond to each step in the data communication method applicable to the 5.8G-WiFi conference system disclosed in the foregoing embodiment, and are implemented according to each step in the method, which is not described herein again.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data communication method suitable for a 5.8G-WiFi conference system is characterized by comprising the following steps:
the independent router of the 5.8G-WiFi conference system and the 5.8G-WiFi unit adopt an Internet group management protocol to realize one-to-many multicast communication;
when the independent router sends multicast data to the 5.8G-WiFi units in the multicast group, the multicast data are copied and forwarded to all the 5.8G-WiFi units;
the independent router sends the data packet counting value and the timestamp to the 5.8G-WiFi unit, and the 5.8G-WiFi unit judges whether data frame loss exists according to the comparison result of the received data packet counting value and the data packet counting value received last time;
and calculating according to the timestamp to obtain the time difference between the playing time and the collecting time, adjusting the sampling speed of the ADC according to the difference value between the current time difference and the last time difference, and updating the last time difference into the current time difference.
2. The data communication method applicable to the 5.8G-WiFi conference system according to claim 1, wherein when the independent router sends multicast data to the 5.8G-WiFi units in the multicast group, the WMM service of 5.8G-WiFi protocol is removed, the priority of the message is removed, and the data transmission is performed on each frame data in the most direct way.
3. The data communication method suitable for the 5.8G-WiFi conference system according to claim 1, wherein each time the independent router completes playing of a preset number of frames of audio data, the data packet count value is added by one, and at the same time, the current timestamp is obtained, and the current data packet count value and timestamp are sent to the 5.8G-WiFi unit through the 5.8G-WiFi network.
4. The data communication method applicable to the 5.8G-WiFi conference system according to claim 3, wherein the specific process of determining whether there is a data frame loss according to the comparison result between the received data packet count value and the last received data packet count value comprises:
if the received data packet counting value is equal to the data packet counting value received last time plus one, then no data frame loss exists in the current data receiving process, otherwise, data frame loss exists in the current data receiving process, and the data packet counting value received last time is updated to the currently received data packet counting value.
5. The data communication method applicable to the 5.8G-WiFi conference system according to claim 4, wherein the specific process of adjusting the ADC sampling speed according to the difference between the current time difference and the last time difference and updating the last time difference to the current time difference comprises:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the sampling speed of the ADC, otherwise, increasing the sampling speed of the ADC, and updating the last time difference to be the current time difference.
6. A data communication system suitable for a 5.8G-WiFi conference system, characterized in that, the data communication method suitable for a 5.8G-WiFi conference system as claimed in any one of claims 1 to 5 is applied, comprising:
the networking communication module is used for enabling an independent router and a 5.8G-WiFi unit of the 5.8G-WiFi conference system to adopt an Internet group management protocol, and the router and the WiFi unit are added with multicast addresses to form a multicast group so as to realize one-to-many multicast communication;
the data forwarding module is used for copying and forwarding the multicast data to all 5.8G-WiFi units when the multicast data is sent to the 5.8G-WiFi units in the multicast group;
the frame loss judging module is used for sending the data packet counting value and the timestamp to the 5.8G-WiFi unit and judging whether the data frame loss exists or not according to the comparison result of the received data packet counting value and the data packet counting value received last time;
and the synchronous updating module is used for calculating the time difference between the playing time and the collecting time according to the timestamp, adjusting the ADC sampling speed according to the difference value between the current time difference and the last time difference, and updating the last time difference into the current time difference.
7. The data communication system of claim 6, wherein when the independent router sends multicast data to 5.8G-WiFi units in the multicast group, the WMM service of 5.8G-WiFi protocol is removed, the priority of the packet is removed, and data transmission is performed on each frame data in the most direct manner.
8. The data communication system of claim 6, wherein each time the independent router completes playing a predetermined number of frames of audio data, the data packet count value is incremented by one while obtaining the current timestamp, and the current data packet count value and timestamp are sent to the 5.8G-WiFi unit via the 5.8G-WiFi network.
9. The data communication system applicable to the 5.8G-WiFi conference system of claim 8, wherein the frame loss determination module is specifically configured to:
if the received data packet counting value is equal to the data packet counting value received last time plus one, then no data frame loss exists in the current data receiving process, otherwise, data frame loss exists in the current data receiving process, and the data packet counting value received last time is updated to the currently received data packet counting value.
10. The data communication system adapted for use in a 5.8G-WiFi conference system of claim 9, wherein the synchronization update module is specifically configured to:
if the difference value between the current time difference and the last time difference is larger than 0, reducing the ADC sampling speed, otherwise, increasing the ADC sampling speed, and updating the last time difference into the current time difference.
CN202210495111.9A 2022-05-07 2022-05-07 Data communication method and system suitable for 5.8G-WiFi conference system Active CN114785981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210495111.9A CN114785981B (en) 2022-05-07 2022-05-07 Data communication method and system suitable for 5.8G-WiFi conference system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210495111.9A CN114785981B (en) 2022-05-07 2022-05-07 Data communication method and system suitable for 5.8G-WiFi conference system

Publications (2)

Publication Number Publication Date
CN114785981A true CN114785981A (en) 2022-07-22
CN114785981B CN114785981B (en) 2024-03-15

Family

ID=82437332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210495111.9A Active CN114785981B (en) 2022-05-07 2022-05-07 Data communication method and system suitable for 5.8G-WiFi conference system

Country Status (1)

Country Link
CN (1) CN114785981B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020101946A1 (en) * 2000-08-17 2002-08-01 David Hartman Method and system for transmitting isochronous voice in a wireless network
WO2009094921A1 (en) * 2008-01-22 2009-08-06 Huawei Technologies Co., Ltd. Method for multicast forwarding and multicast router
CN103796133A (en) * 2014-02-11 2014-05-14 上海微泛电子科技有限公司 5.8 G wireless high-fidelity audio LED system based on WB-RLC
DE102014209518A1 (en) * 2014-05-20 2015-11-26 Sennheiser Electronic Gmbh & Co. Kg Wireless audio transmission system and method for wireless transmission of low latency audio signals
US20210243241A1 (en) * 2020-01-30 2021-08-05 Arris Enterprises Llc Method and Apparatus for Wi-Fi Video Packet Re-prioritization for Live MPEG Transport Streaming

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020101946A1 (en) * 2000-08-17 2002-08-01 David Hartman Method and system for transmitting isochronous voice in a wireless network
WO2009094921A1 (en) * 2008-01-22 2009-08-06 Huawei Technologies Co., Ltd. Method for multicast forwarding and multicast router
CN103796133A (en) * 2014-02-11 2014-05-14 上海微泛电子科技有限公司 5.8 G wireless high-fidelity audio LED system based on WB-RLC
DE102014209518A1 (en) * 2014-05-20 2015-11-26 Sennheiser Electronic Gmbh & Co. Kg Wireless audio transmission system and method for wireless transmission of low latency audio signals
US20210243241A1 (en) * 2020-01-30 2021-08-05 Arris Enterprises Llc Method and Apparatus for Wi-Fi Video Packet Re-prioritization for Live MPEG Transport Streaming

Also Published As

Publication number Publication date
CN114785981B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US20230359426A1 (en) Systems and methods for providing real-time audio and data
US7577095B2 (en) Low latency digital audio over packet switched networks
US7243150B2 (en) Reducing the access delay for transmitting processed data over transmission data
JP5788473B2 (en) Method and system for synchronizing terminal output
US6452950B1 (en) Adaptive jitter buffering
US20060268692A1 (en) Transmission of electronic packets of information of varying priorities over network transports while accounting for transmission delays
CN113286184B (en) Lip synchronization method for respectively playing audio and video on different devices
EP0921666A2 (en) Speech reception via a packet transmission facility
US20040170163A1 (en) Data structure providing storage and bandwidth savings for hardware RTCP statistics collection applications
AU2002310383B2 (en) Dynamic latency management for IP telephony
CN108965777B (en) Echo cancellation method and device
CN114785981B (en) Data communication method and system suitable for 5.8G-WiFi conference system
JP2004214755A (en) Dynamic coding rate revision method and apparatus thereof
CN102739547B (en) A kind of method of rate control
MXPA05001292A (en) Method and apparatus for integrating non-ip and ip traffic on a home network.
CN112770165A (en) Distributed synchronization method for audio and video streams
CN105827575B (en) A kind of transfer control method, device and electronic equipment
CN114124631A (en) Processing method suitable for audio frequency synchronous control between embedded equipment of airborne passenger cabin
Bhalla et al. Transport Layer
WO2022037828A1 (en) A wireless conference system with early packet loss detection
WO2010006534A1 (en) A method, apparatus and system for realizing the packet microwave data traffic shaping

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