An embodiment of the invention discloses a
data compression transmitting and decompression method and an apparatus, relates to the field of
wireless communication, and is used for optimizing a
data compression scheme. In the method, a transmitting terminal divides data to be transmitted into packets, and as for each packet: a
shift factor is determined according to a highest order bit of sampling
point data of the largest value after a
sign bit is removed in the packet, and left shift is conducted respectively for
data bits of the sampling
point data in the packet according to the
shift factor; quantization
processing is carried out respectively for the sampling
point data after the left shift, so that the number of bits of the sampling point data after the quantization
processing is equal to the target number of bits of compression; and the
shift factor and the sampling point data after the quantization
processing are transmitted to the receiving terminal, the receiving terminal carries out de-quantization processing respectively for the sampling point data,
right shift is conducted respectively for the data in the sampling point data after the de-quantization processing according to the shift factor, and decompressed sampling point data are obtained. According to the invention, the performance of the
data compression is optimized.