Service data synchronization method, data recovery method, data recovery device and network device

A technology for business data and recovery methods, applied in the field of network communication, can solve the problems of incomplete consistency, data, synchronization, etc. of the active and standby server databases, so as to solve the problems of incomplete database consistency and improve service quality.

Active Publication Date: 2013-01-23
上海锐山网络有限公司
View PDF3 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since data replication in units of transactions is asynchronous, real-time performance is affected by factors such as the network and the load of the primary server, so there is a delay in the data synchronization process of the database replication technology, which may cause it to be too late in the process of switching between the primary and secondary servers. The data is synchronized to the standby server, resulting in inconsistencies between the databases of the active and standby servers before and after the switchover

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
  • Service data synchronization method, data recovery method, data recovery device and network device
  • Service data synchronization method, data recovery method, data recovery device and network device
  • Service data synchronization method, data recovery method, data recovery device and network device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In a server system with an active / standby redundant design, the prior art usually uses a database replication technology for data synchronization. Database replication technology synchronizes data to the standby server in units of transactions. Since data replication in units of transactions is asynchronous replication, the real-time performance is affected by factors such as the network and the load of the primary server. There is a delay in the data synchronization process, which may During the switchover process of the active and standby servers, it is too late to synchronize the data of the primary server to the standby server, resulting in incomplete consistency of the databases of the active and standby servers before and after the switchover. For this problem, the embodiment of the present invention provides a solution.

[0030] The main core idea of ​​the solution provided by the embodiment of the present invention is: the main server executes the business trans...

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 invention discloses a service data synchronization method, a data recovery method, a data recovery device and a network device. The synchronization method comprises the following steps that: a first server used as the master server executes a synchronization processing affair; the synchronization processing affair comprises the following steps of: executing a first service affair to generate a first service data, recording an identifier of the first service affair in a local first service affair record list, generating a service affair log and writing the identifier of the first service affair and the service affair log in a service affair log sheet of a second server, and setting the submission state information of the first service affair as not submitted; if the synchronization processing affair is executed successfully, the first server sets the submission state of the first service affair as submitted; and the first server executes the synchronization affair so as to synchronize the first service data with the second server. With the adoption of the technical scheme of the invention, the databases of the master server and a standby server can be completely consistent before and after switching.

Description

technical field [0001] The invention relates to network communication technology, in particular to a service data synchronization method, recovery method and device, and network equipment. Background technique [0002] In order to improve the availability of the server system, the active-standby redundancy design is often adopted to shorten the service unavailable time due to the failure of the main server. High-availability cluster is one of the active and standby redundant designs of server systems, and it is a server cluster technology aimed at reducing service interruption time. In a high-availability cluster, if a server fails, its standby server will take over the responsibility of the server in a short time, so that the overall service of the high-availability cluster is as available as possible, thereby reducing the risk caused by hardware and software abnormalities in the cluster. coming loss. [0003] In order for the standby server to take over the responsibilit...

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 Applications(China)
IPC IPC(8): H04L29/06H04L12/24
Inventor 阳外玲
Owner 上海锐山网络有限公司
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