主备切换方法、装置、终端设备以及存储介质
By controlling the pre-startup of the standby database during the master-slave switchover process and switching to the new master database after meeting certain conditions, the problem of high latency in quote connection in the foreign exchange quotation system is solved, achieving faster database switching and continuity of external services.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MERCHANTS BANK
- Filing Date
- 2023-09-26
- Publication Date
- 2026-07-17
AI Technical Summary
In the existing foreign exchange quotation system, there is a high latency in quotation connection when switching between primary and backup databases, resulting in poor switching effect and failure to maintain the consistency and uniqueness of external services.
At the start of the master-slave switchover, the first quotation data is output through the master database, and the standby database is controlled to perform pre-startup until the preset standby database upgrade conditions are met; then, a new master database is obtained based on the standby database, and the system switches to the new database to output the second quotation data.
This reduces the latency of switching between the primary and backup databases for pricing, improves the switching performance of the pricing system, and maintains the continuity and consistency of external services.
Smart Images

Figure CN117370458B_ABST