Heartbeat detection method and network equipment

A detection device and heartbeat detection technology, which is applied in the field of network communication, can solve problems such as misjudgment, achieve the effects of improving accuracy, improving endurance, and overcoming transmission delay or loss

Inactive Publication Date: 2011-09-14
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF5 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a heartbeat detection method and network equipment, which are used to solve the problem of misjudgment in the prior art when judging the working state of the detected device according to the heartbeat detection mechanism, and improve the accuracy of judging the working state of the detected device

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
  • Heartbeat detection method and network equipment
  • Heartbeat detection method and network equipment
  • Heartbeat detection method and network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0025] figure 1 It is a flow chart of the heartbeat detection method provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the method of the present embodiment includes:

[0026] Step 101, when the detection device sends a heartbeat request message to the detected device, judge whether there is a pane storing the respons...

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 provides a heartbeat detection method and network equipment. The method comprises that: when transmitting a heartbeat request message to detected equipment, detection equipment judges whether a sliding window with a given window length has a pane storing a response identifier or not, wherein the response identifier is acquired from a first heartbeat response message returned by the detected equipment, and is stored in a corresponding pane; if the sliding window with the given window length is judged to have the pane storing the response identifier, the detection equipment judgesthat the detected equipment is not crashed, simultaneously transits the heartbeat request message carrying a timestamp to the detected equipment, forwards slides the sliding window by the pane, and stores the timestamp into the pane obtained by the sliding; and if the sliding window with the given window length is judged not to have the pane storing the response identifier, the detection equipment judges the detected equipment is crashed. By the technical scheme provided by the invention, the problem in the prior art that the detection equipment erroneously judges the working state of the detected equipment due to the transmission delay or loss of the heartbeat request message or the heartbeat response message can be solved, and the accuracy of judging the working state of the detected equipment is improved.

Description

technical field [0001] The invention relates to network communication technology, in particular to a heartbeat detection method and network equipment. Background technique [0002] In the network environment, it is often necessary to diagnose the working status of the equipment in an automated way; when the detected equipment fails, the detection equipment can take countermeasures by itself to ensure the smooth flow of the network. Among them, the heartbeat detection mechanism is the most common method for detecting the working state of the device, which judges the working state of the detected device by detecting the heartbeat message sent by the detected device. [0003] There are two ways to implement the heartbeat detection mechanism: one is that the detected device sends heartbeat detection messages regularly, and the detection device judges whether the detected device is in the working state by capturing the heartbeat detection messages. If the detection device does n...

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/26
Inventor 马云莺
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products