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

Network access method of newly added node in distributed coordination system, device and system

A distributed coordination and node technology, applied in the computer field, can solve problems such as low efficiency and cumbersome configuration of new nodes

Active Publication Date: 2016-06-08
HUAWEI TECH CO LTD
View PDF9 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] Embodiments of the present invention provide a network access method, device and system for newly added nodes in a distributed coordination system, so as to solve the problems of cumbersome configuration and low efficiency in the prior art when newly added nodes access the 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
  • Network access method of newly added node in distributed coordination system, device and system
  • Network access method of newly added node in distributed coordination system, device and system
  • Network access method of newly added node in distributed coordination system, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0062] figure 1 Flowchart of the network access method for newly added nodes in the distributed coordination system provided by the embodiment of the present invention Figure 1 . The method can include:

[0063] Step 101 , the master node of the distributed coordination system receives a network access request message sent by a new network acc...

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 network access method of a newly added node in a distributed coordination system, a device and a system. The network access method of the newly added node in the distributed coordination system provided by the invention comprises that a main node receives a network access request message sent by a new network access node, wherein the network access request message comprises the IP address of the new network access node; a first node identity is distributed to the new network access node according to the network access request message; a first corresponding relation is added in the configuration file of the main node, wherein the first corresponding relation comprises the first node identity and the IP address of the new network access node; the main node adds the first corresponding relation in a node information set so as to obtain an updated node information set; the main node sends the first node identity and the updated node information set to the new network access node, therefore, the new network access node can generates the configuration file of the new network access node according to the first node identity and the updated node information set; and the new network access node can join the distributed coordination system. The embodiment of the invention is relatively high in efficiency and simple and convenient in operation.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a network access method, device and system for newly added nodes in a distributed coordination system. Background technique [0002] ZooKeeper can provide open source distributed configuration services, synchronization services, and naming registration for large-scale distributed computing, and provides users with easy-to-use interfaces and systems with high performance and stable functions. ZooKeeper can be used for data publishing and subscription (configuration center), cluster node election (Leaderelection), load balancing, naming service (NamingService), distributed notification / coordination, distributed locks, distributed queues, etc. [0003] Suppose there are three ZooKeeper servers in the ZooKeeper network, which are server 1, server 2 and server 3. When adding a new ZooKeeper server 4, the current process is as follows: [0004] 1. Set the node ID of...

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/08H04L29/12
Inventor 鲍利亚杨志龙曹勤洋冯伟权
Owner HUAWEI TECH CO LTD
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