Alarm processing method, device, equipment, medium and computer program product

By identifying and processing the tag information of alarm data, using preset rules to block non-critical alarms and subscribing to critical alarms, the problem of low alarm data processing efficiency in the cloud computing environment is solved, more efficient and flexible alarm processing is achieved, and key alarms are ensured. Timely communication of warnings.

CN118740592APending Publication Date: 2024-10-01BEIJING URBAN CONSTR INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410861861.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In a high-density cloud computing environment, it is difficult for operation and maintenance personnel to quickly identify and respond to core alarm issues that really require attention, and the lack of personalized subscription functions results in delayed communication of key alarm data.

Method used

By identifying the tag information of alarm data, blocking non-critical alarm data according to preset shielding rules, and sending key alarm data to target subscription objects according to preset subscription rules, flexible and precise processing of alarm data is achieved.

Benefits of technology

It improves the accuracy and effectiveness of alarm processing, reduces the management burden caused by alarm storms, improves system stability, and ensures that key alarm data can be communicated to interested parties in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740592A_ABST
    Figure CN118740592A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an alarm processing method and device, equipment, a medium and a computer program product, and the alarm processing method comprises the steps: identifying the mark information of alarm data, and enabling the mark information to represent the attribute characteristics of the alarm data; under the condition that the mark information is matched with a preset shielding rule, the alarm data are shielded, and the preset shielding rule is set based on the to-be-shielded alarm attribute characteristics; and under the condition that the mark information is matched with a preset subscription rule, the alarm data is sent to the target subscription object, and the preset subscription rule is set based on alarm attribute characteristics subscribed by the subscription objects. Through the preset shielding rule and the preset subscription rule, more flexible and fine processing rules can be set for different alarm data, the accuracy and effectiveness of alarm processing are improved, and flexibility is provided for subsequent optimization and improvement. Meanwhile, the alarm storm can be effectively handled, the management burden caused by too many alarms is reduced, and the stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to an alarm processing method, apparatus, device, medium, and computer program product. Background Art

[0002] With the development of digitalization and the popularization of cloud computing, the demand for equipment monitoring is gradually increasing. Real-time monitoring of equipment status and obtaining alarm data from monitoring points have become crucial, especially when equipment fails, timely monitoring of equipment can help understand its operating status.

[0003] Although the relevant technologies have improved the ability of equipment monitoring to a certain extent, in a high-density cloud computing environment, operation and maintenance personnel are often overwhelmed by a large amount of non-critical alarm data, making it difficult to quickly identify and respond to the core issues that really need attention. At the same time, the lack of personalized subscription functions for alarms also limits the effective communication of key alarm data, making it possible for key decision makers to not obtain the alarm data they care about in a timely manner.

[0004] Therefore, a more intelligent, flexible and efficient alarm processing method is urgently needed. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides an alarm processing method. One or more embodiments of the present invention also relate to an alarm processing device, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0006] According to a first aspect of an embodiment of the present invention, there is provided an alarm processing method, including:

[0007] Identify tag information of the alarm data, wherein the tag information represents attribute characteristics of the alarm data;

[0008] When the tag information matches a preset shielding rule, shielding the alarm data, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded;

[0009] In the case where the tag information matches the preset subscription rule, the alarm data is sent to the target subscription object, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

[0010] According to a second aspect of an embodiment of the present invention, there is provided an alarm processing device, including:

[0011] An identification module is configured to identify tag information of the alarm data, wherein the tag information represents attribute characteristics of the alarm data;

[0012] A shielding module is configured to shield the alarm data when the tag information matches a preset shielding rule, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded;

[0013] The subscription module is configured to send the alarm data to the target subscription object when the tag information matches the preset subscription rule, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

[0014] According to a third aspect of an embodiment of the present invention, there is provided a computing device, including:

[0015] Memory and processor;

[0016] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the above-mentioned alarm processing method are implemented.

[0017] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program / instruction, and the computer program / instruction implements the steps of the above-mentioned alarm processing method when executed by a processor.

[0018] According to a fifth aspect of an embodiment of the present invention, there is provided a computer program product, comprising a computer program / instruction, which implements the steps of the above-mentioned alarm processing method when executed by a processor.

[0019] In one embodiment of the present invention, the tag information of the alarm data is identified, wherein the tag information represents the attribute characteristics of the alarm data; when the tag information matches the preset shielding rule, the alarm data is shielded, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded; when the tag information matches the preset subscription rule, the alarm data is sent to the target subscription object, wherein the preset subscription rule is set based on the attribute characteristics of the alarm subscribed by each subscription object. Through the preset shielding rule and the preset subscription rule, it is possible to subscribe to the key alarm data subscribed by the target object that hits the preset subscription rule, and at the same time, shield the non-critical alarm data that hits the preset shielding rule, so as to achieve more flexible and sophisticated processing of the alarm data, improve the accuracy and effectiveness of the alarm processing, and also provide flexibility for subsequent optimization and improvement. At the same time, shielding some non-critical alarm data according to the preset shielding rule can effectively deal with the alarm storm, reduce the management burden caused by the excessive amount of alarm data, and improve stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is an interactive architecture diagram of an alarm processing system provided by an embodiment of the present invention;

[0021] Figure 2 is a flow chart of an alarm processing method provided by an embodiment of the present invention;

[0022] Figure 3 is a processing flow chart of an alarm processing method provided by an embodiment of the present invention;

[0023] Figure 4 It is a structural diagram of an alarm processing device provided by an embodiment of the present invention;

[0024] Figure 5 It is a structural block diagram of a computing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present invention, so the present invention is not limited to the specific implementation disclosed below.

[0026] The terms used in one or more embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present invention. The singular forms of "a", "said" and "the" used in one or more embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present invention refers to and includes any or all possible combinations of one or more associated listed items.

[0027] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present invention, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present invention, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0028] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0029] First, the terms involved in one or more embodiments of the present invention are explained.

[0030] Redis: An open source in-memory data storage system for caching and real-time data processing. It supports a variety of data types and functions, including persistence, replication, data expiration policies, etc., and is suitable for efficient data processing and storage in various scenarios.

[0031] Memcached: An open source, high-performance memory object caching system that is primarily used to cache frequently used data and speed up data access.

[0032] List: A data structure that allows multiple ordered elements to be stored in a variable. In redis, List is used as a data type that allows an ordered list to be stored under a key. This allows redis to be used like a message queue, that is, processing data in the order of First In, First Out (FIFO).

[0033] FI FO bidirectional linked list: In redis, a list of linked lists is used to implement the data structure of a first-in-first-out (FIFO) queue, where FI FO means that data is arranged in a first-in-first-out order, and a bidirectional linked list means that a node in the list can point to either the next node or the previous node. This data structure is very useful in message queue services because it allows data to be arranged and processed in an orderly manner.

[0034] Key expiration policy: RedIS allows you to set an expiration time for each key. Once a key expires, RedIS will automatically delete it. This expiration policy can help control memory usage and ensure that the data stored in RedIS is the latest and most relevant. By setting an appropriate expiration time, you can effectively manage the data in RedIS and avoid storing expired or no longer needed data, thereby improving system performance and efficiency.

[0035] DDos: Distributed Denial of Service, refers to attacking a target system by using multiple computer systems, so that the target system cannot provide normal services. The attacker controls multiple computers or devices to send a large number of requests to the target system, exhausting the resources of the target system (such as bandwidth and processing power), thus making it impossible for normal users to access or use the services of the target system.

[0036] SQL: "Structured Query Language", is widely used in database management, data query, data operation, etc. It is the core language of many database systems.

[0037] With the requirements of digital development and the efficient evolution of cloud computing, more investment is being made in facilities and equipment, so the monitoring requirements for equipment are getting higher and higher, requiring real-time monitoring of equipment and obtaining the point value of equipment. Especially when the equipment has a fault alarm, it is necessary to monitor the equipment at all times to understand the operating status of the equipment.

[0038] When the platform system is dealing with high-concurrency and massive data requests, it usually uses caching to load the data in the database into memory or storage media with faster access speed and higher data storage capacity for periodic storage. The main purpose is to reduce database access with less persistent storage to ensure data stability and reduce I / O.

[0039] The complexity of data and the diversity of data structures have led to the emergence of many SQL databases, such as Memcached. However, this database has a relatively simple storage and does not support a wide range of data types. The reading speed is also not ideal. Redis is an open source software that supports a wide range of data types, and the limit for a single value is 1GB. Compared with Memcached, which can only store 1MB of data, Redis can store more useful data. In addition, the List linked list cached by Redis can be a FIFO bidirectional linked list, which can be used as a message queue service. In addition, Redis has a wide range of Key expiration policies.

[0040] In the present invention, an alarm processing method is provided. The present invention also relates to an alarm processing device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0041] See also Figure 1 , Figure 1 It is an interactive architecture diagram of an alarm processing system provided by an embodiment of the present invention, specifically including: after acquiring the alarm data, the alarm processing system identifies the tag information of the alarm data, masks the alarm data when the tag information matches the preset masking rule, and sends the alarm data to the target subscription object when the tag information matches the preset subscription rule.

[0042] Applied to the alarm processing system, through preset shielding rules and preset subscription rules, it can subscribe to the key data that needs to be subscribed, and shield the non-critical alarm data, so as to achieve more flexible and refined processing of alarm data, improve the accuracy and effectiveness of alarm processing, and provide flexibility for subsequent optimization and improvement. At the same time, shielding some alarm data according to the preset shielding rules can effectively deal with alarm storms, reduce the management burden caused by excessive amount of alarm data, and improve stability.

[0043] See also Figure 2 , Figure 2 It is a flow chart of an alarm processing method provided by an embodiment of the present invention, which specifically includes the following steps.

[0044] Step 202: Identify tag information of the alarm data, wherein the tag information represents attribute characteristics of the alarm data.

[0045] Among them, the tag information refers to the label or mark used to describe the attribute characteristics of the alarm data, which can be a specific field added to the data field after the alarm data is generated. The attribute characteristics refer to the key characteristics of the alarm data, which can help the system identify and classify the alarm data.

[0046] In practical applications, first, the alarm processing system needs to collect alarm data, which can be information from network devices, sensors, log files or other monitoring alarm processing systems. These data can include timestamps, alarm content, device information, etc. The alarm processing system will analyze the collected alarm data and extract attribute features, which can help identify and describe the alarm data. For example, features can include alarm level, alarm type, occurrence time, device location, etc. After extracting features, the alarm processing system will identify and extract tag information, which is usually specific fields or attributes used to describe the attribute characteristics of alarm data. For example, in the field of network security, tag information can include attack type, attack source, affected alarm processing system, etc. Finally, the alarm processing system will associate the extracted tag information with the corresponding attribute features, so that the attribute characteristics of the alarm data can be fully described. This information can be used to analyze and identify different types of alarms, helping the alarm processing system to further process and respond.

[0047] In a specific embodiment of the present invention, the alarm processing system is a network security alarm processing system for monitoring the network activities of an enterprise and detecting potential attacks and security vulnerabilities. The alarm processing system collects data from various sources, including network devices (such as firewalls, intrusion detection systems), sensors, log files, and other monitoring systems. These data include timestamps, alarm content (such as abnormal traffic, malware behavior), device information (such as IP address, device type), etc. The alarm processing system analyzes the collected alarm data and extracts attribute features therein. For example, the system can extract the alarm level (warning, error, severe), alarm type (DDoS attack, SQL injection, malicious file upload), occurrence time, device location, etc. Mark information identification: After feature extraction, the alarm processing system will identify and extract marker information, which is used to describe the attribute characteristics of the alarm. In this example, the marker information may include attack type (such as DDoS attack), attack source (such as a certain IP address or a specific network node), affected alarm processing system (such as attacked server or service), etc. Finally, the alarm processing system will associate the extracted tag information with the corresponding attribute characteristics to fully describe the attribute characteristics of the alarm data. For example, the alarm processing system may associate the attack type tag information with the alarm type attribute characteristics to analyze and identify different types of attacks.

[0048] Furthermore, before identifying the marking information of the alarm data, it also includes: obtaining first alarm data, wherein the first alarm data is alarm data carrying push information of second alarm data, and the second alarm data is other alarm data except the first alarm data; obtaining the second alarm data based on the push information; obtaining the alarm data based on the first alarm data and the second alarm data.

[0049] In actual applications, the alarm processing system first receives an alarm data containing push information of the second alarm data, which is the first alarm data. According to the push information in the first alarm data, the alarm processing system will obtain the second alarm data, that is, other alarm data except the first alarm data. These data may be associated with the first alarm data, or unrelated to it, but the alarm processing system will obtain the second alarm data based on the push information. After obtaining the first alarm data and the second alarm data, the alarm processing system will generate the final alarm data based on these two alarm data. The alarm processing system will comprehensively consider the alarm attribute information in the two data, and can make a merger, comparison or other operations to generate the final alarm data.

[0050] In a specific embodiment of the present invention, following the above example, the alarm processing system receives an alarm data containing push information of the second alarm data. This alarm data can be an alarm about network traffic anomaly, which contains some push information, such as the IP address and port information of the abnormal traffic. According to the push information in the first alarm data, the alarm processing system will obtain the second alarm data, that is, other alarm data related to the abnormal traffic. These data may include other alarm data related to the same IP address or port, such as port scanning, DDoS attack and other alarms that may exist, and the second alarm data is associated with the first alarm data. Based on the first alarm data and the second alarm data, the alarm processing system will comprehensively consider the alarm attribute information in them for analysis. The alarm processing system can compare, merge or perform other operations on the two data to generate the final alarm data. The final alarm data can contain detailed information about the abnormal traffic, as well as other related alarm data, to help users understand the overall picture of the network anomaly and make corresponding processing and response.

[0051] Based on this, by obtaining the first alarm data and the second alarm data and comprehensively considering the relationship between them, the system can generate more comprehensive and complete alarm data, which helps users to fully understand the alarm status of the system.

[0052] Furthermore, before identifying the tag information of the alarm data, the method further includes: acquiring the alarm data; performing feature analysis on the alarm data to obtain attribute characteristics of the alarm data; and generating the tag information of the alarm data based on the attribute characteristics of the alarm data.

[0053] In actual applications, the alarm processing system first obtains alarm data, which can be obtained from network devices, server logs, security monitoring systems, etc. The alarm processing system performs feature analysis on the obtained alarm data to obtain the attribute characteristics of the alarm data. These attribute characteristics may include information such as the type, level, timestamp, affected system or device of the alarm. Based on the attribute characteristics of the alarm data, the alarm processing system generates tag information for the alarm data. This tag information can be a series of rules or tags used to describe the attribute characteristics of the alarm, such as the alarm type, alarm level, affected system, etc. The alarm processing system performs subsequent processing and distribution based on this tag information.

[0054] In a specific embodiment of the present invention, following the above example, the alarm processing system obtains an abnormal login alarm data from multiple network devices, server logs and security monitoring systems. The alarm data records an event of logging in using an abnormal account. The alarm processing system performs feature analysis on the alarm data of the abnormal login and obtains some attribute features, such as the alarm type is abnormal login, the level is high, the timestamp is the specific login time, and the affected system is a certain server. Based on these attribute features, the alarm processing system generates tag information, such as the alarm type is abnormal login, the alarm level is high, and the affected system is a certain server. The alarm processing system classifies and processes the alarm data according to these tag information.

[0055] Based on this, by performing feature analysis on the alarm data, the alarm processing system can more accurately understand the meaning of the alarm, thereby generating more accurate labeling information, which helps to improve the accuracy of subsequent processing.

[0056] Furthermore, before identifying the tag information of the alarm data, it also includes: receiving rule configuration instructions input by the front end, wherein the rule configuration instructions include the alarm attribute characteristics to be blocked and the alarm attribute characteristics subscribed by each subscription object; constructing preset blocking rules based on the alarm attribute characteristics to be blocked, and constructing preset subscription rules based on the alarm attribute characteristics subscribed by each subscription object; asynchronously caching the preset blocking rules and the preset subscription rules.

[0057] The rule configuration instructions are instructions from the front-end user interface, and are used to configure the rules of the alarm processing system, including the alarm attribute characteristics to be shielded and the alarm attribute characteristics subscribed by each subscription object.

[0058] In actual applications, the alarm processing system receives rule configuration instructions from the front-end user interface, which include two types of rule configurations: alarm attribute characteristics to be shielded and alarm attribute characteristics subscribed by each subscription object. These rule configuration instructions are input by the user according to actual needs. Based on the received rule configuration instructions, the alarm processing system constructs preset shielding rules and preset subscription rules respectively. The preset shielding rules are constructed based on the alarm attribute characteristics to be shielded, and are used to identify which alarm attribute characteristics need to be shielded or ignored in subsequent processing. The preset subscription rules are constructed based on the alarm attribute characteristics subscribed by each subscription object, and are used to identify which alarm attribute characteristics each subscription object is interested in, so as to facilitate subsequent alarm distribution. The alarm processing system asynchronously caches the constructed preset shielding rules and preset subscription rules so that these rules can be quickly accessed and used in subsequent alarm processing and distribution.

[0059] In a specific embodiment of the present invention, a user enters a rule configuration instruction in the front-end interface. For example, user A wants to shield all alarm attribute features related to DDoS attacks, and user B is more concerned about SQL injection attacks and subscribes to alarm attribute features in this regard. Based on the rule configuration instruction of user A, the alarm processing system constructs a preset shielding rule to identify the DDoS attack alarm attribute features that need to be shielded; based on the rule configuration instruction of user B, the alarm processing system constructs a preset subscription rule to identify the SQL injection attack alarm attribute features subscribed by user B. The alarm processing system asynchronously caches the constructed preset shielding rules and preset subscription rules to the redis database so that these rules can be quickly accessed and used in subsequent alarm processing and distribution.

[0060] Based on this, by receiving the rule configuration instructions input by the front end, the system can be personalized according to the needs of users, shielding or subscribing to specific alarm attribute characteristics, so as to better adapt to different business scenarios and needs. Building and caching preset rules can improve the processing efficiency of the system, reduce the time to regenerate rules each time an alarm is processed, and also reduce the consumption of system resources. The asynchronous caching of preset rules enables the system to process and distribute alarms more flexibly, and can dynamically adjust the rule configuration according to real-time needs, improving the adaptability and flexibility of the system.

[0061] Furthermore, after the preset shielding rules and the preset subscription rules are cached asynchronously, the method further includes: updating the target rules in the preset shielding rules and the preset subscription rules in response to an update instruction.

[0062] The update instruction is an instruction for notifying the system to update the target rules in the preset shielding rules and the preset subscription rules. The update instruction may include operations such as adding, deleting or modifying rules.

[0063] In actual applications, after receiving the update instruction, the alarm processing system will update the target rules in the preset shielding rules and preset subscription rules. The update instruction may include adding new rules, deleting existing rules, or modifying existing rules. The alarm processing system performs corresponding update operations on the target rules in the preset shielding rules and preset subscription rules according to the update instruction and the target rule. For example, if a new rule needs to be added, the alarm processing system will add the new rule to the rule list; if a rule needs to be deleted, the alarm processing system will remove the corresponding rule from the rule list; if a rule needs to be modified, the alarm processing system will update the content or attributes of the rule. The updated rules will take effect immediately, and the alarm processing system will operate according to the updated rules in the subsequent alarm processing and distribution process.

[0064] In a specific embodiment of the present invention, following the above example, the alarm processing system receives an update instruction indicating that the rules of the subscription object B need to be updated. According to the content of the update instruction, the alarm processing system performs corresponding operations on the rules of the subscription object B in the preset subscription rules. If a new rule needs to be added, such as the subscription object B is also interested in malware attacks, the alarm processing system adds the corresponding rule to the subscription rule list; if a rule needs to be deleted, such as the subscription object B no longer pays attention to SQL injection attacks, the alarm processing system will remove the rule from the rule list; if a rule needs to be modified, the alarm processing system will update the rule content or attributes, for example, adjust the degree of interest of the subscription object B in SQL injection attacks. The updated rules will take effect immediately, and the alarm processing system will process and distribute the alarm attributes of the subscription object B according to the updated rules in the subsequent alarm processing and distribution process.

[0065] Based on this, timely updating of rules can reduce system maintenance costs, avoid problems caused by outdated or inaccurate rules, and ensure that the system can respond to user needs in a timely manner.

[0066] Step 204: When the tag information matches a preset shielding rule, shield the alarm data, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded.

[0067] The preset shielding rule is a set of rules set based on the attribute characteristics of the alarm to be shielded, and is used to match and shield a specific type of alarm data.

[0068] In actual applications, first, the alarm processing system will match the tag information in the collected alarm data with the pre-set shielding rules. These rules are set based on the attributes of the alarm to be shielded, such as the attack type, attack source, affected alarm processing system, etc. The alarm processing system will check the tag information in the alarm data one by one to see if it matches any of the preset shielding rules. If the tag information in a piece of alarm data matches a preset shielding rule, the alarm processing system will mark the alarm data as data that needs to be shielded. These rules can be based on various attribute characteristics, such as a specific attack type, an attack from a specific IP address, a specific affected alarm processing system, etc. After matching the rules, the alarm processing system will process the alarm data marked as needing to be shielded and exclude it from further processing and response. This means that the alarm processing system will not take any further action on these alarm data, but will treat them as data that does not need to be processed.

[0069] In a specific embodiment of the present invention, the above example is used, and the preset shielding rule is: if a specific server receives a large number of port scan requests in a short period of time, these alarm data are marked as data that needs to be shielded. When the alarm processing system collects an alarm data, the content is that a server has received a large number of port scan requests in the past 5 minutes, but these requests all come from a known security scanner. In this case, these alarm data meet the preset shielding rules (a large number of port scan requests) and will not pose a substantial threat to the server. In this case, the alarm system will match the alarm data with the preset shielding rules and find that this data needs to be shielded. Then, the alarm processing system will shield this alarm data and mark it as alarm data that needs to be shielded. Finally, the system will not notify the front-end user of this alarm data, because these requests come from a known security scanner and will not pose a substantial risk to the system.

[0070] Furthermore, the attribute characteristics include an alarm identifier and an alarm time, and the attribute characteristics of the alarm to be shielded include a shielding identifier and a shielding time period; when the marking information matches the preset shielding rule, the alarm data is shielded, including: when the alarm identifier meets the shielding identifier, identifying whether the alarm time is within the shielding time period; if so, shielding the alarm data.

[0071] Among them, the alarm ID is a specific identifier or field in the alarm data used to identify the alarm, which usually contains information about the alarm event, such as the type, location, and level of the event. The alarm ID is used to uniquely identify each alarm event, which facilitates the system to manage and process the alarm data. The shielding ID is a specific identifier or field set by the user or the system to identify the alarm data that needs to be shielded or filtered. By setting the shielding ID, the user can specify which alarm data will be shielded or ignored under specific conditions, thereby helping to improve the efficiency and customized processing capabilities of the alarm processing system.

[0072] In actual applications, the alarm processing system will first identify the attribute characteristics of each alarm data, including the alarm ID and the alarm time. The alarm processing system will match these attribute characteristics with the preset shielding rules to determine whether the alarm data needs to be shielded. If the attribute characteristics of the alarm data successfully match the preset shielding rules, that is, the alarm ID meets the shielding ID, the alarm processing system will further check whether the alarm time is within the shielding period. If the alarm time is indeed within the shielding period, the alarm processing system will perform the operation of shielding the alarm data, that is, exclude or ignore the alarm data from further processing and distribution processes.

[0073] In a specific embodiment of the present invention, a user sets a shielding rule as shielding identifier: HTTP attack, shielding period: midnight time every day (0:00-6:00) as an example. The specific process is as follows: the alarm processing system receives hundreds of alarm data every minute, one of which is an HTTP attack from a specific IP, which records the time when the attack occurred. The alarm processing system matches the attribute characteristics of the alarm data (the alarm identifier is HTTP attack) with the preset shielding rules. The attribute characteristics of the alarm data successfully match the preset shielding rules, that is, the alarm identifier meets the shielding identifier. The alarm processing system further checks whether the alarm time is within the shielding period. Assuming that this HTTP attack occurs within midnight (3:00), the alarm processing system will perform a shielding operation, that is, exclude or ignore the alarm data from further processing and distribution processes.

[0074] Based on this, it is ensured that the alarm processing system can automatically shield the alarm data that meets the conditions according to the shielding rules set by the user, thereby reducing the burden on users to process alarm data and improving the processing efficiency of the system.

[0075] Step 206: When the tag information matches the preset subscription rule, the alarm data is sent to the target subscription object, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

[0076] The preset subscription rules are a set of rules set based on the alarm attribute characteristics subscribed by each subscription object, which are used to match and send specific types of alarm data to the target subscription object. The target subscription object is the user, system or department that receives the specific type of alarm data and subscribes to the specific type of alarm data.

[0077] In actual applications, first, the alarm processing system will match the tag information in the collected alarm data with the pre-set subscription rules. These rules are set based on the alarm attribute characteristics subscribed by each subscriber, such as alarm type, alarm level, affected alarm processing system, etc. The alarm processing system will check the tag information in the alarm data one by one to see if it matches any preset subscription rules. If the tag information in a piece of alarm data matches a preset subscription rule, the alarm processing system will send this alarm data to the corresponding target subscriber. These rules can be based on various attribute characteristics, such as a specific alarm type, a specific alarm level, an affected alarm processing system, etc. After matching the rules, the alarm processing system will send the matched alarm data to the target subscriber according to the subscription rules. This means that the alarm processing system will ensure that the subscribers can receive the alarm data they are concerned about in a timely manner and perform corresponding processing and response.

[0078] In a specific embodiment of the present invention, the above example is used to take the alarm processing system as an example with multiple subscription objects, including network administrators, system administrators and security teams. Each subscription object has different concerns, for example, the network administrator may be more concerned about network traffic anomalies, the system administrator may be more concerned about server status, and the security team may be more concerned about potential security vulnerabilities or attacks. Therefore, for different subscription objects, we set different preset subscription rules based on the alarm attribute characteristics of their respective concerns, such as alarm type, alarm level, affected task system, etc. The alarm processing system collects an alarm data, the content of which is that an abnormal login attempt on the internal server is detected, and the number of failed logins exceeds the set threshold. Tag information matching: The system first matches the tag information in this alarm data with the preset subscription rules. For example, the subscription rules for the security team may include the alarm type of detecting abnormal login attempts and setting a higher alarm level. If this alarm data meets the subscription rules of the security team, it will be marked as an object that needs to be sent to the security team. Since this alarm data meets the subscription rules of the security team, the system will send this alarm data to the target subscription object of the security team. After matching the rules, the system will send the alert data to the target subscription object of the security team. The security team will receive the alert data in a timely manner and handle and respond accordingly, such as further investigating the source of the abnormal login attempt and strengthening relevant security measures.

[0079] Furthermore, the attribute characteristics include an alarm identifier, and the alarm attribute characteristics subscribed by each subscription object include a subscription identifier and subscription service information; when the tag information matches the preset subscription rules, the alarm data is sent to the target subscription object, including: when the alarm identifier matches the subscription identifier, identifying whether the alarm data matches the subscription service information; if so, sending the alarm data to the target subscription object.

[0080] In actual applications, the alarm processing system first identifies the attribute characteristics of each alarm data, including the alarm identifier and other attributes that may be related to the subscription, such as the subscription identifier and the subscription service information. The alarm processing system matches the attribute characteristics of the alarm data with the preset subscription rules to determine which subscription objects should receive the alarm data. If the attribute characteristics of the alarm data successfully match the preset subscription rules, that is, the alarm identifier meets the subscription identifier, the alarm processing system will further check whether the alarm data matches the subscription service information. If the alarm data matches the service information that the subscription object is concerned about, the subscription object is used as the target subscription object, and the alarm processing system sends the alarm data to the target subscription object for further processing or action.

[0081] In a specific embodiment of the present invention, following the above example, the alarm processing system receives an alarm, which is identified as a DDoS attack, and records the time when the attack occurred and the relevant IP address. The alarm processing system matches the attribute characteristics of the alarm data (the alarm is identified as a DDoS attack) with the preset subscription rules. The attribute characteristics of the alarm data successfully match the preset subscription rules, that is, the alarm identifier matches a certain subscription identifier. The alarm processing system further checks whether the alarm data matches the subscription service information. Assume that the DDoS attack is directed at the company's Web server, the network team and the operation and maintenance team have subscribed to alarms for this type of attack, and the IP address of the attack happens to fall within the scope of responsibility of the operation and maintenance team. The alarm processing system sends the alarm data to the operation and maintenance team for further processing or action.

[0082] Based on this, alarm data related to a specific type or a specific business can be sent to the corresponding subscriber according to the needs of the subscriber, thereby improving the customized processing capability of the alarm data, reducing information redundancy and misleading, and improving the effectiveness and practicality of the alarm data.

[0083] In one embodiment of the present invention, the tag information of the alarm data is identified, wherein the tag information represents the attribute characteristics of the alarm data; when the tag information matches the preset shielding rule, the alarm data is shielded, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded; when the tag information matches the preset subscription rule, the alarm data is sent to the target subscription object, wherein the preset subscription rule is set based on the attribute characteristics of the alarm subscribed by each subscription object. By using the preset shielding rules and the preset subscription rules, it is possible to subscribe to the key data that needs to be subscribed, and shield the non-critical alarm data at the same time, so as to achieve more flexible and sophisticated processing of the alarm data, improve the accuracy and effectiveness of the alarm processing, and provide flexibility for subsequent optimization and improvement. At the same time, shielding part of the alarm data according to the preset shielding rules can effectively deal with the alarm storm, reduce the management burden caused by the excessive amount of alarm data, and improve stability.

[0084] The following combination Figure 3 , taking the application of the alarm processing method provided by the present invention in the shielding and subscription of alarm data as an example, the alarm processing method is further described. Figure 3 It is a processing flow chart of an alarm processing method provided by an embodiment of the present invention, which specifically includes the following steps.

[0085] Step 302: Identify the tag information of the alarm data. Specifically, the alarm processing system first identifies the tag information of each alarm data, including the alarm level, alarm source, alarm time, alarm target, etc. This information is used to describe the characteristics of the alarm event for subsequent processing and matching.

[0086] Step 304: Match rules based on tag information. Specifically, use a redis library that pre-caches shielding rules and subscription rules to match the tag information of the alarm data with the rules. These rules may include shielding rules, subscription rules, etc. The purpose of matching is to determine whether the alarm data needs to be processed in a specific way, such as shielding or sending to a subscription object.

[0087] Step 306: Determine whether the alarm time is within the shielding period. Specifically, when the tag information matches the preset shielding rule, the alarm processing system determines whether the alarm time of the alarm data is within the preset shielding period. If so, the alarm processing system will perform the corresponding shielding operation; if not, the alarm data will be retained to wait for subsequent users to actively query. This step ensures that only alarms within the specified time period will be shielded.

[0088] Step 308: Whether the subscription object has a subscription service. Specifically, the alarm processing system checks whether the subscription object has subscribed to a specific service or type of alarm. If the subscription object has a corresponding subscription, the alarm data will be sent to the subscription object for subsequent processing; if there is no corresponding subscription, the alarm processing system may choose other processing methods, such as recording the alarm data and waiting for subsequent users to actively query. This step ensures that the alarm data will only be sent to objects that have subscribed to related services, thereby improving the effective utilization of data.

[0089] Corresponding to the above method embodiment, the present invention also provides an alarm processing device embodiment, Figure 4 FIG. 1 is a schematic diagram of the structure of an alarm processing device provided by an embodiment of the present invention. Figure 4 As shown, the device comprises:

[0090] The identification module 402 is configured to identify tag information of the alarm data, wherein the tag information represents attribute characteristics of the alarm data.

[0091] The shielding module 404 is configured to shield the alarm data when the tag information matches a preset shielding rule, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded.

[0092] The subscription module 406 is configured to send the alarm data to the target subscription object when the tag information matches the preset subscription rule, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

[0093] Optionally, the alarm processing device also includes an acquisition module, which is configured to acquire first alarm data, wherein the first alarm data is alarm data carrying push information of second alarm data, and the second alarm data is other alarm data except the first alarm data; acquire the second alarm data based on the push information; and obtain the alarm data based on the first alarm data and the second alarm data.

[0094] Optionally, the alarm processing device further includes a generating module configured to obtain alarm data; perform feature analysis on the alarm data to obtain attribute characteristics of the alarm data; and generate tag information of the alarm data based on the attribute characteristics of the alarm data.

[0095] Optionally, the alarm processing device also includes a cache module, which is configured to receive rule configuration instructions input by the front end, wherein the rule configuration instructions include alarm attribute characteristics to be blocked and alarm attribute characteristics subscribed by each subscription object; construct preset blocking rules based on the alarm attribute characteristics to be blocked, and construct preset subscription rules based on the alarm attribute characteristics subscribed by each subscription object; asynchronously cache the preset blocking rules and preset subscription rules.

[0096] Optionally, the alarm processing device further includes an updating module configured to update the preset shielding rules and the target rules in the preset subscription rules in response to the updating instruction.

[0097] Optionally, the shielding module 404 is further configured to identify whether the alarm time is within the shielding period when the alarm identifier matches the shielding identifier; if so, shield the alarm data.

[0098] Optionally, the subscription module 406 is further configured to identify whether the alarm data matches the subscription service information when the alarm identifier matches the subscription identifier; if so, send the alarm data to the target subscription object.

[0099] The above is a schematic scheme of an alarm processing device of this embodiment. It should be noted that the technical scheme of the alarm processing device and the technical scheme of the above alarm processing method belong to the same concept, and the details not described in detail in the technical scheme of the alarm processing device can be referred to the description of the technical scheme of the above alarm processing method.

[0100] Applied to the alarm processing device, through preset shielding rules and preset subscription rules, it can subscribe to the key data that needs to be subscribed, and shield the non-critical alarm data, so as to achieve more flexible and refined processing of alarm data, improve the accuracy and effectiveness of alarm processing, and provide flexibility for subsequent optimization and improvement. At the same time, shielding part of the alarm data according to the preset shielding rules can effectively deal with the alarm storm, reduce the management burden caused by the excessive amount of alarm data, and improve stability.

[0101] Figure 5 The block diagram of a computing device 500 provided according to an embodiment of the present invention is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0102] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, and a Near Field Communication (NFC).

[0103] In one embodiment of the present invention, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present invention. Those skilled in the art may add or replace other components as needed.

[0104] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.

[0105] The processor 520 is used to execute the following computer program / instruction, which implements the steps of the above-mentioned alarm processing method when executed by the processor.

[0106] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computing device embodiment, since it is basically similar to the alarm processing method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the alarm processing method embodiment.

[0107] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned alarm processing method when executed by a processor.

[0108] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computer-readable storage medium embodiment, since it is basically similar to the alarm processing method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the alarm processing method embodiment.

[0109] An embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned alarm processing method when executed by a processor.

[0110] The above is a schematic solution of a computer program product of this embodiment. It should be noted that the technical solution of the computer program product and the technical solution of the above alarm processing method belong to the same concept, and the details not described in detail in the technical solution of the computer program product can be referred to the description of the technical solution of the above alarm processing method.

[0111] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0112] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0113] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the described action sequence, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present invention.

[0114] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0115] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of the present invention. The present invention selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. An alarm processing method, characterized in that: include: Identify tag information of the alarm data, wherein the tag information represents attribute characteristics of the alarm data; When the tag information matches a preset shielding rule, shielding the alarm data, wherein the preset shielding rule is set based on the attribute characteristics of the alarm to be shielded; In the case where the tag information matches a preset subscription rule, the alarm data is sent to a target subscription object, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

2. The method according to claim 1, characterized in that The attribute characteristics include an alarm identifier and an alarm time, and the attribute characteristics of the alarm to be shielded include a shielding identifier and a shielding period; shielding the alarm data when the tag information matches a preset shielding rule includes: In the case where the alarm identifier matches the shielding identifier, identifying whether the alarm time is within the shielding period; If so, the warning data is shielded.

3. The method according to claim 1, characterized in that: The attribute characteristics include an alarm identifier, and the alarm attribute characteristics subscribed by each subscription object include a subscription identifier and subscription service information; The step of sending the alarm data to a target subscription object when the tag information matches a preset subscription rule includes: In the case where the alarm identifier matches the subscription identifier, identifying whether the alarm data matches the subscription service information; If so, the alarm data is sent to the target subscription object.

4. The method according to claim 1, characterized in that: Before the marking information for identifying the alarm data, it also includes: Acquire first alarm data, wherein the first alarm data is alarm data carrying push information of second alarm data, and the second alarm data is other alarm data except the first alarm data; Acquire the second alarm data based on the push information; Based on the first alarm data and the second alarm data, alarm data is obtained.

5. The method according to claim 1, characterized in that Before the marking information for identifying the alarm data, it also includes: Get alarm data; Performing feature analysis on the alarm data to obtain attribute features of the alarm data; Based on the attribute characteristics of the alarm data, tag information of the alarm data is generated.

6. The method according to claim 1, characterized in that Before the marking information for identifying the alarm data, it also includes: Receive a rule configuration instruction input by a front end, wherein the rule configuration instruction includes the alarm attribute characteristics to be shielded and the alarm attribute characteristics subscribed by each subscription object; Constructing a preset shielding rule based on the attribute characteristics of the alarm to be shielded, and constructing a preset subscription rule based on the attribute characteristics of the alarm subscribed by each subscription object; The preset shielding rule and the preset subscription rule are cached asynchronously.

7. The method according to claim 6, characterized in that After the asynchronous caching of the preset shielding rule and the preset subscription rule, the method further includes: In response to the update instruction, the preset shielding rule and the target rule in the preset subscription rule are updated.

8. An alarm processing device, characterized in that: include: An identification module, configured to identify tag information of the alarm data, wherein the tag information represents an attribute feature of the alarm data; A shielding module, configured to shield the alarm data if the tag information matches a preset shielding rule, wherein the preset shielding rule is set based on an attribute feature of the alarm to be shielded; The subscription module is configured to send the alarm data to a target subscription object when the tag information matches a preset subscription rule, wherein the preset subscription rule is set based on the alarm attribute characteristics subscribed by each subscription object.

9. A computing device, characterized in that include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the alarm processing method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: It stores a computer program / instruction, which, when executed by a processor, implements the steps of the alarm processing method described in any one of claims 1 to 7.

11. A computer program product, characterized in that It includes a computer program / instruction, which, when executed by a processor, implements the steps of the alarm processing method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Method and device for notifying partial discharge event

    CN119342100A

  • Alarm management method and device, computer equipment, storage medium and program product

    CN122137726A