CN113327625A - Echo suppression method, judgment method, medium and signal transceiving equipment - Google Patents

Echo suppression method, judgment method, medium and signal transceiving equipment Download PDF

Info

Publication number
CN113327625A
CN113327625A CN202110523776.1A CN202110523776A CN113327625A CN 113327625 A CN113327625 A CN 113327625A CN 202110523776 A CN202110523776 A CN 202110523776A CN 113327625 A CN113327625 A CN 113327625A
Authority
CN
China
Prior art keywords
signal
echo
preprocessing
input signal
processing
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.)
Pending
Application number
CN202110523776.1A
Other languages
Chinese (zh)
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.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics 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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110523776.1A priority Critical patent/CN113327625A/en
Publication of CN113327625A publication Critical patent/CN113327625A/en
Pending legal-status Critical Current

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
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/18Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being spectral information of each sub-band
    • 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/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/21Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being power information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/082Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
    • 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)
  • Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention provides an echo suppression method, a judgment method, a medium and a signal transceiving device. The echo suppression method comprises the following steps: acquiring an input signal, wherein the input signal comprises echo; acquiring a preprocessing signal, wherein the preprocessing signal is generated by preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo; acquiring a ratio between the input signal and the pre-processing signal; and when the ratio meets a first preset condition, performing secondary suppression on the pre-processing signal. The echo suppression method can suppress echo interference in a communication system, thereby improving the quality of voice communication.

Description

Echo suppression method, judgment method, medium and signal transceiving equipment
Technical Field
The present invention relates to a noise suppression method, and more particularly, to an echo suppression method, a determination method, a medium, and a signal transceiver.
Background
Echo interference often occurs in a communication system, resulting in a reduction in call quality. The principle of echo interference generation is as follows: the far-end signal received by the near-end equipment is converted into sound which can be heard by a user after being played by a loudspeaker, the sound forms echo on the input side of the near-end equipment after passing through an echo path, and the echo is sent to the far-end equipment by the sending end of the near-end equipment, so that interference is generated on the far-end equipment. Therefore, how to suppress echo interference in a communication system has become one of the technical problems that the related art needs to solve urgently.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides an echo suppression method, a determination method, a medium and a signal transceiver, which are used to solve the problem of echo interference in the existing communication system.
To achieve the above and other related objects, a first aspect of the present invention provides an echo suppression method, including: acquiring an input signal, wherein the input signal comprises echo; acquiring a preprocessing signal, wherein the preprocessing signal is generated by preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo; acquiring a ratio between the input signal and the pre-processing signal; and when the ratio meets a first preset condition, performing secondary suppression on the pre-processing signal.
In an embodiment of the first aspect, the preprocessing includes adaptive filtering and/or nonlinear processing.
In an embodiment of the first aspect, an implementation method for obtaining the ratio includes: acquiring the power spectral density and the power of the input signal; acquiring the power spectral density and the power of the pre-processing signal; and acquiring the ratio according to the power spectral density and the power thereof of the input signal and the power spectral density and the power thereof of the pre-processing signal.
In an embodiment of the first aspect, the method for obtaining the power spectral density of the input signal includes: preprocessing the input signal, and then performing windowed Fourier transform to obtain the power spectral density of the input signal; the implementation method for acquiring the power spectral density of the preprocessing signal comprises the following steps: and preprocessing the preprocessing signal, and then performing windowed Fourier transform to obtain the power spectral density of the preprocessing signal.
In an embodiment of the first aspect, the echo suppression method further includes: after acquiring the power spectral density of the input signal, smoothing the power spectral density of the input signal; and after the power spectral density of the pre-processing signal is obtained, smoothing the power spectral density of the pre-processing signal.
In an embodiment of the first aspect, the ratio is
Figure BDA0003065038030000021
Wherein, Pe,iIs the power spectrum of the pre-processed signal,
Figure BDA0003065038030000022
represents the power of the pre-processed signal, gamma is a smoothing coefficient, Pd,iIs the power spectrum of the input signal,
Figure BDA0003065038030000023
for the power of the input signal, N is the length of the window in the windowed fourier transform.
In an embodiment of the first aspect, the echo suppression method is applied to a signal transceiver, and when the ratio satisfies a first preset condition, the implementation method for performing secondary suppression on the pre-processing signal includes: when the ratio is smaller than a preset threshold value, performing secondary suppression on the pre-processing signal; and when the ratio is greater than or equal to the preset threshold, if the structure and the cavity condition of the signal transceiver meet a second preset condition, performing secondary processing on the pre-processing signal, and if the structure and the cavity condition of the signal transceiver do not meet the second preset condition, not performing secondary processing on the pre-processing signal, wherein the secondary processing comprises secondary suppression or enhancement.
A second aspect of the present invention provides a method for determining whether an input signal of a signal transceiver is a single-talk signal or a double-talk signal, the method comprising: acquiring an input signal of the signal transceiver, wherein the input signal comprises an echo; acquiring a preprocessing signal in the signal transceiver, wherein the preprocessing signal is generated after preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo; acquiring a ratio between the input signal and the pre-processing signal; and when the ratio is smaller than a preset threshold value, judging the input signal to be a single-talk signal, otherwise, judging the input signal to be a double-talk signal.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the echo suppression method according to any one of the first aspect of the present invention and/or the decision method according to the second aspect of the present invention.
A fourth aspect of the present invention provides a signal transceiving apparatus, comprising: a signal receiver for acquiring a far-end signal; the sound player is connected with the signal transceiver and is used for playing the far-end signal; a sound input for obtaining an input signal, the input signal comprising an echo; the preprocessing module is connected with the sound input device and used for preprocessing the input signal to generate a preprocessing signal, and the preprocessing is used for preliminarily inhibiting the echo; a processor, connected to the preprocessing module, configured to perform echo suppression on the preprocessed signal by using the echo suppression method according to any one of the first aspect of the present invention; and the signal transmitter is connected with the processor and is used for transmitting the pre-processing signal after echo suppression to a far end.
As described above, one technical solution of the echo suppression method, the echo determination method, the echo suppression medium, and the signal transceiver of the present invention has the following beneficial effects:
in the echo suppression method, an input signal is preprocessed to generate a preprocessed signal, and the preprocessing is used for preliminarily suppressing the echo, so that the power of the echo in the preprocessed signal is smaller than that of the echo in the input signal. And when the ratio satisfies a first preset condition, the echo suppression method performs secondary suppression on the pre-processing signal, so as to further reduce the power of the echo in the pre-processing signal. Therefore, the echo suppression method can suppress echo interference in the communication system, thereby improving the quality of voice call.
Drawings
Fig. 1 is a flowchart illustrating an echo suppression method according to an embodiment of the present invention.
Fig. 2 is a flowchart of step S13 of the echo suppression method according to an embodiment of the invention.
Fig. 3 is a flowchart of step S14 of the echo suppression method according to an embodiment of the invention.
Fig. 4 is a flowchart illustrating an echo suppression method according to an embodiment of the invention.
FIG. 5 is a flow chart of a method of determining in one embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a signal transceiver according to an embodiment of the present invention.
Description of the element reference numerals
1 Signal receiving and transmitting device
11 signal receiver
12 Sound player
13 sound input device
14 pretreatment module
141 adaptive filter
142 non-linear processor
15 processor
16 signal transmitter
S11-S14
S131 to S133
S141 to S142
S41-S46
S51-S54
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 drawings only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation, and the type, number and proportion of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated. Moreover, in this document, relational terms such as "first," "second," and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
When a far-end device and a near-end device perform voice communication, such as video conferencing or hands-free calling, echo interference often occurs, which results in the degradation of the quality of the voice communication. The principle of echo interference generation is as follows: the far-end signal received by the near-end equipment forms echo after passing through an echo path, and the echo is sent to the far-end equipment by a sending end of the near-end equipment, so that interference is generated on the far-end equipment. In view of this problem, the present invention provides an echo suppression method, in which an input signal is preprocessed to generate a preprocessed signal, and the preprocessing is used to perform preliminary suppression on an echo, so that the power of the echo in the preprocessed signal is smaller than the power of the echo in the input signal. And when the ratio satisfies a first preset condition, the echo suppression method performs secondary suppression on the pre-processing signal, so as to further reduce the power of the echo in the pre-processing signal, therefore, when the pre-processing signal is sent to a far-end device, the power of the echo received by the far-end device is low, and at this time, the interference of the echo on the voice call is small. Therefore, the echo suppression method can suppress echo interference in the communication system, thereby improving the quality of voice call.
Referring to fig. 1, in an embodiment of the present invention, the echo suppression method includes:
s11, an input signal is obtained, the input signal including an echo. Specifically, the received far-end signal is played by the sound player to form a sound that can be heard by the user, and the sound reaches the sound input unit after passing through the echo path, so as to form the echo. The echo path refers to a path through which sound emitted from a sound player such as a speaker travels in the process of propagating through air or other propagation media to a sound input device such as a microphone.
Optionally, the input signal may include an echo and a valid voice signal, where the valid voice signal refers to a voice signal that needs to be sent, and in this case, the input signal is a dual-talk signal.
Alternatively, the input signal may include an echo and not a valid speech signal, in which case the input signal is a single talk signal.
And S12, acquiring a preprocessing signal, wherein the preprocessing signal is generated by preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo.
Optionally, the preprocessing includes adaptive filtering and/or nonlinear processing, where the method for performing preliminary suppression on the echo in the input signal by using adaptive filtering and/or nonlinear processing may be implemented by using the prior art, and is not described herein again.
And S13, acquiring the ratio of the input signal to the preprocessing signal. Wherein the ratio is used to reflect a power difference between the input signal and the pre-processed signal.
And S14, when the ratio meets a first preset condition, performing secondary suppression on the preprocessing signal. In a specific application, the first preset condition may be set according to actual requirements or experience.
Specifically, the power difference between the input signal and the preprocessed signal can be obtained based on the ratio, and since the single-talk signal does not contain a valid speech signal, the preprocessed signal can perform a deeper echo suppression to reduce the echo power as much as possible without affecting the valid speech signal; on the other hand, the dual-talk signal contains the effective speech signal, so that the pre-processing cannot perform a deep echo suppression on the effective speech signal so as not to excessively weaken the effective speech signal. It is thus understood that the power of the single-talk signal after the preprocessing is usually lower than the power of the two-talk signal, and that the larger the power difference is, the higher the probability that the input signal is a single-talk signal is, and in this case, the probability that the preprocessed signal contains an effective speech signal is low, so that the preprocessed signal can be suppressed twice without substantially affecting the effective speech signal.
Optionally, the secondary suppression is implemented based on a weight coefficient, for example, the secondary suppression may be implemented by multiplying the power of the preprocessed signal by the weight coefficient, where a value of the weight coefficient is, for example, 0 to 3. In specific application, the power of the echo in the pre-processing signal can be lower than a human ear perception threshold value by reasonably setting the weight coefficient, and at the moment, the far-end equipment is basically not interfered by the echo.
As can be seen from the above description, in the echo suppression method according to this embodiment, the input signal is preprocessed to generate a preprocessed signal, and the preprocessing is used to perform preliminary suppression on the echo, so that the power of the echo in the preprocessed signal is smaller than the power of the echo in the input signal. And when the ratio satisfies a first preset condition, the echo suppression method performs secondary suppression on the pre-processing signal, so as to further reduce the power of the echo in the pre-processing signal, therefore, when the pre-processing signal is sent to a far-end device, the power of the echo received by the far-end device is low, and at this time, the interference of the echo on the voice call is small. Therefore, the echo suppression method according to the embodiment can suppress echo interference in the communication system, thereby improving the quality of voice call.
In addition, the echo suppression method can reduce the dependency of echo suppression algorithm on the equipment structure and the cavity performance. Specifically, in the related art, in order to improve the echo suppression effect, a high-performance structure and a high-performance cavity are required, and in this embodiment, after the echo in the input signal is subjected to primary suppression and secondary suppression, a good echo suppression effect can be achieved, so that the device does not need to adopt the high-performance structure and the high-performance cavity to improve the echo suppression effect.
Referring to fig. 2, in an embodiment of the present invention, an implementation method for obtaining the ratio includes:
s131, acquiring the power spectral density and the power of the input signal.
S132, acquiring the power spectral density and the power of the preprocessing signal.
And S133, acquiring the ratio according to the power spectral density and the power of the input signal, and the power spectral density and the power of the pre-processing signal.
Since the input signal and the preprocessed signal are both sound signals and both are time-continuous signals, it is difficult for the conventional fourier transform to obtain the power spectral density thereof. Based on this, in this embodiment, step S131 preferably obtains the power spectral density of the input signal by preprocessing the input signal and then performing windowed fourier transform. Step S132 preferably obtains the power spectral density of the preprocessed signal by preprocessing the preprocessed signal and then performing a windowed fourier transform. Wherein the pre-processing comprises pre-emphasis and windowing.
When the windowed fourier transform is performed on the input signal or the preprocessed signal, a fault may occur between adjacent windows, which may affect the echo suppression effect. To address this problem, in an embodiment of the present invention, the echo suppression method further includes: after acquiring the power spectral density of the input signal, smoothing the power spectral density of the input signal; and after the power spectral density of the pre-processing signal is obtained, smoothing the power spectral density of the pre-processing signal.
In this embodiment, the effect of echo suppression can be further improved by smoothing the input signal and the power spectral density.
Optionally, in this embodiment, the ratio is
Figure BDA0003065038030000061
Wherein, Pe,iIs the power spectrum of the pre-processed signal,
Figure BDA0003065038030000062
represents the power of the pre-processed signal, gamma is a smoothing coefficient, Pd,iIs the power spectrum of the input signal,
Figure BDA0003065038030000063
for the power of the input signal, N is the length of the window in the windowed fourier transform, i.e. each window contains N discrete points when performing the windowed fourier transform.
Referring to fig. 3, in an embodiment of the present invention, the echo suppression method is applied to a signal transceiver, and when the ratio satisfies a first predetermined condition, an implementation method for performing secondary suppression on the preprocessed signal includes:
and S141, when the ratio is smaller than a preset threshold value, performing secondary suppression on the preprocessing signal. In this case, it may be determined that the input signal is a single-talk signal, and step S141 may perform a deep secondary suppression on the preprocessed signal (for example, a small weighting factor may be selected for the secondary suppression) without substantially affecting the valid speech signal. The preset threshold may be set according to experience or actual requirements.
And S142, when the ratio is greater than or equal to the preset threshold, if the structure and cavity conditions of the signal transceiver device meet a second preset condition, performing secondary processing on the pre-processed signal, and if the structure and cavity conditions of the signal transceiver device do not meet the second preset condition, not performing secondary processing on the pre-processed signal, wherein the secondary processing comprises secondary suppression or enhancement. The second preset condition is related to the structure and cavity condition of the signal transceiver device, and may be set according to actual requirements and experience in specific applications. Specifically, when the structure and cavity conditions of the signal transceiver device satisfy the second preset condition, it indicates that the structure and cavity conditions of the signal transceiver device are poor, and at this time, the preprocessing signal needs to be processed for the second time to further reduce the echo in the preprocessing signal. And when the structure and cavity conditions of the signal transceiver do not meet the second preset condition, the structure and cavity conditions of the signal transceiver are good, and the pre-processing signal does not need to be subjected to secondary processing.
It should be noted that, unlike step S141, the input signal in step S142 has a high probability of being a bi-directional signal, and in this case, the effective speech signal may be attenuated by the secondary suppression performed on the preprocessed signal, so that the echo suppression and the effective speech signal attenuation need to be balanced in the secondary suppression performed in step S142, and a deep secondary suppression cannot be performed.
Referring to fig. 4, in an embodiment of the present invention, the echo suppression method is applied to a signal transceiver, and specifically includes:
and S41, acquiring an input signal and a preprocessing signal, wherein the input signal comprises an echo, and the preprocessing signal is generated by preprocessing the input signal.
S42, preprocessing the input signal and the preprocessed signal respectively, and then performing windowed Fourier transform to obtain the power spectral densities of the input signal and the preprocessed signal.
And S43, smoothing the power spectral densities of the input signal and the preprocessing signal.
S44, obtaining a ratio, such as the ratio of the power spectral density of the input signal to the power spectral density of the preprocessed signal
Figure BDA0003065038030000071
Wherein, Pe,iIs the power spectrum of the pre-processed signal,
Figure BDA0003065038030000072
represents the power of the pre-processed signal, gamma is a smoothing coefficient, Pd,iIs the power spectrum of the input signal,
Figure BDA0003065038030000073
for the power of the input signal, N is the length of the window in the windowed fourier transform.
And S45, when the ratio is smaller than a preset threshold, performing secondary suppression on the preprocessing signal.
And S46, when the ratio is not less than the preset threshold, performing secondary processing on the pre-processing signal according to the structure and cavity condition of the signal transceiver. Specifically, when the structure and cavity of the signal transceiver are poor, the preprocessing signal is subjected to secondary processing, otherwise, the preprocessing signal is not subjected to secondary processing. The structure and cavity condition of the signal transceiving equipment can be judged by judging whether the related parameters meet a second preset condition, and the secondary processing comprises secondary inhibition or enhancement.
The invention also provides a judging method for judging whether the input signal of the signal transceiver is a single-talk signal or a double-talk signal. Specifically, referring to fig. 5, in an embodiment of the present invention, the determining method includes:
s51, acquiring the input signal of the signal transceiver, wherein the input signal comprises echo.
S52, acquiring a preprocessing signal in the signal transceiver, where the preprocessing signal is generated after preprocessing the input signal, and the preprocessing is used to perform preliminary suppression on the echo.
And S53, acquiring the ratio of the input signal to the preprocessing signal.
And S54, when the ratio is smaller than a preset threshold value, judging that the input signal is a single-talk signal, otherwise, judging that the input signal is a double-talk signal, wherein the preset threshold value can be set according to experience or actual requirements.
The steps S51 to S53 are similar to the steps S11 to S13 shown in fig. 1, and are not described herein again.
Based on the above description of the echo suppression method and the determination method, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the echo suppression method shown in fig. 1 or 4, and/or implements the determination method shown in fig. 5.
The invention also provides a signal transceiving device. Specifically, referring to fig. 6, in an embodiment of the present invention, the signal transceiver 1 includes a signal receiver 11, an audio player 12, an audio input device 13, a preprocessing module 14, a processor 15 and a signal transmitter 16.
The signal receiver 11 is used to obtain a far-end signal, such as a sound signal.
The sound player 12, for example a loudspeaker, is connected to the signal receiver 11 for playing the far-end signal. The sound emitted by the sound player 12 when playing the far-end signal forms an echo after reaching the sound input device 13 through an echo path, where the echo path is a path through which the sound emitted by the sound player 12 passes in a process of propagating to the sound input device 13 through air or other propagation media.
The sound input device 13, for example a microphone, is used to acquire an input signal. The input signal includes the echo. Furthermore, the input signal may also include a valid voice signal, which refers to a voice signal that the sound player 12 needs to transmit.
The preprocessing module 14 is connected to the sound input unit 13, and is configured to preprocess the input signal to generate a preprocessing signal, where the preprocessing is used to perform preliminary suppression on the echo.
Optionally, the preprocessing module 14 includes an adaptive filter 141 and a non-linear processor 142.
The processor 15 is connected to the preprocessing module 14, and is configured to perform echo suppression on the preprocessed signal by using the echo suppression method shown in fig. 1.
The signal transmitter 16 is connected to the processor 15, and is configured to transmit the pre-processing signal after echo suppression, that is, the pre-processing signal output by the processor 15, to a remote device.
The protection scope of the echo suppression method and the echo determination method according to the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the schemes of adding, subtracting, and replacing the steps in the prior art according to the principles of the present invention are included in the protection scope of the present invention.
As can be seen from the above description, in the echo suppression method according to the present invention, the input signal is preprocessed to generate a preprocessed signal, and the preprocessing is used to perform preliminary echo suppression, so that the power of the echo in the preprocessed signal is smaller than the power of the echo in the input signal. And when the ratio satisfies a first preset condition, the echo suppression method performs secondary suppression on the pre-processing signal, so as to further reduce the power of the echo in the pre-processing signal, therefore, when the pre-processing signal is sent to a far-end device, the power of the echo received by the far-end device is low, and at this time, the interference of the echo on the voice call is small. Therefore, the echo suppression method can suppress the echo interference in the communication system, thereby improving the quality of voice communication.
In addition, the echo suppression method can reduce the dependency of echo suppression algorithm on the equipment structure and the cavity performance. Specifically, in the related art, in order to improve the echo suppression effect, a high-performance structure and a high-performance cavity are required, but in the invention, the echo in the input signal can achieve a good echo suppression effect after primary suppression and secondary suppression, so that the device does not need to adopt the high-performance structure and the high-performance cavity to improve the echo suppression effect.
In conclusion, the present invention effectively overcomes various disadvantages of 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 (10)

1. An echo suppression method, characterized in that the echo suppression method comprises:
acquiring an input signal, wherein the input signal comprises echo;
acquiring a preprocessing signal, wherein the preprocessing signal is generated by preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo;
acquiring a ratio between the input signal and the pre-processing signal;
and when the ratio meets a first preset condition, performing secondary suppression on the pre-processing signal.
2. The echo suppression method according to claim 1, characterized by: the pre-processing includes adaptive filtering and/or non-linear processing.
3. The echo suppression method according to claim 1 or 2, wherein the obtaining of the ratio is performed by:
acquiring the power spectral density and the power of the input signal;
acquiring the power spectral density and the power of the pre-processing signal;
and acquiring the ratio according to the power spectral density and the power thereof of the input signal and the power spectral density and the power thereof of the pre-processing signal.
4. The echo suppression method according to claim 3, characterized by:
the implementation method for acquiring the power spectral density of the input signal comprises the following steps: preprocessing the input signal, and then performing windowed Fourier transform to obtain the power spectral density of the input signal;
the implementation method for acquiring the power spectral density of the preprocessing signal comprises the following steps: and preprocessing the preprocessing signal, and then performing windowed Fourier transform to obtain the power spectral density of the preprocessing signal.
5. The echo suppression method according to claim 4, wherein the echo suppression method further comprises:
after acquiring the power spectral density of the input signal, smoothing the power spectral density of the input signal;
and after the power spectral density of the pre-processing signal is obtained, smoothing the power spectral density of the pre-processing signal.
6. The echo suppression method according to claim 5, characterized by:
the ratio is
Figure FDA0003065038020000021
Wherein, Pe,iIs the power spectrum of the pre-processed signal,
Figure FDA0003065038020000022
represents the power of the pre-processed signal, gamma is a smoothing coefficient, Pd,iIs the power spectrum of the input signal,
Figure FDA0003065038020000023
for the power of the input signal, N is the length of the window in the windowed fourier transform.
7. The echo suppression method according to any one of claims 1 to 6, wherein the echo suppression method is applied to a signal transceiver, and when the ratio satisfies a first preset condition, the method for performing secondary suppression on the preprocessed signal comprises:
when the ratio is smaller than a preset threshold value, performing secondary suppression on the pre-processing signal;
and when the ratio is greater than or equal to the preset threshold, if the structure and the cavity condition of the signal transceiver meet a second preset condition, performing secondary processing on the pre-processing signal, and if the structure and the cavity condition of the signal transceiver do not meet the second preset condition, not performing secondary processing on the pre-processing signal, wherein the secondary processing comprises secondary suppression or enhancement.
8. A method for determining whether an input signal of a signal transceiver device is a single talk signal or a dual talk signal, the method comprising:
acquiring an input signal of the signal transceiver, wherein the input signal comprises an echo;
acquiring a preprocessing signal in the signal transceiver, wherein the preprocessing signal is generated after preprocessing the input signal, and the preprocessing is used for preliminarily inhibiting the echo;
acquiring a ratio between the input signal and the pre-processing signal;
and when the ratio is smaller than a preset threshold value, judging the input signal to be a single-talk signal, otherwise, judging the input signal to be a double-talk signal.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when being executed by a processor, implements the echo suppression method of any one of claims 1-7 and/or the decision method of claim 8.
10. A signal transceiving apparatus, characterized in that the signal transceiving apparatus comprises:
a signal receiver for acquiring a far-end signal;
the sound player is connected with the signal transceiver and is used for playing the far-end signal;
a sound input for obtaining an input signal, the input signal comprising an echo;
the preprocessing module is connected with the sound input device and used for preprocessing the input signal to generate a preprocessing signal, and the preprocessing is used for preliminarily inhibiting the echo;
a processor, coupled to the preprocessing module, configured to perform echo suppression on the preprocessed signal using the echo suppression method of any of claims 1-7;
and the signal transmitter is connected with the processor and is used for transmitting the pre-processing signal after echo suppression to a far end.
CN202110523776.1A 2021-05-13 2021-05-13 Echo suppression method, judgment method, medium and signal transceiving equipment Pending CN113327625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110523776.1A CN113327625A (en) 2021-05-13 2021-05-13 Echo suppression method, judgment method, medium and signal transceiving equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110523776.1A CN113327625A (en) 2021-05-13 2021-05-13 Echo suppression method, judgment method, medium and signal transceiving equipment

Publications (1)

Publication Number Publication Date
CN113327625A true CN113327625A (en) 2021-08-31

Family

ID=77415528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110523776.1A Pending CN113327625A (en) 2021-05-13 2021-05-13 Echo suppression method, judgment method, medium and signal transceiving equipment

Country Status (1)

Country Link
CN (1) CN113327625A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387272A (en) * 2011-09-09 2012-03-21 南京大学 Restraining method for residual echo in echo cancellation system
JP2015216492A (en) * 2014-05-09 2015-12-03 シャープ株式会社 Echo suppression device
CN110782914A (en) * 2019-10-31 2020-02-11 网易(杭州)网络有限公司 Signal processing method and device, terminal equipment and storage medium
CN111524532A (en) * 2020-04-29 2020-08-11 展讯通信(上海)有限公司 Echo suppression method, device, equipment and storage medium
CN111917926A (en) * 2019-05-09 2020-11-10 上海触乐信息科技有限公司 Echo cancellation method and device in communication terminal and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387272A (en) * 2011-09-09 2012-03-21 南京大学 Restraining method for residual echo in echo cancellation system
JP2015216492A (en) * 2014-05-09 2015-12-03 シャープ株式会社 Echo suppression device
CN111917926A (en) * 2019-05-09 2020-11-10 上海触乐信息科技有限公司 Echo cancellation method and device in communication terminal and terminal equipment
CN110782914A (en) * 2019-10-31 2020-02-11 网易(杭州)网络有限公司 Signal processing method and device, terminal equipment and storage medium
CN111524532A (en) * 2020-04-29 2020-08-11 展讯通信(上海)有限公司 Echo suppression method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP1298815B1 (en) Echo processor generating pseudo background noise with high naturalness
CN110838300B (en) Echo cancellation processing method and processing system
US9451078B2 (en) Universal reconfigurable echo cancellation system
US7558729B1 (en) Music detection for enhancing echo cancellation and speech coding
US7856097B2 (en) Echo canceling apparatus, telephone set using the same, and echo canceling method
US9699554B1 (en) Adaptive signal equalization
US6510224B1 (en) Enhancement of near-end voice signals in an echo suppression system
US9325855B2 (en) Echo elimination device and method for miniature hands-free voice communication system
US20060098810A1 (en) Method and apparatus for canceling acoustic echo in a mobile terminal
JP2000512466A (en) Nonlinear processor for echo suppression and echo cancellation.
CN1533665A (en) Echo canceller having nonlinear echo suppressor for harmonics calculations
JP5086769B2 (en) Loudspeaker
US9191519B2 (en) Echo suppressor using past echo path characteristics for updating
EP2741481B1 (en) Subband domain echo masking for improved duplexity of spectral domain echo suppressors
US9491306B2 (en) Signal processing control in an audio device
CN109727605B (en) Method and system for processing sound signal
JP3507020B2 (en) Echo suppression method, echo suppression device, and echo suppression program storage medium
CN111524532B (en) Echo suppression method, device, equipment and storage medium
US5970154A (en) Apparatus and method for echo cancellation
JP3047300B2 (en) A communication device having a hands-free conversation function
US8369511B2 (en) Robust method of echo suppressor
CN113327625A (en) Echo suppression method, judgment method, medium and signal transceiving equipment
JP4383416B2 (en) Howling prevention method, apparatus, program, and recording medium recording this program
US7970122B2 (en) Circuit method and system for transmitting information
EP4375999A1 (en) Audio device with signal parameter-based processing, related methods and systems

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