Multilevel architecture for data synchronization, data synchronization method and fault handling method

A data synchronization, data technology

Active Publication Date: 2017-01-25
SUZHOU KEDA TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, the technical problem to be solved by the present invention is that the existing framework and method for synchronizing the data of the core database to other databases have low reliability

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
  • Multilevel architecture for data synchronization, data synchronization method and fault handling method
  • Multilevel architecture for data synchronization, data synchronization method and fault handling method
  • Multilevel architecture for data synchronization, data synchronization method and fault handling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] like figure 1 As shown, this embodiment provides a multi-level architecture for data synchronization, including a top-level domain and multiple sequentially connected slave-level domains, the data to be synchronized is delivered from the top-level domain to the first-level slave-level domain, and the first The first-level slave domain then delivers the data to be synchronized to the second-level slave domain and delivers them level by level. Specifically, there is a data delivery link between the first-level slave-level domain and the top-level domain, and there is also a data delivery link between two adjacent slave-level domains.

[0062] Each slave domain includes multiple servers, one of which is the master server and the others are slave servers. The master server is used to receive the data to be synchronized and forward the data to be synchronized to each slave server in the slave domain after it completes the data synchronization , receive the data to be synchr...

Embodiment 2

[0065] This embodiment provides a data synchronization method, which is based on the multi-level architecture described in Embodiment 1 above, such as figure 2 and 3 shown, including the following steps:

[0066] S1: The top-level domain sends the data to be synchronized to one of the subordinate domains, and the data to be synchronized may be generated by the top-level domain;

[0067] S2: The master server of the slave domain receives the data to be synchronized and completes the synchronization;

[0068] S3: The master server forwards the data to be synchronized to the slave server to complete the data synchronization of the slave server.

[0069] The data synchronization method provided in this embodiment is based on the multi-level architecture provided in Embodiment 1 above. Therefore, correspondingly, this method can reliably complete the synchronization of the data to be synchronized from the top-level domain to the subordinate-level domain.

[0070] Specifically, ...

Embodiment 3

[0094] like image 3 As shown, this embodiment provides a data synchronization method, which is also based on the multi-level architecture provided by the above-mentioned embodiment 1. This embodiment uses a message queue to realize the storage of synchronization messages. The messages stored in the message queue of the slave-level domain or the top-level domain realize the level-by-level delivery and synchronization of data, and the slave servers in the slave-level domains of all levels also realize data synchronization by subscribing to the messages stored in the message queue of the same level. For the convenience of description, in this embodiment, only three servers are set in each secondary domain, one of which is the master server and the others are slave servers. The data synchronization method specifically includes the following steps:

[0095] 1) After the top-level domain business modifies the database, if it is necessary to notify the subordinate domains, a message...

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 provides a multilevel architecture for data synchronization, a data synchronization method and a fault handling method, belonging to the technical field of database data synchronization. The multilevel architecture comprises a top-level domain and a plurality of secondary-level domains which are sequentially connected; to-be-synchronized data is issued to a first stage of secondary-level domain from the top-level domain; after that, the to-be-synchronized data is issued to a second stage of secondary-level domain by the first stage of secondary-level domain and is then issued stage by stage. Each stage of secondary-level domain comprises a plurality of servers, wherein one of the servers is a master server, and others are slave servers; each master server is used for receiving the to-be-synchronized data and forwarding the to-be-synchronized data to all the slave servers in the corresponding secondary-level domain after data synchronization is finished; the secondary servers are used for receiving the to-be-synchronized data and completing data synchronization. The multilevel architecture can solve the problem that data cannot be synchronized due to the fault of the master servers by replacing the master servers in the secondary-level domains without needing to find out the specific cause of the fault and eliminate the fault.

Description

technical field [0001] The invention relates to the technical field of database data synchronization, in particular to a multi-level architecture for data synchronization, a data synchronization method and a fault handling method. Background technique [0002] A video conference system generally includes a core database and a subordinate database. The core database is mainly used to store the relevant data of the core business. When the core database is modified, some need to be synchronized to the subordinate database. [0003] The architecture for synchronizing data from the core database to the subordinate databases may be such that the data to be synchronized is transferred from the server corresponding to the core database to the server corresponding to one of the subordinate databases, and then sequentially transferred to the servers corresponding to other subordinate databases. However, in this data synchronization architecture and the corresponding data synchronizati...

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/08H04L12/24
CPCH04L41/0668H04L67/1095
Inventor 顾振华孙涛曾昭鸣
Owner SUZHOU KEDA TECH
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