IP Library › Granted Patent US 12,488,775
Granted Patent B2
US 12,488,775 · App. 18/157,158 · Granted Dec 2, 2025

Echo filtering method, electronic device, and computer-readable storage medium

Inventors: Bo Han (Shenzhen, CN); Ling Tang (Shenzhen, CN); Fan Fan (Shenzhen, CN); Daihu Shi (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G10K11/17823G06F3/165G10K11/17825G10K11/17881G10L21/0232G10K2210/30231G10K2210/3026G10K2210/3027G10K2210/3028G10K2210/3035G10K2210/3044G10K2210/3046G10K2210/3056G10K2210/505G10L2021/02082G10L2021/02166
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,488,775
App. No.
18/157,158
Granted
Dec 2, 2025
Kind
B2
Abstract

An echo filtering method, an electronic device, a computer-readable storage medium, and an echo filtering apparatus are disclosed. The electronic device includes M microphones and N speakers. M and N are integers greater than 1. The method includes: obtaining N speaker signals corresponding to the N speakers; obtaining M microphone signals corresponding to the M microphones; and performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal. By using this method, better echo filtering effect can be obtained.

Claims (72)

1 . An echo filtering method, wherein the method is applied to an electronic device, the electronic device comprises M microphones and N speakers, both M and N are integers greater than 1, and the method comprises:

obtaining N speaker signals corresponding to the N speakers;

obtaining M microphone signals corresponding to the M microphones; and

performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal, wherein the direct sound filtering comprises filtering an audio component directly output from the N speakers to the M microphones without environmental reflection,

wherein the method further comprises:

enabling a display of the electronic device to display a customized direct sound filtering interface;

receiving user input of a user in the customized direct sound filtering interface;

in response to the user input, obtaining N speaker test signals and enabling the N speakers to play the N speaker test signals;

obtaining M microphone test signals corresponding to the M microphones; and

storing a customized direct sound filtering model, wherein the customized direct sound filtering model is obtained based on the N speaker test signals and the M microphone test signals, wherein the customized direct sound filtering model is used for the direct sound filtering.

2 . The method according to claim 1 , wherein the target signal is provided to a wakeup engine to wake up an intelligent voice assistant or is transmitted to another electronic device for a voice call.

3 . The method according to claim 1 , wherein the target signal comprises fewer echo components than the M microphone signals, and the echo components are used to represent echo of sound propagated in space that is of the N speaker signals and that is captured by the M microphones.

4 . The method according to claim 1 , wherein the customized direct sound filtering interface displays an indicator for indicating to keep an environment quiet.

5 . The method according to claim 1 , wherein the direct sound filtering further comprises default direct sound filtering, the default direct sound filtering comprises filtering based at least on a model relationship between N speaker signals played by the N speakers and M microphone signals directly captured by the M microphones in a fully muted environment.

6 . The method according to claim 1 , further comprising:

generating reverse speaker signals based on the N speaker signals; and

enabling a reverse speaker close to the M microphones to play reverse audio based on the reverse speaker signals to cancel echo of audio output played by the N speakers corresponding to the N speaker signals, wherein the reverse speaker is different from the N speakers.

7 . The method according to claim 1 , further comprising:

generating an echo estimation signal based on the N speaker signals;

filtering the echo estimation signal from M microphone signals to generate a residual signal; and

obtaining the target signal,

wherein the obtaining the target signal comprises performing the direct sound filtering on the residual signal to obtain the target signal.

8 . The method according to claim 7 , wherein the generating an echo estimation signal comprises:

performing non-interleaved preprocessing on the N speaker signals to generate at least one preprocessed signal; and

performing adaptive filtering on the at least one preprocessed signal to generate the echo estimation signal.

9 . An echo filtering method, wherein the method is applied to an electronic device, the electronic device comprises M microphones, N speakers, and at least one reverse speaker, both M and N are integers greater than 1, and the method comprises:

obtaining N speaker signals corresponding to the N speakers;

generating reverse speaker signals based on the N speaker signals; and

enabling at least one reverse speaker close to at least one of the M microphones to play reverse audio based on the reverse speaker signals to cancel echo of audio output played by the N speakers corresponding to the N speaker signals, wherein the at least one reverse speaker is different from the N speakers.

10 . The method according to claim 9 , further comprising:

obtaining M microphone signals corresponding to the M microphones; and

performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal, wherein the direct sound filtering comprises filtering an audio component directly output from the N speakers to the M microphones without environmental reflection.

11 . The method according to claim 10 , wherein the target signal is provided to a wakeup engine to wake up an intelligent voice assistant or is transmitted to another electronic device for a voice call.

12 . The method according to claim 10 , wherein the target signal comprises fewer echo components than the M microphone signals, and the echo components are used to represent echo of audio output propagated in space that is of the N speaker signals and that is captured by the M microphones.

13 . The method according to claim 10 , further comprising:

enabling a display of the electronic device to display a customized direct sound filtering interface;

receiving user input of a user in the customized direct sound filtering interface;

in response to the user input, obtaining N speaker test signals and enabling the N speakers to play the N speaker test signals;

obtaining M microphone test signals corresponding to the M microphones; and

storing a customized direct sound filtering model, wherein the customized direct sound filtering model is obtained based on the N speaker test signals and the M microphone test signals, wherein the customized direct sound filtering model is used for the direct sound filtering.

14 . The method according to claim 13 , wherein the customized direct sound filtering interface displays an indicator for indicating to keep an environment quiet.

15 . The method according to claim 10 , wherein the direct sound filtering comprises default direct sound filtering, the default direct sound filtering indicates filtering based at least on a model relationship between N speaker signals played by the N speakers and M microphone signals directly captured by the M microphones in a fully muted environment.

16 . The method according to claim 10 , further comprising:

generating an echo estimation signal based on the N speaker signals;

filtering the echo estimation signal from M microphone signals to generate a residual signal; and

obtaining the target signal, wherein the obtaining the target signal comprises: performing the direct sound filtering on the residual signal to obtain the target signal.

17 . The method according to claim 16 , wherein the generating an echo estimation signal comprises:

performing non-interleaved preprocessing on the N speaker signals to generate at least one preprocessed signal; and

performing adaptive filtering on the at least one preprocessed signal to generate the echo estimation signal.

18 . An electronic device, comprising:

N speakers, wherein Nis an integer greater than 1;

M microphones, wherein M is an integer greater than 1;

one or more processors, configured to obtain N speaker signals corresponding to the N speakers and M microphone signals corresponding to the M microphones; and

a memory, storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs comprise instructions used to perform operations comprising:

obtaining N speaker signals corresponding to the N speakers;

obtaining M microphone signals corresponding to the M microphones; and

performing at least direct sound filtering on the N speaker signals and the M microphone signals to obtain a target signal, wherein the direct sound filtering comprises filtering an audio component directly output from the N speakers to the M microphones without environmental reflections,

wherein the method further comprises:

enabling a display of the electronic device to display a customized direct sound filtering interface;

receiving user input of a user in the customized direct sound filtering interface;

in response to the user input, obtaining N speaker test signals and enabling the N speakers to play the N speaker test signals;

obtaining M microphone test signals corresponding to the M microphones; and

storing a customized direct sound filtering model, wherein the customized direct sound filtering model is obtained based on the N speaker test signals and the M microphone test signals, wherein the customized direct sound filtering model is used for the direct sound filtering.

19 . An electronic device, comprising:

N speakers, wherein Nis an integer greater than 1;

M microphones, wherein M is an integer greater than 1;

at least one reverse speaker;

one or more processors, configured to obtain N speaker signals corresponding to the N speakers and M microphone signals corresponding to the M microphones, and enable the at least one reverse speaker to play reverse audio; and

a memory, storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs comprise instructions used to perform the method comprising:

obtaining N speaker signals corresponding to the N speakers;

generating reverse speaker signals based on the N speaker signals; and

enabling at least one reverse speaker close to at least one of the M microphones to play reverse audio based on the reverse speaker signals to cancel echo of audio output played by the N speakers corresponding to the N speaker signals, wherein the at least one reverse speaker is different from the N speakers.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 2, 2023
From: HAN, BO; TANG, LING; FAN, FAN; SHI, DAIHU
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 062849/0288 →
Priority Claims (1)
CN 202010707669.X · Jul 21, 2020 · national
Continuity (2)
Continuation PCTCN2021103350 · Jun 30, 2021
Related Publication 20230162718A1 · May 25, 2023
References Cited (21)
US 9215327B2 · Bathurst et al. · 2015 [cited by applicant]
US 9508359B2 · Gao · 2016 [cited by examiner]
US 9997151B1 · Ayrapetian · 2018 [cited by examiner]
US 10013995B1 · Lashkari et al. · 2018 [cited by applicant]
US 11741934B1 · Zhang · 2023 [cited by examiner]
US 20090316923A1 · Tashev · 2009 [cited by examiner]
US 20140003635A1 · Mohammad · 2014 [cited by examiner]
US 20210098015A1 · Pandey · 2021 [cited by examiner]
US 20220335937A1 · Thomas · 2022 [cited by examiner]
CN 1659927A · 2005 [cited by applicant]
CN 101040512A · 2007 [cited by applicant]
CN 106448691A · 2017 [cited by applicant]
CN 110660404A · 2020 [cited by applicant]
CN 111107461A · 2020 [cited by applicant]
CN 111201712A · 2020 [cited by applicant]
KR 20140034817A · 2014 [cited by applicant]
KR 20190118528A · 2019 [cited by applicant]
KR 20200049521A · 2020 [cited by applicant]
Herbert Buchner et al:“Generalized multichannel frequency-domain adaptive filtering: efficient realization and application to hands-free speech communication”. doi: 10.1016/j.sigpro.2004.07.029, Sep. 15, 2003, total 22 … [cited by applicant]
PCT International Search Report for Application No. PCT/CN2021/103350 dated Jun. 30, 2021, 10 pages. [cited by applicant]
Chinese Office Action for Application No. 202010707699.X dated Dec. 8, 2024, 12 pages. [cited by applicant]