Business index alarm rule generation method, computer equipment and storage medium
Generating business indicator alarm rules by selecting indicators and threshold conditions through the configuration interface solves the problems of false alarms and missed alarms in traditional technology, improves the accuracy and adaptability of alarms, and ensures the timeliness and effectiveness of operation and maintenance.
Patent Information
- Application Number
- CN202410859553.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional business indicator alarm technology has problems with false alarms and missed alarms, making it difficult to accurately and timely monitor the operation and maintenance issues of large systems.
Provides a method for generating business indicator alarm rules. Through the configuration interface, select the indicator name and configuration mode, determine the threshold conditions and comparators, and generate business indicator alarm rules to avoid false alarms and missed alarms.
It improves the accuracy and adaptability of business indicator alarm rules, reduces the occurrence of false alarms and missed alarms, and enhances the timeliness and effectiveness of operation and maintenance.
Smart Images

Figure CN118760488A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of operation and maintenance monitoring alarm technology, and in particular to a method, device, computer equipment and storage medium for generating business indicator alarm rules. Background Art
[0002] Business indicator alarms are a crucial part of today's large-scale system operation and maintenance. Due to the complexity of large-scale systems, if business indicator status is not collected and alarmed through special performance statistics when problems occur in the system, it is difficult for operation and maintenance personnel to perceive the problems found by the system in a timely manner and solve them in a timely manner. Therefore, a highly reliable, timely and easy-to-use alarm tool is necessary for the operation and maintenance of each large-scale system. The alarm judgment of the business indicator alarm tool is based on the data of various business indicators of the system. Currently, the indicator architectures that are widely used in the market are mostly based on the open source tool Prometheus.
[0003] However, traditional business indicator alarm technology has problems such as false alarms or missed alarms of business indicators. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for generating business indicator alarm rules that can avoid false alarms or missed alarms of business indicators in response to the above technical problems.
[0005] In a first aspect, a method for generating a business indicator alarm rule is provided, the method comprising:
[0006] In response to the triggering operation of the indicator alarm rule configuration program, an alarm rule configuration interface is displayed;
[0007] In response to selecting a first indicator name selection box and a first indicator configuration mode selection box on the alarm rule configuration interface, determining a first indicator name and a first indicator configuration mode; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode;
[0008] In response to the first indicator configuration mode being the multi-threshold mode, displaying a first multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface;
[0009] In response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, determining the first rule threshold condition, the second rule threshold condition and the first rule value;
[0010] A first business indicator alarm rule with a first indicator name is generated according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
[0011] In one of the embodiments, the method also includes: in response to the first indicator configuration mode being a fixed threshold mode, displaying a first fixed threshold indicator alarm rule configuration box in the alarm rule configuration interface; in response to a selection operation on a comparison operator selection box in the first fixed threshold indicator alarm rule configuration box, determining a first comparison operator corresponding to the first indicator name; in response to an input operation on a comparison threshold input box in the first fixed threshold indicator alarm rule configuration box, determining a first comparison threshold corresponding to the first indicator name; and generating a first business indicator alarm rule for the first indicator name according to the first indicator name, the first comparison operator and the first comparison threshold.
[0012] In one of the embodiments, the method further includes: in response to an indicator adding operation in the alarm rule configuration interface, displaying a second indicator name selection box and a second indicator configuration mode selection box in the alarm rule configuration interface; in response to a selection operation on the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface, determining the second indicator name and the second indicator configuration mode; wherein the second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; in response to the second indicator configuration mode being a multi-threshold mode, displaying a second multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; in response to a selection operation on a third rule threshold condition, a fourth rule in the second multi-threshold indicator alarm rule configuration box The threshold condition and the second rule value are configured to determine the third rule threshold condition, the fourth rule threshold condition and the second rule value, and the first business indicator alarm rule of the second indicator name is generated according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value; in response to the configuration operation on the target logical relationship, the target logical relationship is determined, and the comprehensive business indicator standard alarm rule is generated according to the target logical relationship, the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name; the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name.
[0013] In one of the embodiments, the method also includes: in response to performing a rule adding operation in the alarm rule configuration interface, displaying a third multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; in response to performing a configuration operation on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, determining the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, and generating a second business indicator alarm rule with the first indicator name according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value.
[0014] In one of the embodiments, the method also includes: obtaining target business data from a business data platform; wherein the target business data is the business data required to monitor the indicator corresponding to the first indicator name; determining the execution result of the first rule threshold condition and the execution result of the second rule threshold condition according to the target business data and the first business indicator alarm rule of the first indicator name; in response to the execution result of the first rule threshold condition and the execution result of the second rule threshold condition both satisfying the conditions, obtaining the first indicator value; the first indicator value is the indicator value corresponding to the first indicator name under the first rule threshold condition and the second rule threshold condition; in response to the first indicator value meeting the first rule value, outputting the alarm information of the first indicator name.
[0015] In one of the embodiments, the method also includes: in response to the execution result of the first rule threshold condition being that the condition is not met or the execution result of the second rule threshold condition is that the condition is not met, determining the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition according to the target business data and the second business indicator alarm rule of the first indicator name; in response to the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition both being that the condition is met, obtaining the second indicator value; the second indicator value is the indicator value corresponding to the first indicator name under the fifth rule threshold condition and the sixth rule threshold condition; in response to the second indicator value meeting the second rule value, outputting the alarm information of the first indicator name.
[0016] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, determining the first rule threshold condition, the second rule threshold condition and the first rule value, including: in response to selecting the condition type of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box, determining the condition type of the first rule threshold condition; wherein the condition type of the first rule threshold condition includes a label condition, a time condition or a script condition; in response to the condition type of the first rule threshold condition being a label condition, selecting a condition type in the first multi-threshold indicator The alarm rule configuration box displays a label name selection box, a comparison operator selection box and a label threshold selection box of the first rule threshold condition; in response to selection operations on the label name selection box, the comparison operator selection box and the label threshold selection box of the first rule threshold condition, the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition, the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition are determined; the first rule threshold condition is generated according to the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition.
[0017] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including: in response to the condition type of the first rule threshold condition being a time condition, displaying a start time selection box of the first rule threshold condition and an end time selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; in response to selecting the start time selection box of the first rule threshold condition and the end time selection box of the first rule threshold condition, determining the start time of the first rule threshold condition and the end time of the first rule threshold condition; generating the first rule threshold condition according to the start time of the first rule threshold condition and the end time of the first rule threshold condition.
[0018] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including: in response to the condition type of the first rule threshold condition being a script-type condition, determining the script determination type of the first rule threshold condition; the script determination type includes a script input type or a script selection type; in response to the script determination type of the first rule threshold condition being a script input type, displaying the script input box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; in response to an input operation on the script input box of the first rule threshold condition, determining the script content of the first rule threshold condition, and generating the first rule threshold condition according to the script content of the first rule threshold condition.
[0019] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including: in response to the script determination type of the first rule threshold condition being a script selection type, a script selection box for the first rule threshold condition is displayed in the first multi-threshold indicator alarm rule configuration box; in response to performing a selection operation on the script selection box of the first rule threshold condition from a commonly used script database, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated according to the script content of the first rule threshold condition.
[0020] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, determining the first rule threshold condition, the second rule threshold condition and the first rule value includes: in response to selecting the rule value type of the first rule value in the first multi-threshold indicator alarm rule configuration box, determining the rule value type of the first rule value; wherein the rule value type of the first rule value includes a fixed rule value or a script rule value; in response to the rule value type of the first rule value being a fixed rule value, displaying a comparison operator selection box for the first rule value and a fixed value input box for the first rule value in the first multi-threshold indicator alarm rule configuration box; in response to selecting the comparison operator selection box for the first rule value, determining the comparison operator for the first rule value; in response to inputting into the fixed value input box for the first rule value, determining the fixed threshold of the first rule value; generating the first rule value according to the comparison operator of the first rule value and the fixed threshold of the first rule value.
[0021] In one of the embodiments, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including: in response to the rule value type of the first rule value being a script-type rule value, displaying a comparison operator selection box for the first rule value and a script input box for the first rule value in the first multi-threshold indicator alarm rule configuration box; in response to a selection operation on the comparison operator selection box for the first rule value, determining the comparison operator for the first rule value; in response to an input operation on the script input box for the first rule value, determining the script content of the first rule value; wherein the script content of the first rule value is used to characterize the threshold size of the first rule value; and generating the first rule value according to the comparison operator of the first rule value and the script content of the first rule value.
[0022] In a second aspect, a device for generating business indicator alarm rules is provided, wherein the device comprises a program trigger module, a mode determination module, a rule configuration box display module, a threshold condition determination module and a rule generation module.
[0023] Among them, the program trigger module is used to display the alarm rule configuration interface in response to the trigger operation of the indicator alarm rule configuration program; the mode determination module is used to determine the first indicator name and the first indicator configuration mode in response to the selection operation on the first indicator name selection box and the first indicator configuration mode selection box on the alarm rule configuration interface; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; the rule configuration box display module is used to display the first multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface in response to the first indicator configuration mode being a multi-threshold mode; the threshold condition determination module is used to determine the first rule threshold condition, the second rule threshold condition and the first rule value in response to the configuration operation on the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box; the rule generation module is used to generate the first business indicator alarm rule with the first indicator name according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
[0024] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of any method in the above method embodiments are implemented.
[0025] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method in the above method embodiments are implemented.
[0026] The above-mentioned method, apparatus, computer equipment and storage medium for generating business indicator alarm rules, in response to the triggering operation of the indicator alarm rule configuration program, display the alarm rule configuration interface; then, in response to the selection operation on the first indicator name selection box and the first indicator configuration mode selection box of the alarm rule configuration interface, determine the first indicator name and the first indicator configuration mode; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; then, in response to the first indicator configuration mode being a multi-threshold mode, display the first multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; then, in response to the configuration operation on the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, determine The first rule threshold condition, the second rule threshold condition and the first rule value; finally, a first business indicator alarm rule of the first indicator name is generated according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value, so that the first business indicator alarm rule includes the first rule threshold condition and the second rule threshold condition. Compared with the first business indicator alarm rule only including the first rule threshold condition or the second rule threshold condition, the application scenario of the first business indicator of the first indicator name is limited, and the accuracy of the first business indicator of the first indicator name is improved, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is an application environment diagram of a method for generating business indicator alarm rules in an embodiment;
[0028] Figure 2 This is a first flow chart of a method for generating a business indicator alarm rule in an embodiment;
[0029] Figure 3 A second flow chart of a method for generating a business indicator alarm rule in one embodiment;
[0030] Figure 4 A third flow chart of a method for generating a business indicator alarm rule in an embodiment;
[0031] Figure 5 A fourth flow chart of a method for generating a business indicator alarm rule in an embodiment;
[0032] Figure 6 A fifth flow chart of a method for generating a business indicator alarm rule in an embodiment;
[0033] Figure 7A schematic diagram of a first process of determining the first rule threshold condition, the second rule threshold condition and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in a first multi-threshold indicator alarm rule configuration box in an embodiment;
[0034] Figure 8 A second flow chart of determining the first rule threshold condition, the second rule threshold condition and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in a first multi-threshold indicator alarm rule configuration box in an embodiment;
[0035] Fig. 9 It is a structural block diagram of a device for generating business indicator alarm rules in one embodiment;
[0036] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0040] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0041] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.
[0042] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the presence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.
[0043] The method for generating business indicator alarm rules provided in this application can be applied to Figure 1 In the application environment shown in FIG. 1 , the terminal 102 communicates with the server 104 through a network. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers. In addition, the server 104 may be, but is not limited to, an alarm platform.
[0044] In one embodiment, Figure 2 As shown, a method for generating business indicator alarm rules is provided, and the method is applied to Figure 1 The server 104 in the example is used for explanation, and the steps include the following steps 201 to 205.
[0045] Step 201, in response to a triggering operation of the indicator alarm rule configuration program, display an alarm rule configuration interface.
[0046] The indicator alarm rule configuration program is a tool for configuring business indicator alarm rules. Specifically, when the server 104 identifies the triggering operation of the indicator alarm rule configuration program, it can display the alarm rule configuration interface.
[0047] In a specific example, the indicator alarm rule configuration program can be, but is not limited to, the Prometheus tool, which is an open source monitoring and alarm tool designed for reliable and flexible system and application monitoring. It was developed by SoundCloud and joined the Cloud National Computing Foundation (CNCF) in 2016, becoming its second hosted project after Kubernetes. The core functions and features of the Prometheus tool are:
[0048] First, multidimensional data model; Labels: Prometheus uses a multidimensional data model with labels, allowing users to identify data using key-value pairs. Each time series consists of a unique metric name and a set of labels; Second, a powerful query language PromQL: PromQL is the query language of the Prometheus tool, which provides flexible and powerful data query capabilities. Users can use it for real-time data analysis, aggregation, and chart generation; Third, data collection and storage: The Prometheus tool mainly uses the pull mode to regularly pull data from the monitored targets. Fourth, time series database: The Prometheus tool comes with an efficient time series database for storing all collected data, supporting efficient time series data storage and query; Fifth, service discovery: The Prometheus tool supports a variety of service discovery mechanisms, including Kubernetes, Consul, Etcd, etc., and can automatically discover dynamically changing services and instances; Sixth, alarm management: The Prometheus tool provides a flexible alarm mechanism, and users can define alarm rules. When the alarm condition is met, the Prometheus tool triggers an alarm and sends it to AlertManager for processing and notification; Seventh, visualization; The Prometheus tool comes with a simple web interface for querying and visualizing data, but it is usually used in conjunction with Grafana, which provides more powerful and flexible dashboards and visualization functions. The above are only specific examples. In actual applications, they can be flexibly set according to user needs and are not limited here.
[0049] Step 202, in response to selecting the first indicator name selection box and the first indicator configuration mode selection box of the alarm rule configuration interface, determine the first indicator name and the first indicator configuration mode.
[0050] The first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode. The multi-threshold mode is used to characterize that the corresponding business indicator alarm rule includes at least two rule threshold conditions. The fixed threshold mode is used to characterize that the corresponding business indicator alarm rule includes only one rule threshold condition.
[0051] Specifically, the server 104 determines the first indicator name and the first indicator configuration mode upon identifying the selection operation performed on the first indicator name selection box and the first indicator configuration mode selection box of the alarm rule configuration interface.
[0052] In a specific example, any first indicator name can be selected through the first indicator name selection box, and the indicators corresponding to the first indicator name include atomic indicators, derived indicators, derived indicators and composite indicators. Atomic indicators refer to indicators that are collected without conversion; for example, tomcat_request_total{context='oneapp'}. Derived indicators refer to indicators that are processed by aggregation, calculation, etc. of atomic indicators; for example, avg_over_time by(context)(tomcat_request_Total{}[5m]), which represents the average number of requests within 5 minutes for each application; derived indicators are indicators derived from one or more atomic indicators. By performing mathematical operations, weighting or other transformation processes on atomic indicators, derived indicators can provide more in-depth and multi-dimensional analysis. The use of derived indicators can help us better understand and explain the changes in atomic indicators. For example, market share can be regarded as a derived indicator, which can be calculated by comparing the company's sales with the total sales of the entire market. Composite indicators are indicators composed of multiple atomic indicators, derived indicators or derived indicators. Composite indicators can comprehensively consider the information of multiple indicators to provide a more comprehensive and integrated evaluation. Composite indicators are often used in comprehensive evaluation systems, scoring systems or comprehensive indices. For example, the comprehensive financial health index can be calculated by considering multiple financial indicators (such as profit margin, debt repayment ability, cash flow). The above are only specific examples. In actual applications, they can be flexibly set according to user needs and are not limited here.
[0053] Step 203 , in response to the first indicator configuration mode being the multi-threshold mode, displaying a first multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface.
[0054] Step 204, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined.
[0055] Step 205: Generate a first business indicator alarm rule with a first indicator name according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
[0056] Specifically, when server 104 recognizes that the first indicator configuration mode is a multi-threshold mode, it displays the first multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; then, in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are configured to determine the first rule threshold condition, the second rule threshold condition and the first rule value; then, the first business indicator alarm rule of the first indicator name is generated according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value, so that the first business indicator alarm rule includes the first rule threshold condition and the second rule threshold condition, which limits the application scenario of the first business indicator of the first indicator name compared to the first business indicator alarm rule only including the first rule threshold condition or the second rule threshold condition, thereby improving the accuracy of the first business indicator of the first indicator name, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule.
[0057] Based on this, the above-mentioned method for generating business indicator alarm rules, in response to the triggering operation of the indicator alarm rule configuration program, displays the alarm rule configuration interface; then, in response to the selection operation on the first indicator name selection box and the first indicator configuration mode selection box on the alarm rule configuration interface, the first indicator name and the first indicator configuration mode are determined; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; then, in response to the first indicator configuration mode being a multi-threshold mode, a first multi-threshold indicator alarm rule configuration box is displayed in the alarm rule configuration interface; then, in response to the configuration operation on the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition is determined. value condition, the second rule threshold condition and the first rule value; finally, a first business indicator alarm rule of the first indicator name is generated according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value, so that the first business indicator alarm rule includes the first rule threshold condition and the second rule threshold condition. Compared with the first business indicator alarm rule only including the first rule threshold condition or the second rule threshold condition, the application scenario of the first business indicator of the first indicator name is limited, and the accuracy of the first business indicator of the first indicator name is improved, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule.
[0058] In one embodiment, if Figure 3 As shown, the method further includes steps 301 to 304.
[0059] Step 301, in response to the first indicator configuration mode being the fixed threshold mode, displaying a first fixed threshold indicator alarm rule configuration box on the alarm rule configuration interface.
[0060] Step 302: In response to a selection operation on a comparison symbol selection box in a first fixed threshold indicator alarm rule configuration box, a first comparison symbol corresponding to a first indicator name is determined.
[0061] Step 303, in response to an input operation being performed on a comparison threshold input box in a first fixed threshold indicator alarm rule configuration box, a first comparison threshold corresponding to a first indicator name is determined.
[0062] Step 304: Generate a first business indicator alarm rule of the first indicator name according to the first indicator name, the first comparison operator and the first comparison threshold.
[0063] Among them, the first comparison symbol corresponding to the first indicator name includes greater than, greater than or equal to, equal to, less than and less than or equal to. Specifically, when the server 104 recognizes that the first indicator configuration mode is a fixed threshold mode, it displays the first fixed threshold indicator alarm rule configuration box in the alarm rule configuration interface; then, when it is recognized that the comparison symbol selection box is selected in the first fixed threshold indicator alarm rule configuration box, the first comparison symbol corresponding to the first indicator name is determined; then, when it is recognized that the comparison threshold input box is input in the first fixed threshold indicator alarm rule configuration box, the first comparison threshold corresponding to the first indicator name is determined; finally, the first business indicator alarm rule of the first indicator name is generated according to the first indicator name, the first comparison symbol and the first comparison threshold, which improves the practicality and scope of application of the business indicator alarm rule, and also improves the convenience of using the business indicator alarm rule.
[0064] In this embodiment, in response to the first indicator configuration mode being a fixed threshold mode, a first fixed threshold indicator alarm rule configuration box is displayed in the alarm rule configuration interface; then, in response to a selection operation on the comparison operator selection box in the first fixed threshold indicator alarm rule configuration box, a first comparison operator corresponding to the first indicator name is determined; then, in response to an input operation on the comparison threshold input box in the first fixed threshold indicator alarm rule configuration box, a first comparison threshold corresponding to the first indicator name is determined; finally, a first business indicator alarm rule with the first indicator name is generated according to the first indicator name, the first comparison operator and the first comparison threshold, thereby improving the practicality and scope of application of the business indicator alarm rule, and thus improving the convenience of using the business indicator alarm rule.
[0065] In one embodiment, if Figure 4 As shown, the method further includes steps 401 to 405.
[0066] Step 401, in response to an indicator adding operation in the alarm rule configuration interface, a second indicator name selection box and a second indicator configuration mode selection box are displayed in the alarm rule configuration interface.
[0067] Step 402, in response to a selection operation on a second indicator name selection box and a second indicator configuration mode selection box in the alarm rule configuration interface, a second indicator name and a second indicator configuration mode are determined.
[0068] The second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode. The multi-threshold mode is used to characterize that the corresponding business indicator alarm rule includes at least two rule threshold conditions. The fixed threshold mode is used to characterize that the corresponding business indicator alarm rule includes only one rule threshold condition.
[0069] Specifically, when server 104 recognizes that an indicator addition operation is performed in the alarm rule configuration interface, it displays a second indicator name selection box and a second indicator configuration mode selection box in the alarm rule configuration interface; then, when it recognizes that a selection operation is performed on the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface, it determines the second indicator name and the second indicator configuration mode.
[0070] In a specific example, any second indicator name can be selected through the second indicator name selection box, and the indicators corresponding to the second indicator name include atomic indicators, derivative indicators, derived indicators and composite indicators. The above are only specific examples, which can be flexibly set according to user needs in actual applications and are not limited here.
[0071] Step 403, in response to the second indicator configuration mode being the multi-threshold mode, displaying a second multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface.
[0072] Step 404, in response to the configuration operation on the third rule threshold condition, the fourth rule threshold condition and the second rule value in the second multi-threshold indicator alarm rule configuration box, determines the third rule threshold condition, the fourth rule threshold condition and the second rule value, and generates the first business indicator alarm rule of the second indicator name according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value.
[0073] Step 405, in response to the configuration operation on the target logical relationship, the target logical relationship is determined, and a comprehensive business indicator standard alarm rule is generated according to the target logical relationship, the first business indicator alarm rule of the first indicator name, and the first business indicator alarm rule of the second indicator name.
[0074] Among them, the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name. Specifically, when server 104 recognizes that the second indicator configuration mode is a multi-threshold mode, it displays a second multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; then, when it recognizes that the third rule threshold condition, the fourth rule threshold condition and the second rule value are configured in the second multi-threshold indicator alarm rule configuration box, the third rule threshold condition, the fourth rule threshold condition and the second rule value are determined, and a first business indicator alarm rule with the second indicator name is generated according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value; then, when it recognizes that the target logical relationship is configured, the target logical relationship is determined, and a comprehensive business indicator standard alarm rule is generated according to the target logical relationship, the first business indicator alarm rule with the first indicator name and the first business indicator alarm rule with the second indicator name, thereby realizing the generation of a comprehensive business indicator standard alarm rule including the first business indicator alarm rule with the first indicator name and the first business indicator alarm rule with the second indicator name, thereby improving the practicality and scope of application of the business indicator alarm rule, thereby improving the ease of use of the business indicator alarm rule, and facilitating the configuration of the alarm rule of the composite indicator.
[0075] In a specific example, the method further requires an indicator adding operation, and both can execute "in response to an indicator adding operation in the alarm rule configuration interface, displaying a second indicator name selection box and a second indicator configuration mode selection box in the alarm rule configuration interface; in response to a selection operation on the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface, determining the second indicator name and the second indicator configuration mode; wherein the second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; in response to the second indicator configuration mode being a multi-threshold mode, displaying a second multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; in response to a configuration operation on a third rule threshold condition, a fourth rule threshold condition and a second rule value in the second multi-threshold indicator alarm rule configuration box, determining the third rule threshold condition, the fourth rule threshold condition and the second rule value, and configuring the third rule threshold condition, the fourth rule threshold condition and the second rule value according to the second indicator name, the third rule threshold Condition, fourth rule threshold condition and second rule value generate the first business indicator alarm rule of the second indicator name; in response to the configuration operation on the target logical relationship, determine the target logical relationship, and generate the comprehensive business indicator standard alarm rule according to the target logical relationship, the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name; the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name". It is only necessary to adaptively modify the threshold condition, rule value, indicator configuration mode and the serial number of the indicator name to generate the first business indicator alarm rule of the third indicator name, the first business indicator alarm rule of the fourth indicator name... and the first business indicator alarm rule of the nth indicator name. The above are only specific examples. In actual applications, they are flexibly set according to user needs and are not limited here.
[0076] In this embodiment, in response to an indicator adding operation in the alarm rule configuration interface, a second indicator name selection box and a second indicator configuration mode selection box are displayed in the alarm rule configuration interface; then, in response to a selection operation on the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface, the second indicator name and the second indicator configuration mode are determined; wherein the second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; then, in response to the second indicator configuration mode being a multi-threshold mode, a second multi-threshold indicator alarm rule configuration box is displayed in the alarm rule configuration interface; then, in response to a configuration operation on a third rule threshold condition, a fourth rule threshold condition and a second rule value in the second multi-threshold indicator alarm rule configuration box, the third rule threshold condition, the fourth rule threshold condition and the second rule value are determined, and according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value, Condition, the fourth rule threshold condition and the second rule value generate the first business indicator alarm rule of the second indicator name; finally, in response to the configuration operation on the target logical relationship, the target logical relationship is determined, and the comprehensive business indicator standard alarm rule is generated according to the target logical relationship, the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name; the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name, thereby realizing the generation of the comprehensive business indicator standard alarm rule including the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name, improving the practicability and scope of application of the business indicator alarm rule, thereby improving the convenience of use of the business indicator alarm rule, and facilitating the configuration of the alarm rules of the composite indicators.
[0077] In one embodiment, if Figure 5 As shown, the method further includes step 501 to step 502.
[0078] Step 501, in response to a rule adding operation in the alarm rule configuration interface, a third multi-threshold indicator alarm rule configuration box is displayed in the alarm rule configuration interface.
[0079] Step 502, in response to the configuration operation on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value are determined, and a second business indicator alarm rule with the first indicator name is generated according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value.
[0080] Specifically, when server 104 recognizes that a rule adding operation is being performed in the alarm rule configuration interface, server 104 displays a third multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; then, when server 104 recognizes that a configuration operation is being performed on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, server 104 determines the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, and generates a second business indicator alarm rule for the first indicator name according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, so that the first indicator name has the first business indicator alarm rule and the second business indicator alarm rule, which reduces the accuracy of monitoring the first business indicator corresponding to the first indicator name compared to the first indicator name having only the first business indicator alarm rule or the second business indicator alarm rule, thereby improving the accuracy of the first business indicator of the first indicator name, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule.
[0081] In a specific example, the first indicator name can be but is not limited to the number of users whose applications are rejected for review. The second business indicator alarm rule of the first indicator name is used to monitor the number of users whose applications are rejected for review on a daily basis to ensure that they meet the first threshold requirement. Since the number of users whose applications are rejected for review surges over weekends, relying solely on the second business indicator alarm rule of the first indicator name to monitor the number of users whose applications are rejected for review on weekends will result in inaccurate indicator alarms. At this time, the first business indicator alarm rule of the first indicator name is added to monitor the number of users whose applications are rejected for review on weekends to ensure that they meet the second threshold requirement. The priority of the first business indicator alarm rule of the first indicator name is higher than the priority of the second business indicator alarm rule of the first indicator name. The first business indicator alarm rule of the first indicator name and the second business indicator alarm rule of the first indicator name are executed in order of priority from high to low, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule.
[0082] In a specific example, the method further includes: in response to a priority configuration operation on a first business indicator alarm rule of a first indicator name and a second business indicator alarm rule of a first indicator name, determining the priority of the first business indicator alarm rule of the first indicator name and the priority of the second business indicator alarm rule of the first indicator name. It is understandable that the first business indicator alarm rule of the first indicator name and the second business indicator alarm rule of the first indicator name are executed in order from high to low priority. In addition, the first business indicator alarm rule of the first indicator name and the second business indicator alarm rule of the first indicator name may also be executed according to the order of the rule sequence number. The above are only specific examples, which are flexibly set according to user needs in actual applications and are not limited here.
[0083] In a specific example, the first indicator name also needs to perform a rule adding operation, and the steps of "in response to performing a rule adding operation in the alarm rule configuration interface, displaying a third multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; in response to performing a configuration operation on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, determining the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, and generating a second business indicator alarm rule for the first indicator name according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value" can be executed. It is only necessary to adaptively modify the threshold conditions, rule values and the serial numbers of the business indicator alarm rules to generate the third business indicator alarm rule for the first indicator name, the fourth business indicator alarm rule for the first indicator name... and the nth business indicator alarm rule for the first indicator name. The above are only specific examples and are flexibly set according to user needs in actual applications and are not limited here.
[0084] In this embodiment, in response to a rule adding operation in the alarm rule configuration interface, a third multi-threshold indicator alarm rule configuration box is displayed in the alarm rule configuration interface; then, in response to a configuration operation on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value are determined, and a second business indicator alarm rule of the first indicator name is generated according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, so that the first indicator name has the first business indicator alarm rule and the second business indicator alarm rule, which reduces the accuracy of monitoring the first business indicator corresponding to the first indicator name compared to the first indicator name having only the first business indicator alarm rule or the second business indicator alarm rule, thereby improving the accuracy of the first business indicator of the first indicator name, thereby avoiding false alarms or missed alarms of business indicators due to low indicator accuracy, and improving the adaptability and integration of the first business indicator alarm rule.
[0085] In one embodiment, if Figure 6 As shown, the method also includes steps 601 to 604.
[0086] Step 601, obtaining target business data from the business data platform.
[0087] Step 602, determining the execution result of the first rule threshold condition and the execution result of the second rule threshold condition according to the first business indicator alarm rule of the target business data and the first indicator name.
[0088] Step 603: In response to the execution result of the first rule threshold condition and the execution result of the second rule threshold condition both satisfying the conditions, a first indicator value is obtained.
[0089] Step 604: In response to the first indicator value meeting the first rule value, output alarm information of the first indicator name.
[0090] Among them, the target business data is the business data required to monitor the indicator corresponding to the first indicator name; the first indicator value is the indicator value corresponding to the first indicator name under the first rule threshold condition and the second rule threshold condition. Specifically, the server 104 obtains the target business data from the business data platform; then, according to the target business data and the first business indicator alarm rule of the first indicator name, the execution result of the first rule threshold condition and the execution result of the second rule threshold condition are determined; then, when it is identified that the execution result of the first rule threshold condition and the execution result of the second rule threshold condition are both satisfied, the first indicator value is obtained; finally, when it is identified that the first indicator value meets the first rule value, the alarm information of the first indicator name is output, which improves the convenience and accuracy of the output of the alarm information of the first indicator name.
[0091] In a specific example, when the first indicator value does not meet the first rule value, it is prohibited to output the alarm information of the first indicator name. The above is only a specific example, which can be flexibly set according to user needs in actual applications and is not limited here.
[0092] In this embodiment, target business data is obtained from a business data platform; then, the execution result of the first rule threshold condition and the execution result of the second rule threshold condition are determined according to the target business data and the first business indicator alarm rule of the first indicator name; then, in response to the execution result of the first rule threshold condition and the execution result of the second rule threshold condition both satisfying the conditions, the first indicator value is obtained; finally, in response to the first indicator value meeting the first rule value, alarm information of the first indicator name is output, thereby improving the convenience and accuracy of the output of the alarm information of the first indicator name.
[0093] In one embodiment, if Figure 6 As shown, the method also includes steps 605 to 607.
[0094] Step 605, in response to the execution result of the first rule threshold condition being that the condition is not met or the execution result of the second rule threshold condition being that the condition is not met, determine the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition based on the target business data and the second business indicator alarm rule of the first indicator name.
[0095] Step 606: In response to the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition both being satisfied, a second indicator value is obtained.
[0096] Step 607: In response to the second indicator value meeting the second rule value, output alarm information of the first indicator name.
[0097] Among them, the second indicator value is the indicator value corresponding to the first indicator name under the fifth rule threshold condition and the sixth rule threshold condition. Specifically, when the server 104 identifies that the execution result of the first rule threshold condition is not satisfied or the execution result of the second rule threshold condition is not satisfied, the server 104 determines the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition according to the target business data and the second business indicator alarm rule of the first indicator name; then, when it is identified that the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition are both satisfied, the second indicator value is obtained; finally, when it is identified that the second indicator value meets the second rule value, the alarm information of the first indicator name is output, which can avoid the business indicator false alarm or business indicator missed alarm caused by low indicator accuracy, and also improve the adaptability and integration of the first business indicator alarm rule.
[0098] In a specific example, in response to the second indicator value not meeting the second rule value, outputting the alarm information of the first indicator name is prohibited. The above is only a specific example and is flexibly set according to user needs in actual applications and is not limited here.
[0099] In this embodiment, in response to the execution result of the first rule threshold condition being that the condition is not met or the execution result of the second rule threshold condition is that the condition is not met, the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition are determined according to the target business data and the second business indicator alarm rule of the first indicator name; then, in response to the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition being that the condition is met, the second indicator value is obtained; then, in response to the second indicator value being consistent with the second rule value, the alarm information of the first indicator name is output, which can avoid false alarms or missed alarms of business indicators due to low indicator accuracy, and also improve the adaptability and integration of the first business indicator alarm rule.
[0100] In one embodiment, if Figure 7 As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 701 to 704.
[0101] Step 701, in response to a selection operation of a condition type of a first rule threshold condition in a first multi-threshold indicator alarm rule configuration box, the condition type of the first rule threshold condition is determined.
[0102] Step 702, in response to the condition type of the first rule threshold condition being a label type condition, a label name selection box of the first rule threshold condition, a comparison operator selection box of the first rule threshold condition, and a label threshold selection box of the first rule threshold condition are displayed in the first multi-threshold indicator alarm rule configuration box.
[0103] Step 703, in response to the selection operation on the label name selection box of the first rule threshold condition, the comparison operator selection box of the first rule threshold condition and the label threshold selection box of the first rule threshold condition, determine the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition.
[0104] Step 704: Generate the first rule threshold condition according to the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition, and the label threshold of the first rule threshold condition.
[0105] Among them, the condition type of the first rule threshold condition includes a label type condition, a time type condition or a script type condition. Specifically, when the server 104 identifies the condition type of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box and performs a selection operation, it determines the condition type of the first rule threshold condition; then, when it is identified that the condition type of the first rule threshold condition is a label type condition, the label name selection box of the first rule threshold condition, the comparison symbol selection box of the first rule threshold condition and the label threshold selection box of the first rule threshold condition are displayed in the first multi-threshold indicator alarm rule configuration box; then, when it is identified that the label name selection box of the first rule threshold condition, the comparison symbol selection box of the first rule threshold condition and the label threshold selection box of the first rule threshold condition are selected, the label name of the first rule threshold condition, the comparison symbol of the first rule threshold condition and the label threshold of the first rule threshold condition are determined; finally, the first rule threshold condition is generated according to the label name of the first rule threshold condition, the comparison symbol of the first rule threshold condition and the label threshold of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0106] In a specific example, the label name of the first rule threshold condition is the label name characteristic data of the first rule threshold condition; the comparison operators of the first rule threshold condition include equal to, not equal to and in list; the label threshold of the first rule threshold condition is used to characterize the threshold size of the label name of the first rule threshold condition. The above are only specific examples and are flexibly set according to user needs in actual applications and are not limited here.
[0107] In this embodiment, in response to a selection operation on the condition type of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box, the condition type of the first rule threshold condition is determined; then, in response to the condition type of the first rule threshold condition being a label type condition, a label name selection box of the first rule threshold condition, a comparison operator selection box of the first rule threshold condition, and a label threshold selection box of the first rule threshold condition are displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to a selection operation on the label name selection box of the first rule threshold condition, the comparison operator selection box of the first rule threshold condition, and the label threshold selection box of the first rule threshold condition, the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition, and the label threshold of the first rule threshold condition are determined; finally, the first rule threshold condition is generated according to the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition, and the label threshold of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0108] In one embodiment, if Figure 7As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 705 to 707.
[0109] Step 705: In response to the condition type of the first rule threshold condition being a time condition, a start time selection box of the first rule threshold condition and an end time selection box of the first rule threshold condition are displayed in the first multi-threshold indicator alarm rule configuration box;
[0110] Step 706, in response to selecting the start time selection box of the first rule threshold condition and the end time selection box of the first rule threshold condition, determining the start time of the first rule threshold condition and the end time of the first rule threshold condition;
[0111] Step 707: Generate the first rule threshold condition according to the start time of the first rule threshold condition and the end time of the first rule threshold condition.
[0112] Specifically, when the server 104 identifies that the condition type of the first rule threshold condition is a time condition, it displays the start time selection box and the end time selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; then, when it is identified that a selection operation is performed on the start time selection box and the end time selection box of the first rule threshold condition, it determines the start time of the first rule threshold condition and the end time of the first rule threshold condition; then, the first rule threshold condition is generated according to the start time of the first rule threshold condition and the end time of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0113] In this embodiment, in response to the condition type of the first rule threshold condition being a time condition, a start time selection box of the first rule threshold condition and an end time selection box of the first rule threshold condition are displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to selecting the start time selection box of the first rule threshold condition and the end time selection box of the first rule threshold condition, the start time of the first rule threshold condition and the end time of the first rule threshold condition are determined; then, the first rule threshold condition is generated according to the start time of the first rule threshold condition and the end time of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0114] In one embodiment, if Figure 7As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 708 to 710.
[0115] Step 708: In response to the condition type of the first rule threshold condition being a script-type condition, determine the script determination type of the first rule threshold condition.
[0116] Step 709, in response to the script determination type of the first rule threshold condition being a script input type, displaying a script input box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box;
[0117] Step 710, in response to an input operation on the script input box of the first rule threshold condition, determining the script content of the first rule threshold condition, and generating the first rule threshold condition according to the script content of the first rule threshold condition.
[0118] Among them, the script determination type includes a script input type or a script selection type. Specifically, when the server 104 identifies that the condition type of the first rule threshold condition is a script-type condition, it determines the script determination type of the first rule threshold condition; then, when it identifies that the script determination type of the first rule threshold condition is a script input type, it displays the script input box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; then, when it identifies that an input operation is performed on the script input box of the first rule threshold condition, it determines the script content of the first rule threshold condition, and generates the first rule threshold condition according to the script content of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0119] In a specific example, the script content of the first rule threshold condition obtained after the input operation is performed in the script input box of the first rule threshold condition can be, but is not limited to, a groovy script, which is a Java-based platform and compatible with Java syntax. It is designed to provide developers with a more flexible and efficient scripting language while still being able to utilize the Java ecosystem and libraries. Because the generation program of our business indicator alarm rules is developed in Java, a groovy script is selected. The above is only a specific example, which can be flexibly set according to user needs in actual applications and is not limited here.
[0120] In this implementation, in response to the condition type of the first rule threshold condition being a script-type condition, the script determination type of the first rule threshold condition is determined; then, in response to the script determination type of the first rule threshold condition being a script input type, a script input box for the first rule threshold condition is displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to an input operation being performed on the script input box for the first rule threshold condition, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated based on the script content of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0121] In one embodiment, if Figure 7 As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 711 to 712.
[0122] Step 711, in response to the script determination type of the first rule threshold condition being a script selection type, a script selection box of the first rule threshold condition is displayed in the first multi-threshold indicator alarm rule configuration box.
[0123] Step 712, in response to the selection operation of the commonly used script database on the script selection box of the first rule threshold condition, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated according to the script content of the first rule threshold condition.
[0124] Specifically, when the server 104 identifies that the script determination type of the first rule threshold condition is a script selection type, it displays the script selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; then, when the script selection box of the first rule threshold condition is selected from the commonly used script database, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated according to the script content of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0125] In a specific example, the common script database is used to store common rule threshold condition scripts. For example, the DateUt il script is used to determine whether it is a holiday or a weekend; the AppUt il script can be used to determine the response level of the application, etc. The above are only specific examples, and in actual applications, they are flexibly set according to user needs and are not limited here.
[0126] In a specific example, the process of generating the second rule threshold condition can be adaptively performed with reference to steps 701 to 712. The above is only a specific example and can be flexibly set according to user needs in actual applications and is not limited here.
[0127] In this embodiment, in response to the script determination type of the first rule threshold condition being a script selection type, a script selection box for the first rule threshold condition is displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to a selection operation of a commonly used script database being performed on the script selection box for the first rule threshold condition, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated based on the script content of the first rule threshold condition, thereby improving the convenience and efficiency of generating the first rule threshold condition.
[0128] In one embodiment, if Figure 8 As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 801 to 805.
[0129] Step 801, in response to a selection operation of a rule value type of a first rule value in a first multi-threshold indicator alarm rule configuration box, a rule value type of the first rule value is determined.
[0130] Step 802 , in response to the rule value type of the first rule value being a fixed rule value, displaying a comparison symbol selection box for the first rule value and a fixed value input box for the first rule value in the first multi-threshold indicator alarm rule configuration box.
[0131] Step 803 : In response to a selection operation on a comparison symbol selection box of the first rule value, a comparison symbol of the first rule value is determined.
[0132] Step 804 , in response to an input operation being performed on the fixed value input box of the first rule value, determining a fixed threshold value of the first rule value.
[0133] Step 805: Generate a first rule value according to a comparison symbol of the first rule value and a fixed threshold value of the first rule value.
[0134] Among them, the rule value type of the first rule value includes a fixed rule value or a script rule value. Specifically, when the server 104 identifies that the rule value type of the first rule value in the first multi-threshold indicator alarm rule configuration box is selected, the rule value type of the first rule value is determined; then, when the rule value type of the first rule value is identified as a fixed rule value, a comparison operator selection box for the first rule value and a fixed value input box for the first rule value are displayed in the first multi-threshold indicator alarm rule configuration box; then, when it is identified that a selection operation is performed on the comparison operator selection box for the first rule value, the comparison operator of the first rule value is determined; then, in response to an input operation on the fixed value input box for the first rule value, a fixed threshold value of the first rule value is determined; finally, the first rule value is generated according to the comparison operator of the first rule value and the fixed threshold value of the first rule value, thereby improving the efficiency and convenience of generating the first rule value.
[0135] In this embodiment, in response to a selection operation on the rule value type of the first rule value in the first multi-threshold indicator alarm rule configuration box, the rule value type of the first rule value is determined; then, in response to the rule value type of the first rule value being a fixed rule value, a comparison operator selection box for the first rule value and a fixed value input box for the first rule value are displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to a selection operation on the comparison operator selection box for the first rule value, the comparison operator for the first rule value is determined; then, in response to an input operation on the fixed value input box for the first rule value, the fixed threshold value of the first rule value is determined; finally, the first rule value is generated according to the comparison operator of the first rule value and the fixed threshold value of the first rule value, thereby improving the efficiency and convenience of generating the first rule value.
[0136] In one embodiment, if Figure 8 As shown, in response to configuring the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box, the first rule threshold condition, the second rule threshold condition and the first rule value are determined, including steps 806 to 809.
[0137] Step 806: In response to the rule value type of the first rule value being a script-type rule value, displaying a comparison symbol selection box for the first rule value and a script input box for the first rule value in the first multi-threshold indicator alarm rule configuration box;
[0138] Step 807, in response to a selection operation on a comparison symbol selection box of the first rule value, determining a comparison symbol of the first rule value;
[0139] Step 808, in response to an input operation being performed on the script input box of the first rule value, determining the script content of the first rule value;
[0140] Step 809: Generate a first rule value according to the comparison operator of the first rule value and the script content of the first rule value.
[0141] Among them, the script content of the first rule value is used to characterize the threshold value size of the first rule value. Specifically, when the server 104 recognizes that the rule value type of the first rule value is a script-type rule value, it displays the comparison operator selection box of the first rule value and the script input box of the first rule value in the first multi-threshold indicator alarm rule configuration box; then, when it is recognized that a selection operation is performed on the comparison operator selection box of the first rule value, the comparison operator of the first rule value is determined; then, when it is recognized that an input operation is performed on the script input box of the first rule value, the script content of the first rule value is determined; finally, the first rule value is generated according to the comparison operator of the first rule value and the script content of the first rule value, thereby improving the efficiency and convenience of generating the first rule value.
[0142] In a specific example, the comparison operators of the first rule value include greater than, less than, and equal to; the script content of the first rule value can be, but is not limited to, querying the interface of the third-party application to return data in real time. For example, users have an indicator of the actual number of SMS messages sent, and need to compare the estimated number of SMS messages sent per hour of marketing activities in the marketing platform in real time. Users can write an interface in the marketing platform to query the estimated number of messages sent from the database based on the label, and return it to the alarm platform for the threshold value of the alarm. The above is only a specific example. In actual application, it can be flexibly set according to user needs and is not limited here.
[0143] In this embodiment, in response to the rule value type of the first rule value being a script-type rule value, a comparison operator selection box for the first rule value and a script input box for the first rule value are displayed in the first multi-threshold indicator alarm rule configuration box; then, in response to a selection operation on the comparison operator selection box for the first rule value, the comparison operator for the first rule value is determined; then, in response to an input operation on the script input box for the first rule value, the script content of the first rule value is determined; finally, the first rule value is generated according to the comparison operator for the first rule value and the script content of the first rule value, thereby improving the efficiency and convenience of generating the first rule value.
[0144] It should be understood that although Figure 2-8 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-8At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0145] Second, as Fig. 9 As shown, a device for generating business indicator alarm rules is provided, and the method device includes a program trigger module 910, a mode determination module 920, a rule configuration box display module 930, a threshold condition determination module 940 and a rule generation module 950.
[0146] Among them, the program trigger module 910 is used to display the alarm rule configuration interface in response to the trigger operation of the indicator alarm rule configuration program; the formula determination module 920 is used to determine the first indicator name and the first indicator configuration mode in response to the selection operation of the first indicator name selection box and the first indicator configuration mode selection box in the alarm rule configuration interface; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; the rule configuration box display module 930 is used to display the first multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface in response to the first indicator configuration mode being a multi-threshold mode; the threshold condition determination module 940 is used to determine the first rule threshold condition, the second rule threshold condition and the first rule value in response to the configuration operation of the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box; the rule generation module 950 is used to generate the first business indicator alarm rule with the first indicator name according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
[0147] In one of the embodiments, the rule configuration box display module 930 is used to display the first fixed threshold indicator alarm rule configuration box in the alarm rule configuration interface in response to the first indicator configuration mode being the fixed threshold mode; the threshold condition determination module 940 is also used to determine the first comparison operator corresponding to the first indicator name in response to a selection operation on the comparison operator selection box in the first fixed threshold indicator alarm rule configuration box; the threshold condition determination module 940 is also used to determine the first comparison threshold corresponding to the first indicator name in response to an input operation on the comparison threshold input box in the first fixed threshold indicator alarm rule configuration box; the rule generation module 950 is also used to generate a first business indicator alarm rule for the first indicator name based on the first indicator name, the first comparison operator and the first comparison threshold.
[0148] In one of the embodiments, the device further includes an indicator adding module.
[0149] Among them, the indicator adding module is used to respond to the indicator adding operation in the alarm rule configuration interface, and display the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface; the indicator adding module is used to respond to the selection operation on the second indicator name selection box and the second indicator configuration mode selection box in the alarm rule configuration interface, and determine the second indicator name and the second indicator configuration mode; wherein the second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; the indicator adding module is used to respond to the second indicator configuration mode being a multi-threshold mode, and display the second multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; the indicator adding module is used to respond to the selection of the third rule threshold condition in the second multi-threshold indicator alarm rule configuration box. , the fourth rule threshold condition and the second rule value are configured to determine the third rule threshold condition, the fourth rule threshold condition and the second rule value, and generate the first business indicator alarm rule of the second indicator name according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value; the indicator adding module is used to respond to the configuration operation on the target logical relationship, determine the target logical relationship, and generate the comprehensive business indicator standard alarm rule according to the target logical relationship, the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name; the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name.
[0150] In one of the embodiments, the device further includes a rule adding module.
[0151] Among them, the rule adding module is used to respond to the rule adding operation in the alarm rule configuration interface, and display the third multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; the rule adding module is used to respond to the configuration operation of the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, determine the fifth rule threshold condition, the sixth rule threshold condition and the third rule value, and generate the second business indicator alarm rule of the first indicator name according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value.
[0152] In one of the embodiments, the device also includes an indicator alarm module.
[0153] Among them, the indicator alarm module is used to obtain target business data from the business data platform; wherein, the target business data is the business data required to monitor the indicator corresponding to the first indicator name; the indicator alarm module is used to determine the execution result of the first rule threshold condition and the execution result of the second rule threshold condition according to the target business data and the first business indicator alarm rule of the first indicator name; the indicator alarm module is used to obtain the first indicator value in response to the execution result of the first rule threshold condition and the execution result of the second rule threshold condition both meeting the conditions; the first indicator value is the indicator value corresponding to the first indicator name under the first rule threshold condition and the second rule threshold condition; the indicator alarm module is used to output the alarm information of the first indicator name in response to the first indicator value meeting the first rule value.
[0154] In one of the embodiments, the indicator alarm module is used to determine the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition according to the target business data and the second business indicator alarm rule of the first indicator name in response to the execution result of the first rule threshold condition being unsatisfied or the execution result of the second rule threshold condition being unsatisfied; the indicator alarm module is used to obtain the second indicator value in response to the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition being satisfied; the second indicator value is the indicator value corresponding to the first indicator name under the fifth rule threshold condition and the sixth rule threshold condition; the indicator alarm module is used to output the alarm information of the first indicator name in response to the second indicator value meeting the second rule value.
[0155] In one embodiment, the threshold condition determination module 940 includes a threshold condition determination unit and a rule value determination unit.
[0156] Among them, the threshold condition determination unit is used to determine the condition type of the first rule threshold condition in response to a selection operation on the condition type of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; wherein the condition type of the first rule threshold condition includes a label type condition, a time type condition or a script type condition; the threshold condition determination unit is used to display the label name selection box of the first rule threshold condition, the comparison operator selection box of the first rule threshold condition and the label threshold selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box in response to the condition type of the first rule threshold condition being a label type condition; the threshold condition determination unit is used to determine the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold selection box of the first rule threshold condition in response to a selection operation on the label name selection box of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold selection box of the first rule threshold condition; the threshold condition determination unit is used to generate the first rule threshold condition according to the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition.
[0157] In one of the embodiments, the threshold condition determination unit is used to display a start time selection box and an end time selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box in response to the condition type of the first rule threshold condition being a time condition; the threshold condition determination unit is used to determine the start time of the first rule threshold condition and the end time of the first rule threshold condition in response to a selection operation on the start time selection box and the end time selection box of the first rule threshold condition; the threshold condition determination unit is used to generate the first rule threshold condition according to the start time of the first rule threshold condition and the end time of the first rule threshold condition.
[0158] In one of the embodiments, the threshold condition determination unit is used to determine the script determination type of the first rule threshold condition in response to the condition type of the first rule threshold condition being a script-type condition; the script determination type includes a script input type or a script selection type; the threshold condition determination unit is used to display the script input box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box in response to the script determination type of the first rule threshold condition being a script input type; the threshold condition determination unit is used to determine the script content of the first rule threshold condition in response to an input operation on the script input box of the first rule threshold condition, and generate the first rule threshold condition according to the script content of the first rule threshold condition.
[0159] In one of the embodiments, the threshold condition determination unit is used to display a script selection box for the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box in response to the script determination type of the first rule threshold condition being a script selection type; the threshold condition determination unit is used to determine the script content of the first rule threshold condition in response to a selection operation of a commonly used script database on the script selection box of the first rule threshold condition, and generate the first rule threshold condition according to the script content of the first rule threshold condition.
[0160] In one of the embodiments, the rule value determination unit is used to determine the rule value type of the first rule value in response to a selection operation on the rule value type of the first rule value in the first multi-threshold indicator alarm rule configuration box; wherein the rule value type of the first rule value includes a fixed rule value or a script rule value; the rule value determination unit is used to display a comparison operator selection box for the first rule value and a fixed value input box for the first rule value in the first multi-threshold indicator alarm rule configuration box in response to the rule value type of the first rule value being a fixed rule value; the rule value determination unit is used to determine the comparison operator of the first rule value in response to a selection operation on the comparison operator selection box of the first rule value; the rule value determination unit is used to determine the fixed threshold of the first rule value in response to an input operation on the fixed value input box of the first rule value; the rule value determination unit is used to generate the first rule value according to the comparison operator of the first rule value and the fixed threshold of the first rule value.
[0161] In one of the embodiments, the rule value determination unit is used to display a comparison operator selection box for the first rule value and a script input box for the first rule value in a first multi-threshold indicator alarm rule configuration box in response to a rule value type of the first rule value being a script-type rule value; the rule value determination unit is used to determine the comparison operator for the first rule value in response to a selection operation on the comparison operator selection box for the first rule value; the rule value determination unit is used to determine the script content of the first rule value in response to an input operation on the script input box for the first rule value; wherein the script content of the first rule value is used to characterize the threshold size of the first rule value; the rule value determination unit is used to generate the first rule value according to the comparison operator for the first rule value and the script content of the first rule value.
[0162] For the specific limitations of the device for generating business indicator alarm rules, please refer to the limitations of the method for generating business indicator alarm rules above, which will not be repeated here. Each module in the above-mentioned device for generating business indicator alarm rules can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0163] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the first business indicator alarm rule data of the first indicator name. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating a business indicator alarm rule is implemented.
[0164] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0165] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of any method in the above method embodiments are implemented.
[0166] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method in the above method embodiments are implemented.
[0167] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0168] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0169] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for generating business indicator alarm rules, the method include: In response to the triggering operation of the indicator alarm rule configuration program, an alarm rule configuration interface is displayed; In response to selecting a first indicator name selection box and a first indicator configuration mode selection box of the alarm rule configuration interface, determining a first indicator name and a first indicator configuration mode; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; In response to the first indicator configuration mode being the multi-threshold mode, displaying a first multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface; In response to configuring a first rule threshold condition, a second rule threshold condition, and a first rule value in the first multi-threshold indicator alarm rule configuration box, determining the first rule threshold condition, the second rule threshold condition, and the first rule value; A first business indicator alarm rule with the first indicator name is generated according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
2. The method according to claim 1, It is characterized in that The method further comprises: In response to the first indicator configuration mode being the fixed threshold mode, displaying a first fixed threshold indicator alarm rule configuration box on the alarm rule configuration interface; In response to a selection operation on a comparison symbol selection box in the first fixed threshold indicator alarm rule configuration box, determining a first comparison symbol corresponding to the first indicator name; In response to an input operation being performed on a comparison threshold input box in the first fixed threshold indicator alarm rule configuration box, determining a first comparison threshold corresponding to the first indicator name; A first business indicator alarm rule of the first indicator name is generated according to the first indicator name, the first comparison operator and the first comparison threshold.
3. The method according to claim 1, It is characterized in that The method further comprises: In response to an indicator adding operation being performed in the alarm rule configuration interface, displaying a second indicator name selection box and a second indicator configuration mode selection box in the alarm rule configuration interface; In response to selecting the second indicator name selection box and the second indicator configuration mode selection box of the alarm rule configuration interface, determining the second indicator name and the second indicator configuration mode; wherein the second indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; In response to the second indicator configuration mode being the multi-threshold mode, displaying a second multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface; In response to configuring the third rule threshold condition, the fourth rule threshold condition and the second rule value in the second multi-threshold indicator alarm rule configuration box, determining the third rule threshold condition, the fourth rule threshold condition and the second rule value, and generating a first business indicator alarm rule of the second indicator name according to the second indicator name, the third rule threshold condition, the fourth rule threshold condition and the second rule value; In response to a configuration operation on a target logical relationship, the target logical relationship is determined, and a comprehensive business indicator standard alarm rule is generated based on the target logical relationship, the first business indicator alarm rule of the first indicator name, and the first business indicator alarm rule of the second indicator name; the target logical relationship is the logical relationship between the first business indicator alarm rule of the first indicator name and the first business indicator alarm rule of the second indicator name.
4. The method according to claim 1, It is characterized in that The method further comprises: In response to performing a rule adding operation in the alarm rule configuration interface, displaying a third multi-threshold indicator alarm rule configuration box in the alarm rule configuration interface; In response to the configuration operation on the fifth rule threshold condition, the sixth rule threshold condition and the third rule value in the third multi-threshold indicator alarm rule configuration box, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value are determined, and the second business indicator alarm rule with the first indicator name is generated according to the first indicator name, the fifth rule threshold condition, the sixth rule threshold condition and the third rule value.
5. The method according to claim 4, It is characterized in that The method further comprises: Acquire target business data from a business data platform; wherein the target business data is business data required to monitor the indicator corresponding to the first indicator name; Determine the execution result of the first rule threshold condition and the execution result of the second rule threshold condition according to the first business indicator alarm rule of the target business data and the first indicator name; In response to the execution result of the first rule threshold condition and the execution result of the second rule threshold condition both satisfying the conditions, obtaining a first indicator value; the first indicator value is an indicator value corresponding to the first indicator name under the first rule threshold condition and the second rule threshold condition; In response to the first indicator value complying with the first rule value, alarm information of the first indicator name is output.
6. The method according to claim 5, It is characterized in that The method further comprises: In response to the execution result of the first rule threshold condition being an unsatisfied condition or the execution result of the second rule threshold condition being the unsatisfied condition, determining the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition according to the target business data and the second business indicator alarm rule of the first indicator name; In response to the execution result of the fifth rule threshold condition and the execution result of the sixth rule threshold condition both being the satisfied condition, obtaining a second indicator value; the second indicator value is the indicator value corresponding to the first indicator name under the fifth rule threshold condition and the sixth rule threshold condition; In response to the second indicator value complying with the second rule value, outputting alarm information of the first indicator name.
7. The method according to claim 1, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to a selection operation of a condition type of a first rule threshold condition in the first multi-threshold indicator alarm rule configuration box, determining a condition type of the first rule threshold condition; wherein the condition type of the first rule threshold condition includes a label condition, a time condition, or a script condition; In response to the condition type of the first rule threshold condition being the label type condition, displaying a label name selection box of the first rule threshold condition, a comparison operator selection box of the first rule threshold condition, and a label threshold selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; In response to selecting the label name selection box of the first rule threshold condition, the comparison symbol selection box of the first rule threshold condition, and the label threshold selection box of the first rule threshold condition, determining the label name of the first rule threshold condition, the comparison symbol of the first rule threshold condition, and the label threshold of the first rule threshold condition; The first rule threshold condition is generated according to the label name of the first rule threshold condition, the comparison operator of the first rule threshold condition and the label threshold of the first rule threshold condition.
8. The method according to claim 7, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to the condition type of the first rule threshold condition being the time condition, displaying a start time selection box of the first rule threshold condition and an end time selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; In response to selecting the start time selection box of the first rule threshold condition and the end time selection box of the first rule threshold condition, determining the start time of the first rule threshold condition and the end time of the first rule threshold condition; The first rule threshold condition is generated according to the start time of the first rule threshold condition and the end time of the first rule threshold condition.
9. The method according to claim 7, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to the condition type of the first rule threshold condition being the script type condition, determining the script determination type of the first rule threshold condition; the script determination type includes a script input type or a script selection type; In response to the script determination type of the first rule threshold condition being the script input type, displaying a script input box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; In response to an input operation performed on the script input box of the first rule threshold condition, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated according to the script content of the first rule threshold condition.
10. The method according to claim 9, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to the script determination type of the first rule threshold condition being the script selection type, displaying a script selection box of the first rule threshold condition in the first multi-threshold indicator alarm rule configuration box; In response to a selection operation of a commonly used script database being performed on the script selection box of the first rule threshold condition, the script content of the first rule threshold condition is determined, and the first rule threshold condition is generated according to the script content of the first rule threshold condition.
11. The method according to claim 1, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to a selection operation of the rule value type of the first rule value in the first multi-threshold indicator alarm rule configuration box, determining the rule value type of the first rule value; wherein the rule value type of the first rule value includes a fixed rule value or a script rule value; In response to the rule value type of the first rule value being the fixed rule value, displaying a comparison symbol selection box for the first rule value and a fixed value input box for the first rule value in the first multi-threshold indicator alarm rule configuration box; In response to a selection operation on a comparison symbol selection box of the first rule value, determining a comparison symbol of the first rule value; In response to an input operation being performed on a fixed value input box of the first rule value, determining a fixed threshold value of the first rule value; The first rule value is generated according to a comparator of the first rule value and a fixed threshold of the first rule value.
12. The method according to claim 11, It is characterized in that The step of determining the first rule threshold condition, the second rule threshold condition, and the first rule value in response to configuring the first rule threshold condition, the second rule threshold condition, and the first rule value in the first multi-threshold indicator alarm rule configuration box includes: In response to the rule value type of the first rule value being the script-type rule value, displaying a comparison symbol selection box for the first rule value and a script input box for the first rule value in the first multi-threshold indicator alarm rule configuration box; In response to a selection operation on a comparison symbol selection box of the first rule value, determining a comparison symbol of the first rule value; In response to an input operation being performed on the script input box of the first rule value, determining the script content of the first rule value; wherein the script content of the first rule value is used to characterize a threshold value of the first rule value; The first rule value is generated according to the comparison symbol of the first rule value and the script content of the first rule value.
13. A device for generating business indicator alarm rules, It is characterized in that The method device: A program trigger module, used to display an alarm rule configuration interface in response to a trigger operation of the indicator alarm rule configuration program; A mode determination module, configured to determine a first indicator name and a first indicator configuration mode in response to a selection operation on a first indicator name selection box and a first indicator configuration mode selection box of the alarm rule configuration interface; wherein the first indicator configuration mode includes a multi-threshold mode or a fixed threshold mode; A rule configuration box display module, configured to display a first multi-threshold indicator alarm rule configuration box on the alarm rule configuration interface in response to the first indicator configuration mode being the multi-threshold mode; A threshold condition determination module, configured to determine the first rule threshold condition, the second rule threshold condition and the first rule value in response to a configuration operation on the first rule threshold condition, the second rule threshold condition and the first rule value in the first multi-threshold indicator alarm rule configuration box; A rule generation module is used to generate a first business indicator alarm rule with the first indicator name according to the first indicator name, the first rule threshold condition, the second rule threshold condition and the first rule value.
14. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
15. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Operation and maintenance monitoring alarm convergence method and device, computer equipment and storage medium
CN110399262A
Operation and maintenance monitoring management system
CN111190794A
Business index monitoring method, monitoring server and system
CN111553560A
Alarm rule configuration method and device
CN115617625A
Alarm rule configuration method and device, electronic equipment and storage medium
CN115994066A
