A kind of fault detection method, device and electronic equipment

A fault detection and fault technology, applied in the field of cloud computing, can solve problems such as incomplete log collection, inaccurate judgment results, and unreasonable fault keyword settings, and achieve the effect of narrowing the scope.

Active Publication Date: 2022-07-05
ALIBABA CLOUD COMPUTING LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] When the external system queries the interface and cannot obtain the fault data in the data storage device, it is considered that there is no fault on the host, but the lack of fault data may be caused by incomplete log collection or unreasonable fault keyword settings, so the judgment result not necessarily accurate

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
  • A kind of fault detection method, device and electronic equipment
  • A kind of fault detection method, device and electronic equipment
  • A kind of fault detection method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] Embodiment 1, a fault detection method, such as figure 2 As shown, steps S110 to S120 are included.

[0079] S110. For the user instance whose fault is to be detected, obtain the resource usage amount and the upper limit of the resource amount of the user instance;

[0080] S120. Compare the resource usage amount and the upper limit of the resource amount of the user instance, and determine whether the user instance is faulty according to the comparison result.

[0081] In this embodiment, the user instance whose response time is prolonged for no reason (that is, the response becomes slower) can be used as the user instance to be detected; here "no reason" only means that there is no obvious reason on the surface (such as the request of the user instance). In fact, the increase in response time must be caused by some reason, such as failure (including host failure, user instance failure, etc.), or normal use that is not caused by failure Elongate etc.

[0082] In th...

Embodiment 2

[0162] Embodiment 2, a fault detection device, such as Figure 4 shown, including:

[0163] The detection module 21 is used for obtaining the resource usage amount and the upper limit of the resource amount of the user instance for which the fault is to be detected;

[0164] The fault determination module 22 is configured to compare the resource usage amount and the upper limit of the resource amount of the user instance, and determine whether the user instance is faulty according to the comparison result.

[0165] In this embodiment, the detection module 21 is the part of the above-mentioned apparatus that is responsible for obtaining the upper limit of the resource amount and the usage amount of the user instance, which may be software, hardware, or a combination of the two.

[0166] In this embodiment, the fault judging module 22 is the part of the above-mentioned apparatus that is responsible for judging whether the user instance has a fault, and may be software, hardware...

Embodiment 3

[0186] Embodiment 3. An electronic device for fault detection, comprising: a memory and a processor;

[0187] The memory is used for saving a program for performing fault detection; when the program for performing fault detection is read and executed by the processor, the following operations are performed:

[0188] For the user instance whose fault is to be detected, obtain the resource usage amount and the upper limit of the resource amount of the user instance;

[0189] Compare the resource usage amount and the upper limit of the resource amount of the user instance, and determine whether the user instance is faulty according to the comparison result.

[0190] In this embodiment, when the program for fault detection is read and executed by the processor, the operations performed correspond to steps S110 to S120 in the first embodiment; for other details of the operations performed by the program, please refer to the embodiment one.

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 application provides a fault detection method, device and electronic device; the fault detection method includes: for a user instance whose fault is to be detected, obtaining the resource usage amount and the upper limit of the resource amount of the user instance; comparing the resources of the user instance The upper limit of the usage amount and the resource amount, and whether the user instance is faulty is determined according to the comparison result. At least one embodiment of the present application can more accurately troubleshoot faults.

Description

technical field [0001] The present invention relates to the field of cloud computing, and in particular, to a fault detection method, device and electronic equipment. Background technique [0002] In a cloud computing system, various cloud services purchased by users are called user instances, which can include host instances, database instances, object storage instances, log instances, etc. A user instance is a complete device in the eyes of the user, but In the cloud, multiple user instances share the same one or more physical hosts. [0003] For a user instance, when some of the user's requests become slow and the server cannot respond in time, fault judgment is required. Because the cloud computing system involves many software and hardware levels and technologies, such as the application system, operating system, drivers, hardware and other modules may be the source of the fault, so if the fault judgment is carried out, all related modules are checked. It will take a ...

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): G06F11/22G06F11/30
CPCG06F11/2273G06F11/3051
Inventor 田英鹤
Owner ALIBABA CLOUD COMPUTING 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