Data processing method and device

The invention discloses a data processing method and device. The method comprises the steps: using a single-level directory structure to store obtained snapshot data, wherein the snapshot data comprise a plurality of data blocks and data block pointers used for indicating the data blocks; generating...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG YAN, KANG YUZHU
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 invention discloses a data processing method and device. The method comprises the steps: using a single-level directory structure to store obtained snapshot data, wherein the snapshot data comprise a plurality of data blocks and data block pointers used for indicating the data blocks; generating corresponding metadata according to the snapshot data, wherein the metadata comprises indexes of the data block pointers, and the metadata is of a key-value pair structure; and updating the metadata according to the update of the snapshot data. According to the method and the device, the technical problems of complex structure, large data volume and high error rate due to the fact that snapshot data of a system in the related technology depends on a pointer to connect data blocks into a directed acyclic graph data structure are solved. 本发明公开了一种数据处理方法及装置。其中,该方法包括:采用单级目录结构,将获取的快照数据进行存储,其中,快照数据包括多个数据块和用于指示数据块的数据块指针;根据快照数据生成对应的元数据,其中,元数据包括数据块指针的索引,元数据为键值对结构;根据快照数据的更新,更新元数据。本发明解决了相关技术中的系统的快照数据需要依赖指针将数据块连接成有向无环图数据结构的方式,