CN112216297B - Processing method, system, medium and device for small VoIP sound of android mobile phone terminal - Google Patents

Processing method, system, medium and device for small VoIP sound of android mobile phone terminal Download PDF

Info

Publication number
CN112216297B
CN112216297B CN202011432197.8A CN202011432197A CN112216297B CN 112216297 B CN112216297 B CN 112216297B CN 202011432197 A CN202011432197 A CN 202011432197A CN 112216297 B CN112216297 B CN 112216297B
Authority
CN
China
Prior art keywords
value
configuration file
client
volume
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011432197.8A
Other languages
Chinese (zh)
Other versions
CN112216297A (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.)
G Net Cloud Service Co Ltd
Original Assignee
G Net Cloud Service 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 G Net Cloud Service Co Ltd filed Critical G Net Cloud Service Co Ltd
Priority to CN202011432197.8A priority Critical patent/CN112216297B/en
Publication of CN112216297A publication Critical patent/CN112216297A/en
Application granted granted Critical
Publication of CN112216297B publication Critical patent/CN112216297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
    • G10L21/0324Details of processing therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
    • G10L21/0324Details of processing therefor
    • G10L21/034Automatic adjustment
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a processing method, a system, a medium and equipment for small voice of VoIP at an android mobile phone terminal. The device for detecting the small VoIP sound problem in real time adopts an external audio processing algorithm, adjusts parameters of the device with the small VoIP sound at the client in a targeted manner, has an obvious processing effect, and solves the problem of poor sound quality. The invention also adopts the server to store and configure the audio parameter file, and the client dynamically loads in real time. The method has strong applicability, is convenient to update and maintain, and can effectively solve the problem of small VoIP sound of all client equipment.

Description

Processing method, system, medium and device for small VoIP sound of android mobile phone terminal
Technical Field
The invention relates to the technical field of audio processing, in particular to a processing method, a system, a medium and equipment for small voice of VoIP (voice over Internet protocol) at an android mobile phone terminal.
Background
The system is a virtual conference realized by network communication technology. The system enables geographically dispersed users to share one place, communicates information in various modes such as graphics and sound, and supports people to remotely communicate and share real-time information and develop an application system of cooperative work. The audio and video conference greatly facilitates real and intuitive communication among cooperative members, and plays a significant role in remote teaching and conference. The system is not only applied to remote classroom teaching to promote real-time communication between teachers and students, but also used for external meetings issued by enterprises and internal meetings, can effectively communicate with colleagues with long distances, grasp commercial dynamics in real time, decide about reasonably and greatly improve timeliness.
Nowadays, under the large environment of the network era, networking equipment becomes a standard object of daily activities of people, and can be used in a large amount in daily life and work activities, and people begin to choose to perform activities such as communication, shopping and the like through a network aiming at the situation that the current network is developed, wherein voice communication is generally performed in an audio and video communication conference, real-time chat, live broadcast, online education and the like by adopting a VoIP (voice over Internet protocol) mode, and the networking equipment is particularly applied to mobile equipment in a large amount.
VoIP is Voice over Internet Protocol (VoIP), which is a Voice call technology, and achieves a Voice call and a multimedia conference through Internet Protocol (IP), that is, performs communication through the Internet, and VoIP can be used for various Internet access devices including VoIP phones, smart phones, and personal computers, and performs a call and sends a short message through cellular networks and Wi-Fi. Therefore, aiming at the practical situation of one mobile phone of human hands at present, the user group is very huge, and the mobile phone end also has a plurality of operating systems including apple (IOS), Android (Android) and Microsoft (Windows), wherein, because the android system has strong openness, rich audio and video communication software is provided on the android device, but due to the diversity of manufacturers and models of android devices, the sound quality of different devices has different problems, the small voice of VoIP is a more prominent problem, the normal voice communication is seriously influenced, therefore, a method for solving the problem of small VoIP sound at the android mobile phone end is needed, default audio processing parameters are set at the android end to adapt to most equipment, the equipment with the small sound problem is specially processed, corresponding parameters are obtained, and the sound of the equipment reaches a normal level, so that normal voice communication can be achieved on all android equipment by using a VoIP technology.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method, a system, a medium, and a device for processing a small VoIP sound at an android phone end, so as to solve the problem of a small VoIP sound in the prior art.
In order to achieve the above and other related objects, the present invention discloses a processing method for a small voice of VoIP at an android phone terminal, which is applied to a client, wherein the client is in communication connection with a server, and the method comprises:
detecting a configuration file, and judging whether the configuration file is the latest version;
if not, sending a configuration file transmission request to a server, and receiving the configuration file sent by the server;
if yes, detecting the equipment model of the client, and judging whether the equipment model is matched with the model parameters in the configuration file;
if the model parameters are matched with the model parameters, acquiring audio parameters corresponding to the model parameters in a configuration file, and setting an audio processing module of the client according to the audio parameters;
if not, acquiring default parameters, and setting an audio processing module of the client according to the default parameters;
further comprising:
acquiring data collected by a microphone, and performing VAD detection and volume monitoring to obtain a VAD state value and a volume value;
carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
judging whether the VAD state statistic value and the volume statistic value are lower than a preset VAD state statistic value threshold value and a preset volume statistic value threshold value;
and if the number of the equipment is less than the preset value, acquiring the equipment model of the client and sending the equipment model to a server.
In the scheme, the method further comprises the step of setting the function of the microphone of the client to be a sound receiving function when the VAD state statistic value and the volume statistic value are judged to be lower than a preset statistic value threshold value.
In order to achieve the above and other related objects, the present invention discloses a processing system for a small voice of VoIP at an android phone terminal, which is applied to a client, wherein the client is in communication connection with a server, and the system comprises:
the analysis module is used for carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
the detection module is used for detecting a configuration file, judging whether the configuration file is the latest version or not, detecting the equipment model of the client, judging whether the equipment model is matched with model parameters in the configuration file or not, and judging whether the VAD state statistic value and the volume statistic value are both lower than a preset statistic value threshold or not;
the analysis module is used for acquiring audio parameters corresponding to the model parameters in the configuration file and setting an audio processing module of the client according to the audio parameters;
and the acquisition module is used for acquiring data acquired by the microphone, performing VAD detection and volume monitoring to obtain a VAD state value and a volume value.
In this scheme, still include: when the configuration file is judged not to be the latest version; sending a configuration file transmission request to a server and receiving a configuration file sent by the server; and when the VAD state statistic value and the volume statistic value are judged to be lower than a preset statistic value threshold value, setting the function of the microphone of the client as a sound receiving function.
In order to achieve the above and other related objects, the present invention further provides a method for processing a small VoIP sound at an android phone end, which is applied to a server, wherein the server is in communication connection with a client, and the method includes the steps of:
receiving the equipment model of the client sent by the client;
determining an audio parameter corresponding to the equipment model of the client, and updating a configuration file;
and sending the configuration file to the client.
In this embodiment, the method further includes: and acquiring audio parameters corresponding to the equipment model according to the received equipment model, generating a new configuration file, and storing the new configuration file in the server.
In order to achieve the above and other related objects, the present invention further discloses a processing system for a small VoIP sound at an android phone terminal, which is applied to a server, wherein the server is in communication connection with a client, and the system includes:
the receiving module is used for receiving the equipment model of the client sent by the client;
the processing module is used for determining the audio parameters corresponding to the equipment model of the client and updating the configuration file;
and the transmission module is used for sending the configuration file to the client.
In this scheme, the system further includes: and acquiring audio parameters corresponding to the equipment model according to the received equipment model, generating a new configuration file, and storing the new configuration file in the server.
In order to achieve the above objects and other related objects, the present invention also discloses a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above processing method for VoIP sound reduction at android phone end.
In order to achieve the above object and other related objects, the present invention further discloses a device for processing VoIP sound at an android phone end, where the device includes a memory and a processor, the memory is used for storing a computer program, and the processor is used for executing the computer program stored in the memory, so that the device executes the above processing method for VoIP sound at the android phone end.
As described above, the processing method, system, medium and device for the small VoIP sound at the android phone terminal can detect the device with the small VoIP sound in real time, and adjust parameters of the device with the small VoIP sound at the client terminal by using an external audio processing algorithm in a targeted manner, so that the processing effect is obvious, and the problem of poor sound quality is solved. The invention also adopts the server to store and configure the audio parameter file, and the client dynamically loads in real time. The method has strong applicability, is convenient to update and maintain, and can effectively solve the problem of small VoIP sound of all client equipment.
Drawings
Fig. 1 is a flowchart illustrating a method step of a processing method for a VoIP sound reduction at an android phone end according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a processing method for a VoIP sound reduction at an android phone end according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating method steps of a VoIP sound reduction processing method for an android phone terminal according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a processing method for a VoIP sound reduction at an android phone end according to another embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, in an embodiment of the present invention, a processing method for a VoIP sound at an android phone end is applied to a client, where the client is in communication connection with a server, and the method includes:
s11, detecting the configuration file, and judging whether the configuration file is the latest version;
s12, if not, sending a configuration file transmission request to a server and receiving a configuration file sent by the server;
s13, if yes, detecting the equipment model of the client, and judging whether the equipment model is matched with the model parameters in the configuration file;
s14, if matching, obtaining the audio parameters corresponding to the model parameters in the configuration file, and setting the audio processing module of the client according to the audio parameters;
s15, if not, acquiring default parameters, and setting the audio processing module of the client according to the default parameters;
further comprising:
s16, acquiring data collected by a microphone, and performing VAD detection and volume monitoring to obtain VAD state values and volume values;
s17, carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
s18, judging whether the VAD state statistic value and the volume statistic value are lower than a preset VAD state statistic value threshold and a volume statistic value threshold or not;
and if the value is lower than the preset value, S19, acquiring the equipment model of the client and sending the equipment model to a server.
If not, the audio processing is normally performed using the audio processing module already set in step S14 or S15.
Specifically, Voice Activity Detection (VAD), also called Voice endpoint Detection, Voice boundary Detection, aims to identify and eliminate a long-time mute period from a Voice signal stream, so as to achieve the effect of saving Voice channel resources without reducing service quality, and is an important component of IP telephone application.
Specifically, a configuration file is detected, and whether the configuration file is the latest version or not is judged; and if not, sending a configuration file transmission request to the server, and receiving the configuration file sent by the server.
It should be noted that, because the ALSA architecture is too bulky, many functions are unavailable for the embedded device, and power consumption is increased, the Android (Android) adopts a simplified tinyalsa, and the tinyalsa-related bottom debugging tools commonly used include tinymix, tinyplay, and tinycap, where the tinymix can view an audio control of the system and can be directly executed for viewing, and the tinymix has more functions of manually setting a value of the control; the tinyplay can also be used for directly playing wav format files, and before playing, the tinymix is required to be used for setting related controls; the tinycap is used for recording, a control related to recording needs to be set before the tinycap is used, the client detects the configuration file of the android mobile phone terminal device, searches for corresponding file content, and checks whether the configuration file exists, and the problem that the configuration file is lost or unsuccessfully configured due to system error or configuration failure exists, so that the configuration file of the android mobile phone terminal device needs to be detected first.
Further, the configuration file may not be the latest version, and a problem that the configuration file is not the latest version when the client detects the configuration file may occur because the new version is not covered or the server does not issue the new configuration file, at this time, the client needs to send a request for configuration file transmission to the server to download the new configuration file from the server.
Specifically, if yes, the device model of the client is detected, and whether the device model is matched with model parameters in a configuration file is judged. It should be noted that after the client checks the configuration file, a loading step is performed, and further analysis is performed on the audio parameters, and meanwhile, the device model of the android phone terminal is detected, and is matched with the audio parameters, different device models of the android phone terminal are matched with corresponding different audio parameters, if the matching is consistent, the audio parameters are set according to the corresponding model, and an audio processing module of the device runs according to the corresponding parameters, so that the opposite terminal hears the volume of the device in a moderate size, and the problem that sound is suddenly changed or sound cannot be heard in a small size is avoided, and if the matching is inconsistent, default parameters are set for the audio processing module of the device to continue running, so that the formats of the audio parameters are unified.
Further, the audio parameters include the following: the method comprises the following steps of sampling digit number, bit rate, audio sampling rate (namely audio sampling level), channels (namely channel number) and resolution (namely sampling precision), wherein the sampling digit number can be understood as the resolution of sound processed by an acquisition card, the higher the value of the number is, the higher the resolution is, the truer the recorded and played back sound is, 8 bits represent 8 power-256 of 2, and 16 bits represent 16 power-64K of 2; the bit rate is expressed as the size of audio data volume per second after compression coding aiming at the coding format; the audio sampling rate (i.e. audio sampling level) refers to the number of times the sound signal is sampled by the recording device in one second, and the higher the sampling frequency is, the truer and more natural the sound is. On a mainstream acquisition card, the sampling frequency is generally divided into three grades of 22.05KHz, 44.1KHz and 48KHz, 22.05KHz can only reach the sound quality of FM broadcasting, 44.1KHz is the theoretical CD tone quality limit, and 48KHz is more accurate; the channel (i.e., number of channels) represents the presence of several channels of audio data; the resolution (i.e., sampling accuracy) represents the number of bits of data per acquisition.
Specifically, if the audio parameters are matched, the audio parameters in the configuration file are obtained, and an audio processing module of the client is set according to the audio parameters; and if not, acquiring default parameters, and setting an audio processing module of the client according to the default parameters. It should be noted that the client loads the configuration file and parses the audio parameters. The client detects the android mobile phone device model and matches the model in the audio parameters, if the matching is consistent, the setting is carried out according to the audio parameters of the corresponding model, the audio processing module of the device runs according to the corresponding parameters, the problem of small sound is solved, and the opposite end can hear the volume of the device in a moderate manner. And if the client detects that the model parameter of the equipment is not matched with the configuration parameter, setting a default parameter to an audio processing module of the equipment. If the audio parameters of the matched models cannot be detected, default parameters can be adopted, and the situation that the client cannot work due to the fact that no audio parameters exist is prevented.
Specifically, the client also acquires data acquired by the microphone, and performs VAD detection and volume monitoring to obtain a VAD state value and a volume value; and carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistic value and the volume statistic value in unit time, and judging whether the VAD state statistic value and the volume statistic value are both lower than a preset VAD state statistic value threshold value and a preset volume statistic value threshold value. The preset VAD state statistic threshold and the volume statistic threshold may be thresholds set by those skilled in the art according to actual needs, or thresholds obtained by the server through cloud computing. That is, the two thresholds may be dynamically varied.
Specifically, when the client runs, a closed loop is implemented as compared with the step of detecting the configuration file, in this step, in the execution process, a calculated statistical value in a unit time (for example, "1" second) needs to be compared with a set threshold, if the statistical value is lower than the threshold, it is determined that the VoIP sound of the device is small, the device model parameter of the android phone end is read, the model of the device is uploaded to the server, and then the client runs; if the statistic value is higher than the threshold value, namely the VoIP of the equipment is normal, the set audio processing module is directly operated by the client.
In an embodiment, further, the processing method for VoIP at the android phone end of the present invention further includes setting a function of a microphone of the client as a sound reception function when the VAD state statistic and the volume statistic are both lower than a preset statistic threshold.
It should be noted that, the VoIP application of the android phone end device collects original voice data through the microphone, and further, through setting AudioSource of the microphone, it may select to use audio processing of an android system or use external audio processing, if the AudioSource is set to be in a voice communication mode, the application may start the audio processing of the android system to perform echo cancellation and noise reduction processing, and perform processing with default parameters, this method is suitable for most of the android phone end devices, but for the android phone end device with small VoIP sound, the AudioSource needs to be set to be in a microphone mode, that is, the function of the microphone is set to be a radio reception function, at this time, the audio processing of the android system is turned off, and echo cancellation, noise reduction, automatic gain control and the like are implemented by using external audio processing, and the external audio processing may be according to problem characteristics, the audio processing algorithm parameters such as the microphone gain, the echo processing system delay, the processing level, the noise reduction algorithm parameters, the automatic gain control level and the like are adjusted in a targeted manner, so that the VoIP voice quality and the volume of the android terminal device are good, and finally the android terminal device can communicate through the normal VoIP voice.
In an embodiment, to solve the problem of small sound of VoIP at an android phone end, the processing system for small sound of VoIP at the android phone end provided in this embodiment is applied to a client, where the client is in communication connection with a server, and the system includes:
the analysis module is used for carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
the detection module is used for detecting a configuration file, judging whether the configuration file is the latest version or not, detecting the equipment model of the client, judging whether the equipment model is matched with model parameters in the configuration file or not, and judging whether the VAD state statistic value and the volume statistic value are both lower than a preset statistic value threshold or not;
the analysis module is used for acquiring audio parameters corresponding to the model parameters in the configuration file and setting an audio processing module of the client according to the audio parameters;
and the acquisition module is used for acquiring data acquired by the microphone, performing VAD detection and volume monitoring to obtain a VAD state value and a volume value.
Specifically, the analysis module is configured to perform statistical analysis on the VAD state value and the volume value to obtain a VAD state statistical value and a volume statistical value in unit time. The client detects data collected by a microphone of the android mobile phone end equipment in real time, carries out VAD detection on the data, identifies and eliminates invalid signals in sound signals, further monitors volume and analyzes the volume at present.
Specifically, the detection module is configured to detect a configuration file, determine whether the configuration file is the latest version, detect the device model of the client, determine whether the device model is matched with model parameters in the configuration file, and determine whether both the VAD state statistic and the volume statistic are lower than a preset statistic threshold. The client detects the configuration file of the android mobile phone terminal equipment, searches for corresponding file content, and checks whether the configuration file exists, and the configuration file is lost or unsuccessfully configured due to system error or configuration failure, so that the configuration file of the android mobile phone terminal equipment needs to be detected first. And the detection module is also used for judging whether the model of the equipment is matched with the model parameters in the configuration file or not and judging whether the VAD state statistic value and the volume statistic value are both lower than a preset statistic value threshold or not.
Further, the configuration file may not be the latest version, and a problem that the configuration file is not the latest version when the client detects the configuration file may occur because the new version is not covered or the server does not issue the new configuration file, at this time, the client needs to send a request for configuration file transmission to the server to download the new configuration file from the server. After the client side finishes checking the configuration file, a loading step is carried out, the audio parameters are further analyzed, the equipment model of the android mobile phone end is detected, the audio parameters are matched, the different audio parameters are matched with the different equipment models of the android mobile phone end, if the audio parameters are matched, the audio parameters are set according to the audio parameters of the corresponding models, an audio processing module of the equipment runs according to the corresponding parameters, so that the volume of the equipment is moderate when the opposite end hears the equipment, the problem that the sound is suddenly reduced or cannot be heard when the sound is slightly reduced is avoided, and if the audio parameters are not matched, default parameters are set for the audio processing module of the equipment to continue running, so that the formats of the audio parameters are unified.
Specifically, if the statistical value is lower than the threshold value, it is determined that the VoIP sound of the device is small, the device model parameter of the android phone terminal is read, the model of the device is uploaded to the server, and then the client operates; and if the statistical value is higher than the threshold value, the VoIP of the equipment is normal, and the client side directly runs the equipment.
Specifically, the parsing module is configured to obtain an audio parameter in a configuration file, and set the audio processing module of the client according to the audio parameter.
In one embodiment, when the configuration file is determined not to be the latest version; sending a configuration file transmission request to a server and receiving a configuration file sent by the server; and when the VAD state statistic value and the volume statistic value are judged to be lower than a preset statistic value threshold value, setting the function of the microphone of the client as a sound receiving function.
In one embodiment, as shown in fig. 2, the microphone collects the original speech data, and the original speech data is divided into two parts by the AudioSource, one is an android system audio process (AEC, NS) and the other is an external audio process (AEC, NS), and then sent out from the code by an AGC process, wherein the AEC is an Echo Canceller (Acoustic Echo Canceller), the AEC is based on the correlation of the loudspeaker signal with the multipath echoes generated by the AEC, a speech model of the far-end signal is built, the Echo is estimated by using the speech model, the coefficients of the filter are continuously modified to make the estimated value more approximate to the true Echo, then the Echo estimated value is subtracted from the input signal of the microphone to achieve the purpose of canceling the Echo, the AEC also compares the input of the microphone with the past value of the loudspeaker to cancel the delayed Acoustic Echo of multiple reflections, depending on the past speaker output values stored in the memory, the AEC can cancel various delayed echoes; the AGC is an Automatic Gain Control (Automatic Gain Control) function, and can automatically adjust the receiving volume of the microphone, so that the participants can receive a certain volume level, and the disadvantage that the sound is suddenly changed due to the change of the distance between the speaker and the microphone is avoided; the NS is a background Noise Suppression function (Noise Suppression), and the NS can detect background fixed frequency Noise and eliminate background Noise, for example: the sound of the fan and the air conditioner is automatically filtered, and the sound of the participants is presented clearly.
Referring to fig. 3, in an embodiment of the present invention, the processing method for VoIP voice reduction at an android phone end of the present invention is applied to a server, wherein the server is in communication connection with a client, and the method includes the steps of:
and step S31, receiving the device model of the client sent by the client.
Specifically, the server receives the model of the android mobile phone end device transmitted from the client, and then provides different audio parameters according to different models. Furthermore, two audio power amplifiers, namely, Class-AB (analog signal output) and Class-D (digital PWM output), are used in a general mobile phone, and corresponding audio parameters are selected according to different output modes.
And step S32, determining the audio parameters corresponding to the equipment model of the client, and updating the configuration file.
Specifically, different audio parameters are determined according to different models of the android mobile phone terminal equipment, and then the configuration file is updated, wherein the configuration file comprises model parameters and corresponding audio parameters.
And step S33, sending the configuration file to the client.
Specifically, after the client sends the configuration file request, the server transmits the configuration file to the client for use.
In an embodiment, the method further comprises: and acquiring audio parameters corresponding to the equipment model according to the received equipment model, generating a new configuration file, and storing the new configuration file in the server.
It should be noted that after the server obtains the device model, the server needs to configure the audio parameters according to the device model, but since there are many device models and the optimal adaptation parameters may not be obtained, the server may determine the hardware parameters according to the device model in a cloud computing manner, then obtain the audio parameter information similar to the hardware parameters, generate the configuration file for the audio parameters similar to the hardware parameters, and store the configuration file in the server.
In an embodiment, to solve the problem of small sound of VoIP at an android phone end, the processing system for small sound of VoIP at the android phone end provided in this embodiment is applied to a server, where the server is in communication connection with a client, and the system includes:
and the receiving module is used for receiving the equipment model of the client sent by the client.
Specifically, the client sends the model of the android mobile phone end device to the server, and the server receives the model, adapts to the model and provides the corresponding audio parameter.
And the processing module is used for determining the audio parameters corresponding to the equipment model of the client and updating the configuration file.
Specifically, the server determines the corresponding audio parameters according to the models of the different android mobile phone end devices sent by the client, and updates the configuration file correspondingly.
And the transmission module is used for sending the configuration file to the client.
Specifically, the server transmits the configuration file to the client in response to the client request.
In one embodiment, the system further comprises: and acquiring audio parameters corresponding to the equipment model according to the received equipment model, generating a new configuration file, and storing the new configuration file in the server.
It should be noted that after the server obtains the device model, the server needs to configure the audio parameters according to the device model, but since there are many device models and the optimal adaptation parameters may not be obtained, the server may determine the hardware parameters according to the device model in a cloud computing manner, then obtain the audio parameter information similar to the hardware parameters, generate the configuration file for the audio parameters similar to the hardware parameters, and store the configuration file in the server. The configuration file updated each time is stored in the server, so that the client can dynamically load the configuration file in real time when the configuration file needs to be used next time, and time and efficiency are saved.
In addition, the present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements any one of the processing methods for VoIP sound reduction at an android phone end.
In addition, the invention also discloses a device for processing the small VoIP sound at the android mobile phone terminal, which comprises a memory and a processor, wherein the memory is used for storing the computer program, and the processor is used for executing the computer program stored in the memory, so that the device can execute any processing method for the small VoIP sound at the android mobile phone terminal.
To better illustrate an embodiment of the present invention, the processing flow at the client is shown in fig. 4. Original voice data is gathered through the microphone to android end VoIP application, audioSource through setting up the microphone can select to use android audio frequency to handle or use external audio frequency to handle, if audioSource sets up to the speech communication mode, the application can launch android system audio frequency and handle, carry out echo cancellation, fall the noise treatment, and handle with acquiescence parameter, this method is fit for most android equipment, but to the little android equipment of VoIP sound, then need set up audioSource to the microphone mode, namely close android system audio frequency and handle, adopt external audio frequency to handle and realize echo cancellation, fall and make an uproar, automatic gain control etc.. The external audio processing can adjust audio processing algorithm parameters such as microphone gain, echo processing system time delay, processing level, noise reduction algorithm parameters, automatic gain control level and the like in a targeted manner according to the characteristics of the problem model, so that the voice quality and volume of the VoIP of the android terminal device are good. And finally, enabling the android terminal equipment to have normal voice communication through the VoIP.
The device for detecting the small VoIP sound problem in real time adopts an external audio processing algorithm, adjusts parameters of the device with the small VoIP sound at the android end in a targeted manner, has obvious processing effect, avoids the problem of sound quality deterioration, adopts the server to store and configure the audio parameter file, and dynamically loads the client in real time. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (6)

1. A processing method aiming at small VoIP sound at an android phone end is applied to a client side, wherein the client side is in communication connection with a server, and the method comprises the following steps:
detecting a configuration file, and judging whether the configuration file is the latest version;
if not, sending a configuration file transmission request to a server, and receiving the configuration file sent by the server;
if yes, detecting the equipment model of the client, and judging whether the equipment model is matched with the model parameters in the configuration file;
if the model parameters are matched with the model parameters, acquiring audio parameters corresponding to the model parameters in a configuration file, and setting an audio processing module of the client according to the audio parameters;
if not, acquiring default parameters, and setting an audio processing module of the client according to the default parameters;
further comprising:
acquiring data collected by a microphone, and performing VAD detection and volume monitoring to obtain a VAD state value and a volume value;
carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
judging whether the VAD state statistic value and the volume statistic value are lower than a preset VAD state statistic value threshold value and a preset volume statistic value threshold value;
and if the number of the equipment is less than the preset value, acquiring the equipment model of the client and sending the equipment model to a server.
2. The processing method for the VoIP small sound at the android phone end of claim 1, further comprising: and when the VAD state statistic value and the volume statistic value are judged to be lower than a preset statistic value threshold value, setting the function of the microphone of the client as a sound receiving function.
3. A processing system for small VoIP sound at an android phone end is applied to a client, wherein the client is in communication connection with a server, and the system comprises:
the analysis module is used for carrying out statistical analysis on the VAD state value and the volume value to obtain the VAD state statistical value and the volume statistical value in unit time;
the detection module is used for detecting a configuration file, judging whether the configuration file is the latest version or not, detecting the equipment model of the client, judging whether the equipment model is matched with model parameters in the configuration file or not, and judging whether the VAD state statistic value and the volume statistic value are both lower than a preset statistic value threshold or not;
the analysis module is used for acquiring audio parameters corresponding to the model parameters in the configuration file and setting an audio processing module of the client according to the audio parameters;
and the acquisition module is used for acquiring data acquired by the microphone, performing VAD detection and volume monitoring to obtain a VAD state value and a volume value.
4. The processing system for the VoIP small sound at the android phone end of claim 3, further comprising: when the configuration file is judged not to be the latest version; sending a configuration file transmission request to a server and receiving a configuration file sent by the server; and when the VAD state statistic value and the volume statistic value are judged to be lower than a preset statistic value threshold value, setting the function of the microphone of the client as a sound receiving function.
5. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the processing method for VoIP sound minimums at android phone end of claim 1.
6. A device for processing VoIP sounds on an android phone side, wherein the device comprises a memory for storing a computer program and a processor for executing the computer program stored in the memory to cause the device to perform the method of claim 1 for processing VoIP sounds on an android phone side.
CN202011432197.8A 2020-12-10 2020-12-10 Processing method, system, medium and device for small VoIP sound of android mobile phone terminal Active CN112216297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011432197.8A CN112216297B (en) 2020-12-10 2020-12-10 Processing method, system, medium and device for small VoIP sound of android mobile phone terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011432197.8A CN112216297B (en) 2020-12-10 2020-12-10 Processing method, system, medium and device for small VoIP sound of android mobile phone terminal

Publications (2)

Publication Number Publication Date
CN112216297A CN112216297A (en) 2021-01-12
CN112216297B true CN112216297B (en) 2021-02-26

Family

ID=74068013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011432197.8A Active CN112216297B (en) 2020-12-10 2020-12-10 Processing method, system, medium and device for small VoIP sound of android mobile phone terminal

Country Status (1)

Country Link
CN (1) CN112216297B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831469B2 (en) * 2003-04-03 2010-11-09 International Business Machines Corporation Verifying audio output at a client device
CN109769100A (en) * 2019-01-17 2019-05-17 苏州科达科技股份有限公司 Video conference test method, device and storage medium
CN110175081B (en) * 2019-05-30 2021-05-11 睿云联(厦门)网络通讯技术有限公司 Optimization system and method for Android audio playing
CN111901704B (en) * 2020-06-16 2022-07-22 深圳市麦驰安防技术有限公司 Audio data processing method, device, equipment and computer readable storage medium
CN112040067B (en) * 2020-11-06 2021-02-26 南京研利科技有限公司 Method, electronic device, and medium for audio playing of messages

Also Published As

Publication number Publication date
CN112216297A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN103650533B (en) Masking signal is produced on the electronic device
JP5085556B2 (en) Configure echo cancellation
US8744091B2 (en) Intelligibility control using ambient noise detection
CN101668085B (en) Method for regulating voice output of mobile terminal and mobile terminal
US9525392B2 (en) System and method for dynamically adapting playback device volume on an electronic device
CN107360530B (en) Echo cancellation testing method and device
JP2008543194A (en) Audio signal gain control apparatus and method
CN108449503B (en) Voice call data processing method and device, storage medium and mobile terminal
US20040162722A1 (en) Speech quality indication
CN107526570B (en) Volume adjusting method and device, terminal equipment and storage medium
WO2019174492A1 (en) Voice call data detection method, device, storage medium and mobile terminal
CN111372121A (en) Echo cancellation method, device, storage medium and processor
WO2023131155A1 (en) Wireless earphone control method and apparatus, and electronic device
CN104580764A (en) Ultrasound pairing signal control in teleconferencing system
CN103442132B (en) Control system and method for automatically adjusting voice frequency setting according to external environment
CN112216297B (en) Processing method, system, medium and device for small VoIP sound of android mobile phone terminal
CN112235462A (en) Voice adjusting method, system, electronic equipment and computer readable storage medium
US20230124470A1 (en) Enhancing musical sound during a networked conference
CN108429858B (en) Voice call data processing method and device, storage medium and mobile terminal
WO2022156336A1 (en) Audio data processing method and apparatus, device, storage medium, and program product
CN106293607B (en) Method and system for automatically switching audio output modes
CN112565668B (en) Method for sharing sound in network conference
JP2006157611A (en) Terminal device and method of controlling same
CN108449498B (en) Voice call data processing method and device, storage medium and mobile terminal
CN108449505B (en) voice call data detection method and device, storage medium and mobile terminal

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