# US 11,310,130 B2 · Heartbeat information sending method and apparatus, and heartbeat sending node

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,310,130 B2
- Document ID: US11310130B2
- Status: Granted
- Kind: B2
- Application number: 16/127,863
- Filed: 2018-09-11
- Published: 2019-01-24
- Granted: 2022-04-19
- Earliest claimed: 2016-03-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wei Wu; Siyi Zhou; Xihua Huang
- Web page: https://patentgrep.com/patent/US11310130B2

## CPC

- H04L 43/02: Capturing of monitoring data
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 45/026: {Details of "hello" or keep-alive messages}
- H04L 47/12: Avoiding congestion; Recovering from congestion
- H04L 61/2553: Binding renewal aspects, e.g. using keep-alive messages
- H04L 67/145: avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
- H04L 67/55: Push-based network services
- H04L 67/5683: Storage of data provided by user terminals, i.e. reverse caching
- H04W 76/25: Maintenance of established connections
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present disclosure provides a heartbeat information sending method and apparatus, a heartbeat information processing method and apparatus, and a node. The method includes: determining heartbeat receiving nodes in which at least two follower data blocks corresponding to at least two leader data blocks in a heartbeat sending node are located; and when the heartbeat receiving nodes are a same node, sending heartbeat information of the heartbeat sending node to the heartbeat receiving node, where the heartbeat information of the heartbeat sending node is heartbeat information obtained after respective heartbeat information of the at least two leader data blocks are combined.

## Claims

### Claim 1

A heartbeat information sending method, wherein the method is performed by a heartbeat sending node, and the method comprises:
determining at least one heartbeat receiving node in which at least two follower data blocks are located, wherein the at least two follower data blocks correspond to at least two leader data blocks that are located in the heartbeat sending node, and wherein each follower data block and the corresponding leader data block belong to a same data block group; and
when the at least one heartbeat receiving node is a single node in which the at least two follower data blocks are located, sending heartbeat information of the heartbeat sending node to the single heartbeat receiving node, wherein the heartbeat information of the heartbeat sending node is a combination of heartbeat information of each of the at least two leader data blocks and wherein the heartbeat information of the heartbeat sending node does not include heartbeat information of at least one follower data block that is located in the heartbeat sending node.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the heartbeat information of the heartbeat sending node carries data block group identifiers that identify data block groups in which the at least two leader data blocks are respectively located, and the data block group identifiers respectively indicate that the leader data blocks of the data block groups are located in the heartbeat sending node.

### Claim 3

A heartbeat information sending method, wherein the method is performed by a heartbeat sending node, and the method comprises:
determining a heartbeat receiving node in which one or more follower data blocks are located, wherein:
the one or more follower data blocks belong to a data block group and a first data block located in the heartbeat sending node is a current leader data block for the data block group,
a node identifier corresponding to the one or more follower data blocks incorrectly indicates that a second data block is the current leader data block for the data block group and that the second data block is located in a node other than the heartbeat sending node, and
each follower data block and the corresponding leader data block belong to a same data block group; and
sending heartbeat information of the heartbeat sending node to the heartbeat receiving node, wherein the heartbeat information of the heartbeat sending node carries a data block group identifier that identifies the data block group, and the data block group identifier indicates that the first data block is the current leader data block of the data block group.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the sending heartbeat information of the heartbeat sending node to the heartbeat receiving node comprises:
sending the heartbeat information of the heartbeat sending node to the heartbeat receiving node when the heartbeat receiving node is a node that does not respond to an election request for the election of the current leader data block as the leader of the data block group, wherein the election request is sent by the current leader data block in the heartbeat sending node.

### Claim 5

A heartbeat sending node, comprising at least one processor, one or more memories coupled to the at least one processor, a transmitter, and a communications bus, wherein the processor and the transmitter communicate with each other by using the communications bus;
the one or more memories storing programming instructions for execution by the at least one processor to determine at least one heartbeat receiving node in which at least two follower data blocks are located, wherein the at least two follower data blocks correspond to at least two leader data blocks that are located in the heartbeat sending node, and wherein each follower data block and the corresponding leader data block belong to a same data block group; and
the transmitter is configured to: when the at least one heartbeat receiving node is a single node in which the at least two follower data blocks are located, send heartbeat information of the heartbeat sending node to the single heartbeat receiving node, wherein the heartbeat information is a combination of heartbeat information of each of the at least two leader data blocks and wherein the heartbeat information of the heartbeat sending node does not include heartbeat information of at least one follower data block that is located in the heartbeat sending node.

### Claim 6 (depends on 5)

The heartbeat sending node according to claim 5, wherein the heartbeat information of the heartbeat sending node carries data block group identifiers that identify data block groups in which the at least two leader data blocks are respectively located, and the data block group identifiers respectively indicate that the leader data blocks of the data block groups are located in the heartbeat sending node.

### Claim 7

A heartbeat sending node, comprising at least one processor, one or more memories coupled to the at least one processor, a transmitter, and a communications bus, wherein the processor and the transmitter communicate with each other by using the communications bus;
the one or more memories storing programming instructions for execution by the at least one processor to determine a heartbeat receiving node in which a follower data block is located, wherein:
the follower data block belongs to a data block group and a first data block located in the heartbeat sending node is a current leader data block for the data block group,
a node identifier corresponding to the follower data block incorrectly indicates that a second data block is the current leader data block and that the second data block is located in a node other than the heartbeat sending node, and
each follower data block and the corresponding leader data block belong to a same data block group; and
the transmitter is configured to send heartbeat information of the heartbeat sending node to the heartbeat receiving node, wherein the heartbeat information of the heartbeat sending node carries a data block group identifier that identifies the data block group, and the data block group identifier indicates that the first data block is the current leader data block of the data block group.

### Claim 8 (depends on 7)

The heartbeat sending node according to claim 7, wherein the transmitter is configured to:
send the heartbeat information of the heartbeat sending node to the heartbeat receiving node when the heartbeat receiving node is a node that does not respond to an election request for the election of the current leader data block as the leader of the data block group, wherein the election request is sent by the current leader data block in the heartbeat sending node.
