Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for electing a master node and a server

A master node and node technology, applied in the field of communication, can solve the problems of low master node efficiency, achieve the effects of reducing signaling overhead, improving election efficiency, and reducing the amount of message transmission

Active Publication Date: 2021-09-07
武汉船舶通信研究所
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a master node election method and server, which can solve the problem of low efficiency of a distributed system in electing a master node from a large number of nodes

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
  • A method for electing a master node and a server
  • A method for electing a master node and a server
  • A method for electing a master node and a server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] In this embodiment, the initial election signaling, master selection signaling, master promotion signaling, subordinate signaling, master push signaling, roll call signaling, and roll call response signaling have different signaling identifiers. It is used for each node to distinguish each signaling. Each signaling in the initial election signaling, master selection signaling, master promotion signaling, subordinate signaling, push master signaling, roll call signaling, and roll call response signaling can include the source node identification, source node priority level, the identity of the destination node, and the priority of the destination node. Wherein, the source node refers to the sending node of the signaling, and the...

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 master node election method and a server, which belong to the technical field of communication. The method includes: when the master node is found to be offline, determine whether the node is the node with the highest priority in the first group according to the grouping information issued by the master node before going offline, and the grouping information is sent by the master node to all online slave nodes before going offline Divide it into several groups and set the priority for each group. The priority of each group is different. The priority of the slave nodes in the high priority group is higher than that of the slave nodes in the low priority group. The first group is the first A group where the slave node is located; when the node is not the node with the highest priority in the first group, it sends the master election signaling to the second slave node, and waits to receive the subordinate signaling that the second slave node responds to, and the second The slave node is a slave node whose priority in the first group is higher than that of the first slave node; when the waiting time exceeds the first time and no downgrading signaling is received, the node is determined to be the master node to replace the offline one master node.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a master node election method and server. Background technique [0002] A cluster is composed of a group of devices (also called nodes) with the same computing capability, such as a server cluster composed of a large number of servers. Each node in the cluster is connected together through the network to form a whole, which can realize specific functions. A distributed communication system is a type of cluster. In a distributed communication system, usually one node acts as the master node, and other nodes act as slave nodes, and the master node coordinates the tight and orderly work of each slave node. [0003] Since cluster administrators can add or delete nodes, and nodes may fail during operation, the number of nodes in the cluster changes dynamically. In order to ensure that the communication function is not affected, the distributed communication system requires t...

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): H04L29/08H04L12/24G06F11/20
CPCH04L41/0668G06F11/2023H04L67/61
Inventor 杨志乔晓斌胡剑李伟李华志
Owner 武汉船舶通信研究所
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products