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

Method and device for arbitrating master nodes in a distributed system

A distributed system and master node technology, applied in the network field, can solve the problem of low arbitration efficiency of the master node of the distributed system, and achieve the effect of improving the arbitration efficiency

Active Publication Date: 2021-04-06
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the above-mentioned defects, the technical problem to be solved by the present invention is to provide a method and device for arbitrating master nodes in a distributed system to at least solve the problem of low arbitration efficiency of master nodes in a distributed system in the prior art

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 arbitrating master nodes in a distributed system
  • Method and device for arbitrating master nodes in a distributed system
  • Method and device for arbitrating master nodes in a distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] An embodiment of the present invention provides a method for arbitrating a master node in a distributed system, such as figure 1 As shown, the method includes:

[0021] S101. Arbitrate among the pre-divided nodes of each group to obtain master nodes in multiple groups;

[0022] S102. Arbitrate among master nodes in multiple groups to obtain a system master node of the distributed system.

[0023] In the embodiment of the present invention, the master node in the group means the master node in the group, and the system master node means the master node of the distributed system.

[0024] In the embodiment of the present invention, the distributed systems are grouped, and firstly arbitration is performed in each group, and the master nodes of each group are arbitrated, and then the master nodes of each group are arbitrated, and the master nodes of the entire distributed system are arbitrated, effectively The arbitration efficiency of the master node of the distributed s...

Embodiment 2

[0092] An embodiment of the present invention provides a device for arbitrating a master node in a distributed system, such as Figure 6 As shown, the device includes a memory 20 and a processor 22; the memory 20 stores a computer program of the arbitration master node of the distributed system, and the processor 22 executes the computer program to implement any one of the following in the first embodiment. steps of the method described in the item.

[0093] In detail, to achieve the following steps:

[0094] Arbitrate among the pre-divided nodes of each group to obtain the master nodes of multiple groups;

[0095] Arbitration is performed among the master nodes in multiple groups to obtain the system master node of the distributed system.

[0096] In the embodiment of the present invention, optionally, before performing arbitration among the pre-divided nodes of each group to obtain the master nodes in the group of multiple groups, it includes:

[0097] The distributed sys...

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 discloses a method and equipment for arbitrating master nodes in a distributed system. The method includes: arbitrating among pre-divided nodes of each group to obtain master nodes in multiple groups; Arbitrate among the master nodes in the group to obtain the system master node of the distributed system. The invention effectively improves the arbitration efficiency of the master node of the distributed system.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and device for arbitrating a master node in a distributed system. Background technique [0002] With the development and popularization of Internet, cloud computing, and big data technologies, distributed systems are an important technical means to solve the sharp increase of application system data. When the business system is deployed to multiple data centers, it is necessary to arbitrate the master node in the distributed system as the manager for unified coordination to ensure data consistency. [0003] In a distributed system with N nodes, if the master node is arbitrated through the prior art, each node needs to initiate N-1 arbitration master node requests to other nodes to determine whether the arbitration is passed. During the tenure of the master node, heartbeat information needs to be sent to N-1 nodes; when the master node is abnormal, each node needs to in...

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/24H04L12/26H04L29/08
CPCH04L41/0668H04L41/30H04L43/0817H04L43/10H04L67/1051
Inventor 靳彦昭姜威
Owner BEIJING TOPSEC NETWORK SECURITY 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