Node Determination Method and Device and Storage Medium of Distributed System

A technology of a distributed system and a determination method, which is applied in the field of node determination methods and devices and storage media of a distributed system, can solve problems such as low determination fault tolerance, achieve low determination fault tolerance, avoid determination errors, and improve certainty The effect of fault tolerance

Active Publication Date: 2022-06-24
ZHEJIANG DAHUA TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for determining a node in a distributed system, as well as a storage medium, so as to at least solve the technical problem of low fault tolerance for determining a node in a distributed system

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
  • Node Determination Method and Device and Storage Medium of Distributed System
  • Node Determination Method and Device and Storage Medium of Distributed System
  • Node Determination Method and Device and Storage Medium of Distributed System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part 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 shall fall within the protection scope of the present invention.

[0021] It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate ...

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 node determination method, device and storage medium of a distributed system. Among them, the method includes: obtaining the first session information and the first locking information of the first node in the distributed system, and the second session information and the second locking information of the second node; through the first session information and the second The session information judges whether the session created by the first node and the second node is successfully created, and judges whether the first node and the second node preempt and lock successfully through the first locking information and the second locking information, so that the first node A primary node and a secondary node are determined between the secondary node and the primary node, wherein the primary node is used to process transaction requests received by the secondary node. The invention solves the technical problem that the nodes of the distributed system have relatively low determination fault tolerance.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a method and device for determining a node of a distributed system and a storage medium. Background technique [0002] In a distributed system, in order to achieve consensus consistency, the leader election of the cluster needs to be involved. The classic consensus consensus algorithm Paxos plays an important role in cluster leader election. It and its derived algorithms occupy a large market for cluster leader election, making outstanding contributions to the field of big data distributed systems; [0003] However, the above cluster leader election method is only for multi-node cluster scenarios, and in the two-node scenario, the shortcomings of the above cluster leader election method's low fault tolerance are fully exposed. For example, when network fluctuations occur, it will This leads to an abnormal election, which in turn leads to the phenomenon of multiple masters, ...

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): H04L67/1097H04L67/145
CPCH04L67/025H04L67/1097H04L67/145
Inventor 杨福星朱林浩
Owner ZHEJIANG DAHUA 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