Patent attributes
Disclosed are a method and an apparatus of denoising, and the method includes: receiving a first voice signal picked up by a microphone; if it is detected, with the first voice signal, that a sensor is in an operation state, subtracting an interference noise signal from the first voice signal to obtain a first voice signal with the interference removed therefrom, where the interference noise signal is an interference noise signal generated with regard to the microphone during an operation of the sensor, and the sensor and the microphone are packaged in one module; and outputting the first voice signal with the interference removed therefrom. By implementing the solution provided in the present disclosure, interference in a signal collected by a microphone when the microphone and a sensor in a module operate together is reduced and the small size of the module, packaged with the microphone and sensor, is guaranteed.