Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing heartbeat mechanism

A technology of heartbeat mechanism and implementation method, which is applied in the branch office to provide special service devices, use the return channel for error prevention/detection, and data exchange details, etc., and can solve the problems of poor reliability, long TCP messages, and limited application range of the heartbeat mechanism, etc. problem, to achieve the effect of strong independence, reliability and versatility

Active Publication Date: 2010-05-26
CERTUS NETWORK TECHNANJING
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the heartbeat mechanism has limited application range, poor reliability and low efficiency
In addition, the heartbeat mechanism implemented by using TCP packets does not meet the requirement that the heartbeat packet information should be relatively short because the TCP packets sent are long.

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 for realizing heartbeat mechanism
  • Method for realizing heartbeat mechanism
  • Method for realizing heartbeat mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] The implementation method of the heartbeat mechanism in this embodiment is applied in a UTM (Unified Threat Management, Unified Threat Management) system, such as Figure 4 As shown, including CP (Control Processor), which is a host used to configure and control NP (Network Processor) and AP (Application Processor); NP is a host that acts as a firewall, traffic management, etc.; Intrusion detection and protection) and anti-virus and other functions of the host. Through the method of the present invention, the CP side is allowed to understand whether multiple network entities such as the NP side and the AP side are operating normally, and report the survival status of different network entities to the NP, so as to adopt corresponding flow control means to maintain the communication between each AP. load balancing. Such as Figure 5 As shown, the method includes the steps of:

[0035] D1. Initialize the heartbeat program on the CP, including setting the socket, the com...

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 invention relates to a method for realizing a heartbeat mechanism. The method comprises the following steps: sending a heartbeat request data packet to all clients by a server; after setting time, receiving the data packet in a non-blocking way by the server, if the server does not receive the data packet, determining that all the clients work abnormally, and returning to an initial step; if the server receives the data packet, analyzing the received data packet; and if the data packet is a heartbeat response data packet, determining that the clients sending the heartbeat response data packet work normally, and that the clients not sending any data packet work abnormally, and returning to the initial step, and otherwise, determining that the clients sending the heartbeat response data packet and the clients not sending any data packet work abnormally and returning to the initial step. The method has the advantages of strong independence and reliability, no limitation of bandwidth, simpleness, easy operation and strong universality.

Description

technical field [0001] The invention relates to the technical field of network testing or monitoring, in particular to a method for realizing a heartbeat mechanism. Background technique [0002] The heartbeat mechanism is generally used to determine whether the other party (network entities or applications such as devices and processes) is running normally. [0003] The server cannot effectively determine whether the client is online, that is to say, the server cannot distinguish whether the client is idle for a long time or has been disconnected, so a heartbeat mechanism is needed to realize the client sending simple information to the server at regular intervals to tell the server that the client is still online. The heartbeat mechanism usually uses the method of sending simple communication packets at regular intervals. If no response is received from the other party within the specified time period, it is judged that the other party has crashed. [0004] A heartbeat me...

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): H04L29/06H04L12/56H04L12/18H04L1/16
Inventor 王凯薛一波李军
Owner CERTUS NETWORK TECHNANJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products