Method and device for arbitrating master nodes in a distributed system
A distributed system and master node technology, applied in the network field, can solve the problem of low arbitration efficiency of the master node of the distributed system, and achieve the effect of improving the arbitration efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] An embodiment of the present invention provides a method for arbitrating a master node in a distributed system, such as figure 1 As shown, the method includes:
[0021] S101. Arbitrate among the pre-divided nodes of each group to obtain master nodes in multiple groups;
[0022] S102. Arbitrate among master nodes in multiple groups to obtain a system master node of the distributed system.
[0023] In the embodiment of the present invention, the master node in the group means the master node in the group, and the system master node means the master node of the distributed system.
[0024] In the embodiment of the present invention, the distributed systems are grouped, and firstly arbitration is performed in each group, and the master nodes of each group are arbitrated, and then the master nodes of each group are arbitrated, and the master nodes of the entire distributed system are arbitrated, effectively The arbitration efficiency of the master node of the distributed s...
Embodiment 2
[0092] An embodiment of the present invention provides a device for arbitrating a master node in a distributed system, such as Figure 6 As shown, the device includes a memory 20 and a processor 22; the memory 20 stores a computer program of the arbitration master node of the distributed system, and the processor 22 executes the computer program to implement any one of the following in the first embodiment. steps of the method described in the item.
[0093] In detail, to achieve the following steps:
[0094] Arbitrate among the pre-divided nodes of each group to obtain the master nodes of multiple groups;
[0095] Arbitration is performed among the master nodes in multiple groups to obtain the system master node of the distributed system.
[0096] In the embodiment of the present invention, optionally, before performing arbitration among the pre-divided nodes of each group to obtain the master nodes in the group of multiple groups, it includes:
[0097] The distributed sys...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com