Multi-platform alarm processing method and device, medium and equipment
The multi-platform alarm processing method and device executed by the alarm engine solves the problem of insufficient flexibility and scalability of multi-platform alarm management in the existing technology, realizes flexible processing rule configuration for different alarm levels and types, and unifies The standard for determining alarm levels and types improves the flexibility and scalability of the system and can process multi-platform alarm information efficiently and in real time.
Patent Information
- Application Number
- CN202410599323.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
AI Technical Summary
Multi-platform alarm management solutions in the existing technology lack flexibility and scalability and cannot meet changing business needs.
Provide multi-platform alarm processing methods and devices, define the standards and processing rules for alarm levels and types through the alarm engine execution visual configuration page, consume the pending alarms in the alarm queue, and process them according to specific or general rules, using rotation training or full Distribution strategy achieves load balancing.
It realizes flexible processing rule configuration for different alarm levels and types, unifies the criteria for determining alarm levels and types, improves the flexibility and scalability of the system, and can process multi-platform alarm information efficiently and in real time to meet the ever-changing needs. business needs.
Smart Images

Figure CN118535429A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of alarm management, and in particular to a multi-platform alarm processing method and device, medium and equipment. Background Art
[0002] In modern network environments, various devices and systems generate a large amount of alarm information. This information is of great significance to system administrators, as it can be used to identify system anomalies, predict potential problems, and respond in a timely manner. However, how to effectively and accurately manage and process these alarm information is a challenging problem. In existing technologies, alarm management solutions for multiple platforms usually lack sufficient flexibility and scalability to meet changing business needs. Summary of the invention
[0003] In view of at least one of the above technical problems, an embodiment of the present invention provides a multi-platform alarm processing method and device, medium, and equipment.
[0004] According to a first aspect, a multi-platform alarm processing method provided by an embodiment of the present invention is executed by an alarm engine, and the method includes:
[0005] Providing a visual first configuration page, so that personnel can define first determination criteria and second determination criteria applicable to each platform in the first configuration page; wherein the first determination criteria are determination criteria for each alarm level, and the second determination criteria are determination criteria for each alarm type;
[0006] Providing a visual second configuration page so that personnel can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page;
[0007] Consume the pending alarms in the alarm queue to determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue;
[0008] If it is the specific alarm, the to-be-processed alarm is processed accordingly according to the processing rule corresponding to the specific alarm;
[0009] If it does not belong to the specific alarm, the alarm level of the pending alarm is determined according to the first determination standard, the alarm type of the pending alarm is determined according to the second determination standard, and the pending alarm is processed according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm.
[0010] In one embodiment, the various alarm levels include a warning level, a general level, a major level, and a severe level arranged in order from low to high;
[0011] And / or, each of the alarm types includes failure, event, performance degradation and notification; wherein:
[0012] The fault is an alarm type that affects the operation of the platform;
[0013] The event is an alarm type generated based on abnormal business logs generated by the platform's internal operating system. It does not affect the operation of the platform but poses a security risk.
[0014] The performance degradation is an alarm type generated based on abnormal performance indicators of the platform;
[0015] The notification is a type of alarm generated based on abnormal operation of the platform's operating system itself.
[0016] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include frequency rules, and the frequency rules are: if the alarm level of an alarm is lower than the serious level, and the number of occurrences of the same alarm within a set time period is greater than a preset number, the alarm level of the alarm is increased by one level, and the alarm is processed according to the increased alarm level.
[0017] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include delayed clearing rules, and the delayed clearing rules are:
[0018] If the alarm type of an alarm is fault or performance degradation, regardless of whether the alarm is troubleshooted, if the same alarm does not occur within the set time period from the time the alarm occurs, the alarm will be cleared to achieve delayed clearing of the alarm;
[0019] And / or, if the alarm type of an alarm is a specific event or a specific notification, wait until the platform from which the alarm comes takes a specific action matching the alarm, and then clear the alarm to achieve delayed clearing of the alarm; wherein the specific action reflects that the alarm is eliminated;
[0020] And / or, if the alarm type of an alarm is a common event other than the specific event or a common notification other than the specific notification, the alarm is automatically cleared after 24 hours.
[0021] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include at least one of an automatic dispatching rule, an engineering status rule, and an alarm forwarding rule, wherein:
[0022] The automatic dispatching rule is: if the alarm type of an alarm is the fault, the platform from which the alarm comes is in a non-engineering state, and the alarm is not cleared according to the delayed clearing rule, a fault work order is generated and the fault work order is dispatched to the corresponding maintenance personnel;
[0023] The engineering status rule is: alarms generated by a platform in the engineering status are stored in the database and not reported to maintenance personnel;
[0024] The alarm forwarding rule is a push rule for pushing relevant information of alarms of different alarm levels and / or alarm types to corresponding specific interface persons.
[0025] In one embodiment, the processing rules of the specific alarm include: for the specific alarm, regardless of whether the specific alarm is cleared, the troubleshooting processing stage is entered; wherein the specific alarm includes an alarm with a short survival period but serious consequences.
[0026] In one embodiment, each platform uses a round-robin strategy or a full distribution strategy to send alarms to the alarm engine to achieve load balancing.
[0027] According to a second aspect, an embodiment of the present invention provides a multi-platform alarm processing device deployed on an alarm engine, the device comprising:
[0028] A first configuration module is used to provide a visual first configuration page, so that a person can define a first determination standard and a second determination standard applicable to each platform in the first configuration page; wherein the first determination standard is a determination standard for each alarm level, and the second determination standard is a determination standard for each alarm type;
[0029] A second configuration module, used to provide a visual second configuration page, so that personnel can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page;
[0030] An alarm consumption module is used to consume the pending alarms in the alarm queue and determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue;
[0031] A first processing module, configured to process the to-be-processed alarm accordingly according to a processing rule corresponding to the specific alarm if the alarm belongs to the specific alarm;
[0032] The second processing module is used to determine the alarm level of the pending alarm according to the first determination standard, determine the alarm type of the pending alarm according to the second determination standard, and process the pending alarm according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm if it does not belong to the specific alarm.
[0033] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method provided in the first aspect.
[0034] According to a fourth aspect, an embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method provided in the first aspect is implemented.
[0035] The multi-platform alarm processing method, apparatus, medium, and equipment provided by the embodiments of the present invention allow personnel to configure the criteria for determining the alarm level and alarm type on the configuration page, configure the processing rules for alarms of different alarm levels and / or alarm types, and configure the processing rules for specific alarms. In this way, when there are pending alarms, the pending alarms belonging to specific alarms are processed according to the processing rules corresponding to the specific alarms, and the pending alarms that do not belong to specific alarms are processed according to the processing rules corresponding to the corresponding alarm levels and / or alarm categories. It can be seen that the embodiments of the present invention can set different processing rules for alarms of different alarm levels and / or different alarm types, and can also set corresponding processing rules for alarms of specific alarms. In addition, the criteria for determining the alarm level and alarm type are unified, that is, it is applicable to multiple platforms, and multiple platforms can be processed with unified standards. It is also highly flexible, and the configuration rules can be changed and added, etc., and it has strong extensibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of a multi-platform alarm processing method according to an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of processing an alarm flow in one embodiment of the present invention;
[0038] Figure 3 A schematic diagram of the configuration of a processing rule in one embodiment of the present invention;
[0039] Figure 4 It is a structural block diagram of a multi-platform alarm processing device in one embodiment of the present invention. DETAILED DESCRIPTION
[0040] In a first aspect, an embodiment of the present invention provides a multi-platform alarm processing method, the method is executed by an alarm engine, see Figure 1 The method comprises the following steps S110 to S150:
[0041] S110, providing a visual first configuration page, so that a person can define a first determination standard and a second determination standard applicable to each platform in the first configuration page; wherein the first determination standard is a determination standard for each alarm level, and the second determination standard is a determination standard for each alarm type;
[0042] It is understandable that the purpose of the above S110 is to determine the unification of standards, that is, to unify the differences in understanding of alarm levels and alarm types among different manufacturers. For example, the severity level considered by manufacturer A may be the main level in the first determination standard; while the main level considered by manufacturer B may be the severity level in the first determination standard.
[0043] In one embodiment, each alarm level may include a warning level, a general level, a major level, and a severe level arranged in order from low to high.
[0044] That is, the severity level is the highest and the warning level is the lowest.
[0045] In one embodiment, each alarm type may include fault, event, performance degradation, and notification; wherein:
[0046] The fault is an alarm type that affects the operation of the platform;
[0047] The event is an alarm type generated based on abnormal business logs generated by the platform's internal operating system. It does not affect the operation of the platform but poses a security risk.
[0048] The performance degradation is an alarm type generated based on abnormal performance indicators of the platform;
[0049] The notification is a type of alarm generated based on abnormal operation of the platform's operating system itself.
[0050] Among them, faults are alarms that affect business operations, and their sources are mainly from business monitoring. Faults are the highest priority alarms and must be processed, so faults will only be cleared after the platform returns to normal.
[0051] It can be seen that faults are the highest priority alarms, which must be processed. They cannot be cleared automatically in 24 hours. They can only be cleared after the affected services are confirmed to be restored to normal. Therefore, some particularly important alarms of other categories can be redefined as fault category alarms to increase their processing priority.
[0052] Among them, the event is generated based on the abnormal business log generated by the internal operating system during the operation of the platform, which reflects the abnormality of the business, but the platform can still provide business normally, and there are hidden dangers that affect the use. Of course, when configuring the second determination standard in S110, the event that needs to be focused on can be defined as a fault, which is more flexible.
[0053] Among them, performance degradation is an indicator abnormality alarm caused by performance indicators exceeding the threshold during platform operation. The data source is the performance indicator. This type of alarm is usually called a soft alarm, because the occurrence of degradation does not mean that the current resource is not running well, but if it occurs in large numbers, it needs to be taken seriously. Degradation alarms are generally used as an important reference for resource expansion, reduction or other adjustments; after the degradation alarm is generated, it is cleared by subsequent operation trend judgment.
[0054] The main function of notifications is to provide more system operation information to system maintenance and administrators to ensure the stability and normal operation of the system. The data comes from the abnormalities caused by the operation of the system itself, such as task operation abnormalities, newly discovered resources, collection abnormalities, etc. Notifications do not need to be cleared and are usually not directly related to the business.
[0055] S120, providing a visual second configuration page, so that a person can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page;
[0056] That is, the user can configure the processing rules for specific alarms according to business needs, and can also configure the processing rules for alarms of different alarm levels and / or different alarm types.
[0057] For example, see Figure 3 On a configuration page, you can configure the basic information, conditions, and actions involved in a rule.
[0058] Of course, the first configuration page and the second configuration page can be the same page, which can realize the simultaneous configuration of processing rules, alarm levels, and alarm types.
[0059] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types may include frequency rules, and the frequency rules are: if the alarm level of an alarm is lower than the serious level, and the number of occurrences of the same alarm within a set time period is greater than a preset number, the alarm level of the alarm is increased by one level, and the alarm is processed according to the increased alarm level.
[0060] For example, if the alarm level of an alarm is major and the same alarm occurs three times within 5 minutes, it means that there is a serious problem that requires attention, so the alarm level of the alarm is upgraded to severe.
[0061] Of course, if the alarm is relatively minor, lower than severe, and does not occur many times within the preset time period, there is no need to upgrade the level.
[0062] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include delayed clearing rules, and the delayed clearing rules are:
[0063] If the alarm type of an alarm is fault or performance degradation, regardless of whether the alarm is troubleshooted, if the same alarm does not occur within the set time period from the time the alarm occurs, the alarm will be cleared to achieve delayed clearing of the alarm;
[0064] And / or, if the alarm type of an alarm is a specific event or a specific notification, wait until the platform from which the alarm comes takes a specific action matching the alarm, and then clear the alarm to achieve delayed clearing of the alarm; wherein the specific action reflects that the alarm is eliminated;
[0065] And / or, if the alarm type of an alarm is a common event other than the specific event or a common notification other than the specific notification, the alarm is automatically cleared after 24 hours.
[0066] Among them, for alarms of fault or performance degradation type, if the same alarm does not occur within a certain period of time from the time the alarm occurs, it is considered that the problem represented by the alarm has disappeared automatically or has been troubleshooted by personnel, so the alarm is cleared, thus achieving delayed clearing of the alarm. It can be seen that the alarm is not cleared immediately when the alarm of fault or performance degradation type is resolved or disappears automatically, but is delayed for a period of time. If the same alarm occurs again during this period of time, the alarm cannot be cleared, but a reminder is given to speed up the processing.
[0067] For example, if the platform has connectivity issues, a fault alarm will be generated if it is not connected, and if it is connected, it is normal. If the platform is intermittent for a period of time, the alarm cannot be cleared, but the relevant personnel are reminded to deal with it as soon as possible.
[0068] Among them, the specific event can be an important event among events, and the specific notification can be an important notification among notifications. For example, a link down alarm occurs on a port, and the content is the alarm title, which needs to be cleared by a link up alarm. That is, after the alarm engine receives the link down alarm, it will clear the link down alarm only after receiving the link up alarm. Link up means that the link down problem that occurred previously disappears automatically or is resolved.
[0069] Among them, ordinary events other than the specific events and ordinary notifications other than the specific notifications are automatically cleared after 24 hours.
[0070] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types may also include at least one of an automatic dispatching rule, an engineering status rule, and an alarm forwarding rule, wherein:
[0071] The automatic dispatching rule is: if the alarm type of an alarm is the fault, the platform from which the alarm comes is in a non-engineering state, and the alarm is not cleared according to the delayed clearing rule, a fault work order is generated and the fault work order is dispatched to the corresponding maintenance personnel;
[0072] The engineering status rule is: alarms generated by a platform in the engineering status are stored in the database and not reported to maintenance personnel;
[0073] The alarm forwarding rule is a push rule for pushing relevant information of alarms of different alarm levels and / or alarm types to corresponding specific interface persons.
[0074] Among them, for the automatic dispatching rules, for example, an alarm type sent by a platform is a fault, and the platform is in a non-engineering state. After a period of time, the alarm is not cleared. At this time, a fault work order is generated and then sent to the relevant maintenance personnel.
[0075] For example, if a platform generates an alarm in the engineering state, the alarm is stored, but no work order is generated or issued to maintenance personnel. The engineering state refers to the state of being deployed on the platform or not delivered to the customer.
[0076] Among them, the alarm forwarding rule is to push the information of alarms of different alarm levels and / or alarm types to the corresponding specific interface person. If the level is relatively high and the alarm type is a fault, it is pushed to the general manager; if the level is relatively low and the alarm type is an event, it is pushed to the business manager, etc. The push rule can include push methods, such as WeChat, email, etc.
[0077] In one embodiment, the processing rules of the specific alarm may include: for a specific alarm, regardless of whether the specific alarm is cleared, entering the troubleshooting processing stage; wherein the specific alarm includes an alarm with a short survival period but serious consequences.
[0078] For example, some alarms have a short life cycle and are not easily discovered and noticed by monitoring personnel. Therefore, it is necessary to identify these alarms specifically. Even if they have been cleared, monitoring personnel are required to investigate them. Example: A disk array controller had a momentary outage in Hainan. From the perspective of the alarm life cycle, it took about 30 seconds from the occurrence to the end. The alarm was completed from the management perspective, but it caused serious consequences. Therefore, for specific alarms, regardless of the alarm level and alarm type, special attention and processing are required.
[0079] S130, consuming the pending alarms in the alarm queue to determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue;
[0080] In other words, each platform will upload the alarms it generates to the alarm queue, so that the alarm engine can consume the alarms in the alarm queue.
[0081] It is understandable that the source of the alarm does not only include the alarm queue, but can also be obtained by the alarm engine analyzing the operating status information of each platform.
[0082] S140: If it is the specific alarm, the to-be-processed alarm is processed accordingly according to the processing rule corresponding to the specific alarm;
[0083] It can be seen that if the alarm to be processed belongs to a specific alarm, it will be processed according to the processing rules corresponding to the specific alarm, for example, "regardless of whether the specific alarm is cleared, the troubleshooting processing stage will be entered" mentioned above.
[0084] S150. If it does not belong to the specific alarm, the alarm level of the pending alarm is determined according to the first determination standard, the alarm type of the pending alarm is determined according to the second determination standard, and the pending alarm is processed according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm.
[0085] That is to say, if the pending alarm belongs to a specific alarm, the alarm level and alarm type of the alarm are determined according to the first determination standard and the second determination standard, and then the pending alarm is processed according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm.
[0086] Of course, the processing rules may also include other rules. For example, some alarms do not actually meet the alarm conditions and therefore do not need to be stored. For this purpose, corresponding storage filtering rules may be set.
[0087] It can be seen that the processing of alarms can include inventory filtering, delayed clearing, automatic dispatching, alarm push, non-inbound reporting, etc. The corresponding processing rules determine what kind of operation to perform on the alarm.
[0088] In actual scenarios, the platform is the source, that is, Figure 2 In the Source, two components can be used at the source end: AlarmSource and RuleSource. AlarmSource uses a polling strategy to distribute alarms to ensure that the number of alarms distributed to each downstream alarm engine operator is roughly the same. RuleSource uses a full distribution strategy, and all alarms will be sent to each alarm engine operator. The alarm engine operator can be an operator in the alarm engine, which can be considered as an alarm queue. The downstream alarm engine operator RuleMatching performs alarm information assembly, matching alarms with processing rules, etc. After the alarm is processed at this node, it is sent to the downstream RuleAction operator in a polling manner. The RuleAction operator performs rule actions, such as alarm notification, alarm work order distribution, alarm fitting, etc. Skin outputs alarms to external systems for persistence, etc. The above process involves two data sources: alarm data source: pulls alarms from the message queue; rule data source: obtains and processes from the database.
[0089] That is, in one embodiment, each platform may adopt a round-robin strategy or a full distribution strategy to send alarms to the alarm engine to achieve load balancing.
[0090] It can be seen that the embodiments of the present invention can set different processing rules for alarms of different alarm levels and / or different alarm types, and can also set corresponding processing rules for alarms of specific alarms. In addition, the standards for determining alarm levels and alarm types are unified, that is, it is applicable to multiple platforms, and multiple platforms can be processed with unified standards. It is also highly flexible and can modify and add configuration rules, etc., and has strong extensibility.
[0091] It is understandable that for a sustainable intelligent operation and maintenance platform, it is necessary to monitor the abnormalities of cloud service hardware devices such as physical machines, switches, various sensors in the industrial Internet, as well as networks, applications, components and other scenarios. With the rapid development of modern technology, the devices and platforms that need to be monitored are constantly enriched, and the monitoring platform is increasingly required to have higher requirements for unified support capabilities, alarm processing efficiency and performance.
[0092] The embodiment of the present invention provides a solution for the alarm engine to process alarms, which solves the problem of insufficient flexibility and scalability in the prior art for multi-platform alarm management. The system can efficiently and in real time process alarm information generated by different platforms, and provide flexible and configurable management functions. Compared with the prior art, the embodiment of the present invention has higher practicality and adaptability, can meet the ever-changing business needs, and can process alarm information generated by different platforms in real time and efficiently. Different platforms include various devices, systems, applications, etc. Specifically, through various pre-configured processing rules and determination standards, automated and intelligent alarm processing can be achieved. Flexible and configurable management functions are provided, allowing administrators to customize configurations and modifications according to actual business needs. Through a visual interface, administrators can easily configure, monitor and manage the alarm engine.
[0093] In a second aspect, an embodiment of the present invention provides a multi-platform alarm processing device, which is deployed on an alarm engine, see Figure 4 , the device comprises:
[0094] A first configuration module is used to provide a visual first configuration page, so that a person can define a first determination standard and a second determination standard applicable to each platform in the first configuration page; wherein the first determination standard is a determination standard for each alarm level, and the second determination standard is a determination standard for each alarm type;
[0095] A second configuration module, used to provide a visual second configuration page, so that personnel can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page;
[0096] An alarm consumption module is used to consume the pending alarms in the alarm queue and determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue;
[0097] A first processing module, configured to process the to-be-processed alarm accordingly according to a processing rule corresponding to the specific alarm if the alarm belongs to the specific alarm;
[0098] The second processing module is used to determine the alarm level of the pending alarm according to the first determination standard, determine the alarm type of the pending alarm according to the second determination standard, and process the pending alarm according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm if it does not belong to the specific alarm.
[0099] In one embodiment, the various alarm levels include a warning level, a general level, a major level, and a severe level arranged in order from low to high;
[0100] And / or, each of the alarm types includes failure, event, performance degradation and notification; wherein:
[0101] The fault is an alarm type that affects the operation of the platform;
[0102] The event is an alarm type generated based on abnormal business logs generated by the platform's internal operating system. It does not affect the operation of the platform but poses a security risk.
[0103] The performance degradation is an alarm type generated based on abnormal performance indicators of the platform;
[0104] The notification is a type of alarm generated based on abnormal operation of the platform's operating system itself.
[0105] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include frequency rules, and the frequency rules are: if the alarm level of an alarm is lower than the serious level, and the number of occurrences of the same alarm within a set time period is greater than a preset number, the alarm level of the alarm is increased by one level, and the alarm is processed according to the increased alarm level.
[0106] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include delayed clearing rules, and the delayed clearing rules are:
[0107] If the alarm type of an alarm is fault or performance degradation, regardless of whether the alarm is troubleshooted, if the same alarm does not occur within the set time period from the time the alarm occurs, the alarm will be cleared to achieve delayed clearing of the alarm;
[0108] And / or, if the alarm type of an alarm is a specific event or a specific notification, wait until the platform from which the alarm comes takes a specific action matching the alarm, and then clear the alarm to achieve delayed clearing of the alarm; wherein the specific action reflects that the alarm is eliminated;
[0109] And / or, if the alarm type of an alarm is a common event other than the specific event or a common notification other than the specific notification, the alarm is automatically cleared after 24 hours.
[0110] In one embodiment, the processing rules for alarms of different alarm levels and / or alarm types include at least one of an automatic dispatching rule, an engineering status rule, and an alarm forwarding rule, wherein:
[0111] The automatic dispatching rule is: if the alarm type of an alarm is the fault, the platform from which the alarm comes is in a non-engineering state, and the alarm is not cleared according to the delayed clearing rule, a fault work order is generated and the fault work order is dispatched to the corresponding maintenance personnel;
[0112] The engineering status rule is: alarms generated by a platform in the engineering status are stored in the database and not reported to maintenance personnel;
[0113] The alarm forwarding rule is a push rule for pushing relevant information of alarms of different alarm levels and / or alarm types to corresponding specific interface persons.
[0114] In one embodiment, the processing rules of the specific alarm include: for the specific alarm, regardless of whether the specific alarm is cleared, the troubleshooting processing stage is entered; wherein the specific alarm includes an alarm with a short survival period but serious consequences.
[0115] In one embodiment, each platform uses a round-robin strategy or a full distribution strategy to send alarms to the alarm engine to achieve load balancing.
[0116] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0117] In a third aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the method provided in the first aspect.
[0118] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.
[0119] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0120] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0121] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0122] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0123] It is understandable that the explanation, specific implementation methods, beneficial effects, examples, etc. of the relevant contents in the computer-readable medium provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0124] In a fourth aspect, an embodiment of the present specification provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the method in any embodiment of the specification.
[0125] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the computing device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.
[0126] Each embodiment in this specification 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 device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0127] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.
[0128] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A multi-platform alarm processing method, characterized in that: The method is executed by an alarm engine, and the method includes: Providing a visual first configuration page, so that personnel can define first determination criteria and second determination criteria applicable to each platform in the first configuration page; wherein the first determination criteria are determination criteria for each alarm level, and the second determination criteria are determination criteria for each alarm type; Providing a visual second configuration page so that personnel can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page; Consume the pending alarms in the alarm queue to determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue; If it is the specific alarm, the to-be-processed alarm is processed accordingly according to the processing rule corresponding to the specific alarm; If it does not belong to the specific alarm, the alarm level of the pending alarm is determined according to the first determination standard, the alarm type of the pending alarm is determined according to the second determination standard, and the pending alarm is processed according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm.
2. The method according to claim 1, characterized in that The various alarm levels include warning level, general level, major level and severe level, which are arranged in order from low to high; And / or, each of the alarm types includes failure, event, performance degradation and notification; wherein: The fault is an alarm type that affects the operation of the platform; The event is an alarm type generated based on abnormal business logs generated by the platform's internal operating system. It does not affect the operation of the platform but poses a security risk. The performance degradation is an alarm type generated based on abnormal performance indicators of the platform; The notification is a type of alarm generated based on abnormal operation of the platform's operating system itself.
3. The method according to claim 2, characterized in that The processing rules for alarms of different alarm levels and / or alarm types include frequency rules, and the frequency rules are: if the alarm level of an alarm is lower than the serious level, and the number of occurrences of the same alarm within a set time period is greater than a preset number, the alarm level of the alarm is increased by one level, and the alarm is processed according to the increased alarm level.
4. The method according to claim 2, characterized in that: The processing rules for alarms of different alarm levels and / or alarm types include delayed clearing rules, and the delayed clearing rules are: If the alarm type of an alarm is fault or performance degradation, regardless of whether the alarm is troubleshooted, if the same alarm does not occur within the set time period from the time the alarm occurs, the alarm will be cleared to achieve delayed clearing of the alarm; And / or, if the alarm type of an alarm is a specific event or a specific notification, wait until the platform from which the alarm comes takes a specific action matching the alarm, and then clear the alarm to achieve delayed clearing of the alarm; wherein the specific action reflects that the alarm is eliminated; And / or, if the alarm type of an alarm is a common event other than the specific event or a common notification other than the specific notification, the alarm is automatically cleared after 24 hours.
5. The method according to claim 3, characterized in that: The processing rules for alarms of different alarm levels and / or alarm types include at least one of an automatic dispatching rule, an engineering status rule, and an alarm forwarding rule, wherein: The automatic dispatching rule is: if the alarm type of an alarm is the fault, the platform from which the alarm comes is in a non-engineering state, and the alarm is not cleared according to the delayed clearing rule, a fault work order is generated and the fault work order is dispatched to the corresponding maintenance personnel; The engineering status rule is: alarms generated by a platform in the engineering status are stored in the database and not reported to maintenance personnel; The alarm forwarding rule is a push rule for pushing relevant information of alarms of different alarm levels and / or alarm types to corresponding specific interface persons.
6. The method according to claim 1, characterized in that The processing rules of the specific alarm include: for the specific alarm, regardless of whether the specific alarm is cleared, the troubleshooting processing stage is entered; wherein the specific alarm includes an alarm with a short survival period but serious consequences.
7. The method according to claim 1, characterized in that Each platform uses a round-robin strategy or a full distribution strategy to send alarms to the alarm engine to achieve load balancing.
8. A multi-platform alarm processing device, characterized in that: The device is deployed on an alarm engine, and includes: A first configuration module is used to provide a visual first configuration page, so that a person can define a first determination standard and a second determination standard applicable to each platform in the first configuration page; wherein the first determination standard is a determination standard for each alarm level, and the second determination standard is a determination standard for each alarm type; A second configuration module, used to provide a visual second configuration page, so that personnel can configure processing rules for alarms of different alarm levels and / or alarm types, and configure processing rules for specific alarms in the second configuration page; An alarm consumption module is used to consume the pending alarms in the alarm queue and determine whether the pending alarms belong to the specific alarms; wherein each platform uploads the alarms generated by itself to the alarm queue; A first processing module, configured to process the to-be-processed alarm accordingly according to a processing rule corresponding to the specific alarm if the alarm belongs to the specific alarm; The second processing module is used to determine the alarm level of the pending alarm according to the first determination standard, determine the alarm type of the pending alarm according to the second determination standard, and process the pending alarm according to the processing rules corresponding to the alarm level and / or alarm type of the pending alarm if it does not belong to the specific alarm.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
10. A computing device, characterized in that: The method comprises a memory and a processor, wherein the memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.
