Data synchronization method of distributed system single panel

A distributed system, data synchronization technology, applied in the field of communication, can solve the problems of data out-of-sync, data copy damage, logic errors, etc., to achieve the effect of improving stability

Inactive Publication Date: 2011-05-25
王秀红
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of this method is the poor reliability
If the data on a single board is out of sync, the shared data of this single board will change on a different basis from other boards, resulting in the loss of consistency of the shared data
There are two main reasons for data out-of-synchronization: On the one hand, the communication bandwidth between boards is limited, and packet loss occurs when data is congested; A large amount of data, link congestion at this time will easily lead to out-of-synchronization); on the other hand, errors in the logic of program data processing, memory write operations out of bounds, buffer overflow, etc. will also cause the data copy on the board to be lost. Destruction, which will also cause out-of-synchronization of synchronous data
The core network equipment has high reliability requirements, and the method of simply using the method of transmitting data change information for synchronization seriously affects the stability of the system
[0005] In addition, existing technologies have limitations in dealing with data concurrency conflicts

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
  • Data synchronization method of distributed system single panel
  • Data synchronization method of distributed system single panel
  • Data synchronization method of distributed system single panel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The specific implementation manners of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] Referring to FIG. 1 , a method for synchronizing data between boards in a distributed system according to an embodiment of the present invention is described. Among them, the distributed system includes a main control board, which runs a central control program, hereinafter referred to as Global, and also includes several other boards, which run data synchronization node programs , which will be called Local later. Wherein, each single board has a data copy, and the data copy is a buffer area for shared data. The purpose of the present invention is to ensure the real-time consistency of each data copy.

[0023] As shown in Figure 1, the data synchronization method according to the embodiment of the present invention includes the following steps:

[0024] S102. Initialize the data copy, version number, and synchronization ...

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 data synchronization method of a distributed system single board. The method comprises the following steps that: Step S102. when the shared data on the system single board changes, the system single board forms a data snapshot in a changing area and adds the version information thereof on the data snapshot; Step S104. the system single board sends the data snapshot addedwith the version information to other system single boards different from the system single board; Step S106. other system single boards adopt the data snapshot added with the version information to update the data copies themselves so as to keep the data synchronization with the system single board. The invention solves the problem of the desynchronizing of the synchronizing data and improves the stability of the system.

Description

technical field [0001] The present invention relates to the communication field, and more specifically relates to a method for synchronizing data between single boards in a distributed system. Background technique [0002] Most core network devices consist of a main control board and various service boards, forming a distributed system, and the boards communicate by sending messages. [0003] In order to ensure that the shared data in the system is consistent among the boards, Chinese Patent No. 200410070619.6 adopts the method of transmitting data change information, that is, when the shared data on a single board changes, the single board transmits the data change information to other boards to achieve data synchronization. [0004] The disadvantage of this method is poor reliability. If the data on a single board is out of sync, the shared data of the single board will change on a base different from that of other single boards, thus causing the shared data to lose cons...

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): H04L12/56H04L1/18H04L7/00
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