Method and device for determining master node in server cluster and server cluster

A technology for server clusters and determination methods, applied to the determination method of master nodes in server clusters, devices and server clusters, capable of solving problems such as errors, business system downtime, and data corruption results

Inactive Publication Date: 2018-03-13
CHINA MOBILE COMM LTD RES INST +1
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It avoids the single point of failure of a single server that causes the business system to stop serving and cannot provide online services to the outside world, and avoids the problem that multiple servers work at the same time to process the same data, which in turn leads to data damage or wrong results

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 determining master node in server cluster and server cluster
  • Method and device for determining master node in server cluster and server cluster
  • Method and device for determining master node in server cluster and server cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0047] Aiming at the problem in the prior art that multiple servers work at the same time to process the same data, resulting in data damage or wrong results, the embodiment of the present invention realizes the management of the server cluster through the node registration query cluster, through the node Registering a query cluster assigns serial numbers to servers. The server with the smallest serial number is selected as the mas...

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 provides a method and device for determining a master node in a server cluster and the server cluster. The method includes the following steps: receiving registration requests sent by multiple servers successively; assigning a node sequence number to each server according to the registration requests; and determining a server in the multiple servers registered to the server cluster as the master node according to the node sequence numbers. According to the scheme of the invention, the problems that service systems are out of service and cannot provide online services to the outside in the case that a single server has a single point of failure, and data corruption or result errors may be further caused when the multiple servers simultaneously work to processthe same piece of data can be avoided.

Description

technical field [0001] The present invention relates to the technical field of computer networks, in particular to a method and device for determining a master node in a server cluster and a server cluster. Background technique [0002] With the rapid development of various technologies (such as big data, cloud computing, communication networks, etc.), many key areas have higher and higher requirements for service availability. The use of server clusters to provide high-availability online services can effectively reduce the downtime of business systems caused by software and hardware failures. [0003] For some businesses, the same data can only be processed by a single server at the same time. If multiple servers process it at the same time, it may cause data damage or wrong results. [0004] In order to ensure the security and correctness of data while providing high-availability online services, there are some common processing methods in traditional systems. For examp...

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/08H04L29/06
CPCH04L67/1051H04L65/1073H04L67/1048
Inventor 王娟
Owner CHINA MOBILE COMM LTD RES INST
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