1. An encoding method, characterized in that it comprises: selecting at least one dimension vector from at least two dimension vectors to partition the coefficients to be encoded of a current subband into vectors, according to the number of the coefficients to be encoded contained in the current subband; quantizing the vectors partitioned from the coefficients to be encoded into lattice vectors according to the selected dimension, and then mapping the lattice vectors to lattice index vectors; performing lossless encoding on the lattice index vectors.