Self adaptable electing algorithm for main controlled node in group

A master control node, self-adaptive technology, applied in electrical components, transmission systems, etc., to achieve the effect of avoiding intervention

Inactive Publication Date: 2005-07-27
BEIJING NORTHEN FIBERHOME TECH CO LTD
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. Human intervention is required, that is to say, people are required to designate the master control node
[0008] 2. Configuration files are required

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
  • Self adaptable electing algorithm for main controlled node in group
  • Self adaptable electing algorithm for main controlled node in group
  • Self adaptable electing algorithm for main controlled node in group

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] specific implementation

[0023] Figure 1 describes the workflow of the guessing module.

[0024] Step 10, the module starts to initialize.

[0025] Step 11, check whether you are a master control node, the default initial state is a non-master control node. If it is the master control node, go to step 12; otherwise, go to step 14.

[0026] Step 12, if it is the master control node, judge whether it can receive a message from other non-master control nodes in the cluster asking whether there is a master control node. If you receive a message asking the master node from other non-master nodes in the cluster, go to step 13; otherwise, go to step 12.

[0027] Step 13, after receiving the query message, the master control node replies to the inquirer with a message that I am the master control node.

[0028] Step 14, if you are a non-master node, ask all members in the cluster whether there is a master node. Here, the multicast feature of UDP is used. We specify a multi...

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 method includes following steps: the finger-guessing module and heartbeat detected module are used to generate at random a main control node based on integer finger-guessing value; when the main control node gets away from cluster, the new cluster can automatically elect new main control node.

Description

technical field [0001] The invention belongs to the technical field of computer clusters, and in particular relates to an algorithm for selecting a master control node in a cluster, and ensures high availability of the master control node. Background technique [0002] In a cluster, a node is generally selected as the master control node (it should be noted that the master control node is a special functional entity in the cluster that controls all nodes in the cluster). At present, the general method used is A node is designated as the master node through the configuration file. When the master node fails, a new node is selected as the master node according to the weight of each node defined in the configuration file. Judging from the current cluster approach, human intervention is required to define the order in which each node of the cluster acts as the master node. [0003] The election submodule (page 7 / 13 of the specification of the patent) in the patent "High Availab...

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/06
Inventor 陈勇涂小明叶磊
Owner BEIJING NORTHEN FIBERHOME TECH CO LTD
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