18972519. DATA PROCESSING METHOD AND APPARATUS AND RELATED DEVICE (HUAWEI TECHNOLOGIES CO., LTD.)
DATA PROCESSING METHOD AND APPARATUS AND RELATED DEVICE
Organization Name
Inventor(s)
DATA PROCESSING METHOD AND APPARATUS AND RELATED DEVICE
This abstract first appeared for US patent application 18972519 titled 'DATA PROCESSING METHOD AND APPARATUS AND RELATED DEVICE
Original Abstract Submitted
The present disclosure relates to data processing methods. In one example method, a computing device determines a first reference value based on a plurality of pieces of to-be-compressed first data, calculates a difference between each piece of first data and the first reference value, determines a code corresponding to each difference, and obtains compressed data of each corresponding piece of first data based on each code. The reference value is data with a larger quantity of occurrence times in the plurality of pieces of to-be-compressed data. When the difference between the reference value and each of the plurality of pieces of to-be-compressed data is calculated, a quantity of 0s in a plurality of obtained differences is the largest. After the difference is encoded, the data corresponding to the difference can be compressed to a smaller quantity of bits.