Main and standby center data real-time synchronization method, device and system and storage medium

A real-time synchronization and data technology, applied to the redundancy of hardware for data error detection, electrical digital data processing, instruments, etc.

Active Publication Date: 2019-07-19
ZTE CORP
View PDF9 Cites 6 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 b

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
  • Main and standby center data real-time synchronization method, device and system and storage medium
  • Main and standby center data real-time synchronization method, device and system and storage medium
  • Main and standby center data real-time synchronization method, device and system and storage medium

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 invention discloses a main and standby center data real-time synchronization method, which comprises the following steps of writing business message data corresponding to business messages into files to form business data files corresponding to the business messages, writing the business data files into a first temporary directory; detecting the first temporary directory at aset first time interval, judging whether the business data file exists in the first temporary directory or not, reading the business data file to a sending queue if the business data file exists in the first temporary directory, and copying the business data file to a first formal directory; and establishing a data connection with a standby center, and sending the service data file in the sendingqueue to the standby center. The embodiment of the invention also discloses a real-time synchronization device and system for the main and standby center data, and a computer readable storage medium.

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
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