Data storage method and device, equipment and storage medium
The embodiment of the invention provides a data storage method and device, equipment and a storage medium, and relates to the technical field of cloud storage. According to the specific implementation scheme, when it is detected that online storage nodes in a target storage cluster change, the numbe...
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 embodiment of the invention provides a data storage method and device, equipment and a storage medium, and relates to the technical field of cloud storage. According to the specific implementation scheme, when it is detected that online storage nodes in a target storage cluster change, the number of the online storage nodes is obtained; if the number of the obtained nodes is smaller than a first preset threshold value, determining storage units to be utilized which are not smaller than the first preset threshold value based on storage resources in the online storage nodes; determining a current EC coding mode based on the obtained number of the storage units to be utilized and a predetermined security level; and storing the current to-be-stored data in the obtained to-be-utilized storage unit in a dispersed manner according to the current EC coding mode. Therefore, through the scheme, both the data security and the space utilization rate can be considered.
本申请实施例提供了一种数据存储方法、装置、设备以及存储介质,涉及云存储技术领域。具体实现方案为:当 |
---|