Audio data transmission method and electronic device

CN122994789APending Publication Date: 2026-10-27GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510528708.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0004]本发明提供了音频数据传输方法和电子设备,以解决现有实时通信在不同环境下的数据发送不能保证稳定的同步性的技术问题

Benefits of technology

[0009]上述,在无线网络环境下进入实时语音状态之后,进行音频数据采集和获取的同时,还获取当前状态参数,根据当前状态参数所处的分段区间对应的分段配置参数,对无线网络环境的网络参数进行重新配置。利用音频数据生成的音频报文较小,对无线网络的带宽要求相对较低的特点,根据实际网络状态确定目标配置参数,使用目标配置参数针对当前网络状态对无线网络环境进行配置之后,在满足音频报文快速传输所需基本带宽的前提下,能够保证当前传输音频数据的信道不受干扰,为各种环境下的实时通信提供稳定的同步数据传输。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122994789A_ABST
    Figure CN122994789A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an audio data transmission method and an electronic device. After entering a real-time voice state in a wireless network environment, current state parameters are obtained while audio data is collected and acquired, network parameters of the wireless network environment are reconfigured according to segment configuration parameters corresponding to a segment interval in which the current state parameters are located. The audio message generated by using the audio data is small, and the bandwidth requirement of the wireless network is relatively low. Target configuration parameters are determined according to an actual network state, and the wireless network environment is configured by using the target configuration parameters according to the current network state. After the configuration, the basic bandwidth required for fast transmission of the audio message is met, the channel for transmitting the audio data is not disturbed, and stable synchronous data transmission is provided for real-time communication in various environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data transmission technology, and more particularly to audio data transmission methods and electronic devices. Background Technology

[0002] With the continuous development of electronic technology, there are more and more application scenarios for data transmission based on electronic devices, which greatly enriches people's various information transmission and communication needs.

[0003] When using existing electronic devices for data transmission, different application scenarios prioritize different data transmission metrics. For example, when transferring existing files, users expect the file to be transferred quickly, thus focusing more on data transmission speed. In real-time communication scenarios based on wireless networks, users want the two parties to achieve the effect of face-to-face communication, thus focusing more on the synchronization of data transmission. During the inventors' in-depth experience and understanding of the real-time communication process in different environments, it was found that existing real-time communication methods cannot guarantee stable synchronization of data transmission under different conditions. Summary of the Invention

[0004] This invention provides an audio data transmission method and an electronic device to solve the technical problem that existing real-time communication cannot guarantee stable synchronization of data transmission in different environments.

[0005] In a first aspect, embodiments of this application provide an audio data transmission method, which includes:

[0006] The system determines that it has entered real-time voice mode in a wireless network environment. In real-time voice mode, it acquires the current status parameters and the audio data acquired by the audio acquisition module. The current status parameters include the current channel busy level and received signal strength indication of the wireless network environment. The audio data is used for real-time transmission in the wireless network environment.

[0007] Based on the segment interval where the current status parameter is located, the target configuration parameter corresponding to the current status parameter is determined from the preset segment configuration parameters. Different combinations of multiple segment intervals of the current channel busy level and multiple segment intervals of the received signal strength indication are preset with corresponding segment configuration parameters. The segment configuration parameters are used to improve the anti-interference capability of the channel transmitting audio data.

[0008] Configure the wireless network environment according to the target configuration parameters.

[0009] As described above, after entering real-time voice mode in a wireless network environment, while collecting and acquiring audio data, the current status parameters are also obtained. Based on the segment configuration parameters corresponding to the segment interval where the current status parameters are located, the network parameters of the wireless network environment are reconfigured. Taking advantage of the small size of the audio packets generated by the audio data and the relatively low bandwidth requirements of the wireless network, the target configuration parameters are determined according to the actual network status. After configuring the wireless network environment with the target configuration parameters for the current network status, while meeting the basic bandwidth required for fast audio packet transmission, the channel for transmitting audio data can be guaranteed to be free from interference, providing stable synchronous data transmission for real-time communication in various environments.

[0010] Specifically, based on the segment interval in which the current state parameter is located, the target configuration parameter corresponding to the current state parameter is determined from the preset segment configuration parameters, including:

[0011] Based on the segment interval where the current status parameter is located and the current call type corresponding to the real-time voice status, the target configuration parameter corresponding to the current status parameter is determined from the preset segment configuration parameters corresponding to the current call type. Each call type has its own preset segment configuration parameters.

[0012] As mentioned above, more granular allocation configuration parameters are provided based on the data transmission requirements of different call types to provide more precise network control.

[0013] The current channel congestion level includes the first, second, third, and fourth segment intervals, which are consecutive from high to low; the received signal strength indication includes the fifth, sixth, and seventh segment intervals, which are consecutive from high to low.

[0014] When the current channel congestion level is in the first segment interval, the second segment interval, or the third segment interval, the corresponding segment configuration parameter is the quality of service parameter, and the preemption capability of the corresponding quality of service parameter decreases segment by segment from the first segment interval to the third segment interval.

[0015] When the current channel busy level is in the fourth segment interval, and the received signal strength indication is in the fifth, sixth, or seventh segment interval, the corresponding segment configuration parameters are modulation and coding parameters, and the error rate of the corresponding modulation and coding parameters decreases segment by segment from the fifth segment interval to the seventh segment interval.

[0016] The above-mentioned segmentation of the current channel busyness and received signal strength indication into appropriate numbers, along with the corresponding parameter settings, can ensure that the wireless network environment can meet the requirements for low-latency audio data transmission while avoiding high-frequency adjustments to the wireless network environment.

[0017] The quality of service parameters include the number of arbitration frame gaps and the contention window size.

[0018] The above-mentioned adjustment of two specific parameters in the Quality of Service (QoS) parameters can ensure the requirement of low-latency audio data transmission and control the number of parameter settings.

[0019] The first segment interval is [30, +∞), the second segment interval is [20, 30), the third segment interval is [10, 20), and the fourth segment interval is (-∞, 10).

[0020] The above-mentioned channel busyness is divided into segments of 10, 20, and 30, and the parameters are configured accordingly. This can well adapt to the audio data transmission requirements in real-time communication, ensure low-latency audio data transmission, and provide stable synchronous data transmission during online communication, so that users can have a good real-time communication experience.

[0021] The number of arbitration frame gaps corresponding to the first segment interval is 1, and the competition window size is (1,3); the number of arbitration frame gaps corresponding to the second segment interval is 1, and the competition window size is (2,4); the number of arbitration frame gaps corresponding to the third segment interval is 2, and the competition window size is (3,5).

[0022] The above-mentioned specific parameter configuration methods corresponding to different segments of the current signal congestion level can adapt well to the network status and make appropriate adjustments to improve the utilization rate of network bandwidth resources.

[0023] The fifth segment interval is (70, +∞), the sixth segment interval is (60, 70), and the seventh segment interval is (50, 60).

[0024] The above-mentioned received signal strength indicators greater than 50 are divided into segments of 60 and 70, and the parameters are configured accordingly. This can well adapt to the transmission requirements of audio data in real-time communication, ensure that audio data is transmitted with low latency, and provide stable synchronous data transmission during online communication, so that users can have a good real-time communication experience.

[0025] The modulation and coding parameters corresponding to the fifth segment interval are 1, the modulation and coding parameters corresponding to the sixth segment interval are 3, and the modulation and coding parameters corresponding to the seventh segment interval are 5.

[0026] The above-mentioned specific parameter configuration methods corresponding to different segment intervals of received signal strength indication can adapt well to network conditions and make appropriate adjustments to improve the utilization rate of network bandwidth resources.

[0027] The audio data transmission method further includes:

[0028] A transmission timestamp is added to the audio message used to send audio data so that the electronic device receiving the audio message can determine the current jitter duration based on the time the audio message was received and the timestamp parsed from the audio message.

[0029] The above-mentioned method allows electronic devices in real-time voice mode to statistically analyze the latency of audio messages, comprehensively assess the latency status of audio data in real-time voice mode, and determine the effect of wireless network control on audio data transmission.

[0030] Secondly, embodiments of this application provide an electronic device, which includes:

[0031] One or more processors;

[0032] Memory, used to store one or more computer programs;

[0033] When one or more computer programs are executed by one or more processors, electronic devices enable audio data transmission methods as described in the first aspect.

[0034] The electronic device in the second aspect can be used to execute the audio data transmission method provided in any of the above embodiments, and has corresponding functions and beneficial effects. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating an audio data transmission method provided in an embodiment of this application.

[0037] Figure 2 This is a comparison chart showing the delay statistics of audio data transmission after adjusting modulation and coding parameters when implementing the audio data transmission method in this scheme, and the delay statistics of audio data transmission in related technologies.

[0038] Figure 3 This is a comparison chart showing the latency statistics of audio data transmission after adjusting the quality of service parameters when implementing the audio data transmission method in this scheme, and the latency statistics of audio data transmission in related technologies.

[0039] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are for illustrative purposes only and not for limiting the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the drawings, not all of the structures.

[0041] It should be noted that, due to space limitations, this application specification does not exhaustively list all possible implementation methods. Those skilled in the art should be able to conceive after reading this application specification that, as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method.

[0042] The embodiments are described in detail below.

[0043] With the continuous development of electronic technology, there are more and more application scenarios for data transmission based on electronic devices, greatly enriching people's various information transmission and communication needs. For example, remote file transfer, conveniently carrying files through the cloud, and real-time communication via video or voice (such as video calls and online meetings).

[0044] When using existing electronic devices for data transmission, different application scenarios prioritize different data transmission metrics. For example, when transferring existing files, users expect the file to be transferred quickly, thus focusing more on data transmission speed. In real-time communication scenarios based on wireless networks (e.g., voice communication), users want the two parties to achieve the effect of face-to-face communication, thus focusing more on the synchronization of data transmission. During the inventors' in-depth experience and understanding of the real-time communication process in different environments, it was found that existing real-time communication methods cannot guarantee stable synchronization of data transmission under different conditions.

[0045] To address the aforementioned technical issues, the inventors further analyzed the underlying transmission process of audio data in real-time communication scenarios. They discovered that existing control methods for wireless networks during data transmission typically aim to maximize bandwidth to increase transmission speed or allocate bandwidth to the most suitable terminal devices to meet the multi-terminal data transmission needs in complex scenarios. However, in real-time communication scenarios, the audio message data volume used for transmission is relatively small, with low bandwidth requirements. While large bandwidth far exceeds the bandwidth requirements for audio message transmission, it exhibits poor adaptability to various environments and is highly sensitive to interference. Audio message transmission under high bandwidth is more susceptible to interference, leading to unstable synchronization in real-time communication data transmission under different environments. Based on the above analysis of the characteristics of audio data in real-time communication scenarios and the underlying control mechanisms of existing wireless networks, the inventors propose an audio data transmission method in this application. After entering real-time voice mode in a wireless network environment, while acquiring and obtaining audio data, the method also acquires current state parameters. Based on the segment configuration parameters corresponding to the segment interval where the current state parameters are located, the network parameters of the wireless network environment are reconfigured. By leveraging the small size of audio packets generated from audio data and their relatively low bandwidth requirements for wireless networks, and by determining the target configuration parameters based on the actual network conditions, and then configuring the wireless network environment according to these parameters, the system can ensure that the channel for transmitting audio data remains undisturbed while meeting the basic bandwidth requirements for fast audio packet transmission. This provides stable synchronous data transmission for real-time communication in various environments.

[0046] The electronic devices used in this solution can be integrated devices that allow for human-computer interaction by controlling the content displayed on the screen through external devices, such as smartphones, personal computers, and interactive smart tablets.

[0047] Taking interactive smart flat panels as an example, they integrate one or more functions such as projectors, electronic whiteboards, screens, speakers, televisions, and video conferencing terminals.

[0048] Typically, an interactive smart tablet is equipped with at least one operating system. This operating system includes, but is not limited to, Android, Linux, Windows, and Huawei HarmonyOS. It controls and coordinates the interactive smart tablet and external devices, enabling the various independent hardware components within the interactive smart tablet to work together as a stable whole. The architectural layer at which the operating system resides is defined as the system layer. Building upon the system layer, the interactive smart tablet contains applications developed to meet the needs of users in different fields and for different problems. The corresponding architectural layer is the application layer.

[0049] It should be understood that any device capable of transmitting audio data based on any wireless signal standard can be considered as the electronic device described above, and can accordingly implement the audio data transmission method in the embodiments of this application. The interactive smart tablet mentioned above is only used as an example. For example, a wireless microphone based on various wireless signal standards (such as WiFi and Bluetooth) has the ability to transmit audio data to other electronic devices through wireless signals, which means that the microphone can also be used as the subject for implementing the audio data transmission method in the embodiments of this application.

[0050] Figure 1 This is a flowchart of an audio data transmission method provided in an embodiment of this application, as shown below. Figure 1 As shown, the audio data transmission method includes, but is not limited to, steps S110-S130. The audio data transmission method provided in this application embodiment is used in the electronic device described above.

[0051] like Figure 1 As shown, the audio data transmission method includes:

[0052] Step S110: Determine that the system has entered real-time voice mode in the wireless network environment. In real-time voice mode, obtain the current status parameters and the audio data collected by the audio acquisition module. The current status parameters include the current channel busy level and received signal strength indication of the wireless network environment. The audio data is used for real-time transmission in the wireless network environment.

[0053] Once an electronic device is powered on and initializes to connect to a wireless network, it is in a wireless network environment. If it is not in a real-time communication state, there is usually no data transmission requirement with high synchronization. At this time, the wireless network can be controlled according to the relevant technologies that require high bandwidth and multiple terminals. Even if the wireless network is interfered with, the delay caused by the small number of packets will be imperceptible to the user, the user experience will not be affected, and good data transmission speed can be guaranteed.

[0054] When a user initiates real-time communication through software such as social media, conferencing software, or VoIP, and the other party answers, the real-time communication state is entered. Real-time communication typically involves only voice acquisition and transmission, or simultaneous acquisition and transmission of voice and video. This application's embodiments primarily describe scenarios where voice is transmitted independently within the real-time communication state, and define this state as the real-time voice state.

[0055] In real-time voice mode, audio data needs to be acquired by an audio acquisition module for real-time transmission by the electronic device in a wireless network environment. This audio acquisition module can be, for example, an external or built-in microphone of the electronic device. The audio acquisition module generates audio data by detecting sound vibrations. In this embodiment, in addition to basic audio data acquisition, current status parameters for improving audio data transmission quality are also obtained. These current status parameters include the current channel busy level and received signal strength indication of the wireless network environment. The hardware module in the electronic device that enables access to the wireless network environment is exemplarily a wireless module (e.g., a wireless network card for supporting WiFi access, or a Bluetooth module for supporting Bluetooth access). When implementing the audio data transmission method in this embodiment, the electronic device can obtain the current channel busy level and received signal strength indication, which describe the usage status of the wireless network environment, from the wireless network card by calling the relevant API (Application Programming Interface).

[0056] The current channel busyness (busy_ave), usually expressed as a percentage, reflects the proportion of time the channel is occupied, including data transmission, collisions, and other interference.

[0057] RSSI (Received Signal Strength Indicator) is a metric used in wireless communication to measure the strength of a signal detected by a receiving device. It is typically expressed as a negative number, with units of dBm (decibels per milliwatt). The closer the RSSI value is to 0, the stronger the signal; conversely, the smaller the value (i.e., the larger the absolute value of the negative number), the weaker the signal.

[0058] Step S120: Based on the segment interval where the current status parameter is located, determine the target configuration parameter corresponding to the current status parameter from the preset segment configuration parameters. Different combinations of multiple segment intervals of the current channel busy level and multiple segment intervals of the received signal strength indication are preset with corresponding segment configuration parameters. The segment configuration parameters are used to improve the anti-interference capability of the channel transmitting audio data.

[0059] Among the preset segmented configuration parameters, the audio packets generated using audio data are relatively small and have relatively low bandwidth requirements for the wireless network. The target configuration parameters are determined based on the actual network conditions. After configuring the wireless network environment according to the current network conditions using the target configuration parameters, the basic bandwidth required for fast transmission of audio packets can be met, and the channel for transmitting audio data can be guaranteed to be free from interference, providing stable synchronous data transmission for real-time communication in various environments.

[0060] Specifically determining the segmentation intervals can be adapted to the current call type based on the granularity of the preset segmentation configuration parameters. For example, when setting the segmentation configuration parameters, the specific call scenarios of the real-time voice state can be categorized, such as distinguishing between conference calls and chat calls, and dividing them into segmentation intervals and setting preset segmentation configuration parameters accordingly. Similarly, when determining the target configuration parameters, based on the segmentation interval of the current state parameter and the current call type corresponding to the real-time voice state, the target configuration parameters corresponding to the current state parameter are determined from the preset segmentation configuration parameters corresponding to the current call type. Segmentation configuration parameters are preset for each call type. More granular allocation configuration parameters are provided based on the data transmission requirements of different call types to provide more precise network control.

[0061] In practical implementation, the number and range of segment intervals need to be balanced when preset segment configuration parameters to ensure control over latency during audio data transmission and to avoid unnecessary parameter combinations as much as possible. An exemplary approach is as follows: the current channel busyness includes consecutive first, second, third, and fourth segment intervals from high to low; the received signal strength indication includes consecutive fifth, sixth, and seventh segment intervals from high to low; when the current channel busyness is in the first, second, or third segment interval, the corresponding segment configuration parameter is a Quality of Service (QoS) parameter, and the preemption capability of the corresponding QoS parameter decreases segment by segment from the first to the third segment interval; when the current channel busyness is in the fourth segment interval, and the received signal strength indication is in the fifth, sixth, or seventh segment interval, the corresponding segment configuration parameter is a Modulation and Coding Scheme (MCS), and the packet error tolerance of the corresponding MCS parameter decreases segment by segment from the fifth to the seventh segment interval. By dividing the current channel busy level and received signal strength indication into appropriate segments, and setting the corresponding parameters, it is possible to ensure that the wireless network environment can meet the requirements for low-latency audio data transmission while avoiding high-frequency adjustments to the wireless network environment.

[0062] In one optional implementation, the Quality of Service (QoS) parameters include the Arbitration Interframe Spacing Number (AIFSN) and the Contention Window (CW) size. Adjusting these two specific QoS parameters ensures low-latency audio data transmission and controls the number of parameter settings required.

[0063] In another optional implementation, the first segment interval is [30, +∞), the second segment interval is [20, 30), the third segment interval is [10, 20), and the fourth segment interval is (-∞, 10). Using 10, 20, and 30 as the boundaries for each segment interval based on the current channel congestion level, and configuring the parameters accordingly, can effectively adapt to the audio data transmission requirements in real-time communication, ensuring low-latency audio data transmission. This guarantees stable synchronous data transmission during online communication, providing users with a good real-time communication experience.

[0064] Regarding the specific settings for the number of arbitration frame gaps and the contention window size, for example, the number of arbitration frame gaps for the first segment interval is 1, and the contention window size is (1,3); the number of arbitration frame gaps for the second segment interval is 1, and the contention window size is (2,4); and the number of arbitration frame gaps for the third segment interval is 2, and the contention window size is (3,5). The specific parameter configuration methods corresponding to different segment intervals with varying signal congestion levels can adapt well to network conditions and make appropriate adjustments, improving the utilization rate of network bandwidth resources.

[0065] In another specific implementation, the fifth segment interval is (70, +∞), the sixth segment interval is (60, 70), and the seventh segment interval is (50, 60). By using 60 and 70 as the boundaries for each segment interval to indicate received signal strength greater than 50, and configuring the parameters accordingly, this approach effectively adapts to the audio data transmission requirements of real-time communication, ensuring low-latency audio data transmission. This guarantees stable synchronous data transmission during online communication, providing users with a superior real-time communication experience.

[0066] Regarding the setting of modulation and coding parameters, for example, the modulation and coding parameters for the fifth segment interval are 1, the sixth segment interval is 3, and the seventh segment interval is 5. The specific parameter configuration methods for different segment intervals of the received signal strength indication can adapt well to network conditions and make appropriate adjustments, improving the utilization rate of network bandwidth resources.

[0067] Step S130: Configure the wireless network environment according to the target configuration parameters.

[0068] Once the target configuration parameters are determined, they are configured onto the wireless network card to complete the configuration of the wireless network environment. With a wireless network environment that guarantees anti-interference capabilities based on the target configuration parameters, the transmission latency of real-time audio data transmitted within the wireless network environment is effectively controlled.

[0069] In a specific application scenario, the wireless headset might collect audio data and transmit it to the mobile terminal of a nearby user. The mobile terminal then transmits the audio data to the mobile terminal of a remote user via a wireless network. In this case, the wireless headset might have fixed requirements for the audio data transmission quality, and the basic audio data transmission method in steps S110 to S130 of this embodiment could be executed. However, the mobile terminal of the nearby user might have different audio data transmission quality requirements depending on the specific call type. Within the framework of steps S110 to S130, the target configuration parameters can be further determined based on the current call type to achieve audio data transmission using the lowest possible network cost while ensuring specific transmission requirements are met.

[0070] Building upon the real-time transmission of audio data in the flexibly configurable wireless network environment described above, electronic devices can also add a transmission timestamp to the audio message used to send the audio data, so that the electronic device receiving the audio message can determine the current jitter duration based on the time of receiving the audio message and the timestamp parsed from the audio message.

[0071] For example, when an electronic device sends audio message 1 (T10), a sending timestamp (T10) is added to audio message 1. When the receiving electronic device receives audio message 1 (T20), it records the current time (T20) and then records the transmission time interval T1 (T20-T10) of audio message 1. When an electronic device sends audio message 2 (T11), a sending timestamp (T11) is added to audio message 2. When the receiving electronic device receives audio message 2 (T21), it records the current time (T21). Then, the message transmission time interval T2 (T21-T11) is determined. The current jitter time for transmitting audio messages 1 and 2 is Ts = |T2-T1|. Electronic devices in real-time voice mode statistically analyze the latency of audio messages, which allows for a comprehensive judgment of the latency status of audio data in real-time voice mode and determines the effect of wireless network control on audio data transmission.

[0072] Please refer to further information. Figure 2 and Figure 3 ,in Figure 2 This is a comparison chart showing the delay statistics of audio data transmission after adjusting modulation and coding parameters when implementing the audio data transmission method in this scheme, and the delay statistics of audio data transmission in related technologies. Figure 3This chart compares the latency statistics of audio data transmission after adjusting the quality of service parameters when implementing the audio data transmission method in this solution with those of related technologies. The statistics include results from real-time communication under various environments. Statistical analysis of transmitting the same audio data using this solution and related technologies reveals that, compared to transmitting the same audio data using related technologies, this solution effectively controls jitter time in various application scenarios, significantly improving the user's real-time communication experience.

[0073] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device includes a processor 210 and a memory 220 (e.g., an interactive smart tablet and a wireless microphone). In one possible product form of the electronic device (e.g., an interactive smart tablet), it may also include an input device 230, an output device 240, and a communication device 250. The number of processors 210 in the electronic device can be one or more. Figure 4 Taking a processor 210 as an example; the processor 210, memory 220, input device 230, output device 240, and communication device 250 in the electronic device can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.

[0074] The memory 220, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the audio data transmission method in this embodiment. The processor 210 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 220, thereby implementing the aforementioned audio data transmission method.

[0075] The memory 220 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 220 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 220 may further include memory remotely located relative to the processor 210, which can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0076] Input device 230 can be used to receive network configuration information. Output device 240 may include display devices such as a display screen.

[0077] The aforementioned electronic device can be used to execute any audio data transmission method and has corresponding functions and beneficial effects.

[0078] This application also provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform relevant operations in the audio data transmission method provided in any embodiment of this application, and have corresponding functions and beneficial effects.

[0079] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.

[0080] Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce implementations of the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0081] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0082] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0083] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0084] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. An audio data transmission method, characterized in that, include: The system determines that it has entered a real-time voice state in a wireless network environment. In the real-time voice state, it acquires the current status parameters and the audio data acquired by the audio acquisition module. The current status parameters include the current channel busy level and received signal strength indication of the wireless network environment. The audio data is used to transmit in real time in the wireless network environment. Based on the segment interval where the current state parameter is located, the target configuration parameter corresponding to the current state parameter is determined from the preset segment configuration parameters. Different combinations of multiple segment intervals of the current channel busyness and multiple segment intervals of the received signal strength indication are respectively preset with corresponding segment configuration parameters. The segment configuration parameters are used to improve the anti-interference capability of the channel transmitting the audio data. Configure the wireless network environment according to the target configuration parameters.

2. The audio data transmission method according to claim 1, characterized in that, The step of determining the target configuration parameter corresponding to the current state parameter from the preset segmented configuration parameters based on the segmented interval in which the current state parameter is located includes: Based on the segment interval where the current status parameter is located and the current call type corresponding to the real-time voice status, the target configuration parameter corresponding to the current status parameter is determined from the preset segment configuration parameters corresponding to the current call type. Each call type has its own preset segment configuration parameters.

3. The audio data transmission method according to claim 1, characterized in that, The current channel busy level includes a first segment interval, a second segment interval, a third segment interval, and a fourth segment interval, which are consecutive from high to low; the received signal strength indication includes a fifth segment interval, a sixth segment interval, and a seventh segment interval, which are consecutive from high to low; When the current channel busy level is in the first segment interval, the second segment interval, or the third segment interval, the corresponding segment configuration parameter is the quality of service parameter, and the preemption capability of the corresponding quality of service parameter decreases segment by segment from the first segment interval to the third segment interval. When the current channel busy level is in the fourth segment interval and the received signal strength indication is in the fifth, sixth, or seventh segment interval, the corresponding segment configuration parameters are modulation and coding parameters, and the error rate of the corresponding modulation and coding parameters decreases segment by segment from the fifth segment interval to the seventh segment interval.

4. The audio data transmission method according to claim 3, characterized in that, The quality of service parameters include the number of arbitration frame gaps and the contention window size.

5. The audio data transmission method according to claim 4, characterized in that, The first segment interval is [30, +∞), the second segment interval is [20, 30), the third segment interval is [10, 20), and the fourth segment interval is (-∞, 10).

6. The audio data transmission method according to claim 4 or 5, characterized in that, The number of arbitration frame gaps corresponding to the first segment interval is 1, and the contention window size is (1,3); the number of arbitration frame gaps corresponding to the second segment interval is 1, and the contention window size is (2,4); the number of arbitration frame gaps corresponding to the third segment interval is 2, and the contention window size is (3,5).

7. The audio data transmission method according to claim 4, characterized in that, The fifth segment interval is (70, +∞), the sixth segment interval is (60, 70), and the seventh segment interval is (50, 60).

8. The audio data transmission method according to any one of claims 3-5 and 7, characterized in that, The modulation and coding parameter corresponding to the fifth segment interval is 1, the modulation and coding parameter corresponding to the sixth segment interval is 3, and the modulation and coding parameter corresponding to the seventh segment interval is 5.

9. The audio data transmission method according to any one of claims 1-5 and 7, characterized in that, Also includes: A transmission timestamp is added to the audio message used to send the audio data so that the electronic device receiving the audio message can determine the current jitter duration based on the time the audio message was received and the timestamp parsed from the audio message.

10. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more computer programs; When the one or more computer programs are executed by the one or more processors, the electronic device implements the audio data transmission method as described in any one of claims 1-9.