File lock management method and device, electronic equipment and storage medium

By dynamically adjusting the lock granularity and the distributed consistency protocol, the problems of lock state recovery time and resource consumption in the CIFS file lock method are solved, achieving efficient lock management and meeting the high availability and high concurrency access requirements of distributed systems.

CN122132369APending Publication Date: 2026-06-02JINAN INSPUR DATA TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JINAN INSPUR DATA TECH CO LTD
Filing Date
2026-03-20
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Existing CIFS file locking methods rely on full scans and retransmissions to restore the lock state after server failures, resulting in a time-consuming recovery process that consumes a lot of network resources, making it difficult to meet the high availability requirements of modern distributed systems.

Method used

By receiving lock operation requests from clients, the lock granularity of the target file is dynamically determined and adjusted based on file access characteristics and lock conflict information. Combined with a distributed consistency protocol, the lock state consistency is maintained, and the lock granularity is optimized to achieve efficient recovery.

Benefits of technology

It significantly improves the recovery efficiency of distributed file system lock management, reduces resource overhead, and meets the high availability and high concurrency access performance requirements of modern distributed systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122132369A_ABST
    Figure CN122132369A_ABST
Patent Text Reader

Abstract

This application discloses a file lock management method, apparatus, electronic device, and storage medium, relating to the field of computer technology. Through this application, the lock granularity of the target file can be dynamically determined and adaptively adjusted based on the client's file access characteristics, and the lock granularity can be optimized in real time based on lock conflict information. Simultaneously, the consistency of lock states among multiple file servers in a distributed environment is maintained. Therefore, it can solve the problem of long recovery time and high network resource consumption caused by existing CIFS file lock methods relying on full scans and retransmissions to restore lock states after server failures. This significantly improves the recovery efficiency of distributed file system lock management and reduces resource overhead, thereby meeting the high availability and high concurrency access performance requirements of modern distributed systems.
Need to check novelty before this filing date? Find Prior Art