Method for updating node equipment in distributed system, node equipment and distributed system

A distributed system and node device technology, applied in the field of communication, to achieve the effects of online modification, reliability and availability

Active Publication Date: 2018-09-28
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Service interruption during the reconfiguration process of the prior art distributed collaborative system is inevitable

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 for updating node equipment in distributed system, node equipment and distributed system
  • Method for updating node equipment in distributed system, node equipment and distributed system
  • Method for updating node equipment in distributed system, node equipment and distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 A flowchart showing a method for updating node devices in a distributed system according to an embodiment of the present invention. like figure 1 As shown, the distributed system includes at least three node devices, one of which is the master node device, and the rest are slave node devices. Currently, each node device in the distributed system uses the first configuration information to work in the distributed system. Wherein, the first configuration information includes the current information of each node device in the distributed system, and for each node device, the method mainly includes:

[0049] Step S110, the node device receives a configuration change request sent by any node device, the configuration change request includes second configuration information, and the second configuration information includes the information of each node device after the node device is updated in the distributed system.

[0050] When the distributed system (hereina...

Embodiment 2

[0073] figure 2 A flowchart showing a method for updating node devices in a distributed system according to another embodiment of the present invention. figure 2 The method shown with figure 1 The main difference of the shown methods is that in this embodiment, at least one node device is newly added to the distributed system. like figure 2 As shown, the method may also include the following steps:

[0074] Step S210, start the newly added node device, and connect to the active node device.

[0075] Step S220, copying the data on the current node devices in the distributed system to the newly added node devices.

[0076] At this time, the active node device executes the current configuration information, that is, the first configuration information. The node device information included in the first configuration information is current information of each node device in the distributed system. In order to maintain system data consistency and smooth transfer of system ...

Embodiment 3

[0094] image 3 A flow chart showing a method for updating node devices in a distributed system according to yet another embodiment of the present invention. like image 3 As shown, this embodiment takes a specific system as an example for description. The system includes a master node device, slave node devices 1 and 2, and the slave node device 3 is a newly added node device. This embodiment includes:

[0095] Step S301 , the slave node device 3 applies for joining, and the active node device confirms the joining of the slave node device 3 .

[0096] Step S302 , the master node device copies system data to the slave node device 3 .

[0097] Step S303, the application program installed on the active node device starts to generate the second configuration information.

[0098] Step S304. During the process of generating the second configuration information, the active node device receives a data update request from the client.

[0099] Step S305 , the master node device 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 present invention relates to a method for updating a node device in a distributed system, a node device and a distributed system. The method comprises: a configuration modification request sent by any one node device is received; on the basis of the configuration modification request, second configuration information is acquired and a configuration modification request confirmation response is sent to a master node device; a configuration modification request confirmation result is acquired from the master node device; if the configuration modification request confirmation result is affirmative, the second confirmation information is saved, and the node device receives a configuration execution request sent from any one node device; a configuration execution request confirmation response is sent to a master node device; a configuration execution request confirmation result is acquired from the master node device; if the configuration execution request confirmation result is affirmative, the second configuration information is used in the distributed system. The present embodiment can achieve online modification to configuration information, ensuring data consistency.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method for updating node equipment of a distributed system, node equipment and a distributed system. Background technique [0002] In recent years, cloud computing has gradually become the mainstream in the IT field. It mainly provides infrastructure and platforms in the form of services, which can better realize multi-tenant resource sharing and user-oriented plug-and-play, allowing users to save infrastructure. Repeated investment in platforms and other aspects, rapid launch of new services, ICT (Information Communication Technology, information and communication technology) systems are also gradually entering this field. [0003] Efficient and reliable collaborative systems play an irreplaceable role in cloud computing. Distributed service coordination systems such as distributed service framework (zookeeper) have been widely used in the IT field, and distributed coo...

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): H04L12/24H04L29/08
CPCH04L67/34H04L41/082
Inventor 王进兢
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products