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 problem of low master node efficiency, achieve the effect of reducing signaling overhead, improving election efficiency, and improving election efficiency

Active Publication Date: 2018-12-18
武汉船舶通信研究所
View PDF5 Cites 8 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 an electing method and a server of a master node, belonging to the technical field of communication. The method comprises: when the primary node is found offline, determining whether the node is the highest priority node in the first group according to the packet information published by the master node before being offline, the grouping information being obtained by dividing all online slave nodes into several groups and setting priorities for each group before the master node is offline,the priorities of the slave nodes in the high priority group are higher than thoseof the slave nodes in the low priority group, and the first group is the group where the first slave node is located; when the node is not the node with the highest priority in the first group, sending the selected master signaling to the second slave node, and waiting to receive the descending signaling responded by the second slave node, the second slave node being a slave node whose priority is higher than the priority of the first slave node; when the waiting time exceeds the first time and no downstream signaling is received, determining the node as the master node to replace the offlinemaster 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 Applications(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