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

Detecting method

A detection method and a detected technology, applied in the field of communication, can solve the problems of website users providing services, unable to fully judge whether the server is normal or not, and unable to judge the health status of the server more accurately, so as to achieve the effect of ensuring stability and reliability

Inactive Publication Date: 2008-01-02
HUAWEI TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] But obviously, this technology has obvious disadvantages: the load balancing solution requires relatively high cost
However, in actual situations, the health status of the server cannot be judged more accurately only through the response code.
For example, when the server handles an exception and displays an error-handling page to the user, the response code returned is 200, but in fact we think that the website can no longer provide services to users normally at this time. At this time, only the response code is not enough. Judging whether the server is normal or not

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
  • Detecting method
  • Detecting method
  • Detecting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings. In this embodiment, the detected unit is a server, and the health status of the server is detected by a detection method of a custom health detection protocol, and corresponding operations are performed according to the detection results.

[0045] In this embodiment, a detection field is set in the HTTP protocol, and the content of the field includes a detection return code and a detection result message code, as shown in Table 1, which is the specific content of the detection field.

[0046] Table 1: HTTP fields

[0047] HTTP header field name

Health-Check

header field content format

ResultCode=[test return code]; ResultInfo=[test result message]

The value of ResultCode

scope and meaning

0

Test successful

1

detection alarm

other

Failed to detect

Value range of R...

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 testing method. Wherein, it sets a testing field contained test return code and test result information code in HTTP protocol; the testing unit sends testing treatment request with testing field and treatment strategy to tested unit; tested unit executes operation according to said strategy and fills testing field with treatment result to send to testing unit; testing unit decides the health condition of tested unit for opposite operation. This invention is more flexible and deep to detect the inner running state of server, and notifies system manager or restarts the failed system.

Description

technical field [0001] The invention relates to the communication field, in particular to a detection method based on a self-defined health detection protocol. technical background [0002] With the rapid development of the Internet, more and more websites have appeared, and all walks of life have higher and higher requirements for the reliability of server sites. The most basic and most urgent requirement is to hope that the website can run stably without being paralyzed, even if there is an abnormal accident It is hoped that it can be restored to normal in the shortest possible time, so that users will not feel the vibration of the server in a friendly manner. [0003] In fact, for a website, because the operation of the server of the website involves the stability of many aspects, including the operating system itself, application server container, basic business components, external communication equipment (such as database server, short message gateway, short message ce...

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 Patents(China)
IPC IPC(8): H04L12/26H04L29/06
Inventor 张磊龚华钱剑
Owner HUAWEI TECH CO LTD
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