Invention Publication
- Patent Title: DATA COMPRESSION METHOD AND APPARATUS
-
Application No.: US18567644Application Date: 2022-04-07
-
Publication No.: US20240283463A1Publication Date: 2024-08-22
- Inventor: Chao YU , Yi CHEN , Guifu LI , Ge QIU , Zhipeng LI , Daiyue ZHANG , Jing QIAN
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen, Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen, Guangdong
- Priority: CN 2110667882.7 2021.06.16
- International Application: PCT/CN2022/085621 2022.04.07
- Date entered country: 2023-12-06
- Main IPC: H03M7/30
- IPC: H03M7/30 ; G06F3/06

Abstract:
This application discloses a data compression method and apparatus. The method includes: obtaining m data blocks in a data area of a readable and writable file system; compressing the m data blocks by using a preset compression algorithm, to sequentially obtain n compressed data blocks, where first capacities of the compressed data blocks are the same, and the first capacity represents a quantity of bytes of compressed data that can be included in the compressed data block; and establishing a first index of each of j data blocks corresponding to an ith compressed data block in the n compressed data blocks, and recording a mapping relationship between first indexes and the j data blocks. The first index is used to identify a storage location, in a storage medium, of each data block included in the j data blocks, and attribute information included in each of the j data blocks.
Information query
IPC分类: