Alarm information processing method and device, electronic equipment and storage medium

Through silent rules and convergence rules, the problem of duplication and false alarms in massive alarms is solved, effective screening of alarm information is realized, and troubleshooting efficiency is improved.

CN119011364APending Publication Date: 2024-11-22CHINA CITIC BANK CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411034681.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When faced with massive alarms, it is difficult for the existing technology to effectively deal with a large number of repeated and false alarms, which makes it difficult for operation and maintenance personnel to quickly locate the cause of the fault and make it difficult to troubleshoot.

Method used

The alarm information is processed using silent rules and convergence rules. First, the invalid alarm is blocked and the alarm storm is prevented through the silent rules, and then the secondary filtering is carried out through the convergence rules to leave effective alarm information so that operation and maintenance personnel can quickly troubleshoot problems.

Benefits of technology

The secondary screening process blocks invalid alarm information and leaves effective alarm information, which is conducive to the operation and maintenance personnel to quickly locate the problem and improves the efficiency and accuracy of troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011364A_ABST
    Figure CN119011364A_ABST
Patent Text Reader

Abstract

The invention provides an alarm information processing method and device, electronic equipment and a storage medium, and relates to the technical field of data processing, in particular to the technical field of alarm processing. The specific implementation scheme is as follows: receiving alarm information from a plurality of alarm sources; performing silence processing on the alarm information according to a pre-configured silence rule so as to shield the alarm information meeting the silence rule, and obtaining the alarm information after silence processing; carrying out convergence processing on the alarm information after silence processing according to a pre-configured convergence rule so as to converge part of the alarm information meeting the convergence rule, and obtaining the alarm information after convergence processing; and processing the alarm information after convergence processing so as to carry out troubleshooting. According to the method, the alarm information is shielded by adopting the silence rule, and then convergence processing is performed by adopting the convergence rule to shield a large amount of invalid alarm information, so that operation and maintenance personnel can quickly locate the fault according to the effective alarm information to perform troubleshooting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, specifically to the field of alarm processing technology, and especially to an alarm information processing method, device, electronic device and storage medium. Background Art

[0002] With the changes in the international situation in recent years, the information technology application innovation industry has become part of my country's national strategy, aiming to achieve independent control in the field of information technology and safeguard national information security. The country builds its own IT industry standards and ecology by developing the information innovation industry. Realize the national substitution of chips, complete machines, operating systems, databases, middleware, applications and security products, make IT products and technologies safe and controllable, and get rid of dependence on other countries' IT standards. Moreover, with the rapid development of corporate business, the scale of software and hardware equipment has also increased by an order of magnitude. It is difficult to maintain the stability and availability of business in tens of thousands of hardware devices and numerous applications. It is crucial to include these devices and applications in monitoring and alarm management. The continuous addition of new equipment and services has also increased the magnitude of alarms step by step. Various software and hardware modules generate a large amount of alarm information every day. Generally, alarm analysis is mainly handled by operation and maintenance personnel. When an alarm occurs, operation and maintenance personnel are often required to correctly judge the correlation in the alarm in the shortest time, and then take corresponding measures based on their own experience.

[0003] However, faced with massive amounts of alarms, there are a large number of duplicate alarms and false alarms. It is difficult to manually find the cause of the fault from a large number of alarms, and it is difficult to locate the problem. Summary of the invention

[0004] The present disclosure provides an alarm information processing method, device, electronic device and storage medium.

[0005] According to one aspect of the present disclosure, there is provided a method for processing alarm information, comprising:

[0006] Receive alarm information from multiple alarm sources;

[0007] Silence the alarm information according to a pre-configured silence rule to shield the alarm information satisfying the silence rule, and obtain the silenced alarm information;

[0008] Performing convergence processing on the alarm information after the silent processing according to a pre-configured convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after convergence processing;

[0009] The alarm information after the convergence process is processed to perform troubleshooting.

[0010] According to another aspect of the present disclosure, there is provided an alarm information processing device, comprising:

[0011] A receiving module, used for receiving alarm information from multiple alarm sources;

[0012] A silent module, used for performing silent processing on the alarm information according to a pre-configured silent rule to shield the alarm information satisfying the silent rule and obtain the alarm information after silent processing;

[0013] A convergence module, used to perform convergence processing on the alarm information after the silent processing according to a pre-configured convergence rule, so as to converge the alarm information that partially meets the convergence rule and obtain the alarm information after the convergence processing;

[0014] The processing module is used to process the alarm information after the convergence processing to perform fault troubleshooting.

[0015] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method in any of the above technical solutions.

[0019] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any one of the methods described in the above technical solutions.

[0020] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements any one of the methods described in the above technical solutions when executed by a processor.

[0021] The present disclosure provides an alarm information processing method, device, equipment and storage medium. The scheme first uses a silent rule to shield the alarm information that meets the silent rule to obtain the silent processed alarm information, and then uses a convergence rule to perform convergence processing on the silent processed alarm information. This method shields invalid alarm information through a secondary screening process, leaving valid alarm information, which is conducive to the operation and maintenance personnel to quickly locate the problem according to the valid alarm information to perform troubleshooting.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0024] Figure 1 is a schematic diagram of the steps of the alarm information processing method in the embodiment of the present disclosure;

[0025] Figure 2 is a flowchart of processing alarm information according to the silent rule in an embodiment of the present disclosure;

[0026] Figure 3 is a flow chart of processing alarm information according to convergence rules in an embodiment of the present disclosure;

[0027] Figure 4 is a schematic diagram of an alarm information processing system in an embodiment of the present disclosure;

[0028] Figure 5 A principle block diagram of the alarm information processing device in the embodiment of the present disclosure;

[0029] Figure 6 It is a block diagram of an electronic device used to implement the alarm information processing method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0031] The present disclosure provides a method for processing alarm information. Figure 1 As shown, including:

[0032] Step S101: receiving alarm information from multiple alarm sources.

[0033] Specifically, when receiving alarm information from multiple alarm sources, such as receiving alarm information from application-level service monitoring, call chain, service status, network equipment, log cloud, application system, API management, security monitoring, Ngnix, Redis, Kafka, database and other alarm sources, alarms generated by the entire link. The alarm source is the monitoring platform that issues the alarm. As the unique identifier in the subsequent alarm convergence, silence, push and other stages, it is necessary to ensure that the identifier is unique and the description is accurate. There are currently five major categories of alarm sources, namely: 1. Application level (microservice indicators, business indicator related alarms); 2. Middleware (middleware related alarms); 3. Database (database related alarms); 4. Resource level (virtual machines, physical machines, storage devices and other host alarms); 5. Network level (network equipment, network dedicated lines and other related alarms). The alarm source and the system using this method reach an alarm access agreement in advance, using a JSON object with specific fields as the carrier of the alarm. A complete alarm message consists of the system name, microservice name, alarm source name, alarm level, IP, computer room name, alarm description, occurrence time, alarm indicator information, alarm custom recipient, monitoring link, indicator name, alarm instance object, and token field. The alarm instance object refers to the IP and port number of the terminal that generates the alarm. The IP and port number can locate the specific process that generates the alarm. Token refers to an encrypted token. Different alarm sources have different tokens. When the alarm source turns on the token verification switch, only alarms with the correct token can be received by this system. Otherwise, it will be regarded as an illegal alarm and will be rejected.

[0034] Optionally, after receiving alarm information from multiple alarm sources, the received alarm information may be verified, and only the alarm information that passes the verification may proceed to the next stage.

[0035] Step S102: Perform silent processing on the alarm information according to the pre-configured silent rules to shield the alarm information satisfying the silent rules, and obtain the silent processed alarm information.

[0036] Specifically, the silent rules include global fuse silence and local silence matching the alarm conditions. After receiving alarm information from multiple alarm sources, the alarm information can be silently processed according to the pre-configured silent rules to shield invalid alarms and prevent alarm storms. Among them, invalid alarms are generally generated during the release of system changes, or when a machine has been offline but is still under monitoring. Since these alarm information is within expectations and there is no need to notify, invalid alarms can be shielded by configuring silent rules to prevent notifications from being sent to reduce the interference of invalid alarm information. Alarm storm refers to the situation where the alarm source issues a large number of repeated and similar alarms in a short period of time due to IT system failures. When an alarm storm occurs, on the one hand, it will increase the system load, and on the other hand, it will cause the administrator to receive a large number of repeated alarms, so that the truly useful alarms are drowned in the alarm storm. Therefore, by setting silent rules, invalid alarms can be shielded and alarm storms can be prevented.

[0037] Step S103 , performing convergence processing on the alarm information after silence processing according to the pre-configured convergence rule, so as to converge the alarm information that partially meets the convergence rule, and obtain the alarm information after convergence processing.

[0038] Specifically, after obtaining the silent processed alarm information, the silent processed alarm information is converged according to the convergence rule, and the repeated alarm information can be converged together to achieve secondary filtering of invalid alarm information. By performing secondary filtering on the alarm information, the interference of invalid alarm information can be further eliminated to reduce the processing of data volume.

[0039] Step S104, processing the alarm information after the convergence process to perform troubleshooting.

[0040] Specifically, after obtaining the alarm information after the convergence process, the alarm information after the convergence process is equivalent to the valid alarm information left after the secondary screening. By processing the valid alarm information to perform fault troubleshooting, it can help the operation and maintenance personnel to quickly locate and troubleshoot the fault.

[0041] The present disclosure provides an alarm information processing method, device, equipment and storage medium. The scheme first uses a silent rule to shield the alarm information that meets the silent rule to obtain the silent processed alarm information, and then uses a convergence rule to perform convergence processing on the silent processed alarm information. This method shields invalid alarm information through a secondary screening process, leaving valid alarm information, which is conducive to the operation and maintenance personnel to quickly locate the problem according to the valid alarm information to perform troubleshooting.

[0042] In some optional embodiments, after receiving the alarm information from multiple alarm sources, the method further includes:

[0043] The alarm information is verified according to the IP information carried in the alarm information to obtain the verified alarm information, and the verified alarm information is processed silently.

[0044] Specifically, after receiving alarm information from multiple alarm sources, the alarm information is verified. When verifying, it can be specifically to verify whether the correspondence between the IP of the alarm information and the system name, microservice name, and computer room name of the alarm is correct. With the help of the full amount of virtual machine data, physical machine data, application system data, microservice data, and computer room data stored in the CMDB (i.e., configuration information database), with IP as the hub, a mapping relationship from IP to system, microservice, and computer room can be established. When a new alarm message is received, it will be verified whether the correspondence between the IP carried by the alarm message and the system name, microservice name, and computer room name of the alarm is correct. If the verification fails, the alarm message will not be sent to the next process.

[0045] In this way, the alarm information is verified according to the IP information carried in the alarm information to ensure that the data format of the alarm information is correct, so as to improve the accuracy and efficiency of information transmission.

[0046] In some optional embodiments, the alarm information is silently processed according to the pre-configured silent rules to shield the alarm information that meets the silent rules, and the alarm information after silent processing is obtained, including:

[0047] Count the number of alarm messages received from the same alarm source within a preset time window;

[0048] If the number of alarm messages does not reach the set threshold, the pre-configured silent rules are obtained, which include the system silent list, microservice silent list, and IP silent list;

[0049] The alarm information is matched with the key information of any one of the system silent list, microservice silent list and IP silent list, and the matched alarm information is silenced to obtain the silent processed alarm information.

[0050] Specifically, when the number of alarm messages does not reach the set threshold, local silence is used, that is, only the alarm messages that match the alarm conditions will be silenced. Local silence mainly includes three types: system silence, microservice silence, and IP silence. These three types of silence rules are executed in parallel. As long as the result of one type of silence rule is silence, the current alarm message will be silenced and will not be sent.

[0051] In this way, by matching the alarm information with the key information of any of the system silent list, microservice silent list and IP silent list, it is helpful to quickly determine which alarm information needs to be silenced, thereby improving the efficiency of alarm information processing.

[0052] In some optional embodiments, the alarm information is silently processed according to a pre-configured silence rule to shield the alarm information that meets the silence rule, and the alarm information after the silence processing is obtained. The method further includes:

[0053] If the number of alarm messages reaches the number threshold, all subsequently received alarm messages are silenced to obtain silenced alarm messages.

[0054] Specifically, when the number of alarm messages reaches the threshold, a global circuit breaker is used. The circuit breaker is based on the Redis distributed cache and uses the string type in Redis to establish an alarm circuit breaker mechanism. The system name + alarm source name + timestamp is used as the key to count the number of alarms in the time window. When the number of alarms reaches the threshold, subsequent alarms will be fused and will not participate in subsequent distribution and push.

[0055] In this way, when the number of alarm messages reaches the threshold, it can be considered that the alarm source sends a large number of repeated and similar alarm messages in a short period of time. At this time, global fuse silent processing is adopted to prevent the occurrence of alarm storms and avoid truly useful alarm information being drowned in the alarm storm.

[0056] To understand the silent rules of this application, see Figure 2 , Figure 2 It is a flowchart of processing alarm information according to the silence rule in the embodiment of the present disclosure. In this processing flow, first, it is determined whether to trigger the fuse silence. The fuse silence uses the string type in Redis, with the system name + alarm source name + timestamp as the key. The number of alarms in the time window is counted. When the number of alarms reaches the threshold, the fuse silence will be triggered. The alarm triggering the fuse silence will only retain the data without doing other processing, and of course it will not enter the next module.

[0057] If the alarm does not trigger the fuse, the system silence, microservice silence, and IP silence judgment are executed in parallel. The judgment process of system silence is as follows: first, input the system, alarm source, level, computer room and other elements of the current alarm, and use these elements as query conditions to obtain the matching and unexpired system silence list. After that, in the system silence list, filter out invalid keyword silence rules. Keyword silence rules refer to silence rules that specify keywords. Only when the alarm description of the alarm contains keyword content, the silence rule will take effect. After filtering out invalid keyword silence rules, determine whether the filtered system silence list is empty. If it is empty, it means not silent and enter the next module. If it is not empty, it means silent and no notification is sent. The judgment process of microservice silence is similar to that of system silence, except that in the first step of querying the silent list that matches the alarm, the alarm microservice is used as the query condition instead of the alarm system.

[0058] The judgment process for IP silence is as follows: first, input the alarm source, level, computer room and other elements of the current alarm, and use these elements as query conditions to obtain the IP silent list that matches and has not expired. After filtering out invalid keyword silent rules, determine whether the filtered IP silent list is empty. If not, continue to determine whether the alarm IP is legal and whether the alarm IP is within the silent IP configuration range. If the alarm is legal and within the silent IP configuration range, then silence and no notification will be sent. In other cases, it is not silent and enters the next module.

[0059] For example, suppose that there are currently 5 alarm samples sent by the same alarm source within 1 minute, and the quantity threshold is set to 6. Since these 5 alarm samples all meet the requirement that the number of alarms sent by the same alarm source and the same system within 1 minute does not exceed 6, alarm samples 1-5 can all pass the fuse silent check and will not be fuse silent. Then, these 5 alarm samples are sequentially subjected to system silent check, IP silent check, and microservice silent check. Assuming that sample 1 matches the rule corresponding to the system silent list, sample 2 matches the rule corresponding to the IP silent list, and sample 4 matches the rule corresponding to the microservice silent list, alarm samples 1, 2, and 4 are silent, and alarm samples 3 and 5 pass the silent check and enter the next module.

[0060] In some optional embodiments, performing convergence processing on the alarm information after silence processing according to a preconfigured convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after convergence processing includes:

[0061] According to the matching strategy, a convergence rule matching the matching strategy is selected from multiple convergence rule groups. The matching strategy includes alarm source information, custom dimension information, time period information, and group attribute information.

[0062] Convergence processing is performed on the alarm information after silence processing according to the convergence rule to converge the alarm information that partially meets the convergence rule, and obtain the alarm information after convergence processing.

[0063] Specifically, since there must be multiple rule groups under one alarm source, rule screening is required at this time, including: custom dimension matching, time period matching, and group attribute matching. For custom dimension matching, the higher the matching degree, the greater the weight. The rule with the largest weight is given priority. Generally, only one rule group will be matched unless there are multiple rule groups with exactly the same dimension configuration. For time period matching, whether the alarm generation time is within the rule time period. For group attribute matching (only required for convergence types of statistics and comparison-statistics), if the group attribute field name set by the rule cannot be found in the current alarm field or the corresponding value is empty, the rule is discarded. After that, determine whether there are convergence rules that meet the conditions.

[0064] In this way, by performing convergence processing on the silent processed alarm information according to the convergence rule, the repeated alarm information can be converged together to achieve secondary filtering of invalid alarm information. By performing secondary filtering on the alarm information, the interference of invalid alarm information can be further eliminated to reduce the processing of data volume.

[0065] In some optional embodiments, performing convergence processing on the alarm information after silence processing according to the convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after convergence processing includes:

[0066] If the convergence type corresponding to the convergence rule is a statistical type, the alarm time period or alarm number corresponding to the alarm information after silent processing is obtained;

[0067] If the alarm time period is within the convergence time period, or the alarm number is within the convergence number, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number;

[0068] The first alarm information is selected from the alarm information with the same alarm number and sent to obtain the alarm information after convergence processing.

[0069] Specifically, the convergence rules of statistical types apply to alarms that need to converge within a time period and converge within the number of alarms. Assuming that the number of alarms is set to 5 times, and the number of alarms is less than 5 times, the alarms will be converged to the same alarm number in the group; when the number of alarms is greater than 5 times, a new alarm number will be created, and the time when the new alarm number is created will be used as the start time for the next time window determination. The same setting is applied to the convergence period. The first alarm in each group in each time window will also create a new alarm number. The alarm level for creating a new alarm number will be converted to Highest. For alarms with the same alarm number, only the first alarm will be notified, and no notification will be sent for the rest.

[0070] In this way, if the alarm time period is within the convergence time period, or the alarm number is within the convergence number, the alarm information after silent processing is grouped according to the IP of the alarm information, and the alarm information in the same group is converged into the same alarm number. The first alarm information among the alarm information with the same alarm number is selected to be sent to obtain the alarm information after convergence processing. In this way, the interference of invalid alarm information can be further eliminated to reduce the processing of data volume.

[0071] In some optional embodiments, the method further comprises:

[0072] If the convergence type corresponding to the convergence rule is a comparison type, the value corresponding to the specified field in the alarm information after silent processing is compared with the specific value;

[0073] If the value corresponding to the specified field is less than a specific value, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm ticket number;

[0074] The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

[0075] Specifically, the comparison type convergence rule is applicable to alarms that only need to determine the value of the alarm item. Assuming that the specific value is set to 5, when the specified field tags.converg>5, a new alarm number is created and the alarm level is converted to the Highest level.

[0076] In this way, if the numerical value corresponding to the specified field is less than a specific value, the alarm information after silent processing is grouped according to the IP of the alarm information, and the alarm information in the same group is converged into the same alarm number; the first alarm information is selected from the alarms with the same alarm number to be sent, and the alarm information after convergence processing is obtained. In this way, the interference of invalid alarm information can be further eliminated to reduce the processing of data volume.

[0077] In some optional embodiments, the method further comprises:

[0078] If the convergence type corresponding to the convergence rule is the comparison and statistics type, the alarm time period, the alarm number, and the value corresponding to the specified field of the alarm information after silent processing are obtained;

[0079] If the alarm time period is within the convergence time period, the alarm number is within the convergence number, and the value corresponding to the specified field is less than a specific value, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number;

[0080] The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

[0081] Specifically, the comparison-statistical type convergence rule is applicable to alarms that need to converge for time periods and alarm times, and have secondary judgment requirements for alarm item values. When the specified field tags.converg>5, grouping is performed based on IP. Every 5 minutes, if the alarm is less than 5 times, the alarm will be converged to the same alarm number in the group; if the alarm is greater than 5 times, a new alarm number will be created, and the time of creating the new alarm number will be used as the start time for the next time window judgment. A new alarm number will also be created for the first alarm in each group in each time window. The level of the alarm that creates a new alarm number will be converted to Highest. For alarms with the same alarm number, only the first alarm will be notified, and no notification will be sent for the rest.

[0082] In this way, by performing secondary filtering on the alarm information, interference from invalid alarm information can be further eliminated, thereby reducing the amount of data to be processed.

[0083] To facilitate understanding of the solutions of the embodiments of the present disclosure, see Figure 3 , Figure 3It is a flow chart of processing alarm information according to convergence rules in the embodiment of the present disclosure. When processing alarm information according to convergence rules, firstly, according to the alarm source, time period, custom dimension, and grouping attribute, the convergence rules that meet the conditions are screened out. Since there must be multiple rule groups under one alarm source, rule screening is required at this time, including: custom dimension matching, time period matching, and grouping attribute matching. Custom dimension matching, the higher the matching degree, the greater the weight, and the rule with the largest weight is preferred. Generally, only one rule group will be matched, unless there are multiple rule groups with exactly the same dimension configuration. Time period matching, whether the alarm generation time is within the rule period. Grouping attribute matching (statistics, comparison-statistics are only required) If the grouping attribute field name set by the rule cannot be found in the current alarm field or the corresponding value is empty, the rule is discarded. After that, it is determined whether there is a convergence rule that meets the conditions. If it is not, it is regarded as the first alarm occurrence alarm. If it is, the filtered convergence rules are sorted according to the time period options of week / month / holiday / all natural days, and the convergence rule group is grouped according to the convergence rule group ID to obtain the rule group list that needs to be calculated. Calculate the convergence rule groups in the convergence rule group list in sequence, and calculate the rules in the convergence rule group in sequence. A rule group can contain one or more convergence rules of the same or different types. There are currently three types of convergence rules: statistics, comparison, and comparison-statistics. Convergence rules of the statistics type calculate the convergence result by counting the number of times the group attribute is counted within a specific period of time. Convergence rules of the comparison type calculate the convergence result by comparing the specific relationship between the specified field and the specific value (multiple comparison rules can be the intersection or union). Convergence rules of the comparison-statistics type calculate the convergence result by counting the number of times the group attribute is counted within a specific period of time after satisfying the specific relationship between the specified field and the specific value (multiple comparison rules can be the intersection or union). Convergence results in the same rule group are ANDed to obtain the convergence result of the current rule group. After the current rule group is calculated, the next rule group is calculated, and the convergence results obtained by different rule groups are ORed to obtain the final alarm convergence result. The final alarm convergence result is used to determine whether to send.

[0084] For the two types of convergence rules, statistics and comparison-statistics, a new alarm number will be created for the first alarm in each group in each statistical time window. Alarms in the same group will be converged into the same alarm number. For alarms with the same alarm number, only the first alarm will be notified, and the rest will not be notified.

[0085] In order to facilitate an overall understanding of the present disclosure, see Figure 4 , Figure 4It is a schematic diagram of the alarm information processing system in the embodiment of the present disclosure, which includes: an alarm receiving module, an alarm verification module, an alarm silencing module, an alarm convergence module, an alarm distribution module, a message push module, an alarm handling module, an alarm analysis module, an event handling module, and a team management module.

[0086] Among them, the alarm receiving module is used to receive alarms generated by the alarm source. The alarm source is the monitoring platform that issues the alarm. As the unique identifier in the subsequent alarm convergence, silence, push and other stages, it is necessary to ensure that the identifier is unique and the description is accurate. The alarm source and this system reach an alarm access agreement in advance, using a JSON object with specific fields as the carrier of the alarm.

[0087] The alarm verification module uses the data stored in the CMDB (configuration management database) configuration information library to verify whether the correspondence between the alarm IP and the system name, microservice name, and computer room name into which the alarm is transmitted is correct.

[0088] The alarm silence module is used to shield invalid alarms and prevent alarm storms. The silence rules of the present invention are divided into global fuse silence and local silence that matches the alarm conditions. The fuse silence is based on the Redis distributed cache and uses the string type in Redis to establish an alarm fuse silence mechanism. The system name + alarm source name + timestamp is used as the key to count the number of alarms in the time window. When the number of alarms reaches the threshold, the alarms that arrive later will be fused and will not participate in subsequent distribution and push. Local silence provides three types of silence rules: system, microservice, and IP. The three types of silence rules are executed in parallel. As long as one type of silence rule is judged as silent, the current alarm will be silenced and no notification will be sent.

[0089] The alarm convergence module is used to converge duplicate alarms and perform secondary filtering on invalid alarms. There must be multiple convergence rule groups under one alarm source. At this time, rule screening is required, including: custom dimension matching, time period matching, and group attribute matching. For custom dimension matching, the higher the matching degree, the greater the weight, and the rule with the largest weight is preferred. Currently, three types of convergence rules are supported: statistics, comparison, and comparison-statistics. The statistical type convergence rule calculates the convergence result based on the number of group attributes in a specific period of time. The comparison type convergence rule calculates the convergence result by comparing the specific relationship between the specified field and the specific value (multiple comparison rules can be the intersection or union). The comparison-statistics type means that after satisfying the specific relationship between the specified field and the specific value (multiple comparison rules can be the intersection or union), the convergence result is calculated based on the number of group attributes in a specific period of time.

[0090] The alarm distribution module is used to distribute alarms to the person who is most suitable for handling the current problem according to the specified rules, thereby shortening the problem communication time and improving the processing efficiency. Alarm distribution is based on the project team. The alarm system matches the project team according to the customized special alarm rules formulated by the project team. The project team is responsible for the subsequent alarm processing process to improve the efficiency of alarm processing. The alarm system matching rules will combine the IP address of the alarm, the system to which the alarm belongs, the source of the alarm and other information, and at the same time, the team's customized special alarms will be added to the calculation with a certain weight. On the one hand, it can quickly and flexibly match the best team and further accurately narrow the distribution range. On the other hand, it can modify the special alarm to meet the changes in special alarm rules caused by subsequent project team business adjustments, thereby improving the flexibility and accuracy of alarm distribution.

[0091] The message push module is used to push alarms to the alarm screen and notify relevant personnel of the alarms through enterprise WeChat and SMS. Alarm push rules include large screen push configuration, alarm level push configuration, and receiving personnel configuration. The large screen push configuration can configure the alarm sources from which the alarms to be displayed on the large screen come. When there is a new alarm on the large screen, an alarm will sound to remind the service desk to handle the alarm in time.

[0092] The alarm handling module is used to process, close, transfer, associate existing event tickets, convert alarms into a new event, or convert them into a new emergency response.

[0093] The alarm analysis module is used for alarm convergence statistical analysis. It can analyze data in two situations: one is to conduct convergence analysis of all alarms with the same dimension as a single alarm within a time period; the other is to conduct convergence analysis of all alarms under the rule group within a time period based on the alarm source / rule group.

[0094] The event handling module is used to initiate emergency handling of events. When an alarm may affect the business, the administrator can choose to convert the alarm ticket into an event ticket. The event handling module consists of the system indicator submodule, the rule engine submodule, and the release template submodule.

[0095] The team management module is used to create new teams, manage team personnel information, set team functions, and arrange team personnel on duty. It consists of a personnel management sub-module, a duty management sub-module, and a distribution settings sub-module.

[0096] The disclosed alarm processing method based on the trusted innovation environment can achieve safe and stable operation, and the business scale, average daily business number and actual peak TPS meet the industry needs. In addition, the disclosure can help operation and maintenance personnel compress massive alarms and quickly locate the root cause, quickly locate and respond to faults for troubleshooting and management, restore business, ensure business continuity, and reduce losses; the disclosure can also ensure the safety and controllability of domestic alarm and event handling systems in the field of computer operation and maintenance, further improve the level of information security application, and provide sufficient trusted innovation application experience for the subsequent construction of various platforms and systems.

[0097] The following describes an apparatus embodiment of the present application, which can be used to execute the alarm information processing method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the alarm information processing method of the present application.

[0098] The present disclosure also provides an alarm information processing device 500, such as Figure 5 As shown, including:

[0099] The receiving module 501 is used to receive alarm information from multiple alarm sources;

[0100] A silent module 502, configured to perform silent processing on the alarm information according to a pre-configured silent rule, so as to shield the alarm information satisfying the silent rule and obtain the alarm information after silent processing;

[0101] A convergence module 503 is used to perform convergence processing on the alarm information after silence processing according to a pre-configured convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after convergence processing;

[0102] The processing module 504 is used to process the alarm information after the convergence process to perform fault troubleshooting.

[0103] In some optional embodiments, the receiving module 501 is also used to, after receiving alarm information from multiple alarm sources, verify the alarm information according to the IP information carried in the alarm information to obtain verified alarm information, and silently process the verified alarm information.

[0104] In some optional embodiments, the silent module 502 performs silent processing on the alarm information according to the pre-configured silent rules to shield the alarm information that meets the silent rules, and obtains the silent processed alarm information, including:

[0105] Count the number of alarm messages received from the same alarm source within a preset time window;

[0106] If the number of alarm messages does not reach the set threshold, the pre-configured silent rules are obtained, which include the system silent list, microservice silent list, and IP silent list;

[0107] The alarm information is matched with the key information of any one of the system silent list, microservice silent list and IP silent list, and the matched alarm information is silenced to obtain the silent processed alarm information.

[0108] In some optional embodiments, the silencing module 502 is further configured to silence all subsequently received alarm information if the number of alarm information reaches a number threshold, thereby obtaining the silenced alarm information.

[0109] In some optional embodiments, the convergence module 503 performs convergence processing on the alarm information after silence processing according to a preconfigured convergence rule to converge the alarm information that partially meets the convergence rule, and obtains the alarm information after convergence processing, including:

[0110] According to the matching strategy, a convergence rule matching the matching strategy is selected from multiple convergence rule groups. The matching strategy includes alarm source information, custom dimension information, time period information, and group attribute information.

[0111] Convergence processing is performed on the alarm information after silence processing according to the convergence rule to converge the alarm information that partially meets the convergence rule, and obtain the alarm information after convergence processing.

[0112] In some optional embodiments, the convergence module 503 performs convergence processing on the alarm information after silence processing according to the convergence rule to converge the alarm information that partially meets the convergence rule, and obtains the alarm information after convergence processing, including:

[0113] If the convergence type corresponding to the convergence rule is a statistical type, the alarm time period or alarm number corresponding to the alarm information after silent processing is obtained;

[0114] If the alarm time period is within the convergence time period, or the alarm number is within the convergence number, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number;

[0115] The first alarm information is selected from the alarm information with the same alarm number and sent to obtain the alarm information after convergence processing.

[0116] In some optional embodiments, the convergence module 503 is further configured to compare a value corresponding to a specified field in the alarm information after silence processing with a specific value if the convergence type corresponding to the convergence rule is a comparison type;

[0117] If the value corresponding to the specified field is less than a specific value, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm ticket number;

[0118] The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

[0119] In some optional embodiments, the convergence module 503 is further configured to obtain the alarm time period, the number of alarms, and the value corresponding to the specified field of the alarm information after silent processing if the convergence type corresponding to the convergence rule is the comparison and statistical type;

[0120] If the alarm time period is within the convergence time period, the alarm number is within the convergence number, and the value corresponding to the specified field is less than a specific value, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number;

[0121] The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

[0122] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0123] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0124] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0125] like Figure 6As shown, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0126] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the alarm information processing method. For example, in some embodiments, the alarm information processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the applet distribution described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the alarm information processing method in any other appropriate manner (e.g., by means of firmware).

[0128] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0129] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0130] 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.

[0131] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0132] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by 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), and the Internet.

[0133] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0134] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0135] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing alarm information, comprising: Receive alarm information from multiple alarm sources; Silence the alarm information according to a pre-configured silence rule to shield the alarm information satisfying the silence rule, and obtain the silenced alarm information; Performing convergence processing on the alarm information after the silent processing according to a pre-configured convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after convergence processing; The alarm information after the convergence process is processed to perform troubleshooting.

2. The method according to claim 1, wherein: After receiving the alarm information from the plurality of alarm sources, the method further comprises: The alarm information is verified according to the IP information carried in the alarm information to obtain verified alarm information, and the verified alarm information is silently processed.

3. The method according to claim 1, wherein: The step of performing silent processing on the alarm information according to the pre-configured silent rules to shield the alarm information satisfying the silent rules and obtain the silent processed alarm information includes: Count the number of alarm messages received from the same alarm source within a preset time window; If the number of alarm messages does not reach the set number threshold, a pre-configured silent rule is obtained, wherein the silent rule includes a system silent list, a microservice silent list, and an IP silent list; The alarm information is matched with key information of any one of the system silent list, the microservice silent list and the IP silent list, and the alarm information that matches successfully is silenced to obtain the alarm information after silence processing.

4. The method according to claim 3, wherein: The method further comprises: performing silent processing on the alarm information according to the pre-configured silent rules to shield the alarm information satisfying the silent rules, and obtaining the alarm information after silent processing. If the number of the alarm messages reaches the number threshold, all the alarm messages subsequently received are silenced to obtain the silenced alarm messages.

5. The method according to claim 1, wherein: The step of performing convergence processing on the alarm information after the silent processing according to the pre-configured convergence rule to converge the alarm information that partially meets the convergence rule to obtain the alarm information after the convergence processing includes: Filtering a convergence rule matching the matching strategy from multiple convergence rule groups according to the matching strategy, wherein the matching strategy includes alarm source information, custom dimension information, time period information, and group attribute information; Convergence processing is performed on the alarm information after the silence processing according to the convergence rule to converge the alarm information that partially meets the convergence rule, and obtain the alarm information after convergence processing.

6. The method according to claim 5, wherein: The step of performing convergence processing on the alarm information after the silence processing according to the convergence rule to converge the alarm information that partially satisfies the convergence rule to obtain the alarm information after the convergence processing includes: If the convergence type corresponding to the convergence rule is a statistical type, obtaining an alarm time period or alarm number corresponding to the alarm information after the silent processing; If the alarm time period is within the convergence time period, or the alarm number is within the convergence number, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number; The first alarm information is selected from the alarm information with the same alarm number and sent to obtain the alarm information after convergence processing.

7. The method according to claim 5, wherein: The method further comprises: If the convergence type corresponding to the convergence rule is a comparison type, comparing the value corresponding to the designated field in the alarm information after the silent processing with a specific value; If the value corresponding to the designated field is less than the specific value, the silent processed alarm information is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number; The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

8. The method according to claim 5, wherein: The method further comprises: If the convergence type corresponding to the convergence rule is a comparison and statistics type, then obtaining the alarm time period, the number of alarms, and the value corresponding to the specified field corresponding to the alarm information after the silent processing; If the alarm time period is within the convergence time period, the alarm number is within the convergence number, and the value corresponding to the specified field is less than the specific value, the alarm information after silent processing is grouped according to the IP address of the alarm information, and the alarm information in the same group is converged into the same alarm number; The first alarm message is selected from the alarms with the same alarm number and sent to obtain the alarm message after convergence processing.

9. An alarm information processing device, comprising: A receiving module, used for receiving alarm information from multiple alarm sources; A silent module, used for performing silent processing on the alarm information according to a pre-configured silent rule to shield the alarm information satisfying the silent rule and obtain the alarm information after silent processing; A convergence module, used to perform convergence processing on the alarm information after the silent processing according to a pre-configured convergence rule, so as to converge the alarm information that partially meets the convergence rule and obtain the alarm information after the convergence processing; The processing module is used to process the alarm information after the convergence processing to perform fault troubleshooting.

10. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

Citation Information

Cited By

  • Batch processing file monitoring method and device and computer equipment

    CN119788660A

  • A batch file monitoring method, device and computer equipment

    CN119788660B