Patent ID: 11962968
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Other consumer goods (Other fields)
Classification: CPC H  G | IPC G  H

Claim 12:
13. A noise cancellation method, comprising:
determining, by a noise cancellation apparatus, a target noise cancellation parameter from a noise cancellation parameter library based on a received or determined target noise cancellation level index, wherein the noise cancellation parameter library comprises a correspondence between a noise cancellation level index and a noise cancellation parameter;
obtaining, by the noise cancellation apparatus, a target inverse phase noise based on the target noise cancellation parameter, wherein the target inverse phase noise is used to reduce an ambient noise obtained by a reference microphone;
performing, by the noise cancellation apparatus, audio mixing processing on a played downlink audio signal and the inverse phase noise to obtain a mixed audio signal;
determining, by the noise cancellation apparatus, the target noise cancellation level index based on a matching degree feature value, wherein the matching degree feature value is used to indicate the matching degree; and
selecting, by the noise cancellation apparatus, the target noise cancellation parameter from the noise cancellation parameter library based on the determined target noise cancellation level index,
wherein the matching degree feature value is determined by a main control unit (MCU) or a noise cancellation processing circuit based on a relationship between a primary path transfer function (PP) and a secondary path transfer function (SP), the PP is a transfer function from the reference microphone to an error microphone, and the SP is a transfer function from the speaker to the error microphone.