Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for sending and receiving heartbeat message, computer readable medium and electronic device

A heartbeat message, computer technology, applied in the fields of receiving heartbeat messages, computer-readable media and electronic devices, receiving connection requests, and sending heartbeat messages, can solve the problem that the scheme of sending and receiving heartbeat messages is not flexible enough, and the node data in a distributed cluster system is not enough. Inconsistency and other problems, to achieve the effect of improving flexibility and increasing the amount of information

Inactive Publication Date: 2019-02-26
ALIBABA GRP HLDG LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] When two control nodes think that the state of a node in the distributed cluster system or the business application on it is the same, since the node is managed by the two control nodes, both control nodes will manage the node, and both may send The node writes data, which may eventually lead to inconsistency of node data in the distributed cluster system
[0009] It can be seen that the scheme of sending and receiving heartbeat messages in the existing distributed cluster system is not flexible enough to avoid the problem of simultaneous operation of two control nodes in the same distributed cluster system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for sending and receiving heartbeat message, computer readable medium and electronic device
  • Method and device for sending and receiving heartbeat message, computer readable medium and electronic device
  • Method and device for sending and receiving heartbeat message, computer readable medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0093] The first embodiment of the present application provides a method for sending a heartbeat message, and its flow chart is as follows figure 1 As shown, in order to manage each node in the distributed cluster network and the business applications on each node, the heartbeat control node can be set in the cluster network to send heartbeat messages to other nodes running business applications to inquire about their status at fixed intervals.

[0094] In this embodiment, a heartbeat control node responsible for sen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for sending a heartbeat message. The method comprises the steps of: obtaining feature time information of a node; adding the feature time information to a heartbeat message to be sent; and sending the heartbeat message to a target node. The feature time information of the node is added into the heartbeat message, and the heartbeat message is sent to the target node so as to increase the information amount of the heartbeat message and have an effect on improvement of flexibility of sending the heartbeat message. The present invention further provides a method and a device for receiving a heartbeat message, and a method and a device to receive a connection establishing request. The present invention further provides a computer readable medium and an electronic device.

Description

technical field [0001] The present application relates to a method for sending messages, in particular to a method and device for sending heartbeat messages, a method and device for receiving heartbeat messages, and a method and device for receiving connection requests. The present application also relates to a computer readable medium and an electronic device. Background technique [0002] A control node is usually set in a distributed cluster system, and a backup node of the control node is also set in order to ensure high availability of the control node. When the control node fails to provide services due to failure, the service is switched to the backup node, and the backup node provides the services provided by the original control node to each node in the cluster. The above-mentioned manner is generally called a master / slave (Master / Slave) manner, wherein the node configured as the control node is the master (Master), and the node configured as the backup node is the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/26H04L29/08
CPCH04L41/0631H04L43/0805H04L43/10H04L67/1097H04L67/146
Inventor 范孝剑张广舟林晓斌
Owner ALIBABA GRP HLDG LTD