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

Management node election method and device, storage medium and electronic equipment

A technology for managing nodes and nodes, which is applied in the distributed field, can solve problems affecting the availability of distributed systems, and achieve the effects of reducing election time, avoiding election timeout, and improving election efficiency

Pending Publication Date: 2022-05-10
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a management node election method and device, storage media, and electronic equipment, with the purpose of solving the problem that the existing management node election schemes cause multiple overtime elections due to the division of votes, thereby affecting the availability of distributed systems.

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
  • Management node election method and device, storage medium and electronic equipment
  • Management node election method and device, storage medium and electronic equipment
  • Management node election method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0059] As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.

[0060] It should be noted that concepts such as "...

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 management node election method and device, a storage medium and electronic equipment, and the method comprises the steps: directly changing an alternative node into a new management node under the condition that the current timing time of a timer is greater than a preset time threshold value, and adding a historical abnormal log calculation value into the management node election information, based on the historical abnormal log calculation value in the management node election information, the alternative node with better stability is selected as the new management node, so that election timeout caused by a plurality of alternative nodes are avoided, the alternative node with poorer stability is eliminated, the robustness of the distributed system is enhanced, the election time consumption is reduced, and the election efficiency is improved. And thus, the election efficiency of the management node is improved.

Description

technical field [0001] The present application relates to the field of distributed technologies, and in particular to a management node election method and device, a storage medium and electronic equipment. Background technique [0002] With the development of distributed technology, the application of distributed systems is becoming more and more extensive. In order to ensure its reliability, distributed systems generally provide services with multiple nodes, and the failure of some nodes will not affect the availability of the system. For distributed systems, while ensuring availability, data reliability (no loss) is also the core problem to be solved. The current common solution is to use multi-copy storage. This will introduce a new problem: the problem of data consistency among multiple copies. [0003] At present, the problem of data consistency between multiple copies in a distributed system is solved through a consensus algorithm, and the Raft algorithm was created...

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): H04L41/0668H04L41/069H04L41/0813H04L41/0823H04L67/1097
CPCH04L41/0668H04L41/069H04L41/0813H04L41/0823H04L67/1097
Inventor 欧阳瑞
Owner AGRICULTURAL BANK OF CHINA
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