A method and system for automatically acquiring faults

A technology of automatic acquisition and failure, applied in the field of Internet monitoring, can solve the problems of non-universality, non-replicability, inconsistent monitoring quality, etc., and achieve the effect of reliable design principle, reduced maintenance cost, and wide application prospects.

Active Publication Date: 2021-10-22
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and system for automatically obtaining faults to solve the problems that the above faults depend on the understanding of business and programs by relevant technical personnel, are not universal, have inconsistent monitoring quality, and cannot be copied. above technical issues

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 method and system for automatically acquiring faults
  • A method and system for automatically acquiring faults
  • A method and system for automatically acquiring faults

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1 As shown, the present invention provides a method for automatically obtaining faults, comprising the steps of:

[0051] Collect the general indicators of the application program, collect once every collection time period, and form the general indicator sequence of the application program; the collection time period is 5s; the general indicators include but are not limited to whether the process is alive or not, the CPU usage rate of the process, and the memory usage of the process Volume, process disk IO and process network IO;

[0052] Judging whether the number of common indicators collected reaches the set number K; the set number K is 50;

[0053] If the number of general indicators collected reaches the set number K, the sliding window is used to obtain the sequence data of general indicators in different time periods;

[0054] Calculation of the stationarity of common indicator sequence data for different time periods;

[0055] Judging whether ...

Embodiment 2

[0058] Such as figure 2 As shown, a method for automatically obtaining faults includes the following steps:

[0059] Collect the general indicators of the application program, collect once every collection time period, and form the general indicator sequence of the application program; the collection time period is 5s; the general indicators include but are not limited to whether the process is alive or not, the CPU usage rate of the process, and the memory usage of the process Volume, process disk IO and process network IO;

[0060]Judging whether the number of common indicators collected reaches the set number K; the set number K is 50;

[0061] If the number of general indicators collected reaches the set number K, use the sliding window to obtain the latest m data in the time period of the general indicator sequence, m

[0062] The sliding window slides along the time period to obtain m data of the time period before Y_new to form a sequence...

Embodiment 3

[0081] Such as image 3 As shown, a system for automatic fault acquisition includes

[0082] The collection module 1 is used to collect the general indicators of the application program, which is collected once every collection interval to form a general indicator sequence of the application program;

[0083] Index quantity judging module 2, which judges whether the collected general index quantity reaches the set quantity K;

[0084] The general index sequence data acquisition module 3 for different time periods is used to obtain the general index sequence data for different time periods by using a sliding window when the number of general indicators collected reaches the set number K;

[0085] The stationarity calculation module 4 of the general index sequence data is used to calculate the stationarity of the general index sequence data in different time periods;

[0086] General index sequence fault judging module 5, for judging whether there is general index sequence fau...

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 invention provides a method and system for automatically acquiring faults. The method includes the following steps: collecting general indicators of application programs, and collecting once at intervals of a collection period to form a sequence of general indicators of application programs; judging whether the number of general indicators collected reaches the set value A fixed quantity K; if the number of general indicators collected reaches the set quantity K, the sliding window is used to obtain the general index sequence data of different time periods; the stationarity of the general index sequence data of different time periods is calculated; according to the stability of the general index sequence data Determine whether there is a common index sequence failure. The system includes a collection module, a judgment module for the number of indicators, a module for obtaining general index sequence data in different time periods, a stationarity calculation module for general index sequence data, a general index sequence fault judgment module, and an alarm module. The invention reduces the maintenance cost of the existing program and realizes the discovery of more hidden faults.

Description

technical field [0001] The invention belongs to the field of Internet monitoring, and in particular relates to a method and system for automatically obtaining faults. Background technique [0002] In the Internet era, we have a large number of background programs running continuously. Timely detection of the faults of these programs and automatic processing are the prerequisites for the continuous and stable provision of Internet services. This is the importance of "fault discovery". However, there are more and more services now, and they are becoming more and more complex. In order to automatically handle faults, the faults should be detected first, which poses a challenge for Internet companies. [0003] In order to monitor service failures, the lowest-end "fault discovery" relies on the relevant technical personnel's understanding of business and procedures, writes their relevant knowledge into programs, and achieves the purpose of "fault discovery" by monitoring some spe...

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/36
CPCG06F11/3612
Inventor 孙伟
Owner LANGCHAO ELECTRONIC INFORMATION IND 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