US 12,339,810 B2
Data compression method and computing device
Wen Zhou, Shanghai (CN); Zhongquan Liu, Shenzhen (CN); Litian Sun, Shanghai (CN); and Hongfeng Jiang, Shanghai (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO.,LTD., Guangdong (CN)
Filed on Dec. 6, 2021, as Appl. No. 17/543,635.
Application 17/543,635 is a continuation of application No. PCT/CN2020/136231, filed on Dec. 14, 2020.
Claims priority of application No. 201911385235.5 (CN), filed on Dec. 28, 2019; and application No. 202010261686.6 (CN), filed on Apr. 4, 2020.
Prior Publication US 2022/0092031 A1, Mar. 24, 2022
Int. Cl. G06F 16/174 (2019.01); G06N 5/022 (2023.01)
CPC G06F 16/1744 (2019.01) [G06N 5/022 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A data compression method performed by a computing device, comprising:
receiving, by a first processor of the computing device, to-be-compressed data;
obtaining, by the first processor of the computing device, M data type identification models;
determining, by the first processor of the computing device, M probability sets corresponding to the to-be-compressed data based on the M data type identification models;
identifying, by the first processor of the computing device, a data type of the to-be-compressed data by obtaining P intermediate values based on the M probability sets and weight ratios of the M data type identification models, the data type of the to-be-compressed data corresponding to an intermediate value in the P intermediate values and that is greater than an accuracy threshold, the data type including a text type, a picture type, or a video type;
selecting, by the first processor of the computing device, a data compression model based on the data type;
sending, by the first processor of the computing device, the to-be-compressed data and information related to the selected data compression model to a second processor of the computing device;
compressing, by the second processor of the computing device, the to-be-compressed data to obtain compressed data based on the selected data compression model; and
sending, by the second processor of the computing device, the compressed data to the first processor of the computing device.