File deletion method and device and data storage system

The embodiment of the invention discloses a file deleting method and device and a data storage system. According to the embodiment of the invention, when a file deletion request is received, an incidence relation between a to-be-deleted file and a corresponding recycle bin is established, when a del...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SHI MINGYA, HUANG CHUNHUA, PENG DONGLEI, XIONG MINGJIE, GUO CHUNWEI
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 embodiment of the invention discloses a file deleting method and device and a data storage system. According to the embodiment of the invention, when a file deletion request is received, an incidence relation between a to-be-deleted file and a corresponding recycle bin is established, when a deletion trigger instruction is received, meta information of the to-be-deleted file is obtained, and a corresponding data storage block is obtained and deleted through the meta information. Therefore, according to the embodiment, the data file structures of the data logic blocks, the data fragments and the data storage blocks are adopted in various storage services, so that the meta-information is conveniently modified when the file is deleted, the data query efficiency is improved, and the data deletion efficiency is further improved. 本发明实施例公开了一种文件删除方法、装置和数据存储系统。其中,本发明实施例在接收到文件删除请求时建立待删除文件与对应的回收站之间的关联关系,并在接收到删除触发指令时获取待删除文件的元信息,通过该元信息获取并删除对应的数据存储块。由此,本实施例通过在各类存储服务中采用数据逻辑块、数据分片和数据存储块的数据文件结构,以便于在文件删除时修改元信息,并提高了数据查询效率,进