Unlock instant, AI-driven research and patent intelligence for your innovation.

Center node election method, system, equipment and medium

A central node, node technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve problems such as difficult implementation and difficult paxos algorithm, and achieve the effect of enhancing reliability and reducing computational complexity

Pending Publication Date: 2022-04-19
E SURFING IOT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the paxos algorithm is difficult to understand and difficult to implement in engineering, and the raft algorithm lacks the election evaluation of the availability and reliability of the central node

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
  • Center node election method, system, equipment and medium
  • Center node election method, system, equipment and medium
  • Center node election method, system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0051] Before introducing the embodiments of the present invention, the following technical terms and the concept of the present invention are firstly introduced.

[0052] The Raft algorithm is a consensus algorithm and a widely used distributed protocol with strong consistency, decentralization and high availability in engineering.

[0053] The central node (Leader), also known as the leader node, is used to handle all client interactions, log replication, etc. There is only one central node for an election.

[0054] Follower nodes, also known as follower nodes, are comp...

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 central node election method, system and device and a medium, and the method comprises the steps: obtaining the total number of server nodes in a cluster through broadcasting the server nodes; first random numbers are generated for all the server nodes respectively, and the first random numbers are used for representing integer random numbers smaller than or equal to the sum of the total number of the server nodes and one; screening each server node according to the first random number, and determining candidate nodes; according to the embodiment of the invention, the server nodes are preliminarily screened through the random numbers, so that the operation complexity caused by a large number of nodes participating in the election process can be reduced; and evaluating the candidate nodes according to a fault evaluation formula, and determining a center node and following nodes. In addition, the reliability of the center node can be enhanced through fault assessment, and the method can be widely applied to the technical field of server clusters.

Description

technical field [0001] The invention relates to the technical field of server clusters, in particular to a central node election method, system, equipment and media. Background technique [0002] Server clustering refers to the collection of multiple servers to perform the same service, which appears to the client as if there is only one server. After the cluster service is installed on the server, the server can be added to the cluster, and multiple servers can be used for parallel computing to achieve high-efficiency and high-availability computing. Multiple computers can also be used as backup copies to improve the fault tolerance of the entire system service operation. The data and log synchronization between different nodes in the server cluster, the communication with the client, and task distribution all need to be consistent. At present, the raft algorithm and the paxos algorithm are widely used. However, the paxos algorithm is difficult to understand and difficult ...

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): G06F9/455
CPCG06F9/45558G06F2009/4557G06F2009/45591
Inventor 雷景皓龙裕朝王文凯
Owner E SURFING IOT CO LTD