文件处理方法及电子设备

By introducing a globally unique and monotonic sequence number mechanism into the distributed file system, the problem of duplicate file deletion is solved, achieving highly robust and flexible file deletion, while reducing the dependence on the underlying storage and the overhead of metadata storage.

CN121009066BActive Publication Date: 2026-07-17INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2025-10-27
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing distributed file systems, the two-phase deletion mechanism may cause the same file to be repeatedly appended to the cleanup queue after a system failure, resulting in data being deleted incorrectly or failing to be deleted. This increases the implementation complexity of the underlying storage and limits the flexibility of the system architecture.

Method used

A globally unique and monotonic sequence number mechanism is introduced. By assigning a unique sequence number to each file deletion request and establishing a mapping relationship with the inode, combined with memory mapping and log persistence, the idempotency control of file deletion requests is ensured.

Benefits of technology

It effectively intercepts duplicate deletion requests for the same file, reduces the complexity of the underlying storage implementation, improves the flexibility of the system architecture, and minimizes metadata storage overhead while ensuring state recoverability, thus achieving highly robust and flexible distributed file deletion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121009066B_ABST
    Figure CN121009066B_ABST
Patent Text Reader

Abstract

本申请公开了一种文件处理方法及电子设备,涉及分布式文件系统技术领域,本申请通过引入全局唯一且具有单调性的序列号机制,可以有效拦截对同一文件的重复删除请求,从而摆脱了对底层存储必须支持幂等性操作的强依赖,降低了底层存储实现的复杂度,提高了系统架构的灵活性,通过结合内存映射与日志持久化,在保证状态可恢复性的同时,最小化元数据存储开销,进而实现高鲁棒性、高灵活度的分布式文件删除。
Need to check novelty before this filing date? Find Prior Art