Method and device for data synchronization based on cluster server system

A cluster server and data synchronization technology, applied in the field of cloud storage, can solve problems such as data inconsistency, and achieve the effect of ensuring data consistency, preventing task omission, and ensuring data consistency

Active Publication Date: 2015-07-01
HANGZHOU HIKVISION SYST TECH
View PDF5 Cites 52 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, two nodes may obtain the lock at the same time and perform read an

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
  • Method and device for data synchronization based on cluster server system
  • Method and device for data synchronization based on cluster server system
  • Method and device for data synchronization based on cluster server system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0034] The first embodiment of the present invention relates to a data synchronization method based on a cluster server system. figure 1 It is a schematic flowchart of the data synchronization method based on the cluster server system. The cluster server system includes at least one cluster, and the cluster includes at least three nodes, such as ...

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 relates to the field of cloud storage, and discloses a method and a device for data synchronization based on a cluster server system. The method comprises the steps of dynamically electing a master node, and notifying the master node to process in a cluster after worker nodes receive a task, thereby effectively ensuring the data consistency, avoiding mutual exclusion and synchronization between processes of the nodes at the same time, and reducing the system overhead. According to the invention, the cluster server system comprises at least one cluster, the cluster comprises at least three nodes, and the method for data synchronization based on the cluster server system comprises the steps that one node in the cluster is dynamically elected as the master node, and the other nodes act as the worker nodes; if the worker nodes receive a task request, the other nodes in the cluster are notified to process the task; each of the other nodes in the cluster judges whether the node itself is the master node or not after receiving the notice; and if the node is the master node, the master node processes the task and feeds back a processing result.

Description

technical field [0001] The invention relates to the field of cloud storage, in particular to a data synchronization technology. Background technique [0002] In practical applications based on cloud storage technology, cluster technology is usually used to form a loosely coupled set of computing nodes with two or more computer nodes, which provides users with more efficient fault tolerance and recovery capabilities, and increases the ability to The real-time processing capability of massive tasks provides better reliability and practicality. [0003] In the cloud storage system, multiple servers are formed into a cluster by using cluster technology, and the cluster provides external services through a cluster virtual IP address (Virtual Internet Protocol, "VIP" for short), and the platform communicates with the cluster system through the unique cluster VIP , all servers in the cluster can receive and process requests sent by users, which greatly improves the ability to resp...

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): H04L29/08
Inventor 张克涛林起芊
Owner HANGZHOU HIKVISION SYST 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