Resource contention method and apparatus based on distributed cluster architecture
By establishing an optimistic locking table in the database, the problem of high pressure on the database due to resource contention in the distributed cluster architecture is solved. This achieves a flexible resource contention mechanism and efficient resource management, reduces the amount of table modification required, and improves modification efficiency and applicability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 中国邮政储蓄银行股份有限公司
- Filing Date
- 2022-12-30
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, the resource contention mechanism of distributed cluster architecture puts a lot of pressure on the database or requires significant intrusive modification to the tables, resulting in performance impact and insufficient flexibility.
Create an optimistic locking table in the database, with records including cluster name, resource name, application address, and timestamp fields. Use these fields to identify the target record and write it to the server address when idle to compete for resources, thus avoiding intrusive modification of the database table.
It implements a flexible resource competition mechanism, reduces pressure on the database, avoids long-term occupation, supports flexible expansion of various resources, and improves transformation efficiency and applicability.
Smart Images

Figure CN116204583B_ABST