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

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

A technology of echo cancellation and voice telephony, which is applied in the field of IP voice, and can solve problems such as broken sound, hard to distinguish sound card sound, and difficult to synchronize data, so as to achieve the effect of eliminating echo, overcoming delay interval, and ensuring synchronous alignment

Active Publication Date: 2018-06-22
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 2 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 call echo cancellation method and system, storage medium, and electronic device
  • Voice call echo cancellation method and system, storage medium, and electronic device
  • Voice call echo cancellation method and system, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0032] S1: Obtain the number of user-preset delay frames and the size of the memory occupied by audio frames in audio playback and audio recording;

[0033] S2, apply for the first space in the memory for storing and playing audio data, define the location for storing the playing audio data in the first space, and the default value of the location for storing the playing audio data is the number of delay frames and the size of the memory location occupied by the audio frames The product of, which means that the difference between the position where the audio data is stored and the position at the beginning of the first space is equal to the product of the number of delayed frames and the size of the memory occupied by the audio frame;

[0034] S3...

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 call echo cancellation method and system, a storage medium, and an electronic device, and relates to the field of IP voice technology. The method comprises the following steps: obtaining a preset delay frame number of a user, and a position size of a memory occupied by an audio frame in audio playing and audio recording; applying for a first space for storing playing audio data in the memory, and defining a position for storing the playing audio data in the first space; when an audio playing thread needs to obtain the playing audio data, calling an audio playingfunction to store the current playing audio data at the beginning of the position for storing the playing audio data; when an audio recording thread generates audio collection data, calling an audiorecording function to obtain playing audio data of the position size of the memory occupied by an audio frame from the beginning position of the first space to serve as echo reference data; and calling an echo cancellation function to perform echo cancellation. By adoption of the voice call echo cancellation method and system, the synchronous alignment of the audio recording and playing can be ensured, and the echo recorded by the microphone can be effectively cancelled.

Description

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

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 Applications(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