Search

CN-115641864-B - Echo processing method and device and computer readable storage medium

CN115641864BCN 115641864 BCN115641864 BCN 115641864BCN-115641864-B

Abstract

An echo processing method and device and a computer readable storage medium, wherein the echo processing method comprises the steps of determining a residual signal according to a main microphone input signal and an echo reference signal, estimating linear echo leakage in the residual signal, and removing the linear echo leakage from the residual signal. By adopting the scheme, the linear echo leakage can be effectively eliminated, and meanwhile, the voice signal cannot be damaged.

Inventors

  • JIN MENG
  • DONG FEI
  • YE SHUNZHOU

Assignees

  • 展讯通信(上海)有限公司

Dates

Publication Date
20260505
Application Date
20221024

Claims (9)

  1. 1. An echo processing method, comprising: Determining a residual signal according to the main microphone input signal and the echo reference signal; estimating linear echo leakage in the residual signal, wherein the estimating of the linear echo leakage in the residual signal comprises acquiring an echo suppression ratio according to the input signal of the main microphone and the residual signal, determining a search interval of a leakage factor according to the magnitude relation between the echo suppression ratio and a preset threshold, determining a target leakage factor from the search interval according to an optimization target, and estimating the linear echo leakage in the residual signal by adopting the target leakage factor; The linear echo leakage is removed from the residual signal.
  2. 2. The echo processing method according to claim 1, wherein determining a residual signal from the primary microphone input signal and the echo reference signal comprises: Obtaining an estimated echo signal according to the main microphone input signal and the echo reference signal; the estimated echo signal is removed from the primary microphone input signal, and the residual signal is determined.
  3. 3. The echo processing method of claim 1, wherein said employing said leakage factor to determine linear echo leakage in said residual signal comprises: and taking the product of the target leakage factor and an estimated echo signal as the linear echo leakage, wherein the estimated echo signal is obtained by the input signal of the main microphone and the echo reference signal.
  4. 4. The echo processing method of claim 1, wherein said employing said leakage factor to determine linear echo leakage in said residual signal comprises: and taking the product of the target leakage factor and the echo reference signal as the linear echo leakage.
  5. 5. The echo processing method of claim 1, wherein the determining a target leakage factor from the search interval based on an optimization objective comprises: traversing the leakage factors in the search interval, and determining the target leakage factors to be the residual echo energy and the minimum leakage factor of the linear echo leakage signal in the time domain.
  6. 6. The echo processing method of claim 1, wherein the determining a target leakage factor from the search interval based on an optimization objective comprises: And traversing leakage factors in the search interval, and determining the target leakage factors to be the residual echo power spectrum and the minimum leakage factor of the signal of the linear echo leakage on a frequency domain.
  7. 7. An echo processing device, comprising: a determining unit, configured to determine a residual signal according to the main microphone input signal and the echo reference signal; The estimating unit is used for estimating linear echo leakage in the residual signal and comprises the steps of acquiring an echo suppression ratio according to the input signal of the main microphone and the residual signal, determining a search interval of leakage factors according to the magnitude relation between the echo suppression ratio and a preset threshold, determining target leakage factors from the search interval according to an optimization target, and estimating linear echo leakage in the residual signal by adopting the target leakage factors; and the processing unit is used for removing the linear echo leakage from the residual signal.
  8. 8. A computer readable storage medium, the computer readable storage medium being a non-volatile storage medium or a non-transitory storage medium, on which a computer program is stored, characterized in that the computer program when being executed by a processor performs the steps of the echo processing method according to any one of claims 1-6.
  9. 9. An echo processing device comprising a memory and a processor, said memory having stored thereon a computer program executable on said processor, characterized in that the processor executes the steps of the echo processing method according to any one of claims 1-6 when said computer program is executed by said processor.

Description

Echo processing method and device and computer readable storage medium Technical Field The present invention relates to the field of sound processing technologies, and in particular, to an echo processing method and apparatus, and a computer readable storage medium. Background In a voice communication system, a far-end signal is transmitted to a near-end through a network, played through a near-end speaker, picked up again by a microphone, and transmitted to the far-end to form an acoustic echo. In acoustic echo cancellation techniques, an adaptive filter is typically used to perform linear filtering to remove components of the echo that are linearly related to the far-end signal. After adaptive filtering, some echo remains, and nonlinear processing and a residual echo suppression module are generally adopted for processing. In an ideal state, the adaptive filter is closer to a real echo path along with the increase of the iteration times, and the filtering error tends to be minimum. However, in practical applications, due to the convergence effect caused by factors such as filter order limitation, near-end interference, and spectrum leakage, the adaptive filter cannot completely eliminate the linear echo, and there is linear echo leakage, and these linear leakage and nonlinear echo residues are usually processed together in residual echo suppression, but some speech loss is caused. Disclosure of Invention The embodiment of the invention solves the technical problem that the voice signal is damaged in the residual echo suppression process. In order to solve the technical problems, the embodiment of the invention provides an echo processing method, which comprises the steps of determining a residual signal according to a main microphone input signal and an echo reference signal, estimating linear echo leakage in the residual signal, and removing the linear echo leakage from the residual signal. Optionally, the determining a residual signal according to the primary microphone input signal and the echo reference signal includes obtaining an estimated echo signal according to the primary microphone input signal and the echo reference signal, and removing the estimated echo signal from the primary microphone input signal to determine the residual signal. Optionally, the estimating the linear echo leakage in the residual signal comprises obtaining an echo suppression ratio according to the input signal of the main microphone and the residual signal, determining a search interval of a leakage factor according to the magnitude relation between the echo suppression ratio and a preset threshold, determining a target leakage factor from the search interval according to an optimization target, and estimating the linear echo leakage in the residual signal by adopting the target leakage factor. Optionally, the step of determining the linear echo leakage in the residual signal by using the leakage factor includes taking a product of the target leakage factor and an estimated echo signal as the linear echo leakage, wherein the estimated echo signal is obtained by the main microphone input signal and the echo reference signal. Optionally, the determining the linear echo leakage in the residual signal using the leakage factor includes multiplying the target leakage factor by the echo reference signal as the linear echo leakage. Optionally, determining the target leakage factor from the search interval according to the optimization target comprises traversing the leakage factor in the search interval, wherein the target leakage factor is determined by removing residual echo energy and the minimum leakage factor of the signal of the linear echo leakage in the time domain. Optionally, determining the target leakage factor from the search interval according to the optimization target comprises traversing the leakage factor in the search interval, wherein the target leakage factor is determined by removing the residual echo power spectrum and the minimum leakage factor of the signal of the linear echo leakage in the frequency domain. The embodiment of the invention also provides an echo processing device which comprises a determining unit, an estimating unit and a processing unit, wherein the determining unit is used for determining a residual signal according to the input signal of the main microphone and the echo reference signal, the estimating unit is used for estimating linear echo leakage in the residual signal, and the processing unit is used for removing the linear echo leakage from the residual signal. The embodiment of the invention also provides a computer readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to execute the steps of any echo processing method. The embodiment of the invention also provides another echo processing device, which comprise