Data storage method and system, storage node and computer readable storage medium
The embodiment of the invention provides a data storage method and system, a storage node and a computer readable storage medium. The method comprises the following steps of: obtaining at least one compressed and encrypted first data block from a log area of a storage disk; determining a compression...
Gespeichert in:
1. Verfasser: | |
---|---|
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 embodiment of the invention provides a data storage method and system, a storage node and a computer readable storage medium. The method comprises the following steps of: obtaining at least one compressed and encrypted first data block from a log area of a storage disk; determining a compression ratio of the at least one first data block; and storing the at least one first data block into a data area of the storage disk according to the compression ratio. By adopting the scheme provided by the invention, when data compression and encryption storage is realized, low-cost storage of the data can be ensured, and the computing power expenditure required by data storage can be reduced.
本申请实施例提供一种数据存储方法、系统及存储节点、计算机可读存储介质。其中,所述方法包括:从一存储磁盘的日志区中,获取经压缩加密后的至少一个第一数据块;确定所述至少一个第一数据块的压缩率;根据所述压缩率,将所述至少一个第一数据块存入所述存储磁盘的数据区。采用本申请提供的方案实现数据压缩加密存储时,既能保证数据的低成本存储,又可减少数据存储所需花费的算力开销。 |
---|