-
公开(公告)号:US10727864B2
公开(公告)日:2020-07-28
申请号:US15909704
申请日:2018-03-01
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Fulu Li , Enting Cai , Chungong Lin
IPC: H03M7/30 , G06F16/174 , H04L29/08 , H04L29/06
Abstract: A device and a method for compressing data by a device are provided, which relate to the storage field and are used to resolve a prior-art problem that a compression ratio at which data in a data block is compressed by a device is relatively low. The method includes: parsing, by a device, an information block in a data block, to obtain a file type of data in the data block and a data sub-block that is included in the data block; determining a characteristic of data in the data sub-block according to the file type; selecting, according to the characteristic, a target compression algorithm that is used to compress the data in the data sub-block; and compressing the data in the data sub-block by using the target compression algorithm. Embodiments of the present disclosure are used to compress data.
-
公开(公告)号:US20180232314A1
公开(公告)日:2018-08-16
申请号:US15909670
申请日:2018-03-01
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Chungong Lin , Fei Xu , Enting Cai
CPC classification number: G06F12/10 , G06F3/06 , G06F3/0604 , G06F3/0614 , G06F3/0644 , G06F3/0659 , G06F3/0679 , G06F12/0246 , G06F2212/1044 , G06F2212/202 , G06F2212/657 , G06F2212/7201 , G06F2212/7205
Abstract: The present disclosure directs to a solution for storing data by a storage device. The storage device includes a first storage area and a second storage area, where the first storage area includes data space and reserved space, and the second storage area includes data space and reserved space, and the storage device determines a feature of a write request, and stores, according to a determining result, data carried in the write request to reserved space of a corresponding storage area.
-
公开(公告)号:US20180191370A1
公开(公告)日:2018-07-05
申请号:US15909704
申请日:2018-03-01
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Fulu Li , Enting Cai , Chungong Lin
Abstract: A device and a method for compressing data by a device are provided, which relate to the storage field and are used to resolve a prior-art problem that a compression ratio at which data in a data block is compressed by a device is relatively low. The method includes: parsing, by a device, an information block in a data block, to obtain a file type of data in the data block and a data sub-block that is included in the data block; determining a characteristic of data in the data sub-block according to the file type; selecting, according to the characteristic, a target compression algorithm that is used to compress the data in the data sub-block; and compressing the data in the data sub-block by using the target compression algorithm. Embodiments of the present disclosure are used to compress data.
-
-