Data storage method, device, electronic equipment and storage medium
The embodiment of the invention discloses a data storage method, a device, electronic equipment and a storage medium. The method comprises the steps of creating a clean space linked list and a user space linked list respectively, wherein the clean space linked list is used for recording physical sto...
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 discloses a data storage method, a device, electronic equipment and a storage medium. The method comprises the steps of creating a clean space linked list and a user space linked list respectively, wherein the clean space linked list is used for recording physical storage space without stored data, and the user space linked list is used for recording physical storage space with stored data; and when a data storage instruction is received, storing to-be-stored data based on the clean space linked list and the user space linked list. By adopting the technical scheme, the purpose of saving the storage space can be achieved.
本发明实施例公开了一种数据存储方法、装置、电子设备及存储介质,所述方法包括:分别创建干净空间链表以及用户空间链表,其中,所述干净空间链表用于记录没有存储数据的物理存储空间,所述用户空间链表用于记录已经存储数据的物理存储空间;当接收到数据存储指令时,基于所述干净空间链表以及用户空间链表对待存储数据进行存储。通过采用上述技术方案,可以实现节约存储空间的目的。 |
---|