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

Node determination method and device of distributed system and storage medium

A technology for a distributed system and a determination method is applied in the field of a node determination method and device of a distributed system and a storage medium, and can solve the problems of low determination fault tolerance and the like

Active Publication Date: 2021-02-12
ZHEJIANG DAHUA TECH CO LTD
View PDF7 Cites 2 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 of distributed system and storage medium
  • Node determination method and device of distributed system and storage medium
  • Node determination method and device of distributed system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a 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 making creative efforts shall fall within the protection scope of the present invention.

[0021] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable 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 and device of a distributed system and a storage medium. The method comprises the following steps: acquiring first session information and first locking information of a first node and second session information and second locking information of a second node in the distributed system; judging whether a session created by the first node and the second node is successfully created or not according to the first session information and the second session information, and judging whether the first node and the second node are successfully preempted and locked or not according to the first locking information and the second locking information, so as to determine a primary node and a secondary node between the first node and the second node, wherein the primary node is used for processing the transaction request received by the secondary node. According to the invention, the technical problem that the determination fault-tolerant capability of the nodes of the distributed system is relatively low is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and device for determining a node in a distributed system and a storage medium. Background technique [0002] In a distributed system, in order to achieve consensus consistency, it is necessary to involve the leader election of the cluster. The classic consensus consensus algorithm Paxos plays a very important role in the cluster leader election, and its derivative algorithm occupies a large market in the cluster leader election, making outstanding contributions to the field of big data distributed systems; [0003] However, the above method of cluster leader election is only for multi-node cluster scenarios, and in the case of two-node scenarios, the defects of the above method of cluster leader election are exposed. For example, when network fluctuations occur, the The election is abnormal, which in turn leads to the phenomenon of multiple masters, that is, the phenom...

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