Intermediary Data Synchronization for Active-Standby Continuity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The frequent synchronization of data from an active program to a standby program in a routing system consumes significant resources, leading to performance degradation of the active program and affecting service processing.
Innovation Solution
A data synchronization method where service data is sent from an active service module to a standby service module through a data synchronization service module, allowing the standby module to take over after the active module fails, while minimizing resource usage and ensuring continuous service processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the active program directly synchronizes data to the standby program, then fault protection is achieved, but service processing performance deteriorates due to resource occupation
Solution Approach 1:
The patent introduces a data synchronization service module as an intermediary between the active service module and standby service module. This mediator handles the data synchronization process, allowing the active service module to focus on service processing while the standby service module receives synchronized data through the intermediary, thus resolving the conflict between fault protection and service performance
Solution Approach 2:
The patent separates the data synchronization function from the service processing function by creating an independent data synchronization service module. This segmentation allows the active service module to maintain high service processing performance while the standby service module receives necessary data updates through the dedicated synchronization module, eliminating resource conflicts
2Reliability
If frequent data synchronization is performed, then data consistency between active and standby programs is maintained, but resource consumption increases
Solution Approach 1:
The patent implements periodic data synchronization through the data synchronization service module, which synchronizes data at optimized intervals rather than continuously. This periodic approach maintains data consistency between active and standby programs while significantly reducing resource consumption compared to frequent continuous synchronization
Solution Approach 2:
The patent uses the data synchronization service module to create and maintain data copies for the standby service module. Instead of the active service module directly maintaining real-time copies, the intermediary synchronization module handles copy creation and updates, reducing the resource burden on the active service module while ensuring data consistency
Data Source
Figure 1~2
Figure 3
Figure 4~5
AI summary
This application provides a data synchronization method and apparatus, applied to a first data service module. The method includes: receiving a first request from a second service module, where the first request is used to request to synchronize service data of a first service module; obtaining the service data of the first service module; and sending the service data of the first service module to the second service module. In solutions provided in this application, the first data service module replaces the first service module to synchronize the service data of the first service module for the second service module. This avoids or reduces negative impact of a data synchronization process on the first service module, and ensures performance of the first service module.