Patent Description:
To save channel capacity and storage space, considering that human ears are less sensitive to high frequency information than to low frequency information of an audio signal, the high frequency information is usually cut, resulting in decreased audio quality. Therefore, a bandwidth extension technology is introduced to reconstruct the cut high frequency information, so as to improve the audio quality. As the rate increases, with coding performance ensured, a wider band of a high frequency part that can be coded enables a receiver to obtain a wider-band and higher-quality audio signal.

In the prior art, in a condition of a high rate, a frequency spectrum of an input audio signal may be coded in a full band by using the bandwidth extension technology. A basic principle of the coding is: performing band-pass filtering processing on the input audio signal by using a band pass filter (Band Pass Filter, BPF for short) to obtain a full band signal of the input audio signal; performing energy calculation on the full band signal to obtain an energy EnerO of the full band signal; coding a high frequency band signal by using a super wide band (Super Wide Band, SWB for short) time band extension (Time Band Extension, TBE for short) encoder to obtain high frequency band coding information; determining, according to the high frequency band signal, a full band linear predictive coding (Linear Predictive Coding, LPC for short) coefficient and a full band (Full Band, FB for short) excitation (Excitation) signal that are used to predict the full band signal; performing prediction processing according to the LPC coefficient and the FB excitation signal to obtain a predicted full band signal; performing de-emphasis processing on the predicted full band signal to determine an energy Ener1 of the predicted full band signal that has undergone de-emphasis processing; and calculating an energy ratio of Ener1 to EnerO. The high frequency band coding information and the energy ratio are transmitted to a decoder, so that the decoder can restore the full band signal of the input audio signal according to the high frequency band coding information and the energy ratio, and restore the input audio signal.

In the foregoing solution, the input audio signal restored by the decoder is apt to have relatively severe signal distortion.

Reference is also made to the following prior art document D1 which provides some general technical background in the domain:
D1: <NPL>].

Embodiments of the invention are indicated in the dependent claims.

Embodiments of the present invention provide a coding/decoding method, apparatus, and system, so as to relieve or resolve a prior-art problem that an input audio signal restored by a decoder is apt to have relatively severe signal distortion.

According to the codec method, apparatus, and system provided in the embodiments of the present invention, de-emphasis processing is performed on a full band signal by using a de-emphasis parameter determined according to a characteristic factor of an input audio signal, and then the full band signal is coded and sent to a decoder, so that the decoder performs corresponding de-emphasis decoding processing on the full band signal according to the characteristic factor of the input audio signal and restores the input audio signal. This resolves the prior-art problem that an audio signal restored by a decoder is apt to signal distortion, and implements adaptive de-emphasis processing on the full band signal according to the characteristic factor of the audio signal to enhance coding performance, so that the input audio signal restored by the decoder has relatively high fidelity and is closer to an original signal,.

To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

<FIG> is a schematic flowchart of an embodiment of a coding method according to an embodiment of the present invention. As shown in <FIG>, the method embodiment includes the following steps:
S101: A coding apparatus codes a low frequency band signal of an input audio signal to obtain a characteristic factor of the input audio signal.

The coded signal is an audio signal. The characteristic factor is used to reflect a characteristic of the audio signal, and includes, but is not limited to, a "voicing factor", a "spectral tilt", a "short-term average energy", or a "short-term zero-crossing rate". The characteristic factor may be obtained by the coding apparatus by coding the low frequency band signal of the input audio signal. Specifically, using the voicing factor as an example, the voicing factor may be obtained through calculation according to a pitch period, an algebraic codebook, and their respective gains extracted from low frequency band coding information that is obtained by coding the low frequency band signal.

S102: The coding apparatus performs coding and spread spectrum prediction on a high frequency band signal of the input audio signal to obtain a first full band signal.

When the high frequency band signal is coded, high frequency band coding information is further obtained.

S103: The coding apparatus performs de-emphasis processing on the first full band signal, where a de-emphasis parameter of the de-emphasis processing is determined according to the characteristic factor.

S104: The coding apparatus calculates a first energy of the first full band signal that has undergone de-emphasis processing.

S105: The coding apparatus performs band-pass filtering processing on the input audio signal to obtain a second full band signal.

S106: The coding apparatus calculates a second energy of the second full band signal.

S107: The coding apparatus calculates an energy ratio of the second energy of the second full band signal to the first energy of the first full band signal.

S108: The coding apparatus sends, to a decoding apparatus, a bitstream resulting from coding the input audio signal, where the bitstream includes the characteristic factor, high frequency band coding information, and the energy ratio of the input audio signal.

Further, the method embodiment further includes:.

Specifically, the coding apparatus may obtain one of the characteristic factors. Using an example in which the characteristic factor is the voicing factor, the coding apparatus obtains a quantity of voicing factors, and determines, according to the voicing factors and the quantity of the voicing factors, an average value of the voicing factors of the input audio signal, and further determines the de-emphasis parameter according to the average value of the voicing factors.

Further, the performing, by the coding apparatus, coding and spread spectrum prediction on a high frequency band signal of the input audio signal to obtain a first full band signal in S <NUM> includes:.

Optionally, after S103, the method embodiment further includes:.

A specific implementation manner of the method embodiment is described below by using an example in which the characteristic factor is the voicing factor. For other characteristic factors, their implementation processes are similar thereto, and details are not further described.

Specifically, after receiving an input audio signal, a signaling coding apparatus of a coding apparatus extracts a low frequency band signal from the input audio signal, where a corresponding frequency spectrum range is [<NUM>, f1], and codes the low frequency band signal to obtain a voicing factor of the input audio signal. Specifically, the signaling coding apparatus codes the low frequency band signal to obtain low frequency band coding information; calculates according to a pitch period, an algebraic codebook, and their respective gains included in the low frequency band coding information to obtain the voicing factor; and determines a de-emphasis parameter according to the voicing factor. The signaling coding apparatus extracts a high frequency band signal from the input audio signal, where a corresponding frequency spectrum range is [f1, f2]; performs coding and spread spectrum prediction on the high frequency band signal to obtain high frequency band coding information; determines, according to the high frequency band signal, an LPC coefficient and a full band excitation signal that are used to predict a full band signal; performs coding processing on the LPC coefficient and the full band excitation signal to obtain a predicted first full band signal; and performs de-emphasis processing on the first full band signal, where the de-emphasis parameter of the de-emphasis processing is determined according to the voicing factor. After the first full band signal is determined, frequency spectrum movement correction and frequency spectrum reflection processing may be performed on the first full band signal, and then de-emphasis processing may beperformed. Optionally, upsampling and band-pass filtering processing may be performed on the first full band signal that has undergone de-emphasis processing. Later, the coding apparatus calculates a first energy EnerO of the processed first full band signal; performs band-pass filtering processing on the input audio signal to obtain a second full band signal, whose frequency spectrum range is [f2, f3]; determines a second energy Ener1 of the second full band signal; determines an energy ratio (ratio) of Ener1 to EnerO; and includes the characteristic factor, the high frequency band coding information, and the energy ratio of the input audio signal in a bitstream resulting from coding the input audio signal, and sends the bitstream to the decoding apparatus, so that the decoding apparatus restores the audio signal according to the received bitstream, characteristic factor, high frequency band coding information, and energy ratio.

Generally, for a <NUM>-Kilo Hertz (Kilo Hertz, KHz for short) input audio signal, a corresponding frequency spectrum range [<NUM>, f1] of a low frequency band signal of the input audio signal may be specifically [<NUM>, <NUM>], and a corresponding frequency spectrum range [f1, f2] of a high frequency band signal of the input audio signal may be specifically [<NUM>, <NUM>]. The corresponding frequency spectrum range [f2, f3] corresponding to the second full band signal may be specifically [<NUM>, <NUM>]. The following describes in detail an implementation manner of the method embodiment by using the specific frequency spectrum ranges as an example. It should be noted that the present invention is applicable to this implementation manner, but is not limited thereto.

In specific implementation, the low frequency band signal corresponding to [<NUM>, <NUM>] may be coded by using a code excited linear prediction (Code Excited Linear Prediction, CELP for short) core (core) encoder, so as to obtain low frequency band coding information. A coding algorithm used by the core encoder may be an existing algebraic code excited linear prediction (Algebraic Code Excited Linear Prediction, ACELP for short) algorithm, but is not limited thereto.

The pitch period, the algebraic codebook, and their respective gains are extracted from the low frequency band coding information, the voicing factor (voice_factor) is obtained through calculation by using the existing algorithm, and details of the algorithm are not further described. After the voicing factor is determined, a de-emphasis factor µ used to calculate the de-emphasis parameter is determined. The following describes, in detail by using the voicing factor as an example, a calculation process in which the de-emphasis factor µ is determined.

A quantity M of obtained voicing factors is first determined, which usually may be <NUM> or <NUM>. The M voicing factors are summed and averaged, so as to determine an average value varvoiceshape of the voicing factors. The de-emphasis factor µ is determined according to the average value, and a de-emphasis parameter H(Z) may be further obtained according to µ, as indicated by the following formula (<NUM>): <MAT> where H(Z) is an expression of a transfer function in a Z domain, Z-<NUM> represents a delay unit, and µ is determined according to varvoiceshape. Any value related to varvoiceshape may be selected as µ, which may be specifically, but is not limited to: µ=varvoiceshape<NUM>, µ=varvoiceshape<NUM>, µ=varvoiceshape, or µ=<NUM>-varvoiceshape.

The high frequency band signal corresponding to [<NUM>, <NUM>] may be coded by using a super wide band (Super Wide Band) time band extension (Time Band Extention, TBE for short) encoder. This includes: extracting the pitch period, the algebraic codebook, and their respective gains from the core encoder to restore a high frequency band excitation signal; extracting a high frequency band signal component to perform an LPC analysis to obtain a high frequency band LPC coefficient; integrating the high frequency band excitation signal and the high frequency band LPC coefficient to obtain a restored high frequency band signal; comparing the restored high frequency band signal with the high frequency band signal in the input audio information to obtain a gain adjustment parameter gain; and quantizing, by using a small quantity of bits, the high frequency band LPC coefficient and the gain parameter gain to obtain high frequency band coding information.

Further, the SWB encoder determines, according to the high frequency band signal of the input audio signal, the full band LPC coefficient and the full band excitation signal that are used to predict the full band signal, and performs integration processing on the full band LPC coefficient and the full band excitation signal to obtain a predicted first full band signal, and then frequency spectrum movement correction may be performed on the first full band signal by using the following formula (<NUM>): <MAT> where k represents the kth time sample point, k is a positive integer, S2 is a first frequency spectrum signal after the frequency spectrum movement correction, S1 is the first full band signal, PI is a ratio of a circumference of a circle to its diameter, fn indicates that a distance that a frequency spectrum needs to move is n time sample points, n is a positive integer, and fs represents a signal sampling rate.

After the frequency spectrum movement correction, frequency spectrum reflection processing is performed on S2 to obtain a first full band signal S3 that has undergone frequency spectrum reflection processing, amplitudes of frequency spectrum signals of corresponding time sample points before and after the frequency spectrum movement are reflected. An implementation manner of the frequency spectrum reflection may be the same as common frequency spectrum reflection, so that the frequency spectrum is arranged in a structure the same as that of an original frequency spectrum, and details are not described further.

Later, de-emphasis processing is performed on S3 by using the de-emphasis parameter H(Z) determined according to the voicing factor, to obtain a first full band signal S4 that has undergone de-emphasis processing, and then energy EnerO of S4 is determined. Specifically, the de-emphasis processing may be performed by using a de-emphasis filter having the de-emphasis parameter.

Optionally, after S4 is obtained, upsampling processing may be performed, by means of zero insertion, on the first full band signal S4 that has undergone de-emphasis processing, to obtain a first full band signal S5 that has undergone upsampling processing, then band-pass filtering processing may be performed on S5 by using a band pass filter (Band Pass Filter, BPF for short) having a pass range of [<NUM>, <NUM>] to obtain a first full band signal S6, and then an energy EnerO of S6 is determined. The upsampling and the band-pass processing are performed on the first full band signal that has undergone de-emphasis processing, and then the energy of the first full band signal is determined, so that a frequency spectrum energy and a frequency spectrum structure of a high frequency band extension signal may be adjusted to enhance coding performance.

The second full band signal may be obtained by the coding apparatus by performing band-pass filtering processing on the input audio signal by using the band pass filter (Band Pass Filter, BPF for short) having the pass range of [<NUM>, <NUM>]. After the second full band signal is obtained, the coding apparatus determines energy Ener1 of the second full band signal, and calculates a ratio of the energy Ener1 to the energy EnerO. After quantization processing is performed on the energy ratio, the energy ratio, the characteristic factor and the high frequency band coding information of the input audio signal are packaged into the bitstream and sent to the decoding apparatus.

In the prior art, the de-emphasis factor µ of the de-emphasis filtering parameter H(Z) usually has a fixed value, and a signal type of the input audio signal is not considered, resulting that the input audio signal restored by the decoding apparatus is apt to have signal distortion.

According to the method embodiment, de-emphasis processing is performed on a full band signal by using a de-emphasis parameter determined according to a characteristic factor of an input audio signal, and then the full band signal is coded and sent to a decoder, so that the decoder performs corresponding de-emphasis decoding processing on the full band signal according to the characteristic factor of the input audio signal and restores the input audio signal. This resolves a prior-art problem that an audio signal restored by a decoder is apt to have signal distortion is resolved, and implements adaptive de-emphasis processing on the full band signal according to the characteristic factor of the audio signal to enhance coding performance, so that the input audio signal restored by the decoder has relatively high fidelity and is closer to an original signal.

<FIG> is a flowchart of an embodiment of a decoding method according to an embodiment of the present invention, and is a decoder side method embodiment corresponding to the method embodiment shown in <FIG>. As shown in <FIG>, the method embodiment includes the following steps:.

S201: A decoding apparatus receives an audio signal bitstream sent by a coding apparatus, where the audio signal bitstream includes a characteristic factor, high frequency band coding information, and an energy ratio of an audio signal corresponding to the audio signal bitstream.

The characteristic factor is used to reflect a characteristic of the audio signal, and includes, but is not limited to, a "voicing factor", a "spectral tilt", a "short-term average energy", or a "short-term zero-crossing rate". The characteristic factor is the same as the characteristic factor in the method embodiment shown in <FIG>, and details are not described again.

S202: The decoding apparatus performs low frequency band decoding on the audio signal bitstream by using the characteristic factor to obtain a low frequency band signal.

S203: The decoding apparatus performs high frequency band decoding on the audio signal bitstream by using the high frequency band coding information to obtain a high frequency band signal.

S204: The decoding apparatus performs spread spectrum prediction on the high frequency band signal to obtain a first full band signal.

S205: The decoding apparatus performs de-emphasis processing on the first full band signal, where a de-emphasis parameter of the de-emphasis processing is determined according to the characteristic factor.

S206: The decoding apparatus calculates a first energy of the first full band signal that has undergone de-emphasis processing.

S207: The decoding apparatus obtains a second full band signal according to the energy ratio included in the audio signal bitstream, the first full band signal that has undergone de-emphasis processing, and the first energy, where the energy ratio is an energy ratio of an energy of the second full band signal to the first energy.

S208: The decoding apparatus restores the audio signal corresponding to the audio signal bitstream according to the second full band signal, the low frequency band signal, and the high frequency band signal.

Optionally, after S205, the method embodiment further includes:.

The method embodiment corresponds to the technical solution in the method embodiment shown in <FIG>. A specific implementation manner of the method embodiment is described by using an example in which the characteristic factor is a voicing factor. For other characteristic factors, their implementation processes are similar thereto, and details are not described further.

Specifically, a decoding apparatus receives an audio signal bitstream sent by a coding apparatus, where the audio signal bitstream includes a characteristic factor, high frequency band coding information, and an energy ratio of an audio signal corresponding to the audio signal bitstream. Later, the decoding apparatus extracts the characteristic factor of the audio signal from the audio signal bitstream, performs low frequency band decoding on the audio signal bitstream by using the characteristic factor of the audio signal to obtain a low frequency band signal, and performs high frequency band decoding on the audio signal bitstream by using the high frequency band coding information to obtain a high frequency band signal. The decoding apparatus determines a de-emphasis parameter according to the characteristic factor; performs full band signal prediction according to the high frequency band signal obtained through decoding to obtain a first full band signal S1, performs frequency spectrum movement correction processing on S1 to obtain a first full band signal S2 that has undergone frequency spectrum movement correction processing, performs frequency spectrum reflection processing on S2 to obtain a signal S3, performs de-emphasis processing on S3 by using the de-emphasis parameter determined according to the characteristic factor, to obtain a signal S4, and calculates a first energy EnerO of S4. Optionally, the decoding apparatus performs upsampling processing on the signal S4 to obtain a signal S5, performs band-pass filtering processing on S5 to obtain a signal S6, and then calculates a first energy EnerO of S6. Later, a second full band signal is obtained according to the signal S4 or S6, EnerO, and the received energy ratio, and the audio signal corresponding to the audio signal bitstream is restored according to the second full band signal, and the low frequency band signal and the high frequency band signal that are obtained through decoding.

In specific implementation, the low frequency band decoding may be performed by a core decoder on the audio signal bitstream by using the characteristic factor to obtain the low frequency band signal. The high frequency band decoding may be performed by a SWB decoder on the high frequency band coding information to obtain the high frequency band signal. After the high frequency band signal is obtained, spread spectrum prediction is performed directly according to the high frequency band signal or after the high frequency band signal is multiplied by an attenuation factor, to obtain a first full band signal, and the frequency spectrum movement correction processing, the frequency spectrum reflection processing, and the de-emphasis processing are performed on the first full band signal. Optionally, the upsampling processing and the band-pass filtering processing are performed on the first frequency band signal that has undergone de-emphasis processing. In specific implementation, an implementation manner similar to that in the method embodiment shown in <FIG> may be used for processing, and details are not described again.

The obtaining a second full band signal according to the signal S4 or S6, EnerO, and the received energy ratio is specifically: performing energy adjustment on the first full band signal according to the energy ratio R and the first energy EnerO to restore an energy of the second full band signal Ener1=Ener0×R, and obtaining the second full band signal according to a frequency spectrum of the first full band signal and the energy Ener1.

According to the method embodiment, a decoding apparatus determines a de-emphasis parameter by using a characteristic factor of an audio signal that is included in an audio signal bitstream, performs de-emphasis processing on a full band signal, and obtains a low frequency band signal through decoding by using the characteristic factor, so that an audio signal restored by the decoding apparatus is closer to an original input audio signal and has higher fidelity.

<FIG> is a schematic structural diagram of Embodiment <NUM> of a coding apparatus according to an embodiment of the present invention. As shown in <FIG>, the coding apparatus <NUM> includes a first coding module <NUM>, a second coding module <NUM>, a de-emphasis processing module <NUM>, a calculation module <NUM>, a band-pass processing module <NUM>, and a sending module <NUM>, where.

Further, the coding apparatus <NUM> further includes a de-emphasis parameter determining module <NUM>, configured to:.

Further, the second coding module <NUM> is specifically configured to:.

Further, the de-emphasis processing module <NUM> is specifically conf+igured to:.

The coding apparatus provided in this embodiment may be configured to execute the technical solution in the method embodiment shown in <FIG>. Their implementation principles and technical effects are similar, and details are not described again.

<FIG> is a schematic structural diagram of Embodiment <NUM> of a decoding apparatus according to an embodiment of the present invention. As shown in <FIG>, the decoding apparatus <NUM> includes a receiving module <NUM>, a first decoding module <NUM>, a second decoding module <NUM>, a de-emphasis processing module <NUM>, a calculation module <NUM>, and a restoration module <NUM>, where.

Further, the decoding apparatus <NUM> further includes a de-emphasis parameter determining module <NUM>, configured to:.

Further, the second decoding module <NUM> is specifically configured to:.

Further, the de-emphasis processing module <NUM> is specifically configured to:.

The decoding apparatus provided in this embodiment may be configured to execute the technical solution in the method embodiment shown in <FIG>. Their implementation principles and technical effects are similar, and details are not described again.

<FIG> is a schematic structural diagram of Embodiment <NUM> of a coding apparatus according to an embodiment of the present invention. As shown in <FIG>, the coding apparatus <NUM> includes a processor <NUM>, a memory <NUM>, and a communications interface <NUM>. The processor <NUM>, the memory <NUM>, and communications interface <NUM> are connected by means of a bus (a bold solid line shown in the figure).

The communications interface <NUM> is configured to receive input of an audio signal and communicate with a decoding apparatus. The memory <NUM> is configured to store program code. The processor <NUM> is configured to call the program code stored in the memory <NUM> to execute the technical solution in the method embodiment shown in <FIG>. Their implementation principles and technical effects are similar, and details are not described again.

<FIG> is a schematic structural diagram of Embodiment <NUM> of a coding apparatus according to an embodiment of the present invention. As shown in <FIG>, the decoding apparatus <NUM> includes a processor <NUM>, a memory <NUM>, and a communications interface <NUM>. The processor <NUM>, the memory <NUM>, and communications interface <NUM> are connected by means of a bus (a bold solid line shown in the figure).

The communications interface <NUM> is configured to communicate with a coding apparatus and output a restored audio signal. The memory <NUM> is configured to store program code. The processor <NUM> is configured to call the program code stored in the memory <NUM> to execute the technical solution in the method embodiment shown in <FIG>. Their implementation principles and technical effects are similar, and details are not described again.

<FIG> is a schematic structural diagram of an embodiment of a coding/decoding system according to the present invention. As shown in <FIG>, the codec system <NUM> includes a coding apparatus <NUM> and a decoding apparatus <NUM>. The coding apparatus <NUM> and the decoding apparatus <NUM> may be respectively the coding apparatus shown in <FIG> and the decoding apparatus shown in <FIG>, and may be respectively configured to execute the technical solutions in the method embodiments shown in <FIG> and <FIG>. Their implementation principles and technical effects are similar, and details are not described again.

With descriptions of the foregoing embodiments, a person skilled in the art may clearly understand that the present invention may be implemented by hardware, firmware or a combination thereof. When the present invention is implemented by software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communications medium, where the communications medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium accessible to a computer. The following provides an example but does not impose a limitation: The computer-readable medium may include a RAM, a ROM, an EEPROM, a CD-ROM, or another optical disc storage or disk storage medium, or another magnetic storage device, or any other medium that can carry or store expected program code in a form of instructions or data structures and can be accessed by a computer. In addition, any connection may be appropriately defined as a computer-readable medium. For example, if software is transmitted from a website, a server or another remote source by using a coaxial cable, an optical fiber/cable, a twisted pair, a digital subscriber line (DSL) or wireless technologies such as infrared ray, radio and microwave, the coaxial cable, optical fiber/cable, twisted pair, DSL or wireless technologies such as infrared ray, radio and microwave are included in the definition of the medium. For example, a disk (Disk) and disc (disc) used by the present invention includes a compact disc CD, a laser disc, an optical disc, a digital versatile disc (DVD), a floppy disk and a Blu-ray disc, where the disk generally copies data by a magnetic means, and the disc copies data optically by a laser means. The foregoing combination should also be included in the protection scope of the computer-readable medium.

Moreover, it should be understood that depending on the embodiments, some actions or events of any method described in this specification may be executed according to different sequences, or may be added, combined, or omitted (for example, to achieve some particular objectives, not all described actions or events are necessary). Moreover, in some embodiments, actions or events may undergo hyper-threading processing, interrupt processing, or simultaneous processing by multiple processors, and the simultaneous processing may be non-sequential execution. In addition, in view of clarity, specific embodiments of the present invention are described as a function of a single step or module, but it should be understood that technologies of the present invention may be combined execution of multiple steps or modules described above.

Claim 1:
A coding method, comprising the following steps performed by a coding apparatus:
coding (S101) a low frequency band signal of an input audio signal to obtain a characteristic factor of the input audio signal, wherein the low frequency band signal corresponds to a first frequency range of the input audio signal;
performing (S102) coding and spread spectrum prediction on a high frequency band signal of the input audio signal to obtain a first full band signal,
wherein the high frequency band signal corresponds to a second frequency range of the input audio signal;
coding the high frequency band signal of the input audio signal to obtain high frequency band coding information;
performing (S103) de-emphasis processing on the first full band signal, wherein a de-emphasis parameter of the de-emphasis processing is determined according to the characteristic factor;
calculating (S104) a first energy of the first full band signal that has undergone de-emphasis processing;
performing (S105) band-pass filtering processing on the input audio signal to obtain a band-pass filtered second full band signal,
wherein the band-pass filtered second full band signal corresponds to a third frequency range of the input audio signal, and
wherein the second frequency range covers a frequency range from the highest frequency of the first frequency range to the lowest frequency of the third frequency range;
calculating (S106) a second energy of the band-pass filtered second full band signal;
calculating (S107) an energy ratio of the second energy of the band-pass filtered second full band signal to the first energy of the first full band signal; and
sending (S108) to a decoding apparatus, a bitstream including the characteristic factor, the high frequency band coding information, and the energy ratio.