Method, apparatus, device and system for implementing one-way heartbeat mechanism
A technology of heartbeat mechanism and implementation method, which is applied in transmission systems, digital transmission systems, electrical components, etc., and can solve problems such as limiting the concurrent processing performance of the system and limiting the efficiency of communication services
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 1 , figure 1 It is a flow chart of a method for implementing a one-way heartbeat mechanism in an embodiment of the present invention. The method uses the TCP communication protocol to communicate, and includes the following steps:
[0043] S101. When the first node in the storage cluster receives a ping message regularly sent by the second node according to a preset heartbeat frequency, record a heartbeat time stamp corresponding to the ping message.
[0044] In this embodiment, the first node and the second node may respectively correspond to different servers in the storage cluster, and the first node and the second node may also be different storage disks or hard disks under the same server in the storage cluster. In addition, the first node and the second node are only used for different descriptions, and there is no substantial difference. In this embodiment, it is described that the second node sends a ping message to the first node. In pr...
Embodiment 2
[0057] Please refer to figure 2 , figure 2 It is a flowchart of another one-way heartbeat mechanism implementation method in the embodiment of the present invention. The method uses the TCP communication protocol to communicate, and includes the following steps:
[0058] S201. When the first node in the storage cluster receives a ping message regularly sent by the second node according to a preset heartbeat frequency, record a heartbeat time stamp corresponding to the ping message.
[0059] Wherein, the storage cluster is a ceph cluster, and the first node is a master node determined by an election mechanism in the storage cluster.
[0060] When applied to a ceph (distributed file system) cluster, the first node may be a master node determined by an election mechanism in the ceph cluster.
[0061] The election mechanism is as follows: the election mechanism ensures that there is a master node in the partition group at any time. When the master node is down, the master nod...
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