Database disaster tolerance synchronization method based on packet replication and database system

By using a database disaster recovery synchronization method based on group replication, multiple synchronization groups and a state mask mechanism are configured to dynamically determine the target synchronization group for transactions. This solves the problems of rigid architecture and low resource utilization in existing technologies, achieves a balance between performance and consistency, and improves the flexibility and availability of the database system.

CN121387628APending Publication Date: 2026-01-23HANGZHOU YIJING DIGITAL TECH CO LTD
0 Cites 2 Cited by

Patent Information

Application Number
CN202511405180.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

Existing database master-slave replication technologies suffer from rigid architecture, low resource utilization, and high operational complexity. They cannot implement fine-grained and customizable synchronization strategies within a single database instance, making it difficult to balance performance and consistency and failing to meet the needs of different businesses.

Method used

The method adopts a group-based replication approach, configuring multiple synchronization groups. Each synchronization group has independent member slaves and group synchronization levels. Through a state mask mechanism and a multi-wait queue mechanism, the target synchronization group of the transaction is dynamically determined, and the transaction is committed after all groups meet the requirements.

Benefits of technology

It achieves a balance between performance and consistency, supports multi-datacenter and cross-regional deployment, improves resource utilization, simplifies operation and maintenance, and ensures high availability of core businesses and data security.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the field of databases, in particular to a database disaster tolerance synchronization method based on packet replication and a database system. The invention provides a refined synchronization control mechanism based on a grouping strategy aiming at the problem that a unified global synchronization strategy cannot meet refined and differentiated requirements of distributed applications on data consistency, availability and performance in the existing database replication technology. Multiple groups of standby libraries adopt different synchronization levels to perform grouping copying in the same database; a logic abstraction layer of a synchronization group is introduced, a synchronization strategy and a physical standby library are decoupled, and multiple different synchronization mechanisms of a master-slave replication process are allowed in a database; a synchronous waiting mode of a traditional single path is broken through by utilizing a multi-waiting queue and a grouping ACK processing mechanism, so that state advancement of different groups does not interfere with each other; and checking is completed based on the consistency of the state mask, so that the transaction can be successfully returned only after all specified synchronization conditions are met, and the strong consistency of data is ensured.
Need to check novelty before this filing date? Find Prior Art