Compression method and device of file system, device, storage medium and program product

The invention provides a compression method and device of a file system, a device, a storage medium and a program product, and relates to the computer data compression technology. The method comprises the steps of obtaining the to-be-written data, and reading the compression information correspondin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JIN GE, XIONG ZHONGZHE, ZHENG NING, LUO XIAOBO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a compression method and device of a file system, a device, a storage medium and a program product, and relates to the computer data compression technology. The method comprises the steps of obtaining the to-be-written data, and reading the compression information corresponding to the to-be-written data; dividing the to-be-written data into a plurality of data blocks according to the compression information, and compressing each data block to obtain a compressed block; filling preset data in each compression block, wherein the compression block and the corresponding data block occupy the same logic space of the file system; and compressing each compression block, and writing the compressed data into a storage device. In the scheme, the preset data is supplemented in the compression block after the to-be-written data block is compressed, so that the compression block filled with the preset data and the corresponding to-be-written data block occupy the same logic space of the file system,