Data compression method and device, data decompression method and device, electronic equipment and storage medium

The embodiment of the invention provides a data compression method and device, a data decompression method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring to-be-compressed data and compression parameters, wherein the compression parameter comprises a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI HUIBA, YUAN YIFAN
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 embodiment of the invention provides a data compression method and device, a data decompression method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring to-be-compressed data and compression parameters, wherein the compression parameter comprises a compression algorithm identifier and a segmentation unit; segmenting the to-be-compressed data according to the segmentation units to generate a plurality of pieces of segmented compressed data; compressing the segmented compressed data into a plurality of data blocks by adopting a compression algorithm corresponding to the compression algorithm identifier, wherein the data blocks have size information; and generating compressed data based on the compression parameters, the data blocks and the size information of the data blocks. According to the embodiment of the invention, the compression algorithm can be determined according to the compression parameter, and the determined compression algorithm is adopted to com