Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for managing node devices in distributed system

A distributed system and node device technology, applied in the computer field, can solve problems such as cluster chaos, abnormal status, and difficulty in providing normal services, and achieve the effects of solving dual-master problems, avoiding adverse effects, and improving reliability and availability

Active Publication Date: 2017-12-29
ALIBABA GRP HLDG LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if two Masters manage the same node, the state of this node will be abnormal. It is possible that the new Master thinks the node is normal, but the old Master thinks the node is faulty. Eventually, the cluster will be chaotic and it will be difficult to provide normal services.
[0006] The dual master problem has always been a difficulty in distributed systems, however, there is no good way to solve the dual master problem

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
  • Method and device for managing node devices in distributed system
  • Method and device for managing node devices in distributed system
  • Method and device for managing node devices in distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application will be described in further detail below in conjunction with the accompanying drawings.

[0028] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0029] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0030] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 method and device for managing node devices in a distributed system. compared with the prior art, the control device records timestamp information of the control device in the distributed system serving as a master control device, and a heartbeat packet sent by the control device to the corresponding node device comprises the timestamp information; the node device receives the heartbeat packet sent by the corresponding control device in the distributed system and processes the heartbeat packet by comparing the timestamp information in the heartbeat packet with the current timestamp information recorded by the node device; and the timestamp information is added to the heartbeat packet sent by the control device serving as the master control device to the node device, so that the node device refuses the heartbeat packet that is sent after master-salve handover, therefore the double-master problem is solved simply, and the reliability and availability of the system are improved.

Description

technical field [0001] The present application relates to the computer field, and in particular to a technology for managing node devices in a distributed system. Background technique [0002] Generally, a distributed system will have a master control device (Master) in the control center. In order to ensure the high availability of the Master, a backup control device (Slave) will be designed as the backup library of the Master. If the Master is abnormal, it will switch to the Slave. At this time, the Slave It will become the new master, but if the old master is running normally again, there will be two masters, that is, the dual-master problem. [0003] The possible consequences of the dual master problem are: [0004] 1) Double write. Because of the emergence of two Masters, both Masters may write data to the cluster nodes, which eventually leads to inconsistent data on the nodes. [0005] 2) Node dual management. Both Masters will manage the nodes, and there is no pro...

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/24H04L12/26H04L29/08
CPCH04L41/042H04L43/106H04L67/10
Inventor 范孝剑张广舟林晓斌
Owner ALIBABA GRP HLDG LTD