Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR ELECTING MASTER NODE IN CLUSTER, AND MEDIUM
Document Type and Number:
WIPO Patent Application WO/2022/237554
Kind Code:
A1
Abstract:
Disclosed in the present application are a method for electing a master node in a cluster. The method comprises the following steps: on the basis of a hyper-converged cloud platform, creating a storage cluster, and configuring a state detection program and a full response operation function; performing active node screening on the storage cluster by means of the state detection program and the full response operation function, so as to obtain an active node set and a candidate node set; setting a first data situation, detecting a second data situation of the active node set, and executing a determination step on the basis of the first data situation and the second data situation, so as to obtain a determination result; when the determination result is a first result, setting an arrangement sequence and a first selection position, and electing a first master node according to the arrangement sequence, the first selection position and the active node set; and when the determination result is a second result, configuring a consistency election algorithm and a distributed election algorithm, and electing a second master node on the basis of the candidate node set, the consistency election algorithm and the distributed election algorithm. By means of the present application, an excessively long election time of a master node and unsuccessful election of the master node are avoided, thereby improving the deployment efficiency of a cluster.

Inventors:
KANG KAI (CN)
Application Number:
PCT/CN2022/089801
Publication Date:
November 17, 2022
Filing Date:
April 28, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SHANDONG YINGXIN COMPUTER TECH CO LTD (CN)
International Classes:
H04L67/1012; H04L67/1095; H04L67/1097
Foreign References:
CN113242296A2021-08-10
CN107203617A2017-09-26
CN108616566A2018-10-02
Other References:
ANONYMOUS: "Elasticsearch Cluster (concept cognition)", 20 August 2021 (2021-08-20), XP093005000, Retrieved from the Internet [retrieved on 20221205]
ANONYMOUS: "Elasticsearch cluster principle", 30 November 2020 (2020-11-30), XP093005004, Retrieved from the Internet [retrieved on 20221205]
ANONYMOUS: "Elasticsearch Important Knowledge Points | Detailed Explanation of Election Process", 25 September 2020 (2020-09-25), XP093005006, Retrieved from the Internet [retrieved on 20221205]
Attorney, Agent or Firm:
SUNSHINE INTELLECTUAL PROPERTY INTERNATIONAL CO., LTD. (CN)
Download PDF: