Data storage method and system of solid-state memory
The invention relates to the technical field of data compression, in particular to a data storage method and system for a solid-state memory, and the method comprises the steps: obtaining to-be-compressed data; constructing an FP tree according to the to-be-compressed data; according to the position...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of data compression, in particular to a data storage method and system for a solid-state memory, and the method comprises the steps: obtaining to-be-compressed data; constructing an FP tree according to the to-be-compressed data; according to the position of each character in the corresponding node in the FP tree, and in combination with the occurrence frequency of each character in the to-be-compressed data, obtaining the coding priority of each character; obtaining a plurality of character pairs, and obtaining the matching degree of the character pairs in combination with corresponding nodes in the FP tree; obtaining a target character pair according to the matching degree of the character pair, and endowing the target character pair and a compressed code of the character; and compressing the to-be-compressed data by utilizing the target character pair and the compression codes of the characters, and storing a compression result into a solid-state memory. Accordi |
---|