A method, device, system, and storage medium for real-time data synchronization of master and backup centers

A real-time synchronization and data technology, which is applied to the redundancy of hardware for data error detection, electrical digital data processing, instruments, etc., to achieve the effect of ensuring consistency and realizing synchronization

Active Publication Date: 2022-05-13
ZTE CORP
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this involves a data synchronization problem. It is necessary to maintain the consistency of the data in the master and backup centers, that is, whether the data in the master center can be completely synchronized to the backup center, so as to avoid business errors; in addition, how to realize data synchronization in the master and backup centers Real-time is also a key issue to consider

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device, system, and storage medium for real-time data synchronization of master and backup centers
  • A method, device, system, and storage medium for real-time data synchronization of master and backup centers
  • A method, device, system, and storage medium for real-time data synchronization of master and backup centers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The real-time data synchronization method of the master-standby center provided by the embodiment of the present invention is mainly applied in the real-time backup system of the master-standby center, and realizes the real-time synchronization of the data in the database of the master center through the processing of real-time writing of files and the processing of timing database storage And update to the database of the backup center. Currently, the known data synchronization methods for the master and backup centers include:

[0054] (1) The main center directly connects to the database of the backup center, and regularly imports the data in the database of the main center into the database of the backup center. In this way, since the timing time cannot be small enough, the data transmitted from the main center to the backup center cannot be transmitted in units of business data files corresponding to business messages, but a large amount of business is transmitted ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the present invention discloses a real-time data synchronization method of the main and standby centers, including: writing the business message data corresponding to the business message into a file, forming a business data file corresponding to each business message, and writing the business data file into The first temporary directory; detect the first temporary directory with a set first time interval, judge whether there is the business data file in the first temporary directory, if it exists, read the business data file to the sending queue, and copy the business data files to the first official directory; establish a data connection with the backup center, and send the business data files in the sending queue to the backup center. The embodiment of the invention also discloses a real-time data synchronization device, system and computer-readable storage medium of the main and backup centers.

Description

technical field [0001] The present invention relates to the technical field of data synchronization, in particular to a method, device, system and storage medium for real-time data synchronization of master and backup centers. Background technique [0002] At present, when processing massive data, in order to meet the processing efficiency, multiple servers are often used to work at the same time to meet the processing requirements, but due to various reasons, the server may fail when providing services, so that it cannot continue to provide services to users, affecting service quality. At present, there is only one set of dual-machine systems in many offices (that is, the main machine and the standby machine. When the main machine is working, the standby machine is in the state of monitoring preparation; when the main machine fails, the standby machine takes over all the work of the main machine. After the main machine returns to normal According to the settings of the adm...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/20
CPCG06F11/202
Inventor 翟纪东
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products