Multi-level concurrency control method and system based on file lock and state file
By using a multi-level concurrency control method involving file locks and status files, the problems of high database pressure and task interruption in traditional data synchronization schemes are solved, achieving efficient data processing and rapid recovery.
Patent Information
- Application Number
- CN202610550578.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-24
- Publication Date
- 2026-05-26
- Estimated Expiration
- 2046-04-24
AI Technical Summary
Traditional data synchronization solutions rely on database locking mechanisms, which puts a lot of pressure on the database, makes collaborative processing difficult in a distributed environment, and makes it impossible to recover quickly after a task is interrupted.
It adopts a multi-level concurrency control method based on file locks and status files. Data files are stored through a multi-level directory structure, exclusive processing rights are achieved using table-level lock files, and processing status and error information are recorded through status files. It supports breakpoint resume and circuit breaker isolation mechanisms.
It reduces resource consumption, increases overall throughput, supports distributed deployment, is easy to monitor and troubleshoot, reduces system complexity, and enables task traceability and rapid recovery.