Method for switching nodes in distributed master-slave system
A master node, distributed technology, applied in the distributed field, can solve problems such as affecting task execution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The embodiment of the present invention provides a method for switching nodes in a distributed master-slave system. The distributed master-slave system includes a coordination server and a plurality of nodes. The nodes include a master node and a slave node. The master node includes a working master node and a redundant node. master node. Wherein, the coordinating server may be a single server or a cluster server. Through the node switching method in the distributed master-slave system provided by this embodiment, when the master node in the active state (that is, the working master node) fails, the master node in the standby state (that is, the redundant master node) can Timely perception and conversion from the standby state to the active state, when the slave node assigned the task fails, the working master node in the active state can sense it in time and transfer the unfinished tasks on the slave node to other slave nodes, realizing In the distributed master-slave...
Embodiment 2
[0091] Corresponding to Embodiment 1 above, Embodiment 2 of the present invention provides a distributed master-slave system. For detailed descriptions of some technical features and technical effects, refer to Embodiment 1 above, which will not be repeated here. figure 2 The block diagram of the distributed master-slave system provided for Embodiment 2 of the present invention, such as figure 2 As shown, the distributed master-slave system includes: a coordinating server 201 and multiple nodes; the nodes include multiple master nodes 202 and multiple slave nodes 203, and the master nodes 202 include a working master node 202A and a redundant master node 202B.
[0092] Among them, multiple master nodes 2022 are used to send the first registration request to the coordinating server 201; the coordinating server 201 is used to elect a working master node 202A from the multiple master nodes 202 according to the multiple first registration requests, and create a working master nod...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


