Data monitoring method and device

By determining the target monitoring objects and scripts in the data center, and scheduling monitoring activity content according to the scheduling configuration file, the problem of complexity and low efficiency of monitoring script management in the existing technology is solved, and efficient data monitoring and alarm capabilities are achieved.

CN113535521BActive Publication Date: 2024-10-15CHINA CONSTRUCTION BANK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110858910.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-28
Publication Date
2024-10-15
Estimated Expiration
2041-07-28

AI Technical Summary

Technical Problem

Existing technology cannot effectively implement data monitoring, resulting in the need for complicated monitoring script management during the operation and maintenance of the data center. Moreover, the logic reuse of monitoring scripts is low and the expression language is inconsistent, resulting in low management efficiency and increased system maintenance costs.

Method used

By determining the target monitoring object and the matching target monitoring script, the script is scheduled for monitoring according to the activity content in the scheduling configuration file, and the scheduling logic and monitoring logic of different monitoring scripts are managed uniformly in the configuration file to improve the scheduling and management efficiency of monitoring scripts. .

Benefits of technology

It achieves unified scheduling and management of monitoring scripts, improves data monitoring efficiency, simplifies monitoring configuration adjustments, reduces system maintenance costs, and improves data monitoring capabilities and abnormal alarm capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535521B_ABST
    Figure CN113535521B_ABST
Patent Text Reader

Abstract

The present invention discloses a data monitoring method and device, which can determine a target monitoring object, determine a target monitoring script that matches the target monitoring object, determine the target monitoring activity content that matches the target monitoring object from a scheduling configuration file, and store the monitoring object and the monitoring activity content in the scheduling configuration file accordingly. According to the target monitoring activity content, the target monitoring script is scheduled to monitor the target monitoring object. The present invention can store the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and perform unified scheduling management on different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, and thus improving the data monitoring efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data monitoring method and device. Background Art

[0002] With the development of computer technology, data monitoring technology continues to improve.

[0003] Currently, during the overall operation and maintenance of a data center, the data and monitoring scripts that need to be maintained are complex, and the system needs to be monitored in different dimensions.

[0004] However, existing technologies cannot effectively implement data monitoring. Summary of the invention

[0005] In view of the above problems, the present invention provides a data monitoring method and device that overcomes the above problems or at least partially solves the above problems. The technical solution is as follows:

[0006] A data monitoring method, comprising:

[0007] Determine the target monitoring object;

[0008] Determine a target monitoring script that matches the target monitoring object;

[0009] Determining target monitoring activity content that matches the target monitoring object from a scheduling configuration file, wherein the scheduling configuration file stores the monitoring object and the monitoring activity content correspondingly;

[0010] According to the target monitoring activity content, the target monitoring script is scheduled to monitor the target monitoring object.

[0011] Optionally, the monitoring objects include: logs, business status, batch tasks, physical resources, certificates and messages.

[0012] Optionally, the target monitoring activity content defines target operating indicators that need to be monitored;

[0013] The step of scheduling the target monitoring script to monitor the target monitoring object according to the target monitoring activity content includes:

[0014] The target monitoring script is scheduled to monitor the target operating index of the target monitoring object.

[0015] Optionally, the method further includes:

[0016] Obtaining target monitoring data, wherein the target monitoring data is monitoring data obtained by monitoring the target monitoring object;

[0017] The target monitoring data is preprocessed to obtain processed target monitoring data.

[0018] Optionally, the method further includes:

[0019] Determine whether the processed target monitoring data meets the corresponding target alarm condition, and if so, output an abnormal alarm, wherein the target alarm condition is an alarm condition defined in the scheduling configuration file and matches the target operation indicator.

[0020] Optionally, the method further includes:

[0021] Different monitoring objects with the same attributes are determined as monitoring objects of the same type; in the scheduling configuration file, monitoring objects of the same type correspond to the same monitoring script.

[0022] A data monitoring device comprises: a first determining unit, a second determining unit, a third determining unit and a first scheduling unit; wherein:

[0023] The first determining unit is configured to execute: determining a target monitoring object;

[0024] The second determining unit is configured to execute: determining a target monitoring script that matches the target monitoring object;

[0025] The third determining unit is configured to execute: determining the target monitoring activity content that matches the target monitoring object from the scheduling configuration file, wherein the scheduling configuration file stores the monitoring object and the monitoring activity content correspondingly;

[0026] The first scheduling unit is configured to execute: scheduling the target monitoring script to monitor the target monitoring object according to the target monitoring activity content.

[0027] Optionally, the monitoring objects include: logs, business status, batch tasks, physical resources, certificates and messages.

[0028] Optionally, the target monitoring activity content defines target operating indicators that need to be monitored;

[0029] The first scheduling unit is configured to execute: scheduling the target monitoring script to monitor the target operating indicator of the target monitoring object.

[0030] Optionally, the device further includes: a first obtaining unit and a second obtaining unit, wherein:

[0031] The first obtaining unit is configured to execute: obtaining target monitoring data, wherein the target monitoring data is monitoring data obtained by monitoring the target monitoring object;

[0032] The second obtaining unit is configured to execute: preprocessing the target monitoring data to obtain processed target monitoring data.

[0033] Optionally, the device further includes: a fourth determining unit and an output unit, wherein:

[0034] The fourth determination unit is configured to perform: determining whether the processed target monitoring data meets a corresponding target alarm condition, and if so, triggering the output unit, wherein the target alarm condition is an alarm condition defined in the scheduling configuration file and matching the target operation indicator;

[0035] The output unit is configured to execute: output an abnormality alarm.

[0036] Optionally, the device further includes: a fifth determining unit;

[0037] The fifth determination unit is configured to execute: determining different monitoring objects with the same type of attributes as monitoring objects of the same type; in the scheduling configuration file, monitoring objects of the same type correspond to the same monitoring script.

[0038] The data monitoring method and device proposed in this embodiment can determine the target monitoring object, determine the target monitoring script that matches the target monitoring object, determine the target monitoring activity content that matches the target monitoring object from the scheduling configuration file, the scheduling configuration file stores the monitoring object and the monitoring activity content accordingly, and schedules the target monitoring script to monitor the target monitoring object according to the target monitoring activity content. The present invention can store the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and perform unified scheduling management for different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, and thus improving the data monitoring efficiency.

[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0041] Figure 1A flow chart of a first data monitoring method provided by an embodiment of the present invention is shown;

[0042] Figure 2 A flow chart of a third data monitoring method provided by an embodiment of the present invention is shown;

[0043] Figure 3 A schematic diagram showing the structure of a first data monitoring device provided by an embodiment of the present invention is shown;

[0044] Figure 4 A schematic structural diagram of a third data monitoring device provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0045] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0046] like Figure 1 As shown, this embodiment proposes a first data monitoring method, which may include the following steps:

[0047] S101, determining the target monitoring object;

[0048] The target monitoring object may be a monitoring object that needs to be monitored during the operation and maintenance of the data center.

[0049] Optionally, monitoring objects may include: logs, business status, batch tasks, physical resources, certificates, and messages.

[0050] It should be noted that the present invention can be used by technicians to discover monitoring objects that need to be established during operation and maintenance activities. Specifically, the present invention can be used by technicians to identify various monitoring objects from the information boxes of various existing operation and maintenance work, analyze each monitoring object, extract the commonalities between the monitoring objects, merge monitoring objects with similar attributes, that is, classify the monitoring objects (for example, monitoring objects of types such as application logs, system logs, platform logs, and middleware logs can be merged into the same type of monitoring objects, namely logs), and the same language can be used to describe the attributes of all monitoring objects.

[0051] Optionally, the above method may further include:

[0052] Different monitoring objects with the same attributes are determined as monitoring objects of the same type. In the scheduling configuration file, monitoring objects of the same type correspond to the same monitoring script.

[0053] Optionally, the present invention can allow technical personnel to perform standardized and regularized descriptions of each monitored object and establish corresponding labels for each type of monitored object, so that different technical personnel can have a unified way of expression when describing the monitored object and can use the same language to communicate, thereby improving the management efficiency of the monitored objects.

[0054] S102, determining a target monitoring script that matches the target monitoring object;

[0055] The target monitoring script may be a monitoring script that matches the target monitoring object. The target monitoring script may monitor the activities of the target monitoring object during the operation and maintenance process.

[0056] It is understandable that the present invention can pre-set corresponding monitoring scripts according to each monitoring object, so that during the operation and maintenance process of the data center, the corresponding monitoring script can be selected for the monitoring object, and the monitoring script can be used to monitor the monitoring object.

[0057] S103, determining the target monitoring activity content that matches the target monitoring object from the scheduling configuration file, wherein the scheduling configuration file stores the monitoring object and the monitoring activity content accordingly;

[0058] Among them, the monitoring activity content may include the specific content that needs to be monitored for the monitored object. For example, when the monitored object is a batch task, the monitoring activity content may include the execution status, execution time and execution progress of the batch task; for example, when the monitored object is a message, the monitoring activity content may include the processing efficiency and processing success rate of the message.

[0059] In the present invention, a technician can create corresponding monitoring activity content for a monitoring object in advance, and save the monitoring object, monitoring activity content and the association between the two in a scheduling configuration file.

[0060] Specifically, in the present invention, technical personnel can define corresponding rules for various monitoring objects, and the rules are formulated to first monitor the linkage between the activity content and the monitoring object.

[0061] Specifically, the present invention can generate the relationship between the monitored object and the monitored activity content by combing the existing information, and can further obtain multiple association relationships between the monitored object and the monitored activity content by data calculation.

[0062] It can be understood that the present invention can save the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and uniformly schedule and manage different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, thereby improving the data monitoring efficiency.

[0063] It should be noted that in the prior art, data centers need to monitor the system in different dimensions according to various requirements during the overall process of actual work, and a common method is to achieve this through different monitoring scripts. However, the monitoring scripts in the prior art will be frequently iterated due to factors such as the actual system operation status, execution time, and monitoring logic. Even the different maintenance methods of different technicians will lead to different styles of monitoring scripts, and the scheduling method, time, frequency, and monitoring blacklist and whitelist of monitoring scripts are also quite different. With the increase in the number of monitoring scripts, the management of such system monitoring scripts and scheduling strategies in daily operation and maintenance work will become more and more complicated, increase system maintenance costs, and be difficult to manage.

[0064] Overall, the operation and maintenance work of system monitoring scripts and scheduling management may seem to have different styles and characteristics, but the actual situation is that different operation and development personnel may spend a lot of time and energy repeating similar script development and management work. This is mainly because the logic reuse of monitoring scripts is low and the expression language is inconsistent, which wastes a lot of time on general logic implementation, management scheduling rules and related configuration management work.

[0065] Among them, the existing monitoring script writing method often requires the development of a large number of scripts for different specific operation and maintenance scenarios, and the frequently changing variables are not parameterized and scattered in various places in the monitoring script. If the system operation changes slightly, it is likely that the script will also need to be changed accordingly, and the operation and maintenance monitoring script itself also consumes time and energy. What is finally obtained is that a large number of monitoring scripts are developed, many of which look different on the surface, but there is a considerable amount of repetitive work, and it is also very complicated to adjust the monitoring variables according to the operation status. This way of writing monitoring scripts can only simply express the monitoring content that the operation and maintenance personnel want to achieve, but as the scale of the system becomes larger and larger, the continuous addition of new monitoring scripts and the frequent adjustment of existing monitoring script variables will bring huge challenges to the maintenance of the entire system monitoring script.

[0066] At present, there are also various ways to schedule monitoring scripts, such as scheduling through the operating system's scheduling tools and calling through their own applications. However, there is no unified monitoring scheduling strategy management, which makes it difficult to understand the overall situation of system monitoring and the relationship between monitoring scripts. Monitoring scripts have different styles and may have similar functions, resulting in low efficiency in monitoring script management.

[0067] The current operation and maintenance model and monitoring experience are scattered in different monitoring scripts. The present invention can realize the knowledge-based instantiation management of practical experience by abstracting the experience into a unified model, and generalize, parameterize and unify the monitoring script logic to solve the problem of knowledge and experience inheritance. The present invention can achieve agile and standardized monitoring script development and simplified daily script management configuration by establishing a monitoring model to solve the contradiction between the inagile maintenance and adjustment of monitoring scripts and the agile demand.

[0068] It should be noted that in order to free personnel from the repetitive and complicated monitoring script maintenance and scheduling strategy management work, the first thing that comes to mind is the standardization of monitoring scripts, parameterization of monitoring configurations, and unification of scheduling methods. By developing tools and writing scripts, the common logic of existing daily monitoring scripts is unified, personalized monitoring configurations are implemented through parameterization, and the various script scheduling methods are implemented through unified scheduling methods. The main focus of script maintenance personnel is on the research of personalized monitoring logic implementation, so that daily monitoring configuration adjustment work is mainly achieved through parameter adjustment of monitoring configuration files, which greatly increases the convenience of monitoring configuration adjustment. Through unified monitoring script scheduling, it is convenient to understand the overall monitoring situation of the system, and the scheduling strategy is convenient for centralized management.

[0069] It is understandable that the present invention can realize unified scheduling of different monitoring scripts by scheduling configuration files.

[0070] S104: According to the target monitoring activity content, dispatch the target monitoring script to monitor the target monitoring object.

[0071] Specifically, the present invention can call a target monitoring script to monitor the corresponding activity content of the target monitoring object based on the target monitoring activity content determined from the scheduling configuration file.

[0072] Among them, the present invention can separate the monitoring object and the monitoring activity content through the scheduling configuration file, and decouple the monitoring object and the monitoring activity content. The monitoring object and the monitoring activity content in the scheduling configuration file can be combined into corresponding scenes according to the creation of associations, and the specific monitoring process is executed by the monitoring script.

[0073] It should be noted that when the present invention creates the monitoring script scheduling logic in the monitoring activity content in the scheduling configuration file, the monitoring script scheduling logic and the monitoring logic can be separated. Among them, the monitoring script scheduling logic can focus on the reliability and effectiveness of the call, and the main implementation can be configured according to the rules, and several monitoring scripts can be scheduled on time and at points, and can identify and control repeated execution, execution exceptions, etc.; among them, the monitoring logic can focus on specific monitoring rules.

[0074] Specifically, the present invention can separate monitoring logic and monitoring conditions when creating a monitoring script.

[0075] Specifically, when creating the monitoring activity content, the present invention can subdivide the information items as much as possible, establish a monitoring configuration model (i.e., a monitoring configuration model composed of steps S101, S102, S103, and S104) through elements such as attributes, rules, and indicators, and perform parameterized configuration. In the monitoring configuration model, standardized and regularized languages ​​are used to uniformly express monitoring objects, monitoring scripts, monitoring script scheduling logic, and monitoring logic. Among them, the present invention can modify the model during the modeling process.

[0076] The data monitoring method proposed in this embodiment can determine the target monitoring object, determine the target monitoring script that matches the target monitoring object, determine the target monitoring activity content that matches the target monitoring object from the scheduling configuration file, the scheduling configuration file correspondingly stores the monitoring object and the monitoring activity content, and schedules the target monitoring script to monitor the target monitoring object according to the target monitoring activity content. The present invention can store the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and perform unified scheduling management for different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, thereby improving the data monitoring efficiency.

[0077] based on Figure 1 The steps shown in this embodiment propose a second data monitoring method. In this method, the target monitoring activity content defines the target operating indicators to be monitored. At this time, step S104 may include:

[0078] According to the target monitoring activity content, the target monitoring script is scheduled to monitor the target operating indicators of the target monitoring object.

[0079] Optionally, when the target monitoring object is a business, the target operation indicators may include the business transaction volume, business success rate and system success rate; when the target monitoring object is a batch task, the target operation indicators may include the execution status, execution time and execution progress of the batch task; when the target monitoring object is a message monitoring script, the target operation indicators may include processing efficiency and processing success rate.

[0080] Specifically, the present invention can schedule the target monitoring script to monitor the target operating indicators of the target monitoring object according to the target operating indicators and monitoring logic defined in the target monitoring activity content, obtain the target operating indicators, and improve the data monitoring capability.

[0081] The data monitoring method proposed in this embodiment can schedule the target monitoring script to monitor the target operating indicators of the target monitoring object according to the target operating indicators and monitoring logic defined in the target monitoring activity content, obtain the target operating indicators, and improve the data monitoring capability.

[0082] based on Figure 1 The steps shown are as follows: Figure 2 As shown, this embodiment proposes a third data monitoring method. The method may also include the following steps:

[0083] S201, obtaining target monitoring data, where the target monitoring data is monitoring data obtained by monitoring a target monitoring object;

[0084] S202: pre-process the target monitoring data to obtain processed target monitoring data.

[0085] Specifically, the present invention can preprocess the target monitoring data after obtaining it, such as necessary verification, cleaning (including data deduplication, data sorting, and removal of data with large deviations) and processing, and obtain the target monitoring data after preprocessing, that is, the processed target monitoring data.

[0086] Optionally, the third data monitoring method may further include:

[0087] Determine whether the processed target monitoring data meets the corresponding target alarm conditions. If so, output an abnormal alarm. The target alarm conditions are alarm conditions that match the target operating indicators defined in the scheduling configuration file; otherwise, prohibit outputting abnormal alarms to avoid false alarms.

[0088] It should be noted that the open unified description model of monitoring requires a large amount of data support, including indicator data, configuration data and operation data. These data are scattered in different logs or databases according to the specific objects of monitoring, and some are not even collected and managed. The present invention can obtain the required data through a unified object data collection script and deploy and collect on the device. Afterwards, the present invention can use a general data analysis script to analyze these data, formulate relevant monitoring thresholds and monitoring conditions, and save them to the scheduling configuration file. For example, there are 100 kinds of messages in a certain type of business, and the processing time and quantity of different messages are different. It is necessary to obtain the message processing operation data first, and analyze its related indicators such as "completion percentage", "success rate", "number of messages" through the data analysis script, and obtain the operation monitoring threshold indicators, and then configure the thresholds of these indicators as parameters in the scheduling configuration file.

[0089] It should be noted that monitoring objects, elements, indicators, thresholds and scheduling times can all be stored in the scheduling configuration file.

[0090] Specifically, after obtaining the processed target monitoring data, the present invention can determine whether to trigger an abnormal alarm based on the monitoring threshold and alarm condition set in the scheduling configuration file, and when determining that an abnormal alarm is triggered, determine a specific alarm level and output an abnormal alarm of a corresponding level. It is understandable that the alarm level can also be defined in the scheduling configuration file.

[0091] The data monitoring method proposed in this embodiment can obtain monitoring data and determine whether to output an abnormal alarm based on the monitoring data, thereby effectively improving the monitoring capability and abnormal alarm capability, thereby improving the system operation efficiency.

[0092] and Figure 1 The steps shown correspond to Figure 3 As shown, this embodiment proposes a first data monitoring device. The device may include: a first determination unit 101, a second determination unit 102, a third determination unit 103 and a first scheduling unit 104; wherein:

[0093] The first determining unit 101 is configured to execute: determining a target monitoring object;

[0094] The target monitoring object may be a monitoring object that needs to be monitored during the operation and maintenance of the data center.

[0095] Optionally, monitoring objects may include: logs, business status, batch tasks, physical resources, certificates, and messages.

[0096] It should be noted that the present invention can be used by technicians to discover monitoring objects that need to be established during operation and maintenance activities. Specifically, the present invention can be used by technicians to identify various monitoring objects from the information boxes of various existing operation and maintenance work, analyze each monitoring object, extract the commonalities between the monitoring objects, merge monitoring objects with similar attributes, that is, classify the monitoring objects (for example, monitoring objects of types such as application logs, system logs, platform logs, and middleware logs can be merged into the same type of monitoring objects, namely logs), and the same language can be used to describe the attributes of all monitoring objects.

[0097] Optionally, the above device may further include: a fifth determining unit;

[0098] The fifth determining unit is configured to execute: determining different monitoring objects with the same type of attributes as monitoring objects of the same type; in the scheduling configuration file, monitoring objects of the same type correspond to the same monitoring script.

[0099] Optionally, the present invention can allow technical personnel to perform standardized and regularized descriptions of each monitored object and establish corresponding labels for each type of monitored object, so that different technical personnel can have a unified way of expression when describing the monitored object and can use the same language to communicate, thereby improving the management efficiency of the monitored objects.

[0100] The second determining unit 102 is configured to execute: determining a target monitoring script that matches the target monitoring object;

[0101] The target monitoring script may be a monitoring script that matches the target monitoring object. The target monitoring script may monitor the activities of the target monitoring object during the operation and maintenance process.

[0102] It is understandable that the present invention can pre-set corresponding monitoring scripts according to each monitoring object, so that during the operation and maintenance process of the data center, the corresponding monitoring script can be selected for the monitoring object, and the monitoring script can be used to monitor the monitoring object.

[0103] The third determining unit 103 is configured to execute: determining the target monitoring activity content that matches the target monitoring object from the scheduling configuration file, wherein the scheduling configuration file correspondingly stores the monitoring object and the monitoring activity content;

[0104] Among them, the monitoring activity content may include the specific content that needs to be monitored for the monitored object. For example, when the monitored object is a batch task, the monitoring activity content may include the execution status, execution time and execution progress of the batch task; for example, when the monitored object is a message, the monitoring activity content may include the processing efficiency and processing success rate of the message.

[0105] In the present invention, a technician can create corresponding monitoring activity content for a monitoring object in advance, and save the monitoring object, monitoring activity content and the association between the two in a scheduling configuration file.

[0106] Specifically, in the present invention, technical personnel can define corresponding rules for various monitoring objects, and the rules are formulated to first monitor the linkage between the activity content and the monitoring object.

[0107] Specifically, the present invention can generate the relationship between the monitored object and the monitored activity content by combing the existing information, and can further obtain multiple association relationships between the monitored object and the monitored activity content by data calculation.

[0108] It can be understood that the present invention can save the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and uniformly schedule and manage different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, thereby improving the data monitoring efficiency.

[0109] The first scheduling unit 104 is configured to execute: scheduling a target monitoring script to monitor a target monitoring object according to the target monitoring activity content.

[0110] Specifically, the present invention can call a target monitoring script to monitor the corresponding activity content of the target monitoring object based on the target monitoring activity content determined from the scheduling configuration file.

[0111] Among them, the present invention can separate the monitoring object and the monitoring activity content through the scheduling configuration file, and decouple the monitoring object and the monitoring activity content. The monitoring object and the monitoring activity content in the scheduling configuration file can be combined into corresponding scenes according to the creation of associations, and the specific monitoring process is executed by the monitoring script.

[0112] It should be noted that when the present invention creates the monitoring script scheduling logic in the monitoring activity content in the scheduling configuration file, the monitoring script scheduling logic and the monitoring logic can be separated. Among them, the monitoring script scheduling logic can focus on the reliability and effectiveness of the call, and the main implementation can be configured according to the rules, and several monitoring scripts can be scheduled on time and at points, and can identify and control repeated execution, execution exceptions, etc.; among them, the monitoring logic can focus on specific monitoring rules.

[0113] Specifically, the present invention can separate monitoring logic and monitoring conditions when creating a monitoring script.

[0114] The data monitoring device proposed in this embodiment can save the scheduling logic and specific monitoring logic for different monitoring scripts in the scheduling configuration file, and uniformly schedule and manage different monitoring scripts according to the scheduling configuration file, thereby improving the scheduling management efficiency of the monitoring scripts, thereby improving the data monitoring efficiency.

[0115] based on Figure 3 This embodiment proposes a second data monitoring device. In the device, the target monitoring activity content defines the target operation index to be monitored. At this time, the first scheduling unit 104 is configured to execute: scheduling the target monitoring script to monitor the target operation index of the target monitoring object.

[0116] Optionally, when the target monitoring object is a business, the target operation indicators may include the business transaction volume, business success rate and system success rate; when the target monitoring object is a batch task, the target operation indicators may include the execution status, execution time and execution progress of the batch task; when the target monitoring object is a message monitoring script, the target operation indicators may include processing efficiency and processing success rate.

[0117] Specifically, the present invention can schedule the target monitoring script to monitor the target operating indicators of the target monitoring object according to the target operating indicators and monitoring logic defined in the target monitoring activity content, obtain the target operating indicators, and improve the data monitoring capability.

[0118] The data monitoring device proposed in this embodiment can schedule the target monitoring script to monitor the target operating indicators of the target monitoring object according to the target operating indicators and monitoring logic defined in the target monitoring activity content, obtain the target operating indicators, and improve the data monitoring capability.

[0119] based on Figure 3 ,like Figure 4 As shown, this embodiment proposes a third data monitoring device. The device may also include: a first obtaining unit 201 and a second obtaining unit 202, wherein:

[0120] The first obtaining unit 201 is configured to execute: obtaining target monitoring data, where the target monitoring data is monitoring data obtained by monitoring a target monitoring object;

[0121] The second obtaining unit 202 is configured to execute: preprocessing the target monitoring data to obtain processed target monitoring data.

[0122] Specifically, the present invention can preprocess the target monitoring data after obtaining it, such as necessary verification, cleaning (including data deduplication, data sorting, and removal of data with large deviations) and processing, and obtain the target monitoring data after preprocessing, that is, the processed target monitoring data.

[0123] Optionally, the third data monitoring device may further include:

[0124] A fourth determining unit and an output unit, wherein:

[0125] The fourth determination unit is configured to execute: determine whether the processed target monitoring data meets the corresponding target alarm condition, if so, trigger the output unit, the target alarm condition is the alarm condition defined in the scheduling configuration file that matches the target operation indicator; otherwise, prohibit the output of abnormal alarm to avoid false alarm.

[0126] The output unit is configured to execute: output abnormal alarm.

[0127] It should be noted that the open unified description model of monitoring requires a large amount of data support, including indicator data, configuration data and operation data. These data are scattered in different logs or databases according to the specific objects of monitoring, and some of them are not even collected and managed. The present invention can obtain the required data through a unified object data collection script and deployment and collection on the device. Afterwards, the present invention can use a general data analysis script to analyze these data, formulate relevant monitoring thresholds and monitoring conditions, and save them to the scheduling configuration file.

[0128] It should be noted that monitoring objects, elements, indicators, thresholds and scheduling times can all be stored in the scheduling configuration file.

[0129] Specifically, after obtaining the processed target monitoring data, the present invention can determine whether to trigger an abnormal alarm based on the monitoring threshold and alarm condition set in the scheduling configuration file, and when determining that an abnormal alarm is triggered, determine a specific alarm level and output an abnormal alarm of a corresponding level. It is understandable that the alarm level can also be defined in the scheduling configuration file.

[0130] The data monitoring device proposed in this embodiment can obtain monitoring data and determine whether to output an abnormal alarm based on the monitoring data, thereby effectively improving the monitoring capability and abnormal alarm capability, thereby improving the system operation efficiency.

[0131] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0132] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A data monitoring method, characterized in that: include: Determine the target monitoring object; Determine a target monitoring script that matches the target monitoring object; The target monitoring script is used to monitor the activities of the target monitoring object during the operation and maintenance process; Determine the target monitoring activity content that matches the target monitoring object from the scheduling configuration file; the scheduling configuration file at least stores the monitoring object, the monitoring activity content, the scheduling logic of different monitoring scripts, and the specific monitoring logic; the scheduling configuration file is used to perform unified scheduling management on different monitoring scripts; the target monitoring activity content defines the target operation index that needs to be monitored; The target monitoring script is scheduled to monitor the target operation index of the target monitoring object, including: when the target monitoring object is a business, the target operation index includes the transaction volume, business success rate and system success rate of the business, and the target monitoring script is scheduled to monitor the transaction volume, business success rate and system success rate of the business; when the target monitoring object is a batch task, the target operation index includes the execution status, execution time and execution progress of the batch task, and the target monitoring script is scheduled to monitor the execution status, execution time and execution progress of the batch task; when the target monitoring object is a message monitoring script, the target operation index includes processing efficiency and processing success rate, and the target monitoring script is scheduled to monitor the processing efficiency and processing success rate.

2. The method according to claim 1, characterized in that The monitoring objects include at least: logs, business status, batch tasks, physical resources, certificates and messages.

3. The method according to claim 1, characterized in that: The method further comprises: Obtaining target monitoring data, wherein the target monitoring data is monitoring data obtained by monitoring the target monitoring object; The target monitoring data is preprocessed to obtain processed target monitoring data.

4. The method according to claim 3, characterized in that The method further comprises: Determine whether the processed target monitoring data meets the corresponding target alarm condition, and if so, output an abnormal alarm, wherein the target alarm condition is an alarm condition defined in the scheduling configuration file and matches the target operation indicator.

5. The method according to claim 1, characterized in that The method further comprises: Different monitoring objects with the same type of attributes are determined as monitoring objects of the same type. In the scheduling configuration file, monitoring objects of the same type correspond to the same monitoring script.

6. A data monitoring device, characterized in that: include: a first determining unit, a second determining unit, a third determining unit and a first scheduling unit; wherein: The first determining unit is configured to execute: determining a target monitoring object; The second determining unit is configured to execute: determining a target monitoring script that matches the target monitoring object; the target monitoring script is used to monitor the activities of the target monitoring object during the operation and maintenance process; The third determination unit is configured to execute: determining the target monitoring activity content matching the target monitoring object from the scheduling configuration file; the scheduling configuration file at least stores the monitoring object, the monitoring activity content, the scheduling logic of different monitoring scripts and the specific monitoring logic; the scheduling configuration file is used to perform unified scheduling management on different monitoring scripts; the target monitoring activity content defines the target operation index that needs to be monitored; The first scheduling unit is configured to execute: scheduling the target monitoring script to monitor the target operating indicators of the target monitoring object, including: when the target monitoring object is a business, the target operating indicators include the transaction volume, business success rate and system success rate of the business, and the target monitoring script is scheduled to monitor the transaction volume, business success rate and system success rate of the business; when the target monitoring object is a batch task, the target operating indicators include the execution status, execution time and execution progress of the batch task, and the target monitoring script is scheduled to monitor the execution status, execution time and execution progress of the batch task; when the target monitoring object is a message monitoring script, the target operating indicators include processing efficiency and processing success rate, and the target monitoring script is scheduled to monitor the processing efficiency and processing success rate.

7. The device according to claim 6, characterized in that The monitoring objects include at least: logs, business status, batch tasks, physical resources, certificates and messages.

8. The device according to claim 6, characterized in that The device further comprises: a first obtaining unit and a second obtaining unit, wherein: The first obtaining unit is configured to execute: obtaining target monitoring data, wherein the target monitoring data is monitoring data obtained by monitoring the target monitoring object; The second obtaining unit is configured to execute: preprocessing the target monitoring data to obtain processed target monitoring data.

Citation Information

Patent Citations

  • Service platform monitoring model capable of supporting user visible user-definition

    CN103500094A

  • Method and device for monitoring service status of cloud platform

    CN109245966A

  • Equipment fault repairing method and device

    CN111176879A

  • Monitoring control system

    JP2012104013A

  • Integrated control method for data center, Integrated control system performing the same, Computer program for the same, and Recording medium storing computer program thereof

    KR101637458B1