Application program monitoring method and device, equipment and medium

By obtaining the monitoring alarm data of the target functional module of the application and determining the dynamic grading data and alarm levels, the problems of untimely detection and frequent alarms in the existing technology are solved, and more efficient application monitoring and operation and maintenance efficiency are achieved.

CN119917364APending Publication Date: 2025-05-02BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311414563.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

There are problems with existing application monitoring methods such as untimely detection, frequent alarms or neglect, which leads to the application's problems not being solved in a timely manner, increasing unnecessary workload, and affecting operation and maintenance efficiency.

Method used

By obtaining the monitoring alarm data of the target functional module of the application, dynamic grading data, including weight grading data and/or traffic grading data, is determined based on these data, and the alarm level of the target functional module is determined and alarmed based on this level.

Benefits of technology

It realizes dynamic adjustment of alarm levels according to the weight and/or traffic of the target functional module of the application, improves the efficiency and coverage of problem solving, avoids the problems of frequent or neglected alarms, and improves operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917364A_ABST
    Figure CN119917364A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an application program monitoring method and device, equipment and a medium. The method comprises the steps of obtaining monitoring alarm data of a target function module of an application program; dynamic grading data are determined based on the monitoring alarm data, and the dynamic grading data comprise weight grading data and / or flow grading data; determining an alarm grade of the target function module based on the dynamic grading data; and giving an alarm based on the alarm level of the target function module. By adopting the technical scheme, the dynamic grading of the alarm is realized according to the weight and / or the flow of the target function module, compared with fixed monitoring alarm, the efficiency and the coverage rate of solving the problems of the application program are improved, the alarm can be given based on the dynamically graded alarm grade, the possible problems of frequent alarm or neglect and the like are avoided, and the user experience is improved. The operation and maintenance efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment and medium for monitoring an application program. Background Art

[0002] During the launch and operation phases of an application, comprehensive monitoring is required to resolve problems that arise with business functions and ensure the stability of business functions.

[0003] In the related technologies, monitoring of applications usually configures fixed monitoring strategies and alarm strategies based on the amount of data. Even if some of them support dynamic adjustment, there are still alarm problems such as untimely problem detection, frequent alarms or ignored alarms, which leads to the failure to solve application problems in a timely manner, and may increase unnecessary workload and affect operation and maintenance efficiency. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a monitoring method, device, equipment and medium for an application.

[0005] The present disclosure provides a method for monitoring an application program, the method comprising:

[0006] Obtain monitoring alarm data of the target functional module of the application;

[0007] Determining dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data;

[0008] Determining an alarm level of the target functional module based on the dynamic rating data;

[0009] An alarm is issued based on the alarm level of the target functional module.

[0010] The present disclosure also provides a device for monitoring an application program, the device comprising:

[0011] An acquisition module is used to acquire monitoring alarm data of a target functional module of an application program;

[0012] A data module, used to determine dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data;

[0013] A grading module, used to determine the alarm level of the target functional module based on the dynamic grading data;

[0014] The alarm module is used to generate an alarm based on the alarm level of the target functional module.

[0015] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement a monitoring method for an application as provided in an embodiment of the present disclosure.

[0016] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the monitoring method of the application program provided by the embodiment of the present disclosure.

[0017] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: the monitoring solution of the application provided by the embodiment of the present disclosure obtains the monitoring alarm data of the target functional module of the application; determines the dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data; determines the alarm level of the target functional module based on the dynamic rating data; and issues an alarm based on the alarm level of the target functional module. By adopting the above technical solution, by obtaining the monitoring alarm data of the target functional module of the application, the dynamic rating data can be determined, and the alarm level can be determined based on the dynamic rating data, thereby implementing an alarm. Since the dynamic rating data can include weight rating data and / or flow rating data, the dynamic rating of the alarm is implemented according to the weight and / or flow of the target functional module. Compared with fixed monitoring alarms, the efficiency and coverage of problem solving of the application are improved, and the alarm can be issued based on the dynamically rated alarm level, thereby avoiding possible problems such as frequent alarms or neglect, and improving operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0019] Figure 1 A flowchart of a method for monitoring an application program provided by an embodiment of the present disclosure;

[0020] Figure 2 A schematic diagram of monitoring an application program provided in an embodiment of the present disclosure;

[0021] Figure 3 A flowchart of another method for monitoring an application provided by an embodiment of the present disclosure;

[0022] Figure 4 A schematic diagram of a shielded entrance provided by an embodiment of the present disclosure;

[0023] Figure 5 A schematic diagram of monitoring another application provided by an embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of the structure of a monitoring device for an application program provided in an embodiment of the present disclosure;

[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0032] During the launch and operation phase of application functions, all-round monitoring capabilities and a sound alarm system are usually required to ensure the stability of the functions. Even if the monitoring of applications partially supports dynamic adjustment, problems are still not discovered in a timely manner. For example, the failure of the C-end of the customer service platform was not discovered from the monitoring alarm, resulting in long-term defects in the program, which directly caused a poor experience; there are also alarm problems such as frequent alarms or alarms being ignored, which leads to the inability to solve application problems in a timely manner, and may increase unnecessary workload and affect operation and maintenance efficiency.

[0033] In order to solve the above problems, the embodiments of the present disclosure provide a method for monitoring an application program, which is described below in conjunction with specific embodiments.

[0034] Figure 1 The present invention provides a flowchart of a method for monitoring an application program, which can be performed by a monitoring device for an application program, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:

[0035] Step 101: Obtain monitoring alarm data of a target functional module of an application.

[0036] Among them, the application can be any one or more applications that need to be functionally monitored, for example, the application can be a reading application, a video application or a communication application, etc., without specific limitation. The target function module can be one or more function modules in the application that need to monitor whether the function is running normally, for example, the target function module can include functions such as sending pictures and videos, evaluation, input, intelligent question and answer, etc., without specific limitation. The monitoring alarm data can be all data related to the current alarm when the alarm is triggered for the data of the target function module. In the embodiment of the present disclosure, the monitoring alarm data can include data in two dimensions: weight and flow.

[0037] In the disclosed embodiment, when the collected data of the target functional module of the application exceeds the alarm threshold, an alarm may be triggered, and at this time, the monitoring device of the application may obtain the monitoring alarm data for subsequent use.

[0038] Step 102: Determine dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data.

[0039] The dynamic rating data may be data used to determine the subsequent alarm level. Since the monitoring alarm data is dynamically changing, the dynamic rating data is also dynamically changing, so the determination of the alarm level is a dynamic rating process. In the disclosed embodiment, the dynamic rating data may include weight rating data and / or flow rating data. The weight rating data may be data used for rating in the weight dimension, and the flow rating data may be data used for rating in the flow dimension.

[0040] In some embodiments, when the dynamic rating data includes weight rating data, determining the dynamic rating data based on the monitoring alarm data may include: extracting module weights, problem duration and number of alarms in the weight rating data from the monitoring alarm data; and determining the impact ratio in the weight rating data based on the number of affected objects and the total number of objects in the monitoring alarm data.

[0041] Among them, the module weight can be a representation of a functional module according to whether it is a core function and the scope and degree of impact when a problem occurs. The larger the module weight, the greater the importance of the functional module and the higher the level of monitoring alarm. In the embodiment of the present disclosure, the corresponding module weight is pre-set for each functional module. The problem duration can be the time period from the occurrence time of a problem or accident to the current time. The unit of the problem duration is hours. The problem duration can be calculated according to the occurrence time, or according to the number of alarms and the alarm operation frequency. Specifically, it can be the product of the number of alarms and the alarm operation frequency. The number of alarms can be the number of continuous alarms of the current alarm, and the alarm operation frequency can be the number of alarms per unit time, that is, the reciprocal of the alarm cycle. The alarm cycle refers to the interval time of the alarm, for example, an alarm is triggered once every 10 minutes, the alarm cycle is 10, and the alarm operation frequency is 0.1. The number of affected objects can be the number of objects affected by the current alarm, and the total number of objects can be the total number of objects accessing the functional module. The impact ratio can be the ratio of the object range affected by the current alarm to the total objects. Different functional modules or the same functional module may have different impacts on the same problem in different scenarios at different times.

[0042] After the monitoring device of the application obtains the monitoring alarm data, it can extract the module weight of the target functional module, the duration of the current alarm problem and the number of alarms, as well as the number of affected objects and the total number of objects from the monitoring alarm data, and then determine the ratio of the number of affected objects to the total number of objects as the impact ratio, and determine the above-mentioned module weight, problem duration, number of alarms and impact ratio as weight rating data.

[0043] In some embodiments, when the dynamic rating data includes flow rating data, the dynamic rating data is determined based on the monitoring alarm data, including: extracting the flow value from the monitoring alarm data, and obtaining the rating threshold data corresponding to the flow level where the flow value is located; extracting the operating frequency corresponding to the flow level and the sample data corresponding to the time window based on the monitoring alarm data, and calculating the rating judgment data based on the sample data; determining the rating threshold data and the rating judgment data as the flow rating data.

[0044] Among them, the traffic value can be the average daily visits of a functional module, and the traffic level can be a discrete level determined according to the traffic value. In the embodiment of the present disclosure, the traffic level can include three. When the traffic value is greater than 100K, the traffic level is L1, when the traffic value is greater than 30K and less than or equal to 100K, the traffic level is L2, and when the traffic value is less than or equal to 30K, the traffic level is L3. The larger the traffic value, the higher the traffic level. The grading threshold data can be the threshold data used to determine the subsequent alarm level. Different traffic levels and different alarm levels correspond to different grading threshold data; the grading judgment data can be real-time data determined according to the monitoring alarm data, and the alarm level is determined by comparing with the above-mentioned grading threshold data. In the disclosed embodiment, both the grading threshold data and the grading judgment data include fluctuation amount, hit rate and sample size. The fluctuation amount can be the fluctuation percentage of the current flow rate compared with the historical time. The historical time can be set according to the actual situation. For example, the historical time can be 7 days ago or 14 days ago. The hit rate can include the failure rate or the success rate. For example, the success rate of the target function module can be the ratio of the flow rate to the total number of objects, and the failure rate can be the ratio of the failure amount to the total number of objects. The sample size can be the number of sample data within the time window. The difference is that the grading threshold data refers to the thresholds of the fluctuation amount, hit rate and sample size, and the grading judgment data refers to the real-time values ​​of the fluctuation amount, hit rate and sample size.

[0045] After the monitoring device of the application obtains the monitoring alarm data, it can extract the flow value of the target functional module from the monitoring alarm data, and determine the corresponding classification threshold data, frequency and time window according to the flow level corresponding to the flow value. The frequency can be the number of times data is extracted per unit time, and the time window can be the duration of the extracted data. Then, the corresponding sample data can be extracted from the monitoring alarm data according to the operation frequency and time window corresponding to the flow level. The operation frequency can indicate how long it takes to run once, and the time window can be the duration of the extracted data. The operation frequency and time window corresponding to different flow levels are different. The higher the flow level, the smaller the operation frequency and the time window, and the more frequent the characterization judgment. Then, based on the sample data, the current fluctuation amount, hit rate and sample size are determined by calculation, that is, the classification judgment data is obtained, and the above-mentioned classification threshold data and classification judgment data are determined as flow classification data.

[0046] Step 103: Determine the alarm level of the target functional module based on the dynamic classification data.

[0047] The alarm level can be a quantitative value that characterizes the severity and urgency of the alarm. The higher the alarm, the greater the severity of the corresponding problem and the greater the scope of impact, and the greater the fault that may be caused. Different functional modules or the same functional module have different dynamic rating data at different times, and the corresponding alarm levels are different. Therefore, the embodiments of the present disclosure can realize the dynamic determination of the alarm level, and specifically, the alarm level can be determined based on the weight rating data and / or the flow rating data.

[0048] In some embodiments, when the dynamic rating data is weighted rating data, determining the alarm level of the target functional module based on the dynamic rating data may include: determining the abnormality score based on the module weight, problem duration and impact ratio in the weighted rating data; determining the alarm level of the target functional module based on the current abnormality score and the number of alarms.

[0049] Among them, the anomaly score can be a quantitative value representing the importance of the problem determined by calculation based on the weighted grading data. The specific anomaly score can be expressed by the following formula: anomaly score = module weight * impact ratio * problem duration, that is, the anomaly score is equal to the product of the module weight, impact ratio and problem duration.

[0050] After the application's monitoring device determines the dynamic rating data, when the dynamic rating data is weighted rating data, it can first determine the abnormality score by calculation based on the module weight, problem duration and impact ratio, and then determine the corresponding initial alarm level based on the abnormality score and the predetermined relationship between the abnormality score and the alarm level. For example, when the abnormality score is less than 0.0016, the initial alarm level is P2, which means general, indicating that potential problems may have the risk of online problems; when the abnormality score is greater than or equal to 0.0016 and less than 0.007, the initial alarm level is P1, which means urgent, indicating that general problems may cause online freezes; when the abnormality score is greater than or equal to 0.007, the initial alarm level is P0, which means very urgent, indicating that major problems may cause failures. The final alarm level can be determined based on the initial alarm level and the number of alarms. When the initial alarm level is P1 or P2, and the number of alarms is greater than or equal to 5 times, the final alarm level can be P0, which is dynamically upgraded to very urgent. When the initial alarm level is P0, or P1 or P2 and the number of alarms is less than 5 times, the final alarm level remains unchanged.

[0051] In the above scheme, the alarm level dynamically determined according to the weighted grading data is proportional to the module weight, problem duration and impact ratio. The larger these parameters are, the higher the alarm level is. When the alarm level is below the highest level, as the number of alarms increases, the alarm level can be dynamically upgraded, so that the determination of the alarm level is not only related to the impact of the accident, but also to the number of alarms.

[0052] In other embodiments, when the dynamic rating data is traffic rating data, determining the alarm level of the target functional module based on the dynamic rating data includes: comparing the rating judgment data with the rating threshold data, and determining the corresponding alarm level according to the comparison result, wherein the rating threshold data includes threshold data corresponding to different alarm levels.

[0053] When the dynamic rating data of the application program's monitoring device is flow rating data, the rating judgment data in the flow rating data can be compared with the rating threshold data. Specifically, the real-time values ​​of the fluctuation amount, hit rate, and sample size can be compared with the thresholds respectively. Since the rating threshold data includes threshold data corresponding to different alarm levels, the comparison is performed with the threshold data corresponding to different alarm levels to determine whether they are greater than the corresponding threshold data. If so, it is satisfied, otherwise, it is not satisfied. If the real-time values ​​of the fluctuation amount, hit rate, and sample size in the rating judgment data are all greater than the threshold data corresponding to an alarm level, then the alarm level is the final alarm level, that is, it is determined which alarm level's threshold data the rating judgment data satisfies, then the alarm level is the final alarm level.

[0054] The threshold data corresponding to different traffic levels at different alarm levels in the classification threshold data can be set according to actual conditions. For example, assuming that the traffic level corresponding to the traffic value of the target functional module is L1, the fluctuation amount in the classification threshold data is 30%, the hit rate is 0.03, and the sample threshold is 100, when the fluctuation amount in the classification judgment data is greater than 30%, the hit rate is greater than 0.03, and the sample size is greater than 100, the alarm level satisfied by the classification judgment data is P0, which is very urgent.

[0055] In the above scheme, when the weight of the functional module cannot be obtained due to various reasons, the alarm level can be dynamically determined through the traffic classification data. The alarm level is related to the fluctuation amount, hit rate, and sample size. The threshold data used for dynamic classification is different according to the different traffic levels corresponding to the traffic values. Therefore, when the monitoring alarm data changes, the corresponding alarm level will also change accordingly.

[0056] Optionally, when the dynamic rating data includes weight rating data and flow rating data, the first alarm level can be determined based on the weight rating data, and then the second alarm level can be determined based on the flow rating data, and finally the higher of the first alarm level and the second alarm level is taken as the final alarm level. This method considers both weight and flow data when dynamically determining the alarm level, and the result is more accurate.

[0057] Optionally, after step 103, the following may be included: in response to the downgrade trigger operation of the object on the alarm level, the alarm level is reduced by one level; and when the above monitoring alarm data is received again, the alarm level determined according to the monitoring alarm data is reduced by one level. For alarms of some error indicators (errors indicate that there is a problem with the system), which themselves fluctuate greatly and are related to the configuration and algorithm of the operation side, the alarms of these situations are directly reduced by one level in the subsequent alarm scenarios based on the downgrade trigger operation of the object.

[0058] Step 104: Issue an alarm based on the alarm level of the target functional module.

[0059] In the disclosed embodiment, after determining the alarm level of the target functional module, the monitoring device of the application may issue an alarm based on the alarm method and alarm range corresponding to the alarm level of the target functional module. The alarm method may include whether it is urgent, online notification, SMS notification and telephone notification, etc. The alarm range refers to the range of notification objects targeted by the alarm, which may include a single object, an object group, etc. The alarm method and alarm range corresponding to different alarm levels may be different. For example, when the alarm level is very urgent, the alarm method may be an urgent telephone notification, and the alarm range is at least one object group. When the alarm level is urgent, the alarm method may be an urgent online notification or SMS notification, and the alarm range is at least one object group. When the alarm level is general, the alarm method may be an online notification, and the alarm range is an object. After the alarm, the object corresponding to the alarm level can be processed within the response time corresponding to the alarm level. The objects and response times corresponding to different alarm levels are different, so that the object corresponding to the alarm level can handle the problem.

[0060] For example, Figure 2 A schematic diagram of monitoring an application program provided by an embodiment of the present disclosure is shown as follows: Figure 2As shown in the figure, the monitoring process of the application of the embodiment of the present disclosure is displayed, which can be specifically executed by a monitoring module, a grading module and an alarm module. After the monitoring module triggers an alarm on the monitoring data of the target functional module of the application, the monitoring alarm data can be sent to the grading module; the grading module parses the monitoring alarm data to determine dynamic grading data, which includes weight grading data and / or traffic grading data, and then grading can be implemented according to the dynamic grading data, that is, the alarm level is determined; then the alarm module can alarm according to the alarm level, that is, the alarm is implemented through an alarm card.

[0061] This solution can detect problems in a timely manner and issue differentiated alarms by dynamically determining the alarm level and then issuing an alarm, thereby improving the efficiency of problem discovery, location and resolution.

[0062] The monitoring scheme for applications provided by the embodiments of the present disclosure obtains monitoring alarm data of a target functional module of an application; determines dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data; determines the alarm level of the target functional module based on the dynamic rating data; and issues an alarm based on the alarm level of the target functional module. By adopting the above technical scheme, dynamic rating data can be determined by obtaining monitoring alarm data of the target functional module of an application, and the alarm level is determined based on the dynamic rating data, thereby implementing an alarm. Since the dynamic rating data may include weight rating data and / or flow rating data, dynamic rating of alarms based on the weight and / or flow of the target functional module is implemented. Compared with fixed monitoring alarms, the efficiency and coverage of problem solving of applications are improved, and alarms can be issued based on the dynamically rated alarm level, thereby avoiding possible problems such as frequent alarms or neglect of alarms, thereby improving operation and maintenance efficiency.

[0063] In some embodiments, the monitoring method of the application program may further include: if the alarm level of the target alarm is the lowest level and is a non-continuous alarm, shielding the target alarm.

[0064] Among them, a non-continuous alarm means that the alarm count of an alarm is 1, that is, an alarm occurs for the first time. The monitoring device of the application monitors the alarm data of an alarm. After determining the alarm level, if the alarm level is the lowest level and it is a non-continuous alarm, then the alarm is a target alarm, and the target alarm is shielded, that is, no alarm is issued. The target alarm means an alarm with the lowest alarm level and is a non-continuous alarm. The problem corresponding to the target alarm is usually caused by business changes and does not belong to the problem that needs to be solved. Therefore, it needs to be shielded to avoid the accumulation of unhealthy or incorrect alarms and save operation and maintenance resources.

[0065] For example, Figure 3A flowchart of another application monitoring method provided by an embodiment of the present disclosure is shown as follows: Figure 3 As shown, in a feasible implementation manner, the application monitoring method may further include:

[0066] Step 301: In response to an alarm shielding triggering operation, multiple shielding entries are displayed.

[0067] The alarm shielding trigger operation may be a trigger operation for shielding or ignoring alarms caused by some problems or accidents. The shielding entry may be an entry for setting the shielding range of the alarm, and each shielding entry corresponds to a functional module under a group. The group may include multiple groups. In the embodiment of the present disclosure, the group may include business, container, host, theme, system, etc., and each group may include multiple functional modules.

[0068] The monitoring device of the application program may display multiple shielding entrances after receiving an alarm shielding triggering operation of the object.

[0069] Step 302: In response to a selection operation on a target shielding entry among multiple shielding entries, a shielding setting interface is displayed.

[0070] The target shielding entry may be one or more shielding entries corresponding to the selected operation from among the multiple shielding entries. The shielding setting interface may include at least one setting control for setting the shielding duration of the alarm. The shielding duration may be the duration of shielding the alarm. Different shielding durations may be set accordingly for different scenarios and different functional modules.

[0071] Step 303: shield the alarm of the functional module corresponding to the target shielding entry based on the shielding duration set in the shielding setting interface.

[0072] Among them, the shielding setting interface also displays the recommended shielding time, which may include the shielding time corresponding to each group and / or each functional module for reference in setting the shielding time. The shielding time corresponding to different functional modules may be different.

[0073] After the monitoring device of the application displays the shielding setting interface, the object can set the shielding time in the shielding setting interface according to the recommended shielding time, and then the alarm of the functional module corresponding to the target shielding entrance can be shielded within the shielding time.

[0074] For example, Figure 4 A schematic diagram of a shielding entrance provided by an embodiment of the present disclosure, such as Figure 4As shown, the figure shows an interface 400, which displays five groups including business, container, host, theme and system. Each group includes multiple shielding entries corresponding to multiple functional modules. For example, the business group includes shielding entries corresponding to two functional modules, namely content and generation service. Figure 4 The grouping and setting of shielding entrances of functional modules are only examples and not limitations.

[0075] In the related art, the problem of increasing number of unhealthy alarms resulting in a continuous increase in the number of alarms to be handled per capita can be solved by directly shielding all alarms, but this may lead to erroneous shielding.

[0076] In this solution, shielding entrances are displayed according to the dimensions of groups and functional modules, so that when objects are shielded for alarm, some functional modules can be shielded as needed. In addition, by displaying the recommended shielding time, the shielding time set for the object is more in line with the specification, avoiding alarm fatigue, improving the efficiency of handling problems, and saving resources to maintain system stability.

[0077] For example, Figure 5 A schematic diagram of monitoring another application provided by an embodiment of the present disclosure is shown as follows: Figure 5 As shown in the figure, the complete link of application monitoring is shown, including the three parts of tracking point reporting, monitoring configuration and tool customization in the figure. Tracking point reporting can be the reporting of monitoring alarm data. Before reporting, operations such as unified global dimension information, standardization, API simplification and volume reduction in the figure will be performed; monitoring configuration may include configuration scope, configuration strategy and configuration auxiliary tool. The configuration scope is used to configure the alarms that need to be shielded by shielding the entrance. The monitoring alarm scheme of steps 101 to 104 in the above embodiment is implemented through configuration strategy and configuration auxiliary tool; tool customization may include custom cards and custom grayscale alarms. Custom cards are used to realize the setting of alarm access, presentation and operation. Custom grayscale alarms are used to automatically configure alarms and automatically create groups / invite people. The alarm here refers to the above alarm.

[0078] This solution breaks the conventional monitoring configuration and implements dynamic graded monitoring of the front end based on the weights and traffic of the functional modules included in the program, including but not limited to completing dynamic alarm configuration through module weights, traffic stratification, alarm shielding, etc., and implementing progressive notifications from non-urgent, urgent, and very urgent alarms, changing the notification method from text messages to phone calls, and jointly completing the construction of monitoring and alarms, achieving the goal of discovering problems, alarming problems, and solving problems as quickly as possible, effectively improving the efficiency and coverage of problem solving in the application, and ensuring the stability of the business functions of the application.

[0079] Figure 6This is a schematic diagram of the structure of a monitoring device for an application provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 6 As shown, the device comprises:

[0080] The acquisition module 601 is used to acquire the monitoring alarm data of the target functional module of the application program;

[0081] A data module 602, configured to determine dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data;

[0082] A grading module 603, configured to determine the alarm level of the target functional module based on the dynamic grading data;

[0083] The alarm module 604 is used to generate an alarm based on the alarm level of the target functional module.

[0084] Optionally, the data module 602 is used to: when the dynamic rating data includes weighted rating data,

[0085] The module weight, problem duration and alarm number in the weight grading data are obtained by extracting the monitoring alarm data;

[0086] Based on the number of affected objects and the total number of objects in the monitoring alarm data, the impact ratio in the weighted grading data is determined.

[0087] Optionally, the grading module 603 is used to:

[0088] Determine an anomaly score based on the module weight, problem duration, and impact ratio in the weighted grading data;

[0089] Based on the abnormal score and the number of alarms, an alarm level of the target functional module is determined.

[0090] Optionally, the data module 602 is used to: when the dynamic rating data includes flow rating data,

[0091] By extracting the flow value from the monitoring alarm data, and obtaining the classification threshold data corresponding to the flow level where the flow value is located;

[0092] Extracting the operating frequency corresponding to the traffic level and the sample data corresponding to the time window based on the monitoring alarm data, and calculating the classification judgment data based on the sample data;

[0093] The classification threshold data and the classification judgment data are determined as flow classification data.

[0094] Optionally, the grading module 603 is used to:

[0095] The classification judgment data is compared with the classification threshold data, and the corresponding alarm level is determined according to the comparison result, wherein the classification threshold data includes threshold data corresponding to different alarm levels.

[0096] Optionally, the grading threshold data and the grading judgment data both include fluctuation amount, hit rate and sample size.

[0097] Optionally, the alarm module 604 is used to:

[0098] An alarm is issued based on the alarm mode and alarm range corresponding to the alarm level of the target functional module.

[0099] Optionally, the device further includes a first shielding module, configured to:

[0100] If the alarm level of the target alarm is the lowest level and is a non-continuous alarm, the target alarm is shielded.

[0101] Optionally, the device further includes a second shielding unit, configured to:

[0102] In response to the alarm shielding triggering operation, multiple shielding entrances are displayed, wherein each shielding entrance corresponds to a functional module under a group;

[0103] In response to a selection operation of a target shielding entry among the plurality of shielding entries, displaying a shielding setting interface;

[0104] The alarm of the functional module corresponding to the target shielding entry is shielded based on the shielding time length set in the shielding setting interface.

[0105] Optionally, a recommended shielding duration is displayed in the shielding setting interface.

[0106] The monitoring device for an application provided in the embodiments of the present disclosure can execute the monitoring method for an application provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.

[0107] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the monitoring method of the application program provided by any embodiment of the present disclosure.

[0108] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.

[0109] The following specific reference Figure 7, which shows a schematic diagram of the structure of an electronic device 700 suitable for implementing the embodiment of the present disclosure. The electronic device 700 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0110] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0111] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0112] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the monitoring method of the application program of the embodiment of the present disclosure are executed.

[0113] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0114] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0115] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0116] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: obtain monitoring alarm data of the target functional module of the application; determine dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or traffic rating data; determine the alarm level of the target functional module based on the dynamic rating data; and issue an alarm based on the alarm level of the target functional module.

[0117] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the subject computer, partially on the subject computer, as a separate software package, partially on the subject computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the subject computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0118] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, constitute a limitation on the unit itself.

[0120] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0121] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the object and the object's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0123] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0124] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0125] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for monitoring an application, characterized in that: include: Obtain monitoring alarm data of the target functional module of the application; Determining dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data; Determining an alarm level of the target functional module based on the dynamic rating data; An alarm is issued based on the alarm level of the target functional module.

2. The method according to claim 1, characterized in that When the dynamic rating data includes weighted rating data, determining the dynamic rating data based on the monitoring alarm data includes: The module weight, problem duration and alarm number in the weight grading data are obtained by extracting the monitoring alarm data; Based on the number of affected objects and the total number of objects in the monitoring alarm data, the impact ratio in the weighted grading data is determined.

3. The method according to claim 2, characterized in that Determining the alarm level of the target functional module based on the dynamic rating data includes: Determine an anomaly score based on the module weight, problem duration, and impact ratio in the weighted grading data; Based on the abnormal score and the number of alarms, an alarm level of the target functional module is determined.

4. The method according to claim 1, characterized in that: When the dynamic rating data includes flow rating data, determining the dynamic rating data based on the monitoring alarm data includes: By extracting the flow value from the monitoring alarm data, and obtaining the classification threshold data corresponding to the flow level where the flow value is located; Extracting the operating frequency corresponding to the traffic level and the sample data corresponding to the time window based on the monitoring alarm data, and calculating the classification judgment data based on the sample data; The classification threshold data and the classification judgment data are determined as flow classification data.

5. The method according to claim 4, characterized in that Determining the alarm level of the target functional module based on the dynamic rating data includes: The classification judgment data is compared with the classification threshold data, and the corresponding alarm level is determined according to the comparison result, wherein the classification threshold data includes threshold data corresponding to different alarm levels.

6. The method according to claim 4 or 5, characterized in that: The grading threshold data and the grading judgment data both include fluctuation amount, hit rate and sample size.

7. The method according to claim 1, characterized in that Producing an alarm based on the alarm level of the target functional module includes: An alarm is issued based on the alarm mode and alarm range corresponding to the alarm level of the target functional module.

8. The method according to claim 1, characterized in that The method further comprises: If the alarm level of the target alarm is the lowest level and is a non-continuous alarm, the target alarm is shielded.

9. The method according to claim 1, characterized in that: The method further comprises: In response to the alarm shielding triggering operation, multiple shielding entrances are displayed, wherein each shielding entrance corresponds to a functional module under a group; In response to a selection operation of a target shielding entry among the plurality of shielding entries, displaying a shielding setting interface; The alarm of the functional module corresponding to the target shielding entry is shielded based on the shielding time length set in the shielding setting interface.

10. The method according to claim 8, characterized in that The shielding setting interface displays a recommended shielding duration.

11. A monitoring device for an application, characterized in that: include: An acquisition module is used to acquire monitoring alarm data of a target functional module of an application program; A data module, used to determine dynamic rating data based on the monitoring alarm data, wherein the dynamic rating data includes weight rating data and / or flow rating data; A grading module, used to determine the alarm level of the target functional module based on the dynamic grading data; The alarm module is used to generate an alarm based on the alarm level of the target functional module.

12. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the monitoring method of the application program described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the monitoring method of the application program described in any one of claims 1 to 10.