A method for processing a temporal envelope of an audio signal, comprising: obtaining a low-band signal of a current frame signal and a high-band signal of the current frame signal according to the received current frame signal; encoding the low-band signal of the current frame signal, to obtain a low-band encoded excitation signal; performing linear prediction on the high-band signal of the current frame signal, to obtain a linear prediction coefficient; quantizing the linear prediction coefficient, to obtain a quantized linear prediction coefficient; obtaining a predicted high-band signal according to the low-band encoded excitation signal and the quantized linear prediction coefficient; dividing the predicted high-band signal of the current frame into M subframes according to a predetermined temporal envelope quantity M, wherein M is an integer, and M is greater than 2; calculating and quantizing a temporal envelope of each of the subframes; and encoding the quantized temporal envelopes; wherein the step of calculating a temporal envelope of each of the subframes comprises: performing windowing on the first subframe of the M subframes and the last subframe of the M subframes by using an asymmetric window function; and performing windowing on the subframes except the first subframe and the last subframe of the M subframes; wherein the step of performing windowing on the subframes except the first subframe and the last subframe of the M subframes comprises: performing windowing on the subframes except the first subframe and the last subframe of the M subframes by using a symmetric window function. obtaining a low-band signal of a current frame signal and a high-band signal of the current frame signal according to the received current frame signal; encoding the low-band signal of the current frame signal, to obtain a low-band encoded excitation signal; performing linear prediction on the high-band signal of the current frame signal, to obtain a linear prediction coefficient; quantizing the linear prediction coefficient, to obtain a quantized linear prediction coefficient; obtaining a predicted high-band signal according to the low-band encoded excitation signal and the quantized linear prediction coefficient; dividing the predicted high-band signal of the current frame into M subframes according to a predetermined temporal envelope quantity M, wherein M is an integer, and M is greater than 2; calculating and quantizing a temporal envelope of each of the subframes; and encoding the quantized temporal envelopes; wherein the step of calculating a temporal envelope of each of the subframes comprises: performing windowing on the first subframe of the M subframes and the last subframe of the M subframes by using an asymmetric window function; and performing windowing on the subframes except the first subframe and the last subframe of the M subframes; performing windowing on the first subframe of the M subframes and the last subframe of the M subframes by using an asymmetric window function; and performing windowing on the subframes except the first subframe and the last subframe of the M subframes; wherein the step of performing windowing on the subframes except the first subframe and the last subframe of the M subframes comprises: performing windowing on the subframes except the first subframe and the last subframe of the M subframes by using a symmetric window function.