CN105657110A - Voice communication echo cancellation method and device - Google Patents

Voice communication echo cancellation method and device Download PDF

Info

Publication number
CN105657110A
CN105657110A CN201610109677.8A CN201610109677A CN105657110A CN 105657110 A CN105657110 A CN 105657110A CN 201610109677 A CN201610109677 A CN 201610109677A CN 105657110 A CN105657110 A CN 105657110A
Authority
CN
China
Prior art keywords
signal
far
voice
speech signal
frequency
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.)
Granted
Application number
CN201610109677.8A
Other languages
Chinese (zh)
Other versions
CN105657110B (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.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201610109677.8A priority Critical patent/CN105657110B/en
Priority to PCT/CN2016/084688 priority patent/WO2017143690A1/en
Publication of CN105657110A publication Critical patent/CN105657110A/en
Application granted granted Critical
Publication of CN105657110B publication Critical patent/CN105657110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/08Current supply arrangements for telephone systems with current supply sources at the substations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/20Arrangements for preventing acoustic feed-back
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted 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/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention discloses a voice communication echo cancellation method. The method comprises the steps that when receiving far-end voice signals transmitted by far-end equipment, near-end equipment plays the received far-end voice signals and obtains frequency points appearing most frequently in the far-end voice signals; the near-end equipment collects near-end sound to form near-end sound signals; according to the obtained frequency points appearing most frequently, the near-end voice signals are subjected to echo cancellation, and after echo cancellation is carried out, the near-end voice signals are transmitted to the far-end equipment. The invention further provides a voice communication echo cancellation device. Echoes generated in the voice communication process are cancelled, and communication voice quality is improved.

Description

The echo cancel method of voice communication and device
Technical field
The present invention relates to voice communication technology field, particularly relate to echo cancel method and the device of a kind of voice communication.
Background technology
Along with the development of mobile terminal technology, the application of mobile terminal also comes more extensive, and function is also from strength to strength. mobile terminal is usually provided with speaker and mike, wherein, mike be typically provided with seal structure, with prevent speaker the incoming mike of sound in and cause opposite end echogenicity. but, when actually used, the reasons such as bad are assembled owing to producing, there will be the situation that the sealing of the sealing structure of the mike of mobile terminal is poor, cause that the sound that the far-end that speaker is play is transmitted through can be passed in mike, so, when user uses this mobile terminal and other users to carry out voice communication, the other side can hear the sound of speaking of himself, this has just become acoustic echo, if echo is not processed, speech quality and Consumer's Experience will be affected, more serious also can form concussion, generation is uttered long and high-pitched sounds, seriously reduce call voice quality.
Summary of the invention
The present invention provides echo cancel method and the device of a kind of voice communication, and its main purpose is in that to eliminate the echo produced in voice call process, improves call voice quality.
For achieving the above object, the present invention provides the echo cancel method of a kind of voice communication, and the echo cancel method of this voice communication includes:
When proximal device receives the far-end speech signal of remote equipment transmission, play the described far-end speech signal received, and obtain the frequency that in described far-end speech signal, occurrence number is maximum;
Described proximal device gathers near-end sound and forms near-end voice signals;
According to the frequency that the described occurrence number got is maximum, described near-end voice signals is carried out echo cancellor, the described near-end voice signals after echo cancellor is sent to described remote equipment.
Preferably, in the described far-end speech signal of described acquisition, the step of the frequency that occurrence number is maximum includes:
According to default cut-off frequency interval, described far-end speech signal being carried out bandpass filtering treatment, obtain voice voice signal, wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Count the frequency that in described voice voice signal, occurrence number is maximum.
Preferably, before described near-end voice signals is carried out the step of echo cancellor by the frequency that described occurrence number that described basis gets is maximum, the echo cancel method of described voice communication further comprises the steps of:
Judge whether the near-end sound that described proximal device collects comprises and play the sound that described far-end speech signal produces;
When the near-end sound that described proximal device collects comprises the sound playing the generation of described far-end speech signal, perform according to the frequency that the described occurrence number got is maximum, described near-end voice signals to be carried out the step of echo cancellor;
When not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, the described near-end voice signals that will collect sends to described remote equipment.
Preferably, before described near-end voice signals is carried out the step of echo cancellor by the frequency that described occurrence number that described basis gets is maximum, the echo cancel method of described voice communication further comprises the steps of:
Judge that whether the signal intensity of described far-end speech signal is more than the first preset signal strength, and whether the signal intensity of described near-end voice signals is more than the second preset signal strength;
When the signal intensity of described far-end speech signal is more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, perform the maximum frequency of described occurrence number that described basis gets and described near-end voice signals is carried out the step of echo cancellor, otherwise, the described near-end voice signals collected sends to described remote equipment.
Preferably, whether the described signal intensity judging described far-end speech signal includes more than the step of the first preset signal strength:
After described far-end speech signal is carried out windowing process, carry out Fourier transform and obtain the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
When there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
Additionally, for achieving the above object, the present invention also provides for the echo cancelling device of a kind of voice communication, and the echo cancelling device of this voice communication includes:
Voice playing module, when being used for the far-end speech signal receiving remote equipment transmission, plays the described far-end speech signal received;
Frequency acquisition module, when being used for the far-end speech signal receiving remote equipment transmission, obtains the frequency that in described far-end speech signal, occurrence number is maximum;
Signal acquisition module, is used for gathering near-end sound and forms near-end voice signals;
Echo cancellation module, carries out echo cancellor for the frequency maximum according to the described occurrence number got to described near-end voice signals;
Signal transmitting module, for sending the described near-end voice signals after echo cancellor to described remote equipment.
Preferably, described frequency acquisition module includes:
Signal filtering unit, for described far-end speech signal being carried out bandpass filtering treatment according to default cut-off frequency interval, obtains voice voice signal, and wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Frequency statistic unit, for counting the frequency that in described voice voice signal, occurrence number is maximum.
Preferably, the echo cancelling device of described voice communication also includes:
Judge module, plays, for judging whether to comprise in the near-end sound that described proximal device collects, the sound that described far-end speech signal produces;
Described echo cancellation module, is additionally operable to, when comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, according to the frequency that the described occurrence number got is maximum, described near-end voice signals be carried out echo cancellor;
Described signal transmitting module, is additionally operable to when not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, and the described near-end voice signals that will collect sends to described remote equipment.
Preferably, the echo cancelling device of described voice communication also includes:
Whether signal judge module, be used for the signal intensity judging described far-end speech signal more than the first preset signal strength, and whether the signal intensity of described near-end voice signals be more than the second preset signal strength;
Described echo cancellation module, it is additionally operable to the signal intensity working as described far-end speech signal more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, according to the frequency that the described occurrence number got is maximum, described near-end voice signals is carried out echo cancellor;
Described signal transmitting module, it is additionally operable to the signal intensity working as described far-end speech signal less than or equal to described first preset signal strength, or when the signal intensity of described near-end voice signals is less than or equal to described second preset signal strength, the described near-end voice signals collected is sent to described remote equipment.
Preferably, described signal judge module includes:
Signal processing unit, after described far-end speech signal is carried out windowing process, carries out Fourier transform and obtains the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
Signal judging unit, for when there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
The echo cancel method of the voice communication that the present invention proposes and device, proximal device is when receiving the far-end speech signal of remote equipment transmission, play this far-end speech signal, and obtain the frequency that in this far-end speech signal, occurrence number is maximum, while proximal device plays said distal ends voice signal, its mike gathers near-end sound and forms near-end voice signals, then according to the frequency that occurrence number is maximum, near-end voice signals is carried out echo cancellor, near-end voice signals after echo cancellor is sent to above-mentioned remote equipment, the sound of said distal ends voice signal is play owing to the near-end sound that collects being likely to include proximal device speaker, the present invention is through carrying out echo cancellation process to near-end voice signals, eliminate the proximal device speaker comprised in near-end voice signals and play the sound that far-end speech signal produces, to be again sent to remote equipment after avoiding collecting proximal device the far-end speech signal of broadcasting, echo is formed at remote equipment place, improve the voice quality in voice communication.
Accompanying drawing explanation
Fig. 1 is the flow chart of the echo cancel method first embodiment of voice communication of the present invention;
Fig. 2 is the refinement schematic flow sheet of the echo cancel method first embodiment intermediate-frequeney point obtaining step of voice communication of the present invention;
Fig. 3 is the high-level schematic functional block diagram of the echo cancelling device first embodiment of voice communication of the present invention;
Fig. 4 is the refinement high-level schematic functional block diagram of the echo cancelling device first embodiment intermediate-frequeney point acquisition module of voice communication of the present invention;
Fig. 5 is the high-level schematic functional block diagram of echo cancelling device second embodiment of voice communication of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides the echo cancel method of a kind of voice communication.
With reference to shown in Fig. 1, for the flow chart of the echo cancel method first embodiment of voice communication of the present invention.
In the first embodiment, the echo cancel method of this voice communication includes:
Step S10, when proximal device receives the far-end speech signal of remote equipment transmission, plays the described far-end speech signal received, and obtains the frequency that in described far-end speech signal, occurrence number is maximum;
Proximal device and remote equipment in the present embodiment can be able to carry out the terminal of real-time speech communicating, for instance the terminal such as mobile phone, panel computer, and terminal can include speaker, and described speaker is used for playing voice signal; Described terminal can include mike, and described mike is used for detecting acoustical signal, and wherein, described acoustical signal includes the voice signal that described speaker is play. It should be noted that, the proximal device of the following stated, remote equipment, near-end voice signals and far-end speech signal are comparatively speaking, it is not absolute, for instance, user A carries out voice call at use mobile phone with user B, so for user B, the mobile phone of its use is proximal device, and the mobile phone that user A uses is remote equipment, and for user A, the mobile phone of its use is proximal device, and the mobile phone that user B uses is remote equipment.
Proximal device is in the process carrying out voice call with remote equipment, proximal device is when receiving the far-end speech signal of remote equipment transmission, play the far-end speech signal received, simultaneously, this far-end speech signal is resolved, obtaining the frequency that occurrence number is maximum in far-end speech signal, the basic frequency being in far-end speech signal voice, for as the follow-up reference frequency carrying out echo cancellor.
Further, for the frequency that to be accurately obtained in far-end speech signal occurrence number maximum, with reference to shown in Fig. 2, step S10 can include following refinement step:
Step S11, carries out bandpass filtering treatment according to default cut-off frequency interval to described far-end speech signal, obtains voice voice signal, and wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Step S12, counts the frequency that in described voice voice signal, occurrence number is maximum.
In one embodiment, by band filter, far-end speech signal can be carried out bandpass filtering treatment, to filter out in signal the noise except voice, obtain voice voice signal, in order to obtaining more accurate frequency point information, the default cut-off frequency interval of band filter can be voice frequency range, namely the audio frequency range that people can send, or general audio frequency range when people talks, for instance can be 50-5000Hz, or 500-5000Hz etc.After obtaining voice voice signal, count the frequency that in voice voice signal, occurrence number is maximum.
Further, the cut-off frequency that the sound that above-mentioned default cut-off frequency interval can be through remote subscriber is arranged after being analyzed in real time is interval.
Step S20, described proximal device gathers near-end sound and forms near-end voice signals;
Step S30, carries out echo cancellor according to the frequency that the described occurrence number got is maximum to described near-end voice signals, sends the described near-end voice signals after echo cancellor to described remote equipment.
Proximal device is while playing far-end speech signal, and its mike is also gathering near-end sound formation near-end voice signals, wherein, it is possible to can collect the sound played out in proximal device speaker.
Above-mentioned near-end voice signals is carried out echo cancellor, eliminate the signal that the maximum frequency of the above-mentioned occurrence number in near-end voice signals is corresponding, for example, it is possible to eliminate signal corresponding to the maximum frequency of occurrence number in far-end speech signal described in near-end voice signals to carry out echo cancellor by band filter. Or, according to the above-mentioned frequency got, far-end speech signal and echo cancellation algorithm, near-end voice signals is carried out echo cancellor.
Owing to proximal device is not all to collect the far-end speech signal that its speaker is play when voice call each time, therefore, further, before step S30, the echo cancel method of this voice communication is further comprising the steps of:
Judge whether the near-end sound that described proximal device collects comprises and play the sound that described far-end speech signal produces;
When the near-end sound that described proximal device collects comprises the sound playing the generation of described far-end speech signal, perform step S30;
When not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, the described near-end voice signals that will collect sends to described remote equipment.
Before carrying out echo cancellor, first judge the sound whether having the far-end speech signal of its broadcasting to produce in the sound that proximal device collects, such as, the spectrogram of the near-end voice signals collected Yu said distal ends voice signal is carried out contrast judge, if, then perform step S30, if it is not, then directly the near-end voice signals of collection is sent to remote equipment.
It is possible to further arrange echo cancellor pattern for equipment, when user opens this pattern, perform above-mentioned steps S10-S30, when being made without echo cancellor, close this pattern.
The echo cancel method of the voice communication that the present embodiment proposes, proximal device is when receiving the far-end speech signal of remote equipment transmission, play this far-end speech signal, and obtain the frequency that in this far-end speech signal, occurrence number is maximum, while proximal device plays said distal ends voice signal, its mike gathers near-end sound and forms near-end voice signals, then according to the frequency that occurrence number is maximum, near-end voice signals is carried out echo cancellor, near-end voice signals after echo cancellor is sent to above-mentioned remote equipment, the sound of said distal ends voice signal is play owing to the near-end sound that collects being likely to include proximal device speaker, the present invention is through carrying out echo cancellation process to near-end voice signals, eliminate the proximal device speaker comprised in near-end voice signals and play the sound that far-end speech signal produces, to be again sent to remote equipment after avoiding collecting proximal device the far-end speech signal of broadcasting, echo is formed at remote equipment place, improve the voice quality in voice communication.
Second embodiment of echo cancel method of voice communication of the present invention is proposed based on the first embodiment of the echo cancel method of voice communication of the present invention. In the present embodiment, described method and first embodiment are distinctive in that, before step S30, the echo cancel method of this voice communication is further comprising the steps of:
Judge that whether the signal intensity of described far-end speech signal is more than the first preset signal strength, and whether the signal intensity of described near-end voice signals is more than the second preset signal strength;
When the signal intensity of described far-end speech signal is more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, perform the maximum frequency of described occurrence number that described basis gets and described near-end voice signals is carried out the step of echo cancellor, otherwise, the described near-end voice signals collected sends to described remote equipment.
When carrying out the judgement of signal intensity of far-end speech signal, it is possible to according to following steps:
After described far-end speech signal is carried out windowing process, carry out Fourier transform and obtain the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
When there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
Far-end speech signal is carried out windowing process, such as Hanning window, then Fourier transform is carried out, this far-end speech signal is made to be transformed into frequency domain from time domain, thus obtaining the frequency domain power spectrum of this far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band, preferably, in the present embodiment, described frequency domain power spectrum is divided into 32 sub-bands, wherein, the number of sub-band can be arranged according to the demand of user, if being divided into 32 sub-bands, the power spectral value of each sub-band can represent with a bit, altogether need 32 bits, the frequency spectrum of this voice signal then can be represented by the data type of 32. power spectrum and predetermined threshold value to each sub-band compare, wherein, predetermined threshold value and preset number all can by user setups, it is preferably 10-100db, when there being the power spectrum of sub-band of preset number more than predetermined threshold value, judge that the signal intensity of far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of far-end speech signal is less than the first preset signal strength.
Judgement about the signal intensity of near-end voice signals, it is possible to adopt the mode same with above-mentioned steps to judge, do not repeat them here.
The echo cancel method of the voice communication that the present embodiment proposes, before carrying out echo cancellor, first the signal intensity of the near-end voice signals of far-end speech signal is judged, when the signal intensity of far-end speech signal and near-end voice signals is all relatively larger, near end signal is carried out echo cancellation process, if the signal intensity having a side more weak (PLSCONFM when near-end voice signals is more weak, far-end speech signal is stronger the need of echo cancellor), the impact that then speech quality is produced by echo can be smaller, echo cancellor can not be carried out, to save resource.
The present invention also proposes the echo cancelling device of a kind of voice communication.
With reference to shown in Fig. 3, for the high-level schematic functional block diagram of the echo cancelling device first embodiment of voice communication of the present invention.
In this embodiment, the echo cancelling device of this voice communication includes:
Voice playing module 10, when being used for the far-end speech signal receiving remote equipment transmission, plays the described far-end speech signal received;
Frequency acquisition module 20, when being used for the far-end speech signal receiving remote equipment transmission, obtains the frequency that in described far-end speech signal, occurrence number is maximum;
Proximal device and remote equipment in the present embodiment can be able to carry out the terminal of real-time speech communicating, for instance the terminal such as mobile phone, panel computer, and terminal can include speaker, and described speaker is used for playing voice signal; Described terminal can include mike, and described mike is used for detecting acoustical signal, and wherein, described acoustical signal includes the voice signal that described speaker is play. It should be noted that, the proximal device of the following stated, remote equipment, near-end voice signals and far-end speech signal are comparatively speaking, it is not absolute, for instance, user A carries out voice call at use mobile phone with user B, so for user B, the mobile phone of its use is proximal device, and the mobile phone that user A uses is remote equipment, and for user A, the mobile phone of its use is proximal device, and the mobile phone that user B uses is remote equipment.
Proximal device is in the process carrying out voice call with remote equipment, proximal device is when receiving the far-end speech signal of remote equipment transmission, voice playing module 10 plays the far-end speech signal received, simultaneously, this far-end speech signal is resolved by frequency acquisition module 20, obtaining the frequency that occurrence number is maximum in far-end speech signal, the basic frequency being in far-end speech signal voice, for as the follow-up reference frequency carrying out echo cancellor.
Further, for the frequency that to be accurately obtained in far-end speech signal occurrence number maximum, with reference to shown in Fig. 4, frequency acquisition module 20 can include following refinement unit:
Signal filtering unit 21, for described far-end speech signal being carried out bandpass filtering treatment according to default cut-off frequency interval, obtains voice voice signal, and wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Frequency statistic unit 22, for counting the frequency that in described voice voice signal, occurrence number is maximum.
In one embodiment, far-end speech signal can be carried out bandpass filtering treatment by band filter by signal filtering unit 21, to filter out in signal the noise except voice, obtain voice voice signal, in order to obtaining more accurate frequency point information, the default cut-off frequency interval of band filter can be voice frequency range, namely the audio frequency range that people can send, or general audio frequency range when people talks, for instance can be 50-5000Hz, or 500-5000Hz etc. After obtaining voice voice signal, count the frequency that in voice voice signal, occurrence number is maximum.
Further, the cut-off frequency that the sound that above-mentioned default cut-off frequency interval can be through remote subscriber is arranged after being analyzed in real time is interval.
Signal acquisition module 30, is used for gathering near-end sound and forms near-end voice signals;
Echo cancellation module 40, carries out echo cancellor for the frequency maximum according to the described occurrence number got to described near-end voice signals;
Signal transmitting module 50, for sending the described near-end voice signals after echo cancellor to described remote equipment.
Proximal device is while playing far-end speech signal, and its signal acquisition module 30 is also gathering near-end sound formation near-end voice signals, wherein, it is possible to can collect the sound played out in proximal device speaker.
Above-mentioned near-end voice signals is carried out echo cancellor by echo cancellation module 40, eliminate the signal that the maximum frequency of the above-mentioned occurrence number in near-end voice signals is corresponding, for example, it is possible to eliminate signal corresponding to the maximum frequency of occurrence number in far-end speech signal described in near-end voice signals to carry out echo cancellor by band filter. Or, according to the above-mentioned frequency got, far-end speech signal and echo cancellation algorithm, near-end voice signals is carried out echo cancellor.
Owing to proximal device is not all to collect the far-end speech signal that its speaker is play when voice call each time, therefore, further, the echo cancelling device of this voice communication also includes with lower module:
Judge module, plays, for judging whether to comprise in the near-end sound that described proximal device collects, the sound that described far-end speech signal produces;
Echo cancellation module 40, is additionally operable to, when comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, according to the frequency that the described occurrence number got is maximum, described near-end voice signals be carried out echo cancellor;
Signal transmitting module 50, is additionally operable to when not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, and the described near-end voice signals that will collect sends to described remote equipment.
Before carrying out echo cancellor, judge module first judges the sound whether having the far-end speech signal of its broadcasting to produce in the sound that proximal device collects, such as, the spectrogram of the near-end voice signals collected Yu said distal ends voice signal is carried out contrast judge, if, then echo cancellation module 40 carries out echo cancellor, if it is not, then the near-end voice signals of collection is directly sent to remote equipment by signal transmitting module 50.
It is possible to further arrange echo cancellor pattern for equipment, when user opens this pattern, the near-end voice signals collected is carried out the process of echo cancellor, when being made without echo cancellor, close this pattern.
The echo cancelling device of the voice communication that the present embodiment proposes, proximal device is when receiving the far-end speech signal of remote equipment transmission, play this far-end speech signal, and obtain the frequency that in this far-end speech signal, occurrence number is maximum, while proximal device plays said distal ends voice signal, its mike gathers near-end sound and forms near-end voice signals, then according to the frequency that occurrence number is maximum, near-end voice signals is carried out echo cancellor, near-end voice signals after echo cancellor is sent to above-mentioned remote equipment, the sound of said distal ends voice signal is play owing to the near-end sound that collects being likely to include proximal device speaker, the present invention is through carrying out echo cancellation process to near-end voice signals, eliminate the proximal device speaker comprised in near-end voice signals and play the sound that far-end speech signal produces, to be again sent to remote equipment after avoiding collecting proximal device the far-end speech signal of broadcasting, echo is formed at remote equipment place, improve the voice quality in voice communication.
With reference to shown in Fig. 5, the second embodiment of the echo cancelling device of voice communication of the present invention is proposed based on the first embodiment of the echo cancelling device of voice communication of the present invention.In the present embodiment, described device and first embodiment are distinctive in that, the echo cancelling device of this voice communication also includes with lower module:
Whether signal judge module 60, be used for the signal intensity judging described far-end speech signal more than the first preset signal strength, and whether the signal intensity of described near-end voice signals be more than the second preset signal strength;
Echo cancellation module 40, it is additionally operable to the signal intensity working as described far-end speech signal more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, according to the frequency that the described occurrence number got is maximum, described near-end voice signals is carried out echo cancellor;
Signal transmitting module 50, it is additionally operable to the signal intensity working as described far-end speech signal less than or equal to described first preset signal strength, or when the signal intensity of described near-end voice signals is less than or equal to described second preset signal strength, the described near-end voice signals collected is sent to described remote equipment.
In one embodiment, signal judge module 60 can include with lower unit:
Signal processing unit, after described far-end speech signal is carried out windowing process, carries out Fourier transform and obtains the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
Signal judging unit, for when there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
Far-end speech signal is carried out windowing process by signal processing unit, such as Hanning window, then Fourier transform is carried out, this far-end speech signal is made to be transformed into frequency domain from time domain, thus obtaining the frequency domain power spectrum of this far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band, preferably, in the present embodiment, described frequency domain power spectrum is divided into 32 sub-bands, wherein, the number of sub-band can be arranged according to the demand of user, if being divided into 32 sub-bands, the power spectral value of each sub-band can represent with a bit, altogether need 32 bits, the frequency spectrum of this voice signal then can be represented by the data type of 32. the power spectrum of each sub-band is compared by signal judging unit with predetermined threshold value, wherein, predetermined threshold value and preset number all can by user setups, it is preferably 10-100db, when there being the power spectrum of sub-band of preset number more than predetermined threshold value, judge that the signal intensity of far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of far-end speech signal is less than the first preset signal strength.
Judgement about the signal intensity of near-end voice signals, it is possible to adopt the mode same with said process to judge, do not repeat them here.
The echo cancelling device of the voice communication that the present embodiment proposes, before carrying out echo cancellor, first the signal intensity of the near-end voice signals of far-end speech signal is judged, when the signal intensity of far-end speech signal and near-end voice signals is all relatively larger, near end signal is carried out echo cancellation process, if there being the signal intensity of a side more weak, then the impact that speech quality is produced by echo can be smaller, echo cancellor can not be carried out, to save resource.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the echo cancel method of a voice communication, it is characterised in that the echo cancel method of described voice communication includes:
When proximal device receives the far-end speech signal of remote equipment transmission, play the described far-end speech signal received, and obtain the frequency that in described far-end speech signal, occurrence number is maximum;
Described proximal device gathers near-end sound and forms near-end voice signals;
According to the frequency that the described occurrence number got is maximum, described near-end voice signals is carried out echo cancellor, the described near-end voice signals after echo cancellor is sent to described remote equipment.
2. the echo cancel method of voice communication according to claim 1, it is characterised in that in the described far-end speech signal of described acquisition, the step of the frequency that occurrence number is maximum includes:
According to default cut-off frequency interval, described far-end speech signal being carried out bandpass filtering treatment, obtain voice voice signal, wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Count the frequency that in described voice voice signal, occurrence number is maximum.
3. the echo cancel method of voice communication according to claim 1 and 2, it is characterized in that, before described near-end voice signals is carried out the step of echo cancellor by the frequency that described occurrence number that described basis gets is maximum, the echo cancel method of described voice communication further comprises the steps of:
Judge whether the near-end sound that described proximal device collects comprises and play the sound that described far-end speech signal produces;
When the near-end sound that described proximal device collects comprises the sound playing the generation of described far-end speech signal, perform according to the frequency that the described occurrence number got is maximum, described near-end voice signals to be carried out the step of echo cancellor;
When not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, the described near-end voice signals that will collect sends to described remote equipment.
4. the echo cancel method of voice communication according to claim 1, it is characterized in that, before described near-end voice signals is carried out the step of echo cancellor by the frequency that described occurrence number that described basis gets is maximum, the echo cancel method of described voice communication further comprises the steps of:
Judge that whether the signal intensity of described far-end speech signal is more than the first preset signal strength, and whether the signal intensity of described near-end voice signals is more than the second preset signal strength;
When the signal intensity of described far-end speech signal is more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, perform the maximum frequency of described occurrence number that described basis gets and described near-end voice signals is carried out the step of echo cancellor, otherwise, the described near-end voice signals collected sends to described remote equipment.
5. the echo cancel method of voice communication according to claim 4, it is characterised in that whether the described signal intensity judging described far-end speech signal includes more than the step of the first preset signal strength:
After described far-end speech signal is carried out windowing process, carry out Fourier transform and obtain the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
When there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
6. the echo cancelling device of a voice communication, it is characterised in that the echo cancelling device of described voice communication includes:
Voice playing module, when being used for the far-end speech signal receiving remote equipment transmission, plays the described far-end speech signal received;
Frequency acquisition module, when being used for the far-end speech signal receiving remote equipment transmission, obtains the frequency that in described far-end speech signal, occurrence number is maximum;
Signal acquisition module, is used for gathering near-end sound and forms near-end voice signals;
Echo cancellation module, carries out echo cancellor for the frequency maximum according to the described occurrence number got to described near-end voice signals;
Signal transmitting module, for sending the described near-end voice signals after echo cancellor to described remote equipment.
7. the echo cancelling device of voice communication according to claim 6, it is characterised in that described frequency acquisition module includes:
Signal filtering unit, for described far-end speech signal being carried out bandpass filtering treatment according to default cut-off frequency interval, obtains voice voice signal, and wherein, described default cut-off frequency interval is people's acoustic frequency scope;
Frequency statistic unit, for counting the frequency that in described voice voice signal, occurrence number is maximum.
8. the echo cancelling device of the voice communication according to claim 6 or 7, it is characterised in that the echo cancelling device of described voice communication also includes:
Judge module, plays, for judging whether to comprise in the near-end sound that described proximal device collects, the sound that described far-end speech signal produces;
Described echo cancellation module, is additionally operable to, when comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, according to the frequency that the described occurrence number got is maximum, described near-end voice signals be carried out echo cancellor;
Described signal transmitting module, is additionally operable to when not comprising the sound playing the generation of described far-end speech signal in the near-end sound that described proximal device collects, and the described near-end voice signals that will collect sends to described remote equipment.
9. the echo cancelling device of voice communication according to claim 6, it is characterised in that the echo cancelling device of described voice communication also includes:
Whether signal judge module, be used for the signal intensity judging described far-end speech signal more than the first preset signal strength, and whether the signal intensity of described near-end voice signals be more than the second preset signal strength;
Described echo cancellation module, it is additionally operable to the signal intensity working as described far-end speech signal more than described first preset signal strength, and the signal intensity of described near-end voice signals more than described second preset signal strength time, according to the frequency that the described occurrence number got is maximum, described near-end voice signals is carried out echo cancellor;
Described signal transmitting module, it is additionally operable to the signal intensity working as described far-end speech signal less than or equal to described first preset signal strength, or when the signal intensity of described near-end voice signals is less than or equal to described second preset signal strength, the described near-end voice signals collected is sent to described remote equipment.
10. the echo cancelling device of voice communication according to claim 9, it is characterised in that described signal judge module includes:
Signal processing unit, after described far-end speech signal is carried out windowing process, carries out Fourier transform and obtains the frequency domain power spectrum of described far-end speech signal, and described frequency domain power spectrum is divided into multiple sub-band;
Signal judging unit, for when there being the power spectrum of described sub-band of preset number more than predetermined threshold value, judge that the signal intensity of described far-end speech signal is more than the first preset signal strength, otherwise, it is determined that the signal intensity of described far-end speech signal is less than described first preset signal strength.
CN201610109677.8A 2016-02-26 2016-02-26 Echo cancellation method and device for voice communication Active CN105657110B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610109677.8A CN105657110B (en) 2016-02-26 2016-02-26 Echo cancellation method and device for voice communication
PCT/CN2016/084688 WO2017143690A1 (en) 2016-02-26 2016-06-03 Echo cancellation method and device for use in voice communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610109677.8A CN105657110B (en) 2016-02-26 2016-02-26 Echo cancellation method and device for voice communication

Publications (2)

Publication Number Publication Date
CN105657110A true CN105657110A (en) 2016-06-08
CN105657110B CN105657110B (en) 2020-02-14

Family

ID=56491877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610109677.8A Active CN105657110B (en) 2016-02-26 2016-02-26 Echo cancellation method and device for voice communication

Country Status (2)

Country Link
CN (1) CN105657110B (en)
WO (1) WO2017143690A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105957520A (en) * 2016-07-04 2016-09-21 北京邮电大学 Voice state detection method suitable for echo cancellation system
CN111524532A (en) * 2020-04-29 2020-08-11 展讯通信(上海)有限公司 Echo suppression method, device, equipment and storage medium
CN112491443A (en) * 2019-09-11 2021-03-12 瑞昱半导体股份有限公司 Electronic system with echo eliminating power-saving mechanism and related echo eliminating method
CN113689872A (en) * 2021-08-16 2021-11-23 广州朗国电子科技股份有限公司 Acoustic echo cancellation device
CN113838473A (en) * 2021-09-26 2021-12-24 科大讯飞股份有限公司 Voice processing method and device of equipment and equipment
CN115579016A (en) * 2022-12-07 2023-01-06 成都海普迪科技有限公司 Method and system for eliminating acoustic echo
CN117238312A (en) * 2023-08-28 2023-12-15 深蓝感知(杭州)物联科技有限公司 Law enforcement recorder background sound amplification method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637552A (en) * 2018-11-29 2019-04-16 河北远东通信系统工程有限公司 A kind of method of speech processing for inhibiting audio frequency apparatus to utter long and high-pitched sounds
CN112201268A (en) * 2020-09-09 2021-01-08 北京小米松果电子有限公司 Echo cancellation method, echo cancellation device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07297887A (en) * 1994-04-25 1995-11-10 Fujitsu Ltd Terminal equipment for mobile communication
CN1719516A (en) * 2005-07-15 2006-01-11 北京中星微电子有限公司 Adaptive filter device and adaptive filtering method
CN101346895A (en) * 2005-10-26 2009-01-14 日本电气株式会社 Echo suppressing method and device
CN102118530A (en) * 2010-01-06 2011-07-06 杭州华三通信技术有限公司 Method and device for echo cancellation
CN102196109A (en) * 2010-03-01 2011-09-21 联芯科技有限公司 Residual echo detection method and system
CN102316200A (en) * 2010-07-07 2012-01-11 英业达股份有限公司 Ring tone regulation method for handheld electronic device and handheld electronic device using same
CN103491488A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Echo cancellation method and device for microphone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433074B2 (en) * 2005-10-26 2013-04-30 Nec Corporation Echo suppressing method and apparatus
CN104519212B (en) * 2013-09-27 2017-06-20 华为技术有限公司 A kind of method and device for eliminating echo
CN105187594B (en) * 2015-07-28 2018-09-04 小米科技有限责任公司 A kind of method and apparatus for eliminating echo

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07297887A (en) * 1994-04-25 1995-11-10 Fujitsu Ltd Terminal equipment for mobile communication
CN1719516A (en) * 2005-07-15 2006-01-11 北京中星微电子有限公司 Adaptive filter device and adaptive filtering method
CN101346895A (en) * 2005-10-26 2009-01-14 日本电气株式会社 Echo suppressing method and device
CN102118530A (en) * 2010-01-06 2011-07-06 杭州华三通信技术有限公司 Method and device for echo cancellation
CN102196109A (en) * 2010-03-01 2011-09-21 联芯科技有限公司 Residual echo detection method and system
CN102316200A (en) * 2010-07-07 2012-01-11 英业达股份有限公司 Ring tone regulation method for handheld electronic device and handheld electronic device using same
CN103491488A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Echo cancellation method and device for microphone

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105957520A (en) * 2016-07-04 2016-09-21 北京邮电大学 Voice state detection method suitable for echo cancellation system
CN105957520B (en) * 2016-07-04 2019-10-11 北京邮电大学 A kind of voice status detection method suitable for echo cancelling system
CN112491443A (en) * 2019-09-11 2021-03-12 瑞昱半导体股份有限公司 Electronic system with echo eliminating power-saving mechanism and related echo eliminating method
CN112491443B (en) * 2019-09-11 2022-10-28 瑞昱半导体股份有限公司 Electronic system with echo cancellation power-saving mechanism and related echo cancellation method
CN111524532A (en) * 2020-04-29 2020-08-11 展讯通信(上海)有限公司 Echo suppression method, device, equipment and storage medium
CN113689872A (en) * 2021-08-16 2021-11-23 广州朗国电子科技股份有限公司 Acoustic echo cancellation device
CN113838473A (en) * 2021-09-26 2021-12-24 科大讯飞股份有限公司 Voice processing method and device of equipment and equipment
CN115579016A (en) * 2022-12-07 2023-01-06 成都海普迪科技有限公司 Method and system for eliminating acoustic echo
CN115579016B (en) * 2022-12-07 2023-03-21 成都海普迪科技有限公司 Method and system for eliminating acoustic echo
CN117238312A (en) * 2023-08-28 2023-12-15 深蓝感知(杭州)物联科技有限公司 Law enforcement recorder background sound amplification method and system
CN117238312B (en) * 2023-08-28 2024-05-03 深蓝感知(杭州)物联科技有限公司 Law enforcement recorder background sound amplification method and system

Also Published As

Publication number Publication date
CN105657110B (en) 2020-02-14
WO2017143690A1 (en) 2017-08-31

Similar Documents

Publication Publication Date Title
CN105657110A (en) Voice communication echo cancellation method and device
CN108712703B (en) The high-efficient noise-reducing earphone and noise reduction system of low-power consumption
US9343056B1 (en) Wind noise detection and suppression
CN101583996B (en) A method and noise suppression circuit incorporating a plurality of noise suppression techniques
US8284947B2 (en) Reverberation estimation and suppression system
JP3795070B2 (en) Mobile radio device with hands-free call device
CN105915738A (en) Echo cancellation method, echo cancellation device and terminal
US20120278070A1 (en) Combined microphone and earphone audio headset having means for denoising a near speech signal, in particular for a " hands-free" telephony system
CN101430882A (en) Method and apparatus for restraining wind noise
CN203747885U (en) Acoustic signal processing system having function of double-talk detection
CN100508031C (en) Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset
CN109195042A (en) The high-efficient noise-reducing earphone and noise reduction system of low-power consumption
CN110995951B (en) Echo cancellation method, device and system based on double-end sounding detection
WO2015058484A1 (en) Noise reducing earphone and noise reducing method thereof
CN101208743B (en) Method and device for noise detection
CN105427868A (en) Method for eliminating noise of VOIP system bidirectional duplex hand-free voice
CN106453762A (en) A method and system for processing voice whistlers in an audio system
CN104254086B (en) A kind of voice MOS tests winding record/playback method and system
CN103402038B (en) Under Mobile phone hand-free state, eliminate method and the device of the echo of the other side's receiver
CN103514876A (en) Method and device for eliminating noise and mobile terminal
CN102209135B (en) For the device and method that mobile terminal fall wind is made an uproar
JPH08223677A (en) Telephone transmitter
JP2002064617A (en) Echo suppression method and echo suppression equipment
CN106911872A (en) Reduce the method and apparatus of echo cancelltion residual
CN103680514B (en) Signal processing method in network voice communication and system

Legal Events

Date Code Title Description
C06 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