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

Token transmission method and device

A token and token ring technology, applied in the field of communications, can solve problems such as cluster split-brain and affect cluster stability, and achieve the effect of improving stability and reducing the probability of split-brain occurrence.

Active Publication Date: 2021-12-21
MACROSAN TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, if all Token Rings have port or link failures, a cluster split-brain can still occur, affecting cluster stability

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
  • Token transmission method and device
  • Token transmission method and device
  • Token transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application.

[0046] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any and all possible combinations of one or more of the a...

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 provides a token passing method and device which are applied to nodes included in a distributed cluster. The distributed cluster comprises a plurality of nodes and at least two token rings, the token transmission directions of the token rings are the same, and each node comprises ports belonging to different token rings. Each node is currently selected to send a token through a first port included in the node. According to the method, when a node does not receive a token within a preset time period, a second port used for sending the token can be re-selected from ports which belong to different token rings and are included in the node, and then a first port is switched to the second port, so that the token is sent through the second port. It can be seen that in the application, each node can sense the token transmission fault and automatically switch among the ports belonging to different token rings, so that the token can be transmitted across the token rings, the probability of occurrence of split-brain is reduced, and the stability of a distributed cluster is improved.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a token transfer method and device. Background technique [0002] A distributed cluster usually includes multiple nodes, and each node maintains a heartbeat by passing tokens to sense the survival status of other nodes in the cluster. When the network fault token cannot be passed, each node cannot perceive the existence of other nodes, and thinks that other nodes are faulty, so that the nodes compete for resources and the cluster can no longer coordinate as a whole. crack. [0003] In order to reduce the probability of split-brain in the cluster, multiple token rings (logical channels for passing tokens) are usually deployed in the cluster. Each node includes ports belonging to different token rings. The target node (usually the node with the smallest node ID in the cluster) is responsible for selecting the token ring currently used to transfer the token, ...

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/1034
Inventor 林守强
Owner MACROSAN TECH