The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Sep. 21, 2021

Filed:

Jun. 29, 2018
Applicant:

Huawei Technologies Co., Ltd., Guangdong, CN;

Inventors:

Yanan Zhi, Shenzhen, CN;

Wei Cheng, Shenzhen, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
H04L 12/26 (2006.01); H04L 29/08 (2006.01); H04L 12/911 (2013.01);
U.S. Cl.
CPC ...
H04L 67/145 (2013.01); H04L 43/10 (2013.01); H04L 67/2842 (2013.01); H04L 47/822 (2013.01); H04L 67/16 (2013.01);
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.


Find Patent Forward Citations

Loading…