Echo time delay detection method, echo elimination chip, and terminal equipment
AssigneeTencent Technology (Shenzhen) Company Limited
InventorJun Bin Liang
Life of this patent
Estimating the term…
Abstract
An echo time delay detection method, an echo elimination device, and terminal equipment are provided. The echo time delay detection method includes: obtaining an audio signal transmitted through air and acquired by an audio input device of terminal equipment when detecting a call access request, the audio signal corresponding to an audio output by an audio output device of the terminal equipment; converting the audio signal to obtain a signal to be processed; determining a reference signal corresponding to the audio signal; and determining an echo time delay value according to the reference signal and the signal to be processed.
Claims20
An echo time delay detection method, comprising:
- obtaining an audio signal transmitted through air and acquired by an audio input device of terminal equipment when detecting a call access request, the audio signal corresponding to an audio output by an audio output device of the terminal equipment;
- converting the audio signal to obtain a signal to be processed;
- determining a reference signal corresponding to the audio signal, wherein the reference signal has a first plurality of frames, and the signal to be processed has a second plurality of frames;
- and
- determining a first echo time delay value according to the reference signal and the signal to be processed,
- wherein the determining the first echo time delay value comprises:
- determining a binary array of each frame of the reference signal and a binary array of each frame of the signal to be processed, wherein the binary array of each frame of the reference signal comprises binary values of all frequency bins of the frame of the reference signal and the binary array of each frame of the signal to be processed comprises binary values of all frequency bins of the frame of the signal to be processed;
- performing XOR accumulation processing on binary arrays of a same frame of the reference signal and the signal to be processed, to obtain an XOR accumulation processing result of each frame;
- and
- determining the first echo time delay value based on XOR accumulation processing results of all frames of the reference signal and the signal to be processed.
An echo elimination device, comprising:
- at least one memory operable to store program code;
- and
- at least one processor operable to read the program code, and operate as instructed by the program code to:
- obtain an audio signal transmitted through air and acquired by an audio input device of terminal equipment when detecting a call access request, the audio signal corresponding to an audio output by an audio output device of the terminal equipment;
- convert the audio signal to obtain a signal to be processed;
- determine a reference signal corresponding to the audio signal, wherein the reference signal has a first plurality of frames, and the signal to be processed has a second plurality of frames;
- and
- determine a first echo time delay value according to the reference signal and the signal to be processed,
- wherein the at least one processor further operates as instructed by the program code to determine the first echo time delay value by performing:
- determining a binary array of each frame of the reference signal and a binary array of each frame of the signal to be processed, wherein the binary array of each frame of the reference signal comprises binary values of all frequency bins of the frame of the reference signal and the binary array of each frame of the signal to be processed comprises binary values of all frequency bins of the frame of the signal to be processed;
- performing XOR accumulation processing on binary arrays of a same frame of the reference signal and the signal to be processed, to obtain an XOR accumulation processing result of each frame;
- and
- determining the first echo time delay value based on XOR accumulation processing results of all frames of the reference signal and the signal to be processed.
A non-transitory computer-readable storage medium having stored therein a computer readable code, which, when executed by a computer, causes the computer to perform:
- obtaining an audio signal transmitted through air and acquired by an audio input device of terminal equipment when detecting a call access request, the audio signal corresponding to an audio output by an audio output device of the terminal equipment;
- converting the audio signal to obtain a signal to be processed;
- determining a reference signal corresponding to the audio signal, wherein the reference signal has a first plurality of frames, and the signal to be processed has a second plurality of frames;
- and
- determining a first echo time delay value according to the reference signal and the signal to be processed,
- wherein the determining the first echo time delay value comprises:
- determining a binary array of each frame of the reference signal and a binary array of each frame of the signal to be processed, wherein the binary array of each frame of the reference signal comprises binary values of all frequency bins of the frame of the reference signal and the binary array of each frame of the signal to be processed comprises binary values of all frequency bins of the frame of the signal to be processed;
- performing XOR accumulation processing on binary arrays of a same frame of the reference signal and the signal to be processed, to obtain an XOR accumulation processing result of each frame;
- and
- determining the first echo time delay value based on XOR accumulation processing results of all frames of the reference signal and the signal to be processed.
Dependencies are inferred from the claim text.