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

Cluster election method and system

A cluster and node technology, applied in the field of the Internet of Things, can solve problems such as excessive equipment resources, unsuitable use, and difficulty in understanding, and achieve the effect of simple logic and less resource occupation

Inactive Publication Date: 2020-05-15
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Existing cluster election algorithms, such as Raft, PBFT, etc., the election algorithm logic is complex, difficult to understand, difficult to implement and maintain, and occupy a lot of device resources, which is not suitable for resource-sensitive embedded devices

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
  • Cluster election method and system
  • Cluster election method and system
  • Cluster election method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to enable those skilled in the art to better understand the solution of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of this application.

[0028] It should be noted that the terms "first" and "second" in the description and claims of the application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances for the purposes o...

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 cluster election method. The method comprises the steps that a first node sends first election main node information, and the first election main node information comprises first identification information of the first node; the first node receives second competitive main node information sent by a second node, wherein the second competitive main node information comprises second identification information of the second node; when the second identification information is superior to the first identification information according to a preset rule, the first node stopssending the first competitive main node information; and when the first identification information is superior to the second identification information according to the preset rule, the first node becomes a main node. Compared with the prior art, the method has the advantages that the lightweight election algorithm is adopted, the actual use requirement can be met, logic is simple, resource occupation is small, and the method is more suitable for being used by embedded equipment.

Description

Technical field [0001] This application relates to the field of Internet of Things, and specifically to a cluster election method. Background technique [0002] Existing cluster election algorithms, such as Raft, PBFT, etc., have complex logic, difficult to understand, difficult to implement and maintain, and occupy more equipment resources, so they are not suitable for resource-sensitive embedded devices. Summary of the invention [0003] The main purpose of this application is to provide a cluster election method, including: [0004] The first node sends first candidate master node information, where the first candidate master node information includes first identification information of the first node; [0005] Receiving, by the first node, second candidate master node information sent by a second node, where the second candidate master node information includes second identification information of the second node; [0006] When the second identification information is superior to ...

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): H04L12/24H04L29/08
CPCH04L41/30H04L67/1051
Inventor 张建鹏
Owner HANGZHOU TUYA INFORMATION TECH CO LTD