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

Node equipment state detection method and node equipment state detection device

A node device and state detection technology, which is applied in the field of communication, can solve the problems of network bandwidth resource consumption and high processing pressure of master node devices, and achieve the effects of improving efficiency, reducing the number, and relieving processing pressure

Active Publication Date: 2016-08-24
HANGZHOU DT DREAM TECH
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the search server cluster of ElasticSearch, fault detection is one of the important basic functions in the process of node discovery and state maintenance and update. The current error detection mechanism is divided between the master node device and each slave node device. Send ping messages to each other for error detection to find faulty nodes in the cluster. Since the master node device needs to send ping messages to each slave node device separately, the processing pressure of the master node device is high, and in the case of a large number of nodes In the cluster, it will cause excessive consumption of bandwidth resources of the entire network

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
  • Node equipment state detection method and node equipment state detection device
  • Node equipment state detection method and node equipment state detection device
  • Node equipment state detection method and node equipment state detection device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In the current error detection mechanism of the device cluster, it is usually implemented by sending detection messages between the master node device and each slave node device.

[0055] For example, taking the search server cluster of ElasticSearch as an example, the master node device and each slave node device can send ping messages to each other at a certain interval (the default value is 1 second) for error detection to discover the cluster Error node in . If the sent ping message does not get a response within the timeout period (the default value is 30 seconds), you can resend the ping message. When the number of times the ping message is resent (the default value is 3 times) reaches the preset number , it can be determined that the detection of the peer node fails, and the node is an error node.

[0056] It can be seen that in the existing detection mechanism, the requirements on the master node device are relatively high, and the master node device needs to s...

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 provides a node equipment state detection method and a node equipment state detection device. The method and the device are applied to an equipment cluster which is pre-divided into one or more circular test groups with the same master node. The method comprises the following steps: a master node sends a test message carrying an identity list of all nodes to first slave node equipment; if the first slave node responds to the message normally, the first slave node is self-marked as 'test passed' in the identity list and forwards the message to a second slave node; if the second slave node responds to the message normally, the second slave node is self-marked as 'test passed' in the identity list and continues to forward the message until the message is forwarded to the master node; if the second slave node cannot respond to the message normally, the first slave node marks the second slave node as 'test failed' in the identity list and reports the message to the master node; and the master node determines the state of each node in a test group based on the received test message. Through the method and the device, the processing pressure on the master node equipment can be alleviated.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for detecting the state of node equipment. Background technique [0002] ElasticSearch is a Lucene-based search server cluster. It provides a full-text search engine with distributed multi-user capabilities and is one of the most popular enterprise search engines. [0003] The node devices in ElasticSearch's search server cluster include an elected master node device and several slave node devices. These nodes present a star topology, and each node can communicate with other nodes, so the cluster's Each node includes information about all other nodes. [0004] In the search server cluster of ElasticSearch, fault detection is one of the important basic functions in the process of node discovery and state maintenance and update. The current error detection mechanism is divided between the master node device and each slave node device. Send ping...

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): H04L12/26
Inventor 孙策
Owner HANGZHOU DT DREAM TECH
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