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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com