Method, apparatus, and system for implementing heartbeat mechanism
US11128718B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 29, 2018 |
| Grant date | Sep 21, 2021 |
| Priority date | — |
| Expiry date | Apr 16, 2039 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04L67/51
- WIPO fieldDigital communication
- WIPO sectorElectrical engineering
Abstract
The method, an apparatus and a system for implementing a heartbeat mechanism, so as to reduce a quantity of heartbeat responses sent by a node, and reduce unnecessary resource consumption in a distributed database system. The solution includes: obtaining, a heartbeat request sent by a first node to a second node; recording, a first moment, wherein the first moment is a moment that the heartbeat request is received; querying, according to the identity of the second node from cached information, a second moment, wherein the second moment is a moment that the switching node most recently, where the cached information stores a correspondence between a moment at which the switching node receives a message and an identity of the node; and if an absolute value of a difference between the first moment and the second moment is less than a threshold, sending a heartbeat response to the first node.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.