Alarm notification method, device, equipment, storage medium and computer program product
By calculating alarm processing efficiency scores and grouping them into groups, and using a dynamic weighted polling mechanism, the alarm notification process is optimized. This solves the problem in existing technologies where emergency alarms cannot be pushed out in a timely manner when the amount of alarm information is large, thereby improving alarm resolution efficiency and reducing resource waste.
Patent Information
- Application Number
- CN202410422976.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-04-09
AI Technical Summary
Existing alarm notification methods cannot promptly push urgent and critical alarm information to better maintenance personnel when the volume of alarm information to be notified is large, resulting in message congestion, delayed delivery, and waste of resources.
By calculating the alarm processing efficiency score of each alarm information recipient, they are divided into expert group and ordinary group. A dynamic weighted polling mechanism and reward and punishment mechanism are adopted to optimize the alarm notification process and dynamically adjust the queue of alarm information to be pushed to ensure that high-level alarm information is pushed to efficient personnel first.
It enables efficient and fair delivery of alarm information to relevant operations and maintenance personnel, reduces the load on SMS/email, minimizes resource waste, improves alarm resolution efficiency, and reduces the dependency among operations and maintenance personnel.
Smart Images

Figure CN118827320B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network management technology, and in particular to an alarm notification method, apparatus, device, storage medium, and computer program product. Background Technology
[0002] With the continuous expansion of China Mobile's network management and maintenance resource business, the number of resources managed by the network management and maintenance platform, such as servers, middleware, databases, containers, and web applications, is also increasing rapidly. The network management and maintenance platform aims to manage and monitor resources, promptly detect resource anomalies, and send alarm notifications so that relevant maintenance personnel receive anomaly alerts in a timely manner, preventing problems from escalating and effectively improving resource security and reliability while reducing failures.
[0003] However, existing alarm technologies typically suffer from the following problems: When a network management system is configured with multiple alarm receivers, the same alarm information is pushed serially to multiple people. When the number of alarms is large, this can easily overload SMS / email notification services, leading to message congestion or delayed delivery. When the volume of alarm information is large, sequentially pushing alarms cannot ensure that urgent and important alarms reach relevant personnel quickly, and the dense push of information also wastes resources and costs. Furthermore, when alarm notifications are sent in bulk, the interdependence among the receiving maintenance personnel can lead to delays in handling events, posing a greater risk to the network management system's maintenance resources. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an alarm notification method, device, equipment, storage medium and computer program product, which optimizes the alarm notification process based on a dynamic weighted polling mechanism and a reward and punishment mechanism, and can efficiently and fairly push alarm information to relevant operation and maintenance personnel. This solves the problem in the existing solution that when the amount of alarm information to be notified is large, it is impossible to push more urgent and serious alarm information to the better personnel in a timely manner.
[0005] To achieve the above objectives, embodiments of the present invention provide an alarm notification method, including:
[0006] Calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data;
[0007] Based on the alarm processing efficiency score, the alarm information recipients are divided into an expert group and a general group;
[0008] The queue of alarm messages to be pushed is dynamically adjusted according to the alarm message level.
[0009] Based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, a dynamic weighted round-robin mechanism is used to push the alarm information.
[0010] As an improvement to the above scheme, the step of calculating the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data includes:
[0011] Based on the duration from alarm generation to alarm clearing in the historical alarm processing data, the number of alarms cleared by the alarm recipient, and the alarm level, an alarm processing efficiency score is calculated for each alarm recipient.
[0012] As an improvement to the above solution, the formula for calculating the alarm processing efficiency score is as follows:
[0013]
[0014] In the formula, Indicates the alarm message recipient P i The alarm handling efficiency score n≥1; j represents the alarm level; n represents the alarm recipient P. i Quantity, P i ∈{P1,P2,P3...,P n}, n≥1; C j (P i ) indicates that when the alarm level is j, the alarm information recipient P i The alarm handling efficiency score; among them,
[0015] C j (P i ) = C jt (P i )×σ jt +C jn (P i )×σ jn ;
[0016] In the formula, C jt (P i ) represents the duration from the generation of an alarm message to its clearing when the alarm level is j; C jn (P i ) indicates that when the alarm level is j, the alarm information recipient P i The number of alarm messages cleared; σ jt This represents the weight of the duration when the alarm level is j; σ jn This represents the weight of the number of alarm messages of alarm level j to clear when the alarm level is j.
[0017] As an improvement to the above scheme, based on the alarm processing efficiency score, the alarm information recipients are divided into an expert group and a general group, including:
[0018] Based on the alarm processing efficiency scores, alarm recipients are sorted in descending order, and the top m alarm recipients are selected as expert group Z. i ∈{Z1,Z2,...,z m}, 1≤m≤3; where m is calculated using the following formula:
[0019]
[0020] The remaining alarm message recipients will be assigned to the regular group.
[0021] As an improvement to the above solution, the step of dynamically adjusting the queue of alarm information to be pushed according to the alarm information level includes:
[0022] Determine whether the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue of alarm information to be pushed;
[0023] If so, the newly generated alarm information is inserted at the head of the queue of alarm information to be pushed, and sorted according to the generation time of the alarm information, with the alarm information generated earlier in the same level being placed at the front.
[0024] If not, the newly generated alarm information is inserted at the end of the queue of alarm information to be pushed.
[0025] As an improvement to the above solution, the step of pushing alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, using a dynamic weighted round-robin mechanism, includes:
[0026] Sort all alarm information recipients in the ordinary group in ascending order according to their alarm processing efficiency scores.
[0027] Based on the queue of alarm information to be pushed, the alarm information is pushed in a loop according to the sorting order of the alarm information recipients in the ordinary group;
[0028] If the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified in the ordinary group is not less than a preset threshold, then the alarm information will be pushed to the alarm information recipients in the expert group in a loop.
[0029] As an improvement to the above scheme, the preset threshold is (nm)*W j In the formula, W jThis represents the percentage of recipients of alarm information in the general group who were notified before the expert group was notified, regardless of the alarm level; the higher the alarm level, the lower the percentage.
[0030] As an improvement to the above scheme, after cyclically pushing the alarm information to the alarm information recipients of the expert group, the method further includes:
[0031] If the alarm information is not cleared within the second preset time, it is determined whether all alarm information recipients in the expert group have been notified.
[0032] If so, determine whether all alarm information recipients in the ordinary group have been notified;
[0033] If not, the alarm information will continue to be pushed to the unnotified alarm information recipients within the expert group.
[0034] As an improvement to the above solution, the step of determining whether all alarm information recipients within the ordinary group have been notified includes:
[0035] Determine whether all alarm message recipients within the general group have been notified;
[0036] If so, then adjust the first preset time;
[0037] If not, the alarm information will continue to be pushed to the alarm information recipients in the ordinary group who have not been notified.
[0038] This invention also provides an alarm notification device, comprising:
[0039] The calculation module is used to calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data.
[0040] The classification module is used to divide the alarm information recipients into an expert group and a general group based on the alarm processing efficiency score.
[0041] The adjustment module is used to dynamically adjust the queue of alarm messages to be pushed according to the alarm message level.
[0042] The push module is used to push alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, using a dynamic weighted round-robin mechanism.
[0043] This invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the alarm notification method described in any of the preceding claims.
[0044] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the alarm notification method described above.
[0045] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the alarm notification method described above.
[0046] Compared to existing technologies, the beneficial effects of the alarm notification method, apparatus, device, storage medium, and computer program product provided by this invention are as follows: The alarm processing efficiency score for each alarm information recipient is calculated based on historical alarm processing data; based on the alarm processing efficiency score, the alarm information recipients are divided into an expert group and a general group; the queue of alarm information to be pushed is dynamically adjusted according to the level of the alarm information; and a dynamic weighted round-robin mechanism is used to push the alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the general group. This invention optimizes the alarm notification process based on a dynamic weighted round-robin mechanism and a reward / penalty mechanism, enabling efficient and fair delivery of alarm information to relevant maintenance personnel. It solves the problem in existing solutions where, when the volume of alarm information to be notified is large, more urgent and serious alarm information cannot be promptly pushed to more qualified personnel. Attached Figure Description
[0047] Figure 1 This is a flowchart illustrating a preferred embodiment of an alarm notification method provided by the present invention;
[0048] Figure 2 This is a schematic diagram of a preferred embodiment of an alarm notification device provided by the present invention;
[0049] Figure 3 This is a schematic diagram of a preferred embodiment of a terminal device provided by the present invention. Detailed Implementation
[0050] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0051] Please see Figure 1 , Figure 1This is a flowchart illustrating a preferred embodiment of an alarm notification method provided by the present invention. The alarm notification method includes:
[0052] S1, calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data;
[0053] S2, based on the alarm processing efficiency score, divide the alarm information recipients into an expert group and a normal group;
[0054] S3, dynamically adjusts the queue of alarm messages to be pushed according to the alarm message level;
[0055] S4. Based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, the alarm information is pushed using a dynamic weighted polling mechanism.
[0056] Specifically, this embodiment of the invention provides an alarm notification method applied to a network management and maintenance system. The network management and maintenance system includes Prometheus, AlertManager, and an alarm notification management system. Prometheus is an open-source system monitoring and alerting toolkit. It monitors and collects resource indicator data, and generates alarm messages by analyzing and matching this data with alarm rules. AlertManager sends the alarm information to configured alarm recipients one by one via email / SMS. Upon receiving the alarm information, the recipients perform corresponding alarm processing. This embodiment of the invention adds an alarm notification management system to the AlertManager alarm information push process. The alarm notification management system allows users to add, delete, query, and modify alarm recipients for each system through an interface. The fields include: business module (applicable to other business modules besides alarm services), network management system name, alarm level (urgent, important, general; all levels are selected if no alarm level is chosen), and alarm recipient information. Recipient information includes recipient name, receiving method (SMS / email / other options), and contact information (specific contact information for the receiving method, such as mobile phone number, email address, etc.). The alarm notification management system supports displaying alarm notification logs in list format, clearly showing when and what content each alarm recipient received, as well as the alarm clearing status. The alarm notification management system also supports page-based display, calculating alarm processing efficiency scores and rankings for each alarm recipient within each period based on the alarm notification log information. The alarm notification management system provides a graphical interface for managing alarm recipients in each network management system. When alarm recipient information changes, updates can be made through the interface configuration without modifying the AlertManager alarm notification configuration YAML file, reducing maintenance costs and avoiding errors associated with script configuration.
[0057] To ensure fairness and efficiency in the alarm notification process, this invention acquires historical alarm processing data and calculates an alarm processing efficiency score for each alarm recipient based on this data. Based on these scores, alarm recipients are divided into expert and general groups. Preferably, the grouping of general and expert groups can be analyzed and updated quarterly. During resource monitoring, after receiving resource information, Prometheus' AlertManager performs matching analysis according to configured alarm rules, classifying alarm information into three levels: urgent, important, and general, based on urgency and severity. Existing solutions serially send received alarm information to each system recipient. When the volume of alarm information to be pushed is large, urgent and important alarms may be delayed and not received and resolved by relevant maintenance personnel in a timely manner. Therefore, to ensure that higher-level alarm information is detected and resolved promptly, this invention dynamically adjusts the queue of alarm information to be pushed according to the alarm information level, allowing higher-level alarm information to be preferentially pushed to relevant maintenance personnel. Based on the queue of alarm information to be pushed, alarm processing efficiency scores, expert groups, and ordinary groups, a dynamic weighted round-robin mechanism is used to push alarm information. In this embodiment of the invention, alarm information is prioritized for those with low alarm processing efficiency as a form of penalty. If an alarm information recipient in a network management system has a high alarm processing efficiency score, then the next time the system generates an alarm information, it will be prioritized for other recipients with lower scores. This reward and penalty mechanism can effectively reduce the dependence of various maintenance personnel and avoid alarm information being left unresolved or relying solely on expert group members for resolution.
[0058] This invention optimizes the alarm notification process based on a dynamic weighted polling mechanism and a reward / penalty mechanism. It efficiently and fairly pushes alarm information to relevant maintenance personnel, solving the problem in existing solutions where, when the volume of alarms to be notified is large, more urgent and serious alarms cannot be pushed to the best personnel in a timely manner. Simultaneously, the reward / penalty mechanism reduces the psychological dependency among maintenance personnel, improving alarm resolution efficiency.
[0059] In another preferred embodiment, step S1, calculating the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data, includes:
[0060] Based on the duration from alarm generation to alarm clearing in the historical alarm processing data, the number of alarms cleared by the alarm recipient, and the alarm level, an alarm processing efficiency score is calculated for each alarm recipient.
[0061] As a preferred embodiment, the formula for calculating the alarm processing efficiency score is as follows:
[0062]
[0063] In the formula, Indicates the alarm message recipient P i The alarm handling efficiency score n≥1; j represents the alarm level; n represents the alarm recipient P. i The number of, Pi∈{P1, P2, P3..., P n}, n≥1; C j (P i ) indicates that when the alarm level is j, the alarm information recipient P i The alarm handling efficiency score; among them,
[0064] C j (P i ) = C jt (P i )×σ jt +C jn (P i )×σ jn ;
[0065] In the formula, C jt (P i ) represents the duration from the generation of an alarm message to its clearing when the alarm level is j; C jn (P i ) indicates that when the alarm level is j, the alarm information recipient P i The number of alarm messages cleared; σ jt This represents the weight of the duration when the alarm level is j; σ jn This represents the weight of the number of alarm messages of alarm level j to clear when the alarm level is j.
[0066] Specifically, in this embodiment of the invention, for each alarm information receiver P i ∈{P1, P2, P3..., P n}, n≥1, the alarm processing efficiency score of each alarm information receiver is expressed as n≥1. Based on the duration from alarm generation to alarm clearing in historical alarm processing data, the number of alarms cleared by the alarm recipient, and the alarm level, the alarm processing efficiency score for each alarm recipient is calculated as follows:
[0067]
[0068] In the formula, Indicates the alarm message recipient P i The alarm handling efficiency score n≥1; j represents the alarm level, preferably j∈[1,3], j=1 represents an emergency alarm, j=2 represents an important alarm, j=3 represents a general alarm; n represents the alarm information recipient P. i Quantity, P i ∈{P1, P2, P3..., P n}, n≥1; C j (P i ) indicates that when the alarm level is j, the alarm information recipient P i The alarm handling efficiency score; among them,
[0069] C j (P i ) = C jt (P i )×σ jt +C jn (P i )×σ jn ;
[0070] In the formula, C jt (P i ) represents the duration from the generation of an alarm message to its clearing when the alarm level is j; C jn (P i ) indicates that when the alarm level is j, the alarm information recipient P i The number of alarm messages cleared; σ jt This represents the weight of the duration when the alarm level is j; σ jn This represents the weight of the number of alarm messages of alarm level j to clear when the alarm level is j.
[0071] In another preferred embodiment, step S2, based on the alarm processing efficiency score, divides the alarm information recipients into an expert group and a general group, including:
[0072] S201, based on the alarm processing efficiency scores, sort them in descending order, and select the top m alarm information recipients as expert group Z. i ∈{Z1, Z2, ..., Z m}, 1≤m≤3; where m is calculated using the following formula:
[0073]
[0074] S202, the remaining alarm information recipients are designated as ordinary groups.
[0075] Specifically, in this embodiment of the invention, after calculating the alarm processing efficiency score for each alarm information recipient, the alarm information recipients are sorted in descending order based on their alarm processing efficiency scores, and the top m alarm information recipients are selected as expert group Z. i∈{Z1, Z2, ..., Z m}, 1≤m≤3; where m is calculated using the following formula:
[0076]
[0077] Where n represents the total number of alarm information receivers currently configured in the system. The remaining alarm information receivers are designated as ordinary groups, and the number of alarm information receivers in the ordinary groups is nm.
[0078] In yet another preferred embodiment, step S3, dynamically adjusting the queue of alarm information to be pushed according to the alarm information level, includes:
[0079] S301, determine whether the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue of alarm information to be pushed;
[0080] S302, if so, insert the newly generated alarm information into the head of the alarm information queue to be pushed, and sort it according to the generation time of the alarm information, and put the alarm information with the earlier generation time in the same level at the front.
[0081] S303, if not, insert the newly generated alarm information into the tail of the queue of alarm information to be pushed.
[0082] Specifically, in this embodiment of the invention, alarm information is divided into three levels—urgent, important, and general—based on urgency and severity. When a new alarm information is received from AlertManager, it is determined whether the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue. The queue contains one or more alarms of the urgent, important, and general levels. If the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue, the newly generated alarm information is inserted at the head of the queue, with higher-level alarms appearing earlier. Alarms are also sorted according to their generation time, with earlier-generation alarms of the same level appearing first. If the level of the newly generated alarm information is lower than the level of the alarm information to be pushed in the queue, the newly generated alarm information is directly inserted at the tail of the queue.
[0083] This invention dynamically adjusts the queue of alarm information to be pushed according to the alarm level, so that higher-level alarm information is notified faster. This can optimize the problem that when there is a large amount of alarm information to be pushed, the high-level alarm information is pushed serially according to the alarm generation time, resulting in a long delay and inability to be resolved in a timely manner.
[0084] In another preferred embodiment, step S4, based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, uses a dynamic weighted round-robin mechanism to push the alarm information, including:
[0085] S401, sort all alarm information recipients in the ordinary group in ascending order according to their alarm processing efficiency scores;
[0086] S402, Based on the queue of alarm information to be pushed, the alarm information is pushed in a loop according to the sorting order of the alarm information recipients in the ordinary group;
[0087] S403, if the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified in the ordinary group is not less than a preset threshold, then the alarm information is pushed to the alarm information recipients of the expert group in a loop.
[0088] Specifically, in this embodiment of the invention, when pushing alarm information, the name of the network management system to which the current alarm information to be pushed belongs is extracted. Based on the system name, the ordinary group of that system is extracted from the ordinary alarm information recipient table. All alarm information recipients within the ordinary group are sorted in ascending order according to their alarm processing efficiency scores. Based on the order of alarm information in the queue to be pushed, alarm information is pushed in a loop according to the sorting order of alarm information recipients within the ordinary group. If the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified within the ordinary group is not less than a preset threshold, then the alarm information is pushed to the alarm information recipients of the expert group in a loop. If the alarm information is not cleared within the first preset time, and the number of alarm information recipients notified within the ordinary group is less than a preset threshold, then the alarm information continues to be pushed to the alarm information recipients of the ordinary group. If the alarm information is cleared within the first preset time, the alarm information will no longer be pushed to other alarm information recipients. The alarm processing efficiency score of the alarm information recipient who processed the alarm information will be updated, the received information flag of each alarm information recipient will be cleared, and the alarm information in the queue to be pushed will be polled and pushed in turn. The first preset time is the alarm information push interval t = t′.
[0089] In this embodiment of the invention, the appropriate alarm information is pushed to the expert group alarm information recipient based on whether the recipient of the alarm information in the ordinary group has cleared the alarm within a preset time and whether the number of recipients of the alarm information in the ordinary group has exceeded a preset threshold. This avoids the alarm information from being left unresolved or relying solely on expert group members for resolution, thereby incentivizing the enthusiasm of maintenance personnel to handle alarm information and preventing a decrease in alarm handling efficiency due to the failure to handle alarm information in a timely manner.
[0090] It should be noted that, in this embodiment of the invention, before sorting all alarm information recipients within the ordinary group in ascending order according to their alarm processing efficiency scores, it first determines whether all the extracted alarm processing efficiency scores of the alarm information recipients within the ordinary group are 0. If yes, the alarm processing efficiency scores are initialized; otherwise, they are sorted in ascending order according to their alarm processing efficiency scores.
[0091] As a preferred embodiment, the preset threshold is (nm)*W j In the formula, W j This represents the percentage of recipients of alarm information in the general group who were notified before the expert group was notified, regardless of the alarm level; the higher the alarm level, the lower the percentage.
[0092] Specifically, the preset threshold is preferably (nm)*W j In the formula, n represents the total number of alarm information receivers currently configured in the system, m represents the number of alarm information receivers in the expert group, and nm represents the number of alarm information receivers in the ordinary group. W j (j = 1, 2, 3, j = 1 for emergency alarms, j = 2 for important alarms, and j = 3 for general alarms) represents the percentage of ordinary alarm recipients notified before the expert group is notified for different alarm levels. This percentage can be set according to the actual scenario and situation, and a specific value is not specified here. In this embodiment of the invention, the higher the alarm level, the lower the percentage of ordinary recipients notified before the expert group is notified. This is because for high-level alarms, the alarm clearing time requirement is higher. If notifying multiple ordinary recipients still cannot resolve the issue, the alarm will not be notified to the expert group in a timely manner, thus reducing the resolution efficiency.
[0093] In yet another preferred embodiment, after the alarm information is pushed to the recipients of the expert group in a loop, the method further includes:
[0094] If the alarm information is not cleared within the second preset time, it is determined whether all alarm information recipients in the expert group have been notified.
[0095] If so, determine whether all alarm information recipients in the ordinary group have been notified;
[0096] If not, the alarm information will continue to be pushed to the unnotified alarm information recipients within the expert group.
[0097] Specifically, in this embodiment of the invention, after iteratively pushing alarm information to the alarm information recipients of the expert group, if the alarm information is not cleared within a second preset time, it is determined whether all alarm information recipients in the expert group have been notified. If all alarm information recipients in the expert group have been notified, it is determined whether all alarm information recipients in the ordinary group have been notified. If not all alarm information recipients in the expert group have been notified, the alarm information continues to be pushed to the unnotified alarm information recipients in the expert group. If the alarm information is cleared within the second preset time, the alarm information is no longer pushed to other alarm information recipients, and the alarm processing efficiency score of the alarm information recipient who processed the alarm information is updated. The received information flag of each alarm information recipient is cleared to "no", and the alarm information in the queue to be pushed is polled and pushed. The second preset time is the alarm information pushing time interval t = t′.
[0098] In yet another preferred embodiment, determining whether all alarm information recipients within the ordinary group have been notified includes:
[0099] Determine whether all alarm message recipients within the general group have been notified;
[0100] If so, then adjust the first preset time;
[0101] If not, the alarm information will continue to be pushed to the alarm information recipients in the ordinary group who have not been notified.
[0102] Specifically, in this embodiment of the invention, if the alarm information is not cleared within a second preset time, and all alarm information recipients in the expert group have been notified, then it is determined whether all alarm information recipients in the ordinary group have been notified. If all alarm information recipients in the ordinary group have been notified, then the first preset time t is adjusted, t = t + t', and it is determined again whether the alarm information is cleared within the first preset time. If all alarm information recipients in the ordinary group have not been notified, then the alarm information continues to be pushed to the alarm information recipients in the ordinary group who have not been notified.
[0103] This invention provides an alarm notification method based on a dynamic weighted polling mechanism and a reward and punishment mechanism. The introduction of the reward and punishment mechanism avoids dependency among network management system maintenance personnel and ensures fairer distribution of alarm information to ordinary recipients, thus providing training opportunities for those with weaker alarm resolution skills. The introduction of an expert group can improve alarm resolution efficiency to some extent. This invention improves the alarm resolution efficiency of alarm recipients by minimizing the volume of SMS / email / other push notifications without affecting the timeliness of alarm resolution, thereby reducing communication costs and solving problems in existing solutions such as high SMS / email load, resource waste caused by mass messaging, and alarm delays leading to untimely alarm reception and resolution.
[0104] Accordingly, the present invention also provides an alarm notification device capable of implementing all the processes of the alarm notification method in the above embodiments.
[0105] Please see Figure 2 , Figure 2 This is a schematic diagram of a preferred embodiment of an alarm notification device provided by the present invention. The alarm notification device includes:
[0106] The calculation module 201 is used to calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data.
[0107] The classification module 202 is used to divide the alarm information recipients into an expert group and an ordinary group based on the alarm processing efficiency score;
[0108] Adjustment module 203 is used to dynamically adjust the queue of alarm information to be pushed according to the alarm information level;
[0109] The push module 204 is used to push the alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group and the ordinary group, using a dynamic weighted round-robin mechanism.
[0110] Preferably, the calculation module 201 is specifically used for:
[0111] Based on the duration from alarm generation to alarm clearing in the historical alarm processing data, the number of alarms cleared by the alarm recipient, and the alarm level, an alarm processing efficiency score is calculated for each alarm recipient.
[0112] Preferably, the formula for calculating the alarm processing efficiency score is:
[0113]
[0114] In the formula, Indicates the alarm message recipient P i The alarm handling efficiency score n≥1; j represents the alarm level; n represents the alarm recipient P. i Quantity, P i ∈{P1, P2, P3..., P n}, n≥1; C j (P i ) indicates that when the alarm level is j, the alarm information recipient P i The alarm handling efficiency score; among them,
[0115] C j (P i ) = C jt (P i )×σ jt +C jn (P i )×σ jn ;
[0116] In the formula, C jt (P i ) represents the duration from the generation of an alarm message to its clearing when the alarm level is j; C jn (P i ) indicates that when the alarm level is j, the alarm information recipient P i The number of alarm messages cleared; σ jt This represents the weight of the duration when the alarm level is j; σ jn This represents the weight of the number of alarm messages of alarm level j to clear when the alarm level is j.
[0117] Preferably, the classification module 202 is specifically used for:
[0118] Based on the alarm processing efficiency scores, alarm recipients are sorted in descending order, and the top m alarm recipients are selected as expert group Z. i ∈{Z1, Z2, ..., Z m}, 1≤m≤3; where m is calculated using the following formula:
[0119]
[0120] The remaining alarm message recipients will be assigned to the regular group.
[0121] Preferably, the adjustment module 203 is specifically used for:
[0122] Determine whether the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue of alarm information to be pushed;
[0123] If so, the newly generated alarm information is inserted at the head of the queue of alarm information to be pushed, and sorted according to the generation time of the alarm information, with the alarm information generated earlier in the same level being placed at the front.
[0124] If not, the newly generated alarm information is inserted at the end of the queue of alarm information to be pushed.
[0125] Preferably, the push module 204 is specifically used for:
[0126] Sort all alarm information recipients in the ordinary group in ascending order according to their alarm processing efficiency scores.
[0127] Based on the queue of alarm information to be pushed, the alarm information is pushed in a loop according to the sorting order of the alarm information recipients in the ordinary group;
[0128] If the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified in the ordinary group is not less than a preset threshold, then the alarm information will be pushed to the alarm information recipients in the expert group in a loop.
[0129] Preferably, the preset threshold is (nm)*W j In the formula, W j This represents the percentage of recipients of alarm information in the general group who were notified before the expert group was notified, regardless of the alarm level; the higher the alarm level, the lower the percentage.
[0130] Preferably, the push module 204 is further configured to:
[0131] If the alarm information is not cleared within the second preset time, it is determined whether all alarm information recipients in the expert group have been notified.
[0132] If so, determine whether all alarm information recipients in the ordinary group have been notified;
[0133] If not, the alarm information will continue to be pushed to the unnotified alarm information recipients within the expert group.
[0134] Preferably, determining whether all alarm information recipients within the ordinary group have been notified includes:
[0135] Determine whether all alarm message recipients within the general group have been notified;
[0136] If so, then adjust the first preset time;
[0137] If not, the alarm information will continue to be pushed to the alarm information recipients in the ordinary group who have not been notified.
[0138] In specific implementation, the working principle, control process and technical effects of the alarm notification device provided in the embodiments of the present invention are the same as those of the alarm notification method in the above embodiments, and will not be repeated here.
[0139] Please see Figure 3 , Figure 3 This is a schematic diagram of a preferred embodiment of a terminal device provided by the present invention. The terminal device includes a processor 301, a memory 302, and a computer program stored in the memory 302 and configured to be executed by the processor 301. When the processor 301 executes the computer program, it implements the alarm notification method described in any of the above embodiments.
[0140] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory 302 and executed by the processor 301 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.
[0141] The processor 301 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 301 can be any conventional processor. The processor 301 is the control center of the terminal device, connecting various parts of the terminal device through various interfaces and lines.
[0142] The memory 302 mainly includes a program storage area and a data storage area. The program storage area can store the operating system, applications required for at least one function, etc., while the data storage area can store related data, etc. Furthermore, the memory 302 can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart media card (SMC), a secure digital card (SD), and a flash card, or it can be other volatile solid-state storage devices.
[0143] It should be noted that the aforementioned terminal devices may include, but are not limited to, processors and memory, as will be understood by those skilled in the art. Figure 3 The structural diagram is merely an example of the terminal device described above and does not constitute a limitation on the terminal device described above. It may include more or fewer components than shown in the diagram, or combine certain components, or use different components.
[0144] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the alarm notification method described in any of the above embodiments.
[0145] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the alarm notification method described in any of the above embodiments.
[0146] This invention provides an alarm notification method, apparatus, device, storage medium, and computer program product. It calculates an alarm processing efficiency score for each alarm recipient based on historical alarm processing data; categorizes the alarm recipients into an expert group and a general group based on the alarm processing efficiency score; dynamically adjusts the queue of alarm information to be pushed according to the severity of the alarm information; and pushes the alarm information using a dynamic weighted round-robin mechanism based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the general group. This invention optimizes the alarm notification process based on a dynamic weighted round-robin mechanism and a reward / penalty mechanism, enabling efficient and fair delivery of alarm information to relevant maintenance personnel. It solves the problem in existing solutions where, when the volume of alarm information to be notified is large, more urgent and serious alarm information cannot be promptly pushed to more qualified personnel.
[0147] It should be noted that the system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the system embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0148] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. An alarm notification method, characterized in that, include: Calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data; Based on the alarm processing efficiency score, the alarm information recipients are divided into an expert group and a general group; The queue of alarm messages to be pushed is dynamically adjusted according to the alarm message level. Based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, a dynamic weighted round-robin mechanism is used to push the alarm information. The step of pushing alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, using a dynamic weighted round-robin mechanism, includes: Sort all alarm information recipients in the ordinary group in ascending order according to their alarm processing efficiency scores. Based on the queue of alarm information to be pushed, the alarm information is pushed in a loop according to the sorting order of the alarm information recipients in the ordinary group; If the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified in the ordinary group is not less than a preset threshold, then the alarm information will be pushed to the alarm information recipients of the expert group in a loop. If the alarm information is not cleared within the second preset time, it is determined whether all alarm information recipients in the expert group have been notified. If so, determine whether all alarm information recipients in the ordinary group have been notified; If not, continue to push the alarm information to the alarm information recipients in the expert group who have not been notified; The determination of whether all alarm information recipients in the ordinary group have been notified includes: Determine whether all alarm message recipients within the general group have been notified; If so, then adjust the first preset time; If not, the alarm information will continue to be pushed to the alarm information recipients in the ordinary group who have not been notified.
2. The alarm notification method as described in claim 1, characterized in that, The calculation of the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data includes: Based on the duration from alarm generation to alarm clearing in the historical alarm processing data, the number of alarms cleared by the alarm recipient, and the alarm level, an alarm processing efficiency score is calculated for each alarm recipient.
3. The alarm notification method as described in claim 2, characterized in that, The formula for calculating the alarm processing efficiency score is as follows: ; In the formula, Indicates the recipient of the alarm information The alarm handling efficiency score j represents the alarm level; n represents the alarm recipient. Quantity, ; When the alarm level is j, the alarm information recipient is... The alarm handling efficiency score; among them, ; In the formula, This indicates the duration from the generation of an alarm message to its clearing when the alarm level is j. When the alarm level is j, the alarm information recipient is... The number of alarm messages cleared; This indicates the weight of the duration when the alarm level is j. This represents the weight of the number of alarm messages of alarm level j to clear when the alarm level is j.
4. The alarm notification method as described in claim 3, characterized in that, Based on the alarm processing efficiency score, the alarm information recipients are divided into an expert group and a general group, including: Based on the alarm processing efficiency scores, alarm recipients were sorted in descending order, and the top m alarm recipients were selected as the expert group. The formula for calculating m is: ; The remaining alarm message recipients will be assigned to the regular group.
5. The alarm notification method as described in claim 1 or 4, characterized in that, The step of dynamically adjusting the queue of alarm messages to be pushed based on the alarm message level includes: Determine whether the level of the newly generated alarm information is not lower than the level of the alarm information to be pushed in the queue of alarm information to be pushed; If so, the newly generated alarm information is inserted at the head of the queue of alarm information to be pushed, and sorted according to the generation time of the alarm information, with the alarm information generated earlier in the same level being placed at the front. If not, the newly generated alarm information is inserted at the end of the queue of alarm information to be pushed.
6. The alarm notification method as described in claim 5, characterized in that, The preset threshold is In the formula, This represents the percentage of recipients of alarm information in the general group who were notified before the expert group was notified, regardless of the alarm level; the higher the alarm level, the lower the percentage.
7. An alarm notification device, characterized in that, include: The calculation module is used to calculate the alarm processing efficiency score for each alarm information recipient based on historical alarm processing data. The classification module is used to divide the alarm information recipients into an expert group and a general group based on the alarm processing efficiency score. The adjustment module is used to dynamically adjust the queue of alarm messages to be pushed according to the alarm message level. The push module is used to push the alarm information based on the queue of alarm information to be pushed, the alarm processing efficiency score, the expert group, and the ordinary group, using a dynamic weighted round-robin mechanism. Specifically, the push module is used for: Sort all alarm information recipients in the ordinary group in ascending order according to their alarm processing efficiency scores. Based on the queue of alarm information to be pushed, the alarm information is pushed in a loop according to the sorting order of the alarm information recipients in the ordinary group; If the alarm information is not cleared within a first preset time, and the number of alarm information recipients notified in the ordinary group is not less than a preset threshold, then the alarm information will be pushed to the alarm information recipients of the expert group in a loop. If the alarm information is not cleared within the second preset time, it is determined whether all alarm information recipients in the expert group have been notified. If so, determine whether all alarm information recipients in the ordinary group have been notified; If not, continue to push the alarm information to the alarm information recipients in the expert group who have not been notified; The determination of whether all alarm information recipients in the ordinary group have been notified includes: Determine whether all alarm message recipients within the general group have been notified; If so, then adjust the first preset time; If not, the alarm information will continue to be pushed to the alarm information recipients in the ordinary group who have not been notified.
8. A terminal device, characterized in that, The device includes a processor and a memory, the memory storing a computer program configured to be executed by the processor, wherein the processor, when executing the computer program, implements the alarm notification method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the device containing the computer-readable storage medium executes the computer program, it implements the alarm notification method as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions, which, when executed by a processor, implement the alarm notification method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Work order allocation method and device, equipment and storage medium
CN114943443A
Work order distribution method, device, equipment and medium
CN116703120A