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.
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
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.
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.
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.
Smart Images

Figure CN122132369A_ABST