Inspection method, device and system based on index data
Through pre-configured inspection templates and abnormal detection algorithms, the index data is automatically processed, and the problem of cumbersome inspection and difficulty in maintenance of large Internet systems is solved, and an efficient and general inspection solution is realized to adapt to the fluctuations of indicator data of changes in business volume .
Patent Information
- Application Number
- CN202011461204.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-12-08
AI Technical Summary
The existing technology is complicated to inspect in large Internet systems and is prone to errors and omissions, making automated scripts difficult to maintain, especially when the business volume increases, fixed thresholds are difficult to determine and maintain.
Through pre-configured inspection templates and pre-trained anomaly detection algorithms, the index data is automatically processed, abnormal data points are generated, and the index data fluctuations are adapted to the fluctuations, reducing the need for manual intervention.
The inspection of multiple sets of similar applications or components has been realized, which improves the universality and efficiency of inspections, reduces maintenance difficulty, and adapts to indicator data fluctuations in changes in business volume.
Smart Images

Figure CN112463432B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an inspection method, device and system based on indicator data. Background Art
[0002] With the continuous development of Internet technology, the technical system of large Internet companies is getting larger and larger, with complex internal architecture and numerous components. To ensure the overall stable operation of each system, a complete monitoring system is necessary. Conventional monitoring methods include display of data such as logs, indicators, call chains, and alarms.
[0003] In terms of indicator monitoring, due to configuration complexity and data size, usually only the most important indicators can be monitored, and all aspects of a large number of systems or components cannot be covered. Therefore, other methods that can provide more comprehensive and detailed monitoring are needed to supplement. Regularly checking each component in the system and discovering hidden dangers in advance has become a very important means of operation and maintenance guarantee, which is usually called patrol inspection.
[0004] Traditional inspection methods: 1. Pure manual inspection, through various command outputs, or monitoring charts and logs, etc., manual observation to see if any abnormalities occur, which is very cumbersome and prone to errors, and cannot be operated in large systems. 2. Automated scripts, by writing automated scripts, instead of manual inspections of various components, the efficiency and accuracy of inspections can be improved to a certain extent. The disadvantage is that different scripts need to be written for different components, and the logic and threshold parameters of the inspection still need to be manually formulated. Once the monitored indicator data changes with the increase in business volume, these thresholds and methods must also be modified accordingly. As the system complexity continues to increase and the monitoring indicators become more sophisticated, these scripts will become difficult to maintain and it will be difficult to achieve ideal results. Summary of the invention
[0005] In order to solve the problems of the prior art, the embodiments of the present invention provide a method, device and system for inspection based on indicator data. The technical solution is as follows:
[0006] A first aspect provides an inspection method based on indicator data, the method comprising:
[0007] Get pre-configured inspection templates;
[0008] Parsing the inspection template to obtain an indicator query statement group containing an inspection object instance, wherein the indicator query statement group contains query statements for multiple indicators;
[0009] Using the indicator query statement group to obtain the indicator data of each of the indicators of the inspection object instance stored within the target time range;
[0010] Obtaining corresponding pre-trained anomaly detection algorithms and their parameters according to the various indicators;
[0011] The anomaly detection algorithm and its parameters are used to calculate and process the indicator data of the corresponding indicators to obtain the abnormal data points of each indicator within the target time range.
[0012] Furthermore, the anomaly detection algorithm and its parameters are pre-trained in the following manner:
[0013] The indicator query statement group is used to obtain the indicator data of each indicator of the inspection object instance stored within the training time range, wherein the training time is a period of time when the system is operating normally;
[0014] The corresponding anomaly detection algorithms are respectively obtained according to the various indicators, and the indicator data of the various indicators are respectively used to train the corresponding anomaly detection algorithms to obtain parameters.
[0015] Furthermore, the method further comprises:
[0016] Generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user;
[0017] Receiving modification information of the anomaly detection algorithm and its parameters from a user, and modifying the anomaly detection algorithm and its parameters according to the modification information;
[0018] The modified anomaly detection algorithm and its parameters are used to calculate the indicator data of the corresponding indicator, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
[0019] Further, the obtaining of a pre-configured inspection template includes:
[0020] Receive inspection task adding instructions, create inspection tasks, and specify inspection template information in the inspection tasks;
[0021] The inspection task is executed, and a pre-configured inspection template is obtained according to the inspection template information specified in the inspection task.
[0022] Furthermore, the inspection task is configured with inspection task information, and the inspection task information includes an inspection person in charge, an inspection execution cycle, an inspection execution time, an inspection report title, and an inspection report recipient.
[0023] Furthermore, the method further comprises:
[0024] Detecting the inspection execution time configured in the inspection task, and triggering the inspection task when the inspection execution time is reached;
[0025] The inspection task is executed regularly according to the inspection execution period configured in the inspection task.
[0026] A second aspect of the present application provides an inspection device based on indicator data, the device comprising:
[0027] A first acquisition unit, used to acquire a pre-configured inspection template;
[0028] A parsing unit, used for parsing the inspection template to obtain an indicator query statement group including an inspection object instance identifier, wherein the indicator query statement group includes query statements for multiple indicators;
[0029] A second acquisition unit, configured to acquire the indicator data of each of the indicators of the inspection object instance stored within a target time range by using the indicator query statement group;
[0030] A third acquisition unit, used to respectively acquire corresponding pre-trained anomaly detection algorithms and parameters thereof according to the respective indicators;
[0031] The first calculation unit is used to calculate and process the indicator data of the corresponding indicators using the anomaly detection algorithm and its parameters respectively, so as to obtain the abnormal data points of each indicator within the target time range.
[0032] Furthermore, the device also includes:
[0033] A test report generating unit, used to generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user;
[0034] A modification unit, configured to receive modification information of the anomaly detection algorithm and its parameters from a user, and modify the anomaly detection algorithm and its parameters according to the modification information;
[0035] The second calculation unit is used to calculate the indicator data of the corresponding indicator using the modified anomaly detection algorithm and its parameters, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
[0036] Furthermore, the device also includes:
[0037] A trigger unit, used to detect the inspection execution time configured in the inspection task, and trigger the inspection task when the inspection execution time is reached;
[0038] A timing execution unit is used to execute the inspection task regularly according to the inspection execution period configured in the inspection task.
[0039] A third aspect of the present application provides a computer system, the system comprising:
[0040] one or more processors; and
[0041] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the above method is executed.
[0042] According to the specific embodiments provided by the present application, the present application discloses the following technical effects: by pre-configuring the inspection template, it can meet the inspection of multiple sets of applications or components of the same type, and there is no need to write a separate script for each application or component, and the inspection template has good versatility; according to the respective indicators, the corresponding pre-trained anomaly detection algorithms and their parameters are obtained respectively, and the indicator data of the corresponding indicators are calculated and processed using the anomaly detection algorithms and their parameters respectively, to obtain the abnormal data points of each indicator within the target time range, and the pre-trained anomaly detection algorithms and their parameters can adapt to the fluctuations of the indicator data when the business volume increases, thereby solving the problem that the fixed thresholds configured in the prior art are difficult to determine and maintain. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A flow chart of the inspection method based on indicator data provided in Example 1 of the present application is shown;
[0045] Figure 2 The structure diagram of the inspection device based on indicator data provided in Example 2 of the present application is shown;
[0046] Figure 3 A computer system structure diagram provided in Example 3 of the present application is shown. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0048] As described in the background technology, the traditional methods of inspection are: 1. Pure manual inspection, through various command outputs, or monitoring charts and logs, etc., manually observing whether anomalies occur, which is very cumbersome and prone to errors, and cannot be operated in large systems. 2. Automated scripts, by writing automated scripts, instead of manual inspections of each component, the efficiency and accuracy of inspections can be improved to a certain extent. The disadvantage is that different scripts need to be written for different components, and the logic and threshold parameters of the inspection still need to be manually formulated. Once the monitored indicator data changes with the increase in business volume, these thresholds and methods must also be modified accordingly. As the complexity of the system continues to increase and the sophistication of the monitoring indicators continues to increase, these scripts will become difficult to maintain and it will be difficult to achieve very ideal results.
[0049] To this end, the present application proposes an inspection method, device and system based on indicator data. By pre-configuring an inspection template, it can meet the inspection of multiple sets of applications or components of the same type, and there is no need to write a separate script for each application or component. The inspection template has good versatility; according to each of the indicators, the corresponding pre-trained anomaly detection algorithms and their parameters are obtained respectively, and the indicator data of the corresponding indicators are calculated and processed using the anomaly detection algorithms and their parameters respectively, to obtain the abnormal data points of each indicator within the target time range. The pre-trained anomaly detection algorithm and its parameters can adapt to the fluctuation of the indicator data when the business volume increases, thereby solving the problem that the fixed thresholds configured in the prior art are difficult to determine and maintain.
[0050] Example 1
[0051] An embodiment of the present application provides an inspection method based on indicator data, which is illustrated by applying the method to an inspection device based on indicator data. The device can be configured in any computer device so that the computer device can execute the inspection method based on indicator data.
[0052] like Figure 1 As shown, the above method includes:
[0053] S11, obtaining a pre-configured inspection template;
[0054] S12, parsing the inspection template to obtain an indicator query statement group including an inspection object instance identifier, wherein the indicator query statement group includes query statements for multiple indicators;
[0055] The inspection template can specify an identifier representing the inspection object instance and a group of indicator query statements for the inspection object instance. For example, the inspection template specifies identifier 123 representing component A, and the inspection template uses the indicator query statement group to inspect component A. It specifies identifier 132 representing group B, and the inspection template uses the indicator query statement group to inspect component B. Therefore, the inspection template can meet the inspection of multiple sets of applications or components of the same type. There is no need to write a separate script for each application or component. A pre-configured inspection template is obtained. Here, the pre-configured inspection template has already specified the identifier of the inspection object instance and the indicator query statement group. By parsing the inspection template, the indicator query statement group containing the identifier of the inspection object instance can be obtained.
[0056] S13, using the indicator query statement group to obtain the indicator data of each indicator of the inspection object instance stored within the target time range;
[0057] Since the indicator query statement group includes the inspection object instance identifier, the indicator data of each indicator of the inspection object instance stored within the target time range can be queried.
[0058] S14. Obtain corresponding pre-trained anomaly detection algorithms and their parameters according to the various indicators;
[0059] Each indicator has a one-to-one corresponding anomaly detection algorithm and its parameters, and the corresponding pre-trained anomaly detection algorithm and its parameters can be obtained according to each indicator.
[0060] S15, respectively use the anomaly detection algorithm and its parameters to calculate and process the indicator data of the corresponding indicators to obtain abnormal data points of each indicator within the target time range.
[0061] By calculating the indicator data using the anomaly detection algorithm and its parameters, the abnormal data points of the indicator within the target time can be obtained.
[0062] The anomaly detection algorithm and its parameters are pre-trained in the following way:
[0063] The indicator query statement group is used to obtain the indicator data of each indicator of the inspection object instance stored within a training time range, wherein the training time is a period of time when the system is operating normally;
[0064] The corresponding anomaly detection algorithms are respectively obtained according to the various indicators, and the indicator data of the various indicators are respectively used to train the corresponding anomaly detection algorithms to obtain parameters.
[0065] A period of time when the system is running normally is designated as the training time. The indicator data within the training time are all normal. It is also necessary to first use the indicator query statement group to obtain the indicator data of each indicator of the inspection object instance stored within the training time range. After obtaining the indicator data, the corresponding anomaly detection algorithm is obtained according to the indicator. The indicator data is used to train the anomaly detection algorithm to obtain parameters. The parameters are obtained based on the indicator data within the training time. Therefore, when the business volume increases, the fluctuation of the indicator data can be adaptively adjusted. The use of pre-trained anomaly detection algorithms and their parameters can solve the problem that the fixed thresholds configured in the prior art are difficult to determine and maintain.
[0066] The method further comprises:
[0067] Generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user;
[0068] Receiving modification information of the anomaly detection algorithm and its parameters from a user, and modifying the anomaly detection algorithm and its parameters according to the modification information;
[0069] The modified anomaly detection algorithm and its parameters are used to calculate the indicator data of the corresponding indicator, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
[0070] After obtaining the abnormal data points of each indicator within the target time range, a test report is generated and sent to the user for intuitive viewing. The user browses the test report and can modify the anomaly detection algorithm and its parameters for individual unreasonable cases in the results. The modified anomaly detection algorithm and its parameters are then used to calculate the corresponding indicator data until the ideal detection effect is obtained.
[0071] The obtaining of a pre-configured inspection template includes:
[0072] Receive inspection task adding instructions, create inspection tasks, and specify inspection template information in the inspection tasks;
[0073] The inspection task is executed, and a pre-configured inspection template is obtained according to the inspection template information specified in the inspection task.
[0074] The user needs to establish an inspection task and specify the inspection template information in the inspection task. The inspection template information refers to the inspection template name or identifier. When executing the inspection task, the corresponding pre-configured inspection template is obtained according to the inspection template information specified in the inspection task. For example, if the name or identifier A of inspection template A is specified in the inspection task, inspection template A will be obtained when the inspection task is executed.
[0075] The inspection task is configured with inspection task information, and the inspection task information includes an inspection person in charge, an inspection execution cycle, an inspection execution time, an inspection report title, and an inspection report recipient.
[0076] The method further comprises:
[0077] Detecting the inspection execution time configured in the inspection task, and triggering the inspection task when the inspection execution time is reached;
[0078] The inspection task is executed regularly according to the inspection execution period configured in the inspection task.
[0079] The inspection execution time can be configured in the inspection task. When the inspection execution time is reached, the inspection task is triggered. The inspection execution cycle is also configured in the inspection task, and the inspection task can be executed regularly, for example, every seven days.
[0080] Example 2
[0081] Corresponding to the above method, the embodiment of the present application provides an inspection device based on indicator data, such as Figure 2 As shown, the device comprises:
[0082] A first acquisition unit 21 is used to acquire a pre-configured inspection template;
[0083] A parsing unit 22, configured to parse the inspection template to obtain an indicator query statement group including an inspection object instance, wherein the indicator query statement group includes query statements for multiple indicators;
[0084] The inspection template can specify an identifier representing the inspection object instance and a group of indicator query statements for the inspection object instance. For example, the inspection template specifies identifier 123 representing component A, and the inspection template uses the indicator query statement group to inspect component A. It specifies identifier 132 representing group B, and the inspection template uses the indicator query statement group to inspect component B. Therefore, the inspection template can meet the inspection of multiple sets of applications or components of the same type. There is no need to write a separate script for each application or component. A pre-configured inspection template is obtained. Here, the pre-configured inspection template has already specified the identifier of the inspection object instance and the indicator query statement group. By parsing the inspection template, the indicator query statement group containing the identifier of the inspection object instance can be obtained.
[0085] The second acquisition unit 23 is used to acquire the indicator data of each of the indicators of the inspection object instance stored within the target time range by using the indicator query statement group;
[0086] Since the indicator query statement group includes the inspection object instance identifier, the indicator data of each indicator of the inspection object instance stored within the target time range can be queried.
[0087] A third acquisition unit 24 is used to acquire the corresponding pre-trained anomaly detection algorithm and its parameters according to each of the indicators;
[0088] Each indicator has a one-to-one corresponding anomaly detection algorithm and its parameters, and the corresponding pre-trained anomaly detection algorithm and its parameters can be obtained according to each indicator.
[0089] The first calculation unit 25 is used to calculate and process the indicator data of the corresponding indicators using the anomaly detection algorithm and its parameters respectively, so as to obtain the abnormal data points of each indicator within the target time range.
[0090] By calculating the indicator data using the anomaly detection algorithm and its parameters, the abnormal data points of the indicator within the target time can be obtained.
[0091] The device also includes:
[0092] A test report generating unit, used to generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user;
[0093] A modification unit, configured to receive modification information of the anomaly detection algorithm and its parameters from a user, and modify the anomaly detection algorithm and its parameters according to the modification information;
[0094] The second calculation unit is used to calculate the indicator data of the corresponding indicator using the modified anomaly detection algorithm and its parameters, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
[0095] After obtaining the abnormal data points of each indicator within the target time range, a test report is generated and sent to the user for intuitive viewing. The user browses the test report and can modify the anomaly detection algorithm and its parameters for individual unreasonable cases in the results. The modified anomaly detection algorithm and its parameters are then used to calculate the corresponding indicator data until the ideal detection effect is obtained.
[0096] The device also includes:
[0097] A trigger unit, used to detect the inspection execution time configured in the inspection task, and trigger the inspection task when the inspection execution time is reached;
[0098] A timing execution unit is used to execute the inspection task regularly according to the inspection execution period configured in the inspection task.
[0099] The inspection execution time can be configured in the inspection task. When the inspection execution time is reached, the inspection task is triggered. The inspection execution cycle is also configured in the inspection task, and the inspection task can be executed regularly, for example, every seven days.
[0100] The embodiment of the present application provides an inspection device based on indicator data, which belongs to the same application concept as the inspection method based on indicator data provided in the embodiment of the present application, can execute the inspection method based on indicator data provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the inspection method based on indicator data. For technical details not fully described in this embodiment, please refer to the inspection method based on indicator data provided in the embodiment of the present application, which will not be repeated here.
[0101] Example 3
[0102] Corresponding to the above method and apparatus, Embodiment 3 of the present application provides a computer system, including:
[0103] one or more processors; and
[0104] A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the method steps of the first embodiment are executed, such as performing the following operations:
[0105] Get pre-configured inspection templates;
[0106] Parsing the inspection template to obtain an indicator query statement group containing an inspection object instance, wherein the indicator query statement group contains query statements for multiple indicators;
[0107] Using the indicator query statement group to obtain the indicator data of each of the indicators of the inspection object instance stored within the target time range;
[0108] Obtaining corresponding pre-trained anomaly detection algorithms and their parameters according to the various indicators;
[0109] The anomaly detection algorithm and its parameters are used to calculate and process the indicator data of the corresponding indicators to obtain the abnormal data points of each indicator within the target time range.
[0110] in, Figure 3The computer system architecture is shown as an example, which may include a processor 1510, a video display adapter 1511, a disk drive 1512, an input / output interface 1513, a network interface 1514, and a memory 1520. The processor 1510, the video display adapter 1511, the disk drive 1512, the input / output interface 1513, the network interface 1514, and the memory 1520 may be communicatively connected via a communication bus 1530.
[0111] Among them, the processor 1510 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.
[0112] The memory 1520 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1520 can store an operating system 1521 for controlling the operation of the computer system 1500, and a basic input and output system (BIOS) 1522 for controlling the low-level operations of the computer system 1500. In addition, a web browser 1523, a data storage manager 1524, and an icon font processing system 1525, etc. can also be stored. The above-mentioned icon font processing system 1525 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided in the present application is implemented by software or firmware, the relevant program code is stored in the memory 1520 and is called and executed by the processor 1510.
[0113] The input / output interface 1513 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0114] The network interface 1514 is used to connect to a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0115] The bus 1530 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1510, the video display adapter 1511, the disk drive 1512, the input / output interface 1513, the network interface 1514, and the memory 1520).
[0116] In addition, the computer system 1500 can also obtain information on specific collection conditions from the virtual resource object collection condition information database 1541 for use in condition judgment, etc.
[0117] It should be noted that, although the above device only shows a processor 1510, a video display adapter 1511, a disk drive 1512, an input / output interface 1513, a network interface 1514, a memory 1520, a bus 1530, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.
[0118] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a cloud server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0119] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0120] The above is a detailed introduction to the inspection method, device and system based on indicator data provided by the present application. The principles and implementation methods of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A patrol inspection method based on indicator data, characterized in that: The method comprises: Obtaining a pre-configured inspection template based on the inspection template information specified by the inspection task, wherein the inspection task is configured with the inspection task information, and the inspection task information includes the inspection person in charge, the inspection execution cycle, the inspection execution time, the inspection report title, and the inspection report recipient; Parsing the inspection template to obtain an indicator query statement group including an inspection object instance identifier, wherein the indicator query statement group includes a query statement of at least one indicator; Using the indicator query statement group to obtain the indicator data of each of the indicators of the inspection object instance stored within the target time range; According to each of the indicators, the corresponding pre-trained anomaly detection algorithm and its parameters are obtained respectively, wherein the training time is a period of time when the system is operating normally, and the indicator data during the training time are all normal; The anomaly detection algorithm and its parameters are used to calculate and process the indicator data of the corresponding indicators respectively, so as to obtain the abnormal data points of each indicator within the target time range; The anomaly detection algorithm and its parameters are pre-trained in the following way: The indicator query statement group is used to obtain the indicator data of each indicator of the inspection object instance stored within the training time range; Obtain corresponding anomaly detection algorithms according to the various indicators, and use the indicator data of the various indicators to train the corresponding anomaly detection algorithms to obtain parameters; The method further comprises: Generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user; Receiving modification information of the anomaly detection algorithm and its parameters from a user, and modifying the anomaly detection algorithm and its parameters according to the modification information; The modified anomaly detection algorithm and its parameters are used to calculate the indicator data of the corresponding indicator, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
2. The inspection method based on indicator data according to claim 1, characterized in that: The obtaining of a pre-configured inspection template includes: Receive inspection task adding instructions, create inspection tasks, and specify inspection template information in the inspection tasks; The inspection task is executed, and a pre-configured inspection template is obtained according to the inspection template information specified in the inspection task.
3. The inspection method based on indicator data according to claim 1, characterized in that: The method further comprises: Detecting the inspection execution time configured in the inspection task, and triggering the inspection task when the inspection execution time is reached; The inspection task is executed regularly according to the inspection execution period configured in the inspection task.
4. An inspection device based on indicator data for implementing the inspection method based on indicator data as described in any one of claims 1 to 3, characterized in that: The device comprises: A first acquisition unit is used to acquire a pre-configured inspection template based on the inspection template information specified by the inspection task, wherein the inspection task is configured with the inspection task information, and the inspection task information includes an inspection person in charge, an inspection execution cycle, an inspection execution time, an inspection report title, and an inspection report recipient; A parsing unit, used for parsing the inspection template to obtain an indicator query statement group including an inspection object instance identifier, wherein the indicator query statement group includes query statements for multiple indicators; A second acquisition unit is used to acquire the indicator data of each indicator of the inspection object instance stored within the target time range by using the indicator query statement group; A third acquisition unit is used to respectively acquire the corresponding pre-trained anomaly detection algorithm and its parameters according to each of the indicators, wherein the training time is a period of time when the system is operating normally, and the indicator data within the training time are normal; The first calculation unit is used to calculate and process the indicator data of the corresponding indicators using the anomaly detection algorithm and its parameters respectively, so as to obtain the abnormal data points of each indicator within the target time range.
5. The inspection device based on indicator data according to claim 4, characterized in that: The device also includes: A test report generating unit, used to generate a test report based on the abnormal data points of each indicator within the target time range and send it to the user; A modification unit, configured to receive modification information of the anomaly detection algorithm and its parameters from a user, and modify the anomaly detection algorithm and its parameters according to the modification information; The second calculation unit is used to calculate the indicator data of the corresponding indicator using the modified anomaly detection algorithm and its parameters, obtain the abnormal data points of each indicator within the target time range, and generate a test report.
6. The inspection device based on indicator data according to claim 5, characterized in that: The device also includes: A trigger unit, used to detect the inspection execution time configured in the inspection task, and trigger the inspection task when the inspection execution time is reached; A timing execution unit is used to execute the inspection task regularly according to the inspection execution period configured in the inspection task.
7. A computer system, characterized in that: The system comprises: one or more processors; and A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the method according to any one of claims 1 to 3.
