# US 2013/0275141 A1 · Preprocessing method, preprocessing apparatus and coding device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0275141 A1
- Document ID: US20130275141A1
- Status: Published application
- Kind: A1
- Application number: 13/914,206
- Filed: 2013-06-10
- Published: 2013-10-17
- Earliest claimed: 2009-03-13
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd
- Inventors: Lei MIAO; Fengyan QI; Jianfeng XU; Dejun ZHANG; Qing ZHANG
- Web page: https://patentgrep.com/patent/US20130275141A1

## CPC

- G10L 21/06: Transformation of speech into a non-audible representation, e.g. speech visualisation or speech processing for tactile aids (G10L15/26 takes precedence)
- G10L 19/18: Vocoders using multiple modes
- G10L 19/06: Determination or coding of the spectral characteristics, e.g. of the short-term prediction coefficients
- G10L 19/09: Long term prediction, i.e. removing periodical redundancies, e.g. by using adaptive codebook or pitch predictor
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The present disclosure relates to coding and decoding technologies, and discloses a preprocessing method, a preprocessing apparatus, and a coding device. The preprocessing method includes: obtaining characteristic information of a current frame signal; identifying whether the current frame signal requires no coding operation of removing LTC according to the characteristic information of the current frame signal and preset information; and if identifying that the current frame signal requires no coding operation of removing LTC, performing the coding operation of removing STC for the current frame signal; and if identifying that the current frame signal requires the coding operation of removing LTC, performing the coding operations of removing both LTC and STC for the current frame signal. Through the technical solution provided herein, the coding operation of removing LTC is performed for only part of the input frame signals.

## Claims

### Claim 1

A preprocessing method, comprising:
obtaining characteristic information of a current frame signal;
identifying whether the current frame signal requires no coding operation of removing Long Term Correlation (LTC) according to the characteristic information of the current frame signal and preset information; and
if the current frame signal requires no coding operation of removing LTC, performing a coding operation of removing Short Term Correlation (STC) for the current frame signal; if the current frame signal requires the coding operation of removing LTC, performing coding operations of removing both LTC and STC for the current frame signal.

### Claim 2 (depends on 1)

The preprocessing method of claim 1, wherein:
the characteristic information of the current frame signal is an energy value of the current frame signal;
the identifying of whether the current frame signal requires no coding operation of removing LTC according to the characteristic information of the current frame signal and the preset information comprises:
judging whether the energy value of the current frame signal is less than an absolute energy threshold, wherein the absolute energy threshold corresponds to a frame length of the current frame signal; and
identifying that the current frame signal requires no coding operation of removing LTC if the energy value is less than the absolute energy threshold.

### Claim 3 (depends on 2)

The preprocessing method according to claim 2, wherein before identifying that the current frame signal requires no coding operation of removing LTC, the method further comprises:
judging whether several frame signals prior to the current frame signal comprise any Long Term Prediction (LTP) frame, wherein the number of the frame signals prior to the current frame signal corresponds to the frame length of the current frame signal; and
identifying that the current frame signal requires no coding operation of removing LTC if none of the several frame signals prior to the current frame signal comprises the LTP frame.

### Claim 4 (depends on 1)

The preprocessing method of claim 1, wherein:
the characteristic information of the current frame signal is an energy value of the current frame signal;
if the current frame signal is not designed to initialize an average energy value of background noise, the identifying of whether the current frame signal requires no coding operation of removing LTC according to the characteristic information of the current frame signal and the preset information comprises:
judging whether a difference between the energy value of the current frame signal and the average energy value of the background noise is less than a difference threshold, wherein: an initial value of the average energy value of the background noise is an average energy value of frame signals for initializing the average energy value of the background noise; and the number of the frame signals for initializing the average energy value of the background noise corresponds to a frame length of the current frame signal; and
identifying that the current frame signal requires no coding operation of removing LTC if the difference is less than the difference threshold.

### Claim 5 (depends on 4)

The preprocessing method according to claim 4, wherein before identifying that the current frame signal requires no coding operation of removing LTC, the method further comprises:
judging whether several frame signals prior to the current frame signal comprise any Long Term Prediction (LTP) frame, wherein the number of the frame signals prior to the current frame signal corresponds to the frame length of the current frame signal; and
identifying that the current frame signal requires no coding operation of removing LTC if none of the several frame signals prior to the current frame signal comprises the LTP frame.

### Claim 6 (depends on 4)

The preprocessing method of claim 4, wherein if the difference is less than the difference threshold, the method further comprises:
buffering the energy value of the current frame signal into a buffer, and increasing a counter value of the buffer by 1.

### Claim 7 (depends on 6)

The preprocessing method of claim 6, further comprising:
using an average value of energy values of the frame signals buffered in the buffer as the average energy value of the background noise if the counter value is a maximum value which corresponds to the frame length of the current frame signal; and
setting the counter value to 0, and emptying the buffer.

### Claim 8 (depends on 1)

The preprocessing method of claim 1, wherein:
the characteristic information of the current frame signal is a periodicity factor parameter of the current frame signal;
the identifying of whether the current frame signal requires no coding operation of removing LTC according to the characteristic information of the current frame signal and the preset information comprises:
judging whether the periodicity factor parameter is greater than a periodicity factor threshold; and
identifying that the current frame signal requires no coding operation of removing LTC if the periodicity factor parameter is less than or equal to the periodicity factor threshold.

### Claim 9 (depends on 8)

The preprocessing method according to claim 8, wherein before identifying that the current frame signal requires no coding operation of removing LTC, the method further comprises:
judging whether several frame signals prior to the current frame signal comprise any Long Term Prediction (LTP) frame, wherein the number of the frame signals prior to the current frame signal corresponds to the frame length of the current frame signal; and
identifying that the current frame signal requires no coding operation of removing LTC if none of the several frame signals prior to the current frame signal comprises the LTP frame.

### Claim 10

A preprocessing apparatus, comprising:
an obtaining unit, configured to obtain characteristic information of a current frame signal;
an identifying unit, configured to identifying whether the current frame signal requires no coding operation of removing Long Term Correlation (LTC) according to the characteristic information of the current frame signal obtained by the obtaining unit and preset information; and
an operating unit, configured to perform coding operations of removing both LTC and Short Term Correlation (STC) for the current frame signal if the identifying unit identifies that the current frame signal requires the coding operation of removing LTC; or perform the coding operation of removing STC for the current frame signal if the identifying unit identifies that the current frame signal requires no coding operation of removing LTC.

### Claim 11 (depends on 10)

The preprocessing apparatus of claim 10, wherein:
the obtaining unit comprises a calculating unit which is configured to calculate an energy value or a periodicity factor parameter of the current frame signal.

### Claim 12 (depends on 11)

The preprocessing apparatus of claim 11, wherein the identifying unit comprises:
a judging unit, configured to judge whether the energy value calculated out by the calculating unit is less than an absolute energy threshold; and
a processing unit, configured to identify that the current frame signal requires the coding operation of removing LTC if the judging unit identifies that the energy value is greater than or equal to the absolute energy threshold, and identify that the current frame signal requires no coding operation of removing LTC if the judging unit identifies that the energy value is less than the absolute energy threshold.

### Claim 13 (depends on 12)

The preprocessing apparatus according to claim 12, wherein:
the judging unit is further configured to judge whether several frame signals prior to the current frame signal comprise any Long Term Prediction (LTP) frame if the processing unit identifies that the current frame signal requires no coding operation of removing LTC; and
the processing unit is further configured to re-identify that the current frame signal requires the coding operation of removing LTC if the judging unit identifies that the several frame signals prior to the current frame signal comprise any LTP frame.

### Claim 14 (depends on 11)

The preprocessing apparatus of claim 11, wherein the identifying unit comprises:
a judging unit, configured to judge whether a difference between the energy value calculated out by the calculating unit and an average energy value of background noise is less than a difference threshold; and
a processing unit, configured to identify that the current frame signal requires the coding operation of removing LTC if the judging unit identifies that the difference between the energy value and the average energy value of the background noise is greater than or equal to the difference threshold, and identify that the current frame signal requires no coding operation of removing LTC if the judging unit identifies that the difference between the energy value and the average energy value of the background noise is less than the difference threshold.

### Claim 15 (depends on 11)

The preprocessing apparatus of claim 11, wherein the identifying unit comprises:
a judging unit, configured to judge whether the periodicity factor parameter calculated out by the calculating unit is greater than a periodicity factor threshold; and
a processing unit, configured to identify that the current frame signal requires no coding operation of removing LTC if the judging unit identifies that the periodicity factor parameter is less than or equal to the periodicity factor threshold, and identify that the current frame signal requires the coding operation of removing LTC if the judging unit identifies that the periodicity factor parameter is greater than the periodicity factor threshold.

### Claim 16

A coding device, comprising:
a preprocessing apparatus, configured to obtain characteristic information of a current frame signal; identify whether the current frame signal requires no coding operation of removing Long Term Correlation (LTC) according to the characteristic information of the current frame signal and preset information; perform a coding operation of removing Short Term Correlation (STC) for the current frame signal if the current frame signal requires no coding operation of removing LTC, or perform coding operations of removing both LTC and STC for the current frame signal if the current frame signal requires the coding operation of removing LTC; and
an entropy coding apparatus, configured to perform entropy coding for the current frame signal by using a result of the coding operation.

### Claim 17 (depends on 16)

The coding device of claim 16, wherein the preprocessing apparatus comprises:
an obtaining unit, configured to calculate an energy value of the current frame signal;
an identifying unit, configured to judge whether the energy value calculated out by the obtaining unit is less than an absolute energy threshold; and
an operating unit, configured to perform coding operations of removing both the LTC and STC for the current frame signal if the identifying unit identifies that the energy value is greater than or equal to the absolute energy threshold, or perform the coding operation of removing STC for the current frame signal if the identifying unit identifies that the energy value is less than the absolute energy threshold.

### Claim 18 (depends on 17)

The coding device according to claim 17, wherein:
the identifying unit is further configured to judge whether several frame signals prior to the current frame signal comprise any Long Term Prediction (LTP) frame before the operating unit performs the coding operation of removing STC for the current frame signal; and
the operating unit is configured to perform the coding operation of removing STC for the current frame signal as long as the identifying unit identifies that none of the several frame signals prior to the current frame signal comprises the LTP frame, or perform coding operations of removing both the LTC and STC for the current frame signal if the identifying unit identifies that the several frame signals prior to the current frame signal comprise any LTP frame.

### Claim 19 (depends on 16)

The coding device of claim 16, wherein the preprocessing apparatus comprises:
an obtaining unit, configured to calculate an energy value of the current frame signal;
an identifying unit, configured to judge whether a difference between the energy value calculated out by the obtaining unit and an average energy value of background noise is less than a difference threshold; and
an operating unit, configured to perform coding operations of removing both the LTC and STC for the current frame signal if the identifying unit identifies that the difference between the energy value and the average energy value of the background noise is greater than or equal to the difference threshold, or perform the coding operation of removing STC for the current frame signal if the identifying unit identifies that the difference between the energy value and the average energy value of the background noise is less than the difference threshold.

### Claim 20 (depends on 16)

The coding device of claim 16, wherein the preprocessing apparatus comprises:
an obtaining unit, configured to calculate a periodicity factor parameter of the current frame signal;
an identifying unit, configured to judge whether the periodicity factor parameter calculated out by the obtaining unit is greater than a periodicity factor threshold; and
an operating unit, configured to perform coding operations of removing both the LTC and STC for the current frame signal if the identifying unit identifies that the periodicity factor parameter is greater than the periodicity factor threshold, or perform the coding operation of removing STC for the current frame signal if the identifying unit identifies that the periodicity factor parameter is less than or equal to the periodicity factor threshold.
