Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Voice telephone echo cancellation method, storage medium, electronic device and system

A technology of echo cancellation and voice telephony, which is applied in the field of IP voice, which can solve the problems of sound card sound indistinguishability, damaged sound, poor voice quality, etc., and achieve the effect of overcoming the delay interval, ensuring synchronous alignment, and eliminating echo

Active Publication Date: 2021-04-27
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, voice-over-IP telephones are also criticized for their poor voice quality and other weaknesses. Among them, the echo problem is particularly prominent, which seriously affects the voice quality. Therefore, it is inevitable to add an echo cancellation algorithm to the voice-over-IP telephone terminal.
[0003] During an IP voice phone call, generally receiving the voice of the other party and transmitting it to the sound card for playback is carried out in one thread, while collecting the local voice and transmitting it to the other party is in another thread. When performing echo cancellation, the data in the playback thread needs to be used as a reference. However, there is a delay interval between the audio data recorded by the microphone and the audio data played by the speaker. It is very difficult to synchronize the data in the two threads. If it is not synchronized, the adaptive filter in the echo canceller will diverge, not only cannot eliminate the call echo, but also destroy the original collected sound, making it difficult to distinguish the sound transmitted to the sound card

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Voice telephone echo cancellation method, storage medium, electronic device and system
  • Voice telephone echo cancellation method, storage medium, electronic device and system
  • Voice telephone echo cancellation method, storage medium, electronic device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0031] see figure 1 As shown, the embodiment of the present invention provides a voice telephone echo cancellation method:

[0032] S1, obtain the number of delayed frames preset by the user, and the location size of the memory occupied by the audio frame in audio playback and audio recording;

[0033] S2, apply for the first space in the memory for storing the playback audio data, define the location in the first space for storing the playback audio data, the default value of the location for storing the playback audio data is the number of delayed frames and the size of the memory occupied by the audio frame The product of , that is, the difference between the position where the audio data is stored and the position where the first space begins is equal to the product of the number of delayed frames and the size of the memory occupied by th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a voice telephone echo cancellation method, storage medium, electronic equipment and system, and relates to the field of IP voice technology. The invention obtains the number of delayed frames preset by the user, and the position of the memory occupied by the audio frame in audio playback and audio recording Size; apply for the first space in the memory to store the playing audio data, and define the location for storing the playing audio data in the first space; when the audio playing thread needs to obtain the playing audio data, call the audio playing function to save the currently playing audio data Stored at the beginning of the position where the playback audio data is stored; when the audio recording thread generates audio collection data, call the audio recording function to obtain the playback audio data of the size of the memory occupied by an audio frame from the beginning position of the first space as an echo reference Data; call the echo cancellation function to cancel the echo. The invention can ensure the synchronous alignment of audio recording and playback, and effectively eliminate the echo recorded by the microphone.

Description

technical field [0001] The invention relates to the technical field of IP voice, in particular to a voice telephone echo cancellation method, a storage medium, electronic equipment and a system. Background technique [0002] In recent years, IP voice (Voice over IP) technology and its business have developed rapidly. Compared with traditional telephones, IP voice telephones are favored by the market for their high network bandwidth utilization, low call costs, and flexible provision of rich value-added functions. . However, voice over IP phones are also criticized for their poor voice quality and other weaknesses. Among them, the echo problem is particularly prominent, which seriously affects voice quality. Therefore, it is inevitable to add echo cancellation algorithms to voice over IP terminals. [0003] During an IP voice phone call, generally receiving the voice of the other party and transmitting it to the sound card for playback is carried out in one thread, while col...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04M9/08H04M1/253
CPCH04M1/2535H04M9/08
Inventor 李从章陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products