Check patentability & draft patents in minutes with Patsnap Eureka AI!

Main node determination method and device

A method for determining the master node, which is applied in the field of computer networks and can solve problems such as determining the master node, interruption of cluster network services, and unreadable and writable cluster file systems.

Pending Publication Date: 2020-06-30
HANGZHOU HIKVISION DIGITAL TECH
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when a node in the cluster fails, the cluster file system may be in an unreadable state. If the current master node fails, the unfailed nodes in the cluster cannot re-determine the master node through the cluster file system, and then May cause network service interruption of the cluster

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
  • Main node determination method and device
  • Main node determination method and device
  • Main node determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0048] In the prior art, the nodes in the cluster can usually determine the master node according to the cluster file system. However, when a node in the cluster fails, the cluster file system may be in an unreadable state. If the master node of the cluster fails, The non-faulty nodes in the cluster cannot re-determine the primary node through the cluster file system, which may lead to the interruption of the network services of the cluster.

[0049] In order to solve the above prob...

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 main node determination method and device. For one node in a cluster, when the main node of the cluster needs to be determined again, the node can determinea current control node from nodes included in the cluster, and determine the current main node of the cluster from the nodes included in the cluster based on the control node. According to the main node determination method, when the main node of the cluster needs to be determined again, the nodes in the cluster do not need to modify the node identifiers of the main nodes recorded in the cluster file system, it can be understood that even if the cluster file system is in an unreadable and writable state, the nodes in the cluster can also determine the main nodes, and then the probability of interruption of cluster network services can be reduced.

Description

technical field [0001] The present application relates to the technical field of computer networks, in particular to a method and device for determining a master node. Background technique [0002] A cluster is a distributed system with high reliability and scalability. Usually, a cluster can be composed of multiple independent servers. The servers in the cluster can be called nodes. During the operation of the cluster, it is necessary to determine a node as the Master (Master) from multiple nodes in the cluster, which may be called the master node. The master node and other nodes are jointly responsible for the network business processing of the cluster. [0003] In the prior art, the master node can usually be determined according to the cluster file system. The cluster file system may be composed of storage space provided by each node in the cluster, and each node may manage data stored in the cluster file system. The method for determining the primary node according 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
IPC IPC(8): H04L12/24H04L29/08
CPCH04L41/0668H04L41/30H04L67/10
Inventor 田园王朝辉
Owner HANGZHOU HIKVISION DIGITAL TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More