Wireless local area network audio transmission monitoring method and device, computer equipment and storage medium

By adjusting the audio sampling rate ratio and preset sampling rate ratio obtained in wireless LAN audio transmission, and adjusting the audio data packet retransmission mode, the problems of TCP latency and UDP unreliability are solved, and the stability and continuity of audio transmission are achieved.

CN121692290APending Publication Date: 2026-03-17SHENZHEN QIANCHUANG MICRO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511773743.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-28
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In existing technologies, audio transmission over wireless LAN suffers from transmission delays when using TCP, resulting in audio stuttering. When using UDP, the order and integrity of audio data packets are difficult to guarantee, leading to audio interruptions and frame skipping, which fails to meet users' needs for transmission speed and reliability.

Method used

By obtaining the audio sampling rate ratio from the audio transmitter and performing sampling adjustment processing with a preset sampling rate ratio, the retransmission mode of the audio data packets is adjusted according to the sampling rate adjustment, including sending audio packet retransmission enable/disable signals to ensure the integrity and continuity of the audio data.

Benefits of technology

It achieves reliable and stable audio transmission, avoids audio stuttering and interruptions, and meets users' needs for audio quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121692290A_ABST
    Figure CN121692290A_ABST
Patent Text Reader

Abstract

The invention provides a wireless local area network audio transmission monitoring method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring an audio sampling point rate ratio of an audio transmitting end; performing sampling adjustment processing on the audio sampling point rate ratio and a preset point rate ratio to obtain the preset point rate ratio; and according to the sampling point rate adjustment, sending an audio packet resending pass-forbidding signal to the audio transmission terminal so as to adjust an audio data packet resending mode of the audio transmission terminal. According to audio transmission, the timeout condition of audio data is confirmed according to an audio sampling point rate ratio, when a certain timeout condition exists, a data packet can be requested to be sent again from an audio transmitting end so as to ensure the integrity of the audio data, and when the timeout time exceeds the duration of sound content carried by a frame, it is indicated that the timeout time is far beyond the timeout time, and the integrity of the audio data is ensured. At the moment, the current data packet can be discarded to ensure the continuity of the audio, so that the reliability and the stability of audio transmission can be realized, and the requirements of more users on the audio quality are met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of network data transmission, in particular to a wireless local area network audio transmission monitoring method and device, computer equipment and storage medium. BACKGROUND

[0002] In the prior art, the encoding end accesses the HDMI input, and finally encodes the HDMI signal into video data (such as H264 and H265). The decoding end transmits the above-mentioned audio and video data to the decoding end through wireless transmission through WIFI, and the decoding end decodes the video data and finally converts it into HDMI signal output.

[0003] At present, data transmission can be carried out through TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) mode, but although the TCP mode transmission is not prone to packet loss, in order to ensure the transmission reliability and maintain the end-to-end connection, this method increases the retransmission mechanism, and when the timeout condition exists, the data packet will be retransmitted, which results in a certain delay in transmission, and there is a situation of audio lag or delay. Compared with the TCP mode, the UDP mode does not need to wait for the response of the opposite end device, and the transmission delay is lower, but the order, integrity and arrival rate of the audio data packet are not guaranteed, and the reliability is lower, and packet loss is prone to occur. Therefore, due to the defects of this mode, audio discontinuity, frame skipping and other situations occur, which is unacceptable to users who have transmission speed requirements and transmission reliability requirements for audio data transmission.

[0004] Therefore, it is necessary to design a feasible scheme to solve the problems of transmission delay and audio quality. SUMMARY

[0005] The purpose of the present disclosure is to overcome the deficiencies in the prior art, and provide a wireless local area network audio transmission monitoring method, device, computer equipment and storage medium which can guarantee the stability of audio data transmission.

[0006] The purpose of the present disclosure is achieved by the following technical solutions: A wireless local area network audio transmission monitoring method, comprising the following steps: Obtaining the audio sampling point rate ratio of the audio transmitting end; Sampling and adjusting the audio sampling point rate ratio and the preset point rate ratio to obtain the preset point rate ratio; According to the sampling point rate adjustment, an audio packet retransmission enable / disable signal is sent to the audio transmission terminal to adjust the audio data packet retransmission mode of the audio transmitting end.

[0007] In one embodiment, the audio sampling point rate ratio of the audio transmitting end is obtained, comprising: Obtaining the ratio of the number of sampling points and the sampling rate of the audio transmitting end.

[0008] In one of the embodiments, the sampling adjustment of the audio sampling point rate ratio and the preset point rate ratio comprises: calculating the least square difference between the audio sampling point rate ratio and the preset point rate ratio.

[0009] In one of the embodiments, the preset point rate ratio is 20-22 milliseconds.

[0010] In one of the embodiments, the preset point rate ratio is 21.33 milliseconds.

[0011] In one of the embodiments, the sending of the audio packet retransmission pass / fail signal to the audio transmission terminal according to the sampling point rate adjustment to adjust the audio data packet retransmission mode of the audio transmitting terminal comprises: detecting whether the sampling point rate adjustment is greater than or equal to the preset point rate adjustment; when the sampling point rate adjustment is greater than or equal to the preset point rate adjustment, sending a retransmission prohibition signal to the audio transmission terminal to make the audio transmission terminal prohibit sending a retransmission request.

[0012] In one of the embodiments, the detection of whether the sampling point rate adjustment is greater than or equal to the preset point rate adjustment further comprises: when the sampling point rate adjustment is less than the preset point rate adjustment, sending a retransmission pass signal to the audio transmission terminal to make the audio transmission terminal request the audio transmitting terminal to retransmit the audio data packet.

[0013] A wireless local area network audio transmission monitoring device adopts the wireless local area network audio transmission monitoring method of any one of the embodiments, and comprises: an audio transmission collection module, configured to acquire an audio sampling point rate ratio of an audio transmitting terminal; an audio sampling processing module, configured to perform sampling adjustment of the audio sampling point rate ratio and a preset point rate ratio to obtain a sampling point rate adjustment; an audio retransmission module, configured to send an audio packet retransmission pass / fail signal to an audio transmission terminal according to the sampling point rate adjustment to adjust an audio data packet retransmission mode of the audio transmitting terminal.

[0014] A computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements part or all of the following steps when executing the computer program: acquiring an audio sampling point rate ratio of an audio transmitting terminal; performing sampling adjustment of the audio sampling point rate ratio and a preset point rate ratio to obtain a sampling point rate adjustment; The audio packet retransmission pass or disable signal is sent to the audio transmission terminal according to the sampling point rate adjustment, so as to adjust the audio data packet retransmission mode of the audio transmitting terminal.

[0015] A computer readable storage medium, having stored thereon a computer program, the computer program being executed by a processor to implement part or all of the following steps: Obtaining an audio sampling point rate ratio of the audio transmitting terminal; Sampling adjustment is performed on the audio sampling point rate ratio and the preset point rate ratio to obtain a sampling point rate adjustment; The audio packet retransmission pass or disable signal is sent to the audio transmission terminal according to the sampling point rate adjustment, so as to adjust the audio data packet retransmission mode of the audio transmitting terminal.

[0016] Compared with the prior art, the present disclosure has at least the following advantages: The audio transmission will confirm the timeout condition of the audio data according to the audio sampling point rate ratio, and when there is a certain timeout condition, the audio transmitting terminal can be requested to retransmit the data packet to ensure the integrity of the audio data. When the timeout time exceeds the length of the sound content carried by a frame, it means that the timeout time has far exceeded the timeout time, at which time the current data packet can be discarded to ensure the continuity of the audio. This method can realize the reliability and stability of the audio transmission, and meet the demand of more users for the quality of the audio. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0018] Figure 1 A flow chart of a wireless local area network audio transmission monitoring method in an embodiment; Figure 2 A specific flow chart of a wireless local area network audio transmission monitoring method in an embodiment; Figure 3 A flow chart of judging audio-visual synchronization time stamp in a wireless local area network audio transmission monitoring method in an embodiment; Figure 4 An internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0019] To facilitate understanding of this disclosure, a more complete description will be given below with reference to the accompanying drawings, which illustrate preferred embodiments of the present disclosure. However, this disclosure can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure.

[0020] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0022] To better understand the technical solutions and beneficial effects of this disclosure, the following detailed description is provided in conjunction with specific embodiments: Please see Figure 1 This is a wireless local area network audio transmission monitoring method according to an embodiment of the present invention, which includes the following steps: S101. Obtain the audio sampling rate ratio of the audio transmitter. In this embodiment, the audio sampling rate ratio is the ratio between the sampling points and the sampling rate. The audio transmitter sends audio data to the audio transmission terminal in the form of broadcast. During this period, the audio transmission terminal receives audio data packets and obtains the current audio sampling rate ratio, that is, reads the audio sampling points and sampling rate.

[0023] S102. Perform sampling adjustment processing on the audio sampling rate ratio and the preset sampling rate ratio to obtain the sampling rate adjustment. It can be understood that the audio transmitter sends audio data to the audio transmission terminal in the form of broadcast. During this period, the audio transmission terminal receives audio data packets and obtains the current audio sampling rate ratio, that is, reads the audio sampling points and sampling rate. Then, the audio sampling rate ratio and the preset sampling rate ratio are subjected to sampling adjustment processing to obtain the difference between the current audio sampling rate ratio and the preset sampling rate ratio, thereby confirming whether there is a situation where the audio data packets are sent out in a timeout.

[0024] S103. Based on the sampling rate adjustment, an audio packet retransmission enable / disable signal is sent to the audio transmission terminal to adjust the audio data packet retransmission mode at the audio transmitter. In this embodiment, the sampling rate adjustment is the sampling rate adjustment error value between the audio sampling rate ratio and the preset sampling rate ratio. It is used to reflect whether the audio data acquired by the audio transmission terminal has a timeout. Then, based on the sampling rate adjustment error value between the audio sampling rate ratio and the preset sampling rate ratio, it is determined whether to request retransmission. When the timeout time is less than the duration of the content of one frame in the audio data packet, an audio packet retransmission enable / disable signal can be sent to request retransmission; when the timeout time exceeds the duration of the content of one frame in the audio data packet, it indicates that retransmission is not very meaningful, and an audio packet retransmission disable / disable signal is sent to stop the retransmission request. That is, the request to retransmit data packets to the audio transmitter is allowed or prohibited based on the sampling rate adjustment, thus ensuring the reliability and stability of audio data transmission. Further, the audio packet retransmission enable / disable signal includes an audio packet retransmission enable / disable signal and an audio packet retransmission disable / disable signal.

[0025] Specific steps are as follows Figure 2 As shown, the obtained sampling rate adjustment is used to reflect whether the audio data has timed out. If there is no timeout, no processing is done. If there is a timeout, it indicates that there is a timeout. Then it is determined whether the timeout time exceeds the content time of one frame of the audio data packet. If it exceeds the time, the retransmission request is stopped and the current audio data packet is discarded. Otherwise, a retransmission is requested.

[0026] In the above embodiments, the audio transmission will determine the timeout status of the audio data based on the audio sampling rate ratio. When there is a certain timeout, a request can be made to the audio transmitter to resend the data packet to ensure the integrity of the audio data. When the timeout time exceeds the duration of the sound content carried by a frame, it means that the timeout time has been far exceeded. At this time, the current data packet can be discarded to ensure the continuity of the audio. This method can achieve the reliability and stability of audio transmission and meet the audio quality needs of more users.

[0027] In one embodiment, obtaining the audio sampling rate ratio of the audio transmitter includes obtaining the ratio of the number of sampling points to the sampling rate of the audio transmitter. Specifically, the ratio of the number of sampling points to the sampling rate of the audio transmitter is obtained through the audio transmission terminal, that is, the number of sampling points and the sampling rate are obtained successively, and finally divided to obtain the ratio. This is to prepare for subsequent judgment on whether the ratio has an error with a preset ratio. The ratio of the number of sampling points to the sampling rate is the duration of the content carried by one frame.

[0028] In one embodiment, the step of performing sampling adjustment processing on the audio sampling rate ratio and the preset sampling rate ratio includes: calculating the least squares difference between the audio sampling rate ratio and the preset sampling rate ratio. In this embodiment, after obtaining the ratio of the number of sampling points to the sampling rate at the audio transmitter, the least squares difference is calculated between this ratio and the preset sampling rate ratio to determine the degree of difference between the ratio and the preset value, thereby determining whether to request a retransmission of the data packet.

[0029] In one embodiment, the preset sampling rate ratio is 20 to 22 milliseconds. Further, the preset sampling rate ratio is 21.33 milliseconds, with 21.33 milliseconds serving as a threshold for transmission timeout, thereby better confirming the transmission timeout status of each video data point. The preset sampling rate ratio is a preset ratio between the preset number of sampling points and the preset sampling rate.

[0030] In one embodiment, the step of sending an audio packet retransmission enable / disable signal to the audio transmission terminal based on the sampling rate adjustment to adjust the audio data packet retransmission mode at the audio transmitter includes: Check whether the sampling rate adjustment is greater than or equal to the preset sampling rate adjustment; When the sampling rate adjustment is greater than or equal to the preset sampling rate adjustment, a retransmission prohibition signal is sent to the audio transmission terminal to prevent the audio transmission terminal from issuing retransmission requests.

[0031] In a specific embodiment, the ratio of the number of sampling points to the sampling rate at the audio transmitter is obtained through the audio transmission terminal. This involves obtaining the number of sampling points and the sampling rate sequentially, dividing them, and then obtaining the ratio. This ratio is then compared to a preset sampling rate ratio using least squares difference calculation to determine the degree of difference between the ratio and the preset value, i.e., the sampling rate adjustment. This difference is used to determine whether to request a retransmission of the data packet, where the sampling rate adjustment represents the audio transmission timeout. Subsequently, it is determined whether the sampling rate adjustment is greater than or equal to the preset sampling rate adjustment, where the preset sampling rate adjustment is the reference duration of the sound content carried in one frame. When the sampling rate adjustment is greater than or equal to the preset sampling rate... During adjustment, it indicates that the audio data acquired by the audio transmission terminal has a certain timeout, and the timeout period exceeds the reference duration of the sound content carried in one frame of the audio data. If the data packet is resent to the audio transmission terminal with the transmission timeout at this time, the audio acquired by the audio transmission terminal will have a large difference from that of other audio transmission terminals. At this time, a retransmission prohibition signal is sent to the audio transmission terminal to prevent the audio transmission terminal from issuing retransmission requests. That is, the current data packet is discarded, and no action is taken even if a retransmission is requested, so as to ensure that the audio transmission terminal can play the audio synchronously, thereby ensuring the stability and reliability of the transmitted audio data packets.

[0032] In one embodiment, the step of detecting whether the sampling rate adjustment is greater than or equal to a preset sampling rate adjustment further includes: when the sampling rate adjustment is less than the preset sampling rate adjustment, sending a retransmission pass signal to the audio transmission terminal so that the audio transmission terminal requests the audio transmitter to retransmit the audio data packet.

[0033] It is understandable that after obtaining the sampling rate adjustment through the least squares difference, it is determined whether the sampling rate adjustment is greater than or equal to the preset sampling rate adjustment. When the sampling rate adjustment is less than the preset sampling rate adjustment, it indicates that the audio data acquired by the audio transmission terminal has timed out for a certain period of time, but the timeout period does not exceed the reference duration of the sound content carried in a frame of the audio data. At this time, a retransmission pass signal is sent to the audio transmission terminal so that the audio transmission terminal requests the audio transmitter to retransmit the audio data packet. In other words, the audio transmission terminal is allowed to request the audio transmitter to retransmit the audio data packet to ensure that the audio transmission terminal can acquire the audio data completely, ensure the integrity of the audio transmission packet, and prevent audio frame skipping.

[0034] Specifically, the audio transmitter broadcasts audio data to multiple audio transmission terminals, allowing each terminal to acquire the current audio sampling rate ratio. The least-squares difference between this ratio and a preset rate ratio is then calculated to obtain the sampling rate adjustment, which is used to determine the audio data transmission timeout. When the sampling rate adjustment is greater than or equal to the preset rate adjustment, it indicates that the audio data transmission terminal's timeout exceeds the reference duration of a single frame of sound content in the audio data. This means the transmitted data packet has become meaningless, even if it is transmitted via unicast. When an audio transmission terminal experiences a timeout and resends a data packet, the audio played by that terminal may differ significantly from the audio played by other audio transmission terminals, thus the current data packet is discarded. When the sampling rate adjustment is less than the preset rate adjustment, it indicates that the timeout period of the audio data acquired by the audio transmission terminal has not exceeded the reference duration of the sound content carried in one frame of the audio data. In this case, the audio transmission terminal can request the audio transmitter to resend the data packet lost due to the timeout, so that the audio transmitter can resend the data packet to the audio transmission terminal with the timeout via unicast to compensate for the number of frames lost in the current audio data packet and ensure the integrity of the audio data packet. For example, if an audio frame has 1024 sampling points and a sampling rate of 48kHz, theoretically, the duration of the sound content carried by one frame is 1024 / 48000 ≈ 0.02133 seconds = 21.33 milliseconds. Therefore, 21.33 milliseconds is used as the base duration of the sound content carried by one frame in the audio data. As another example, if an audio frame has 1024 sampling points and a sampling rate of 44.1kHz, theoretically, the duration of the sound content carried by one frame is 1024 / 44100 ≈ 0.02321 seconds = 23.21 milliseconds. Therefore, 23.21 milliseconds is used as the base duration of the sound content carried by one frame in the audio data.

[0035] This addresses the issue of audio data packets having a synchronization relationship with the video, specifically the degree of correspondence between the audio and each frame of the video, in order to resolve audio inconsistencies during video playback.

[0036] When transmitting audio data, video footage is also transmitted. Since there is an audio-video synchronization relationship between audio and video, if there is a delay in the audio transmission process, the number of each frame of the audio will not correspond to the number of each frame of the video. This will result in the audio frame being ahead or behind the video frame. The above situation will cause the audio frame and video frame to be out of sync during video playback.

[0037] To address the above situation, in one embodiment, an audio packet retransmission enable / disable signal is sent to the audio transmission terminal based on the sampling rate adjustment to adjust the audio data packet retransmission mode at the audio transmitter. This further includes: S91. Obtain the audio-visual synchronization timestamp from the audio transmitter; S92. Detect whether the audio-visual synchronization timestamp is less than or equal to the preset synchronization timestamp; S93. When the audio-visual synchronization timestamp is greater than the preset synchronization timestamp, send an audio packet discard signal to the audio transmission terminal to directly discard the data packets corresponding to the out-of-sync audio frames.

[0038] In this embodiment, after executing S103, the system can allow or prohibit the audio transmission terminal from requesting retransmission of data packets from the audio transmitter based on the timeout level of the audio data acquisition by the audio transmission terminal. Even if retransmission of audio data packets or discarding the current audio data packets is used to ensure low latency and reliable audio data transmission, it is still uncertain whether each frame of the audio corresponds to each frame of the video. Therefore, the audio-visual synchronization timestamp of the audio transmitter is first obtained to determine the correspondence between each frame of the audio and each frame of the video. Then, it is checked whether the audio-visual synchronization timestamp is less than or equal to a preset synchronization timestamp to determine whether there is a time difference between each frame of the audio and each frame of the video. The audio-visual synchronization timestamp is... The absolute time difference between the synchronized frames of audio and video is considered. When the audio-video synchronization timestamp is greater than the preset synchronization timestamp, it indicates that at least one frame of audio is out of sync with at least one frame of video, or even worse, the audio frame arrives after the video frame has finished playing, or vice versa (i.e., the video and audio frames are severely out of sync). In this case, the late audio frame is not worth retransmitting. The system sends an audio packet discard signal to the audio transmission terminal to directly discard the data packet corresponding to the out-of-sync audio frame. Even if the audio transmission terminal issues a retransmission request, it will not be processed to ensure that the audio frames can correspond to the video frames in subsequent audio data transmission, thus ensuring the reliability and low latency of audio transmission. The specific steps are as follows: Figure 3 As shown. Furthermore, the preset synchronization timestamp is the base time difference corresponding to the number of synchronized frames of audio and video, for example, 0 seconds.

[0039] For example, after obtaining the audio-visual synchronization timestamp from the audio transmitter, the audio data has 30 frames and the video data has 30 frames. However, the 27th frame of the audio data corresponds to the 30th frame of the video data, resulting in no sound in the video data after the 27th frame. There is a lack of synchronization between the audio and video frames. Even if the audio data after the 27th frame arrives, the 30 frames of video data have already finished playing, making it worthless to resend the audio data after the 27th frame. Therefore, the audio data packet after the 27th frame is discarded.

[0040] In another embodiment, after detecting whether the audio-visual synchronization timestamp is less than or equal to a preset synchronization timestamp, the method further includes: If the audio-visual synchronization timestamp is less than or equal to the preset synchronization timestamp, return and re-execute S101.

[0041] It is understandable that the audio-visual synchronization timestamp of the audio transmitter is first obtained to determine the correspondence between each frame of the audio and each frame of the video. Then, it is checked whether the audio-visual synchronization timestamp is less than or equal to the preset synchronization timestamp to determine whether there is a time difference between each frame of the audio and each frame of the video. The audio-visual synchronization timestamp is the absolute time difference corresponding to the number of synchronized frames of the audio and video. When the audio-visual synchronization timestamp is less than or equal to the preset synchronization timestamp, it indicates that the absolute time difference corresponding to the number of synchronized frames of the audio and video is less than the preset synchronization timestamp, that is, less than or equal to 0 seconds. This means that the time interval of each frame of the audio and each frame of the video is synchronized. At this time, no processing is required, that is, return to the current step and execute S101 to obtain the audio sampling rate ratio of the next audio transmitter, that is, to check whether the next audio data packet has a timeout.

[0042] For example, after obtaining the audio-visual synchronization timestamp of the audio transmitter, the audio data has 30 frames and the video data has 30 frames. Frames 1-30 in the audio data correspond to frames 1-30 in the video data, indicating that the audio frames and video frames are synchronized. At this time, no data packet is discarded, and the audio sampling rate ratio of the next audio transmitter is obtained, which means that the next audio data packet may have a timeout.

[0043] All the aforementioned preset variables are set in the database for easy retrieval. Different preset variables are placed in different storage units, i.e., in different storage stacks. Moreover, audio-visual synchronization timestamps, preset synchronization timestamps, etc., can all be collected by relevant components, such as clock chips.

[0044] This disclosure also provides a wireless local area network (WLAN) audio transmission monitoring device. The WLAN audio transmission monitoring device employs the WLAN audio transmission monitoring method described in any embodiment, including an audio transmission acquisition module, an audio sampling processing module, and an audio retransmission module. The audio transmission acquisition module is used to acquire the audio sampling rate ratio of the audio transmitter. The audio sampling processing module is used to perform sampling adjustment processing on the audio sampling rate ratio and a preset rate ratio to obtain a sampling rate adjustment. The audio retransmission module is used to send an audio packet retransmission enable / disable signal to the audio transmission terminal based on the sampling rate adjustment to adjust the audio data packet retransmission mode at the audio transmitter. Specifically, the audio transmission will determine the timeout status of the audio data based on the audio sampling rate ratio. When a timeout occurs, a request can be made to the audio transmitter to retransmit data packets to ensure the integrity of the audio data. When the timeout exceeds the duration of the sound content carried by a frame, it indicates that the timeout period has been far exceeded. In this case, the current data packet can be discarded to ensure the continuity of the audio. This method can achieve the reliability and stability of audio transmission, meeting the audio quality needs of more users.

[0045] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram is shown below. Figure 4 As shown, the device includes a memory, a processor, and a network interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores data such as data buffer time parameters, preset buffer time, and buffer time difference parameters. The network interface is used for communication with external terminals via a network connection. When the processor executes the computer program, it implements any of the wireless local area network audio transmission monitoring methods described in the above embodiments. It should be noted that... Figure 4 The schematic internal structure diagram is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the diagram, or combine certain components, or have different component arrangements.

[0046] This disclosure also provides a computer device, including a memory and a processor. The memory stores a computer program, wherein the computer program records an audio sampling rate ratio parameter, a preset sampling rate ratio parameter, and a sampling rate adjustment parameter. When the processor executes the computer program, it implements the steps of any of the wireless local area network audio transmission monitoring methods described in the above embodiments.

[0047] This disclosure also provides a readable storage medium storing a computer program thereon, wherein the computer program records parameters such as audio sampling rate ratio, preset sampling rate ratio, and sampling rate adjustment, and when the computer program is executed by a processor, it implements any of the wireless local area network audio transmission monitoring methods in the above embodiments.

[0048] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0049] Compared with the prior art, this disclosure has at least the following advantages: Audio transmission will determine the timeout status of audio data based on the audio sampling rate ratio. When a timeout occurs, a request can be made to the audio transmitter to resend data packets to ensure the integrity of the audio data. When the timeout exceeds the duration of the sound content carried by a frame, it means that the timeout has been far exceeded. At this time, the current data packet can be discarded to ensure the continuity of audio. This method can achieve the reliability and stability of audio transmission and meet the audio quality needs of more users.

[0050] The embodiments described above are merely illustrative of several implementations of this disclosure, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the disclosed patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this disclosure, and these all fall within the protection scope of this disclosure. Therefore, the protection scope of this patent should be determined by the appended claims.

Claims

1. A wireless local area network audio transmission monitoring method, characterized by, The method comprises the following steps: acquiring an audio sampling point rate ratio of an audio transmitting terminal; performing sampling adjustment on the audio sampling point rate ratio and a preset point rate ratio to obtain a sampling point rate adjustment; sending an audio packet retransmission pass or forbid signal to an audio transmission terminal according to the sampling point rate adjustment, so as to adjust an audio packet retransmission mode of the audio transmitting terminal.

2. The wireless local area network audio transmission monitoring method of claim 1, wherein, The acquiring of the audio sampling point rate ratio of the audio transmitting terminal comprises: acquiring a ratio of a sampling point number and a sampling rate of the audio transmitting terminal.

3. The wireless local area network audio transmission monitoring method of claim 1, wherein, The performing of the sampling adjustment on the audio sampling point rate ratio and the preset point rate ratio comprises: calculating a least square difference between the audio sampling point rate ratio and the preset point rate ratio.

4. The wireless local area network audio transmission monitoring method of claim 3, wherein, The preset point rate ratio is 20 milliseconds to 22 milliseconds.

5. The wireless local area network audio transmission monitoring method of claim 4, wherein, The preset point rate ratio is 21.33 milliseconds.

6. The wireless local area network audio transmission monitoring method of claim 1, wherein, The sending of the audio packet retransmission pass or forbid signal to the audio transmission terminal according to the sampling point rate adjustment, so as to adjust the audio packet retransmission mode of the audio transmitting terminal, comprises: detecting whether the sampling point rate adjustment is greater than or equal to a preset point rate adjustment; when the sampling point rate adjustment is greater than or equal to the preset point rate adjustment, sending a retransmission forbid signal to the audio transmission terminal, so that the audio transmission terminal forbids sending a retransmission request.

7. The method of claim 6, wherein, The detecting of whether the sampling point rate adjustment is greater than or equal to the preset point rate adjustment further comprises: when the sampling point rate adjustment is less than the preset point rate adjustment, sending a retransmission pass signal to the audio transmission terminal, so that the audio transmission terminal requests the audio transmitting terminal to retransmit an audio data packet.

8. A wireless LAN audio transmission monitoring apparatus that adopts the wireless LAN audio transmission monitoring method according to any one of claims 1 to 7, characterized by The method comprises: an audio transmission collecting module, configured to acquire an audio sampling point rate ratio of an audio transmitting terminal; an audio sampling processing module, configured to perform sampling adjustment on the audio sampling point rate ratio and a preset point rate ratio to obtain a sampling point rate adjustment; an audio retransmission module, configured to send an audio packet retransmission pass or forbid signal to an audio transmission terminal according to the sampling point rate adjustment, so as to adjust an audio packet retransmission mode of the audio transmitting terminal. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor executes the computer program to realize the steps of the method in any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method in any one of claims 1 to 7.