The invention relates to a
data compression method and device,
computer equipment, a
chip and a
chip module. The method comprises the following steps: acquiring a compression reference value and a compression threshold value corresponding to data to be compressed; the compression reference value is used for determining a compression mode corresponding to the to-be-compressed data, and the compression threshold value is used for determining whether to compress the to-be-compressed data; under the condition that the to-be-compressed data meets the compression threshold value, determining a compression mode corresponding to the to-be-compressed data according to the compression reference value; and according to the compression mode, performing corresponding compression
processing on the to-be-compressed data to obtain compressed data corresponding to the to-be-compressed data. By adopting the method, the
data compression quality can be improved.