The present disclosure provides a
data compression method, device, apparatus and storage medium, the method comprising: obtaining a
target signal, removing the sign bits of the
target signal to obtain a first
signal comprising
data bits; determining a quantization range corresponding to each segment based on the bit width of the
data bits of the first
signal and the number of segments of the normalization
processing; each segment and its corresponding quantization range form a broken
line segment; determining a target broken
line segment corresponding to the first
signal according to the amplitude of the first signal, and
processing the first signal according to the target quantization range corresponding to the target broken
line segment, so that the processed first signal is closer to the starting broken line segment than the first signal before
processing; performing data bit truncation processing on the processed first signal to obtain a compressed signal; the bit width of the
data bits of the compressed signal is smaller than the bit width of the data bits of the first signal. In this way, the
signal compression quality can be improved and the compression process can be simplified.