A database-based semantic distributed lock implementation method and system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HIGHGO SOFTWARE
- Filing Date
- 2026-04-01
- Publication Date
- 2026-06-09
AI Technical Summary
Existing distributed lock solutions cannot provide the PostgreSQL ecosystem with enterprise-level distributed lock capabilities such as semantic naming, automatic timeout release mechanism, automatic recycling, and lock mode conversion without introducing third-party middleware. This results in high system architecture complexity, high resource consumption, low concurrency performance, and high risk of deadlock.
Create a lock metadata table in the PostgreSQL database, encapsulate the kernel lock request and release functions into C function interfaces, build a lock mode conversion interface, and configure a timeout timer to implement the mapping of semantic lock names to kernel unique identifiers, supporting multi-granularity lock mode conversion and automatic reclamation of lock resources.
It reduces system architecture complexity and resource consumption, improves system stability and observability, eliminates deadlock risk, and ensures strong consistency of distributed transactions and business logic continuity in high-concurrency scenarios.
Smart Images

Figure CN121958406B_ABST
Abstract
Citation Information
Patent Citations
Method for realizing safety distributed lock through Redis
CN115562857A
Distributed lock processing method, device and system, storage medium and program product
CN120723490A