Alarm management method and related equipment

By actively crawling and analyzing the alarm information of multiple devices in the alarm management system and converting the format, the problem of inefficient alarm management is solved, efficient alarm management is realized, and the safe operation of the equipment is ensured.

CN115208740BActive Publication Date: 2025-01-14JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210906659.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-01-14
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In the information center and computer room, the alarm management of multiple devices has problems such as heavy configuration and inconsistent alarm format, resulting in low efficiency of alarm management and difficult to ensure the safe operation of the equipment.

Method used

By starting the alarm grabbing task in the alarm management system, actively grab alarm information from the target device, and analyze and process the captured information and convert the format, the unified format alarm management is realized, reducing the preliminary configuration and post-processing work .

Benefits of technology

It realizes reasonable and efficient alarm management for multiple devices, reduces configuration work, improves the processing efficiency of alarm information, and ensures the safe operation of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115208740B_ABST
    Figure CN115208740B_ABST
Patent Text Reader

Abstract

The present application discloses an alarm management method, including: starting an alarm capture task according to an alarm management instruction; executing the alarm capture task to capture alarm information from a target device; analyzing and processing the alarm information to obtain an alarm analysis result, the alarm analysis result including the alarm content and the alarm level; converting the alarm analysis result into a preset format, and saving the alarm analysis result in the preset format to a preset storage medium. By applying the technical solution provided by the present application, reasonable and efficient alarm management can be performed on multiple devices, thereby ensuring the safe operation of the equipment. The present application also discloses an alarm management device, an electronic device, and a computer-readable storage medium, which also have the above-mentioned beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of equipment safety technology, and in particular to an alarm management method, and also to an alarm management device, an electronic device and a computer-readable storage medium. Background Art

[0002] There are a large number of devices in the information center and computer room, such as storage devices, servers, switches, etc. All kinds of devices will generate alarms of different levels and types to prompt operation and maintenance personnel to handle them in time to ensure the normal operation of the equipment. Therefore, when the number of devices reaches a certain scale, the number of alarms will also increase, and alarm management becomes a very important part of operation and maintenance.

[0003] Currently, the alarm management of multiple devices mainly relies on the SNMP (Simple Network Management Protocol), and each device can report alarms to a unified system through the SNMP protocol. However, this method has the following problems: First, the device must be configured to report alarms, which requires a lot of work when there are a large number of devices; second, the format of alarm reporting on each device is different, so after the alarm management system receives the alarm, it needs to convert the alarms of different formats into the alarm format of the management system and then process them, which is a heavy workload.

[0004] Therefore, how to perform reasonable and efficient alarm management on multiple devices to ensure the safe operation of the devices is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] The purpose of this application is to provide an alarm management method, which can perform reasonable and efficient alarm management on multiple devices, thereby ensuring the safe operation of the equipment; another purpose of this application is to provide an alarm management device, electronic device and computer-readable storage medium, all of which have the above-mentioned beneficial effects.

[0006] In a first aspect, the present application provides an alarm management method, comprising:

[0007] Start the alarm capture task according to the alarm management instruction;

[0008] Execute the alarm capture task to capture alarm information from the target device;

[0009] Analyze and process the alarm information to obtain an alarm analysis result, wherein the alarm analysis result includes alarm content and alarm level;

[0010] The alarm analysis result is converted into a preset format, and the alarm analysis result in the preset format is saved in a preset storage medium.

[0011] Optionally, before executing the alarm capture task to capture alarm information from the target device, the process further includes:

[0012] Determine whether the active alarm reporting information of the target device is received;

[0013] If yes, cancel the alarm capture task;

[0014] If not, the step of executing the alarm capture task to capture alarm information from the target device is performed.

[0015] Optionally, before executing the alarm capture task to capture alarm information from the target device, the process further includes:

[0016] Determine the task identifier of the alarm capture task;

[0017] Determine whether the task identifier exists in the current task execution queue;

[0018] If yes, cancel the alarm capture task;

[0019] If not, the step of executing the alarm capture task to capture alarm information from the target device is performed.

[0020] Optionally, executing the alarm capture task to capture alarm information from a target device includes:

[0021] Adding the alarm capture task to the current task execution queue;

[0022] The alarm capture task is executed according to the task arrangement order in the current task execution queue to capture the alarm information from the target device.

[0023] Optionally, executing the alarm capture task to capture alarm information from a target device includes:

[0024] Obtain the latest alarm time of the target device;

[0025] Capture alarm information from the latest alarm time to the current time in the target device.

[0026] Optionally, before analyzing and processing the alarm information to obtain an alarm analysis result, the step further includes:

[0027] Deduplication processing is performed on the alarm information according to the local alarm information.

[0028] Optionally, the analyzing and processing the alarm information to obtain an alarm analysis result includes:

[0029] Extracting text from the warning information to obtain a warning text;

[0030] Performing word segmentation processing on the warning text to obtain the warning content;

[0031] The alarm content is matched with historical alarm content to determine the alarm level.

[0032] In a second aspect, the present application further discloses an alarm management device, comprising:

[0033] The startup module is used to start the alarm capture task according to the alarm management instruction;

[0034] An execution module, used for executing the alarm capture task to capture alarm information from the target device;

[0035] An analysis module is used to analyze and process the alarm information to obtain an alarm analysis result, wherein the alarm analysis result includes alarm content and alarm level;

[0036] The storage module is used to convert the alarm analysis result into a preset format and save the alarm analysis result in the preset format to a preset storage medium.

[0037] In a third aspect, the present application further discloses an electronic device, comprising:

[0038] Memory for storing computer programs;

[0039] A processor is used to implement the steps of any one of the alarm management methods described above when executing the computer program.

[0040] In a fourth aspect, the present application further discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the alarm management methods described above are implemented.

[0041] An alarm management method provided by the present application includes starting an alarm capture task according to an alarm management instruction; executing the alarm capture task to capture alarm information from a target device; analyzing and processing the alarm information to obtain an alarm analysis result, the alarm analysis result including the alarm content and the alarm level; converting the alarm analysis result into a preset format, and saving the alarm analysis result in the preset format to a preset storage medium.

[0042] By applying the technical solution provided by this application, by creating an active capture task, the alarm information generated in each device is actively captured, and the active acquisition of alarm information of multiple devices is realized without the need for active reporting by the device. Obviously, this implementation method does not require alarm reporting configuration on each device, which effectively reduces the preliminary configuration work; at the same time, for the alarm information actively captured, it is first analyzed and processed, and then the format of the analysis result is converted, realizing alarm management in a unified format. Compared with the implementation method of first converting the format of the alarm information and then performing alarm analysis, this technical solution only needs to convert the format of the analysis result, effectively reducing the post-processing work. As a result, reasonable and efficient alarm management for multiple devices is realized, effectively ensuring the safe operation of the equipment.

[0043] The alarm management device, electronic device and computer-readable storage medium provided in this application all have the above-mentioned beneficial effects, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings required for use in the description of the prior art and the embodiments of the present application are briefly introduced below. Of course, the drawings described below in relation to the embodiments of the present application are only part of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work, and the obtained other drawings also belong to the protection scope of the present application.

[0045] Figure 1 A flowchart of an alarm management method provided by this application;

[0046] Figure 2 A principle block diagram of an alarm management method provided in this application;

[0047] Figure 3 A schematic diagram of the structure of an alarm management device provided by this application;

[0048] Figure 4 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0049] The core of this application is to provide an alarm management method, which can perform reasonable and efficient alarm management on multiple devices, thereby ensuring the safe operation of the equipment; another core of this application is to provide an alarm management device, electronic device and computer-readable storage medium, all of which have the above-mentioned beneficial effects.

[0050] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0051] An embodiment of the present application provides an alarm management method.

[0052] Please refer to Figure 1 , Figure 1 This is a flow chart of an alarm management method provided in the present application. The alarm management method may include the following S101 to S104.

[0053] S101: Start the alarm capture task according to the alarm management instruction;

[0054] This step is to start the alarm capture task, which is used to actively capture alarm information in each device, in response to the alarm management instruction. When the alarm management instruction is received, the alarm capture task can be started to realize the active capture of alarm information.

[0055] Among them, the triggering method of the alarm management instruction is not unique. It can be initiated directly by the technical staff from the front end, or it can be in response to pre-set trigger conditions, such as timed trigger conditions or real-time trigger conditions, etc. This application does not limit this.

[0056] In a possible implementation, the above-mentioned initiation of the alarm capture task according to the alarm management instruction may include: responding to the alarm management instruction when a preset timing condition is reached; initiating the alarm capture task according to the alarm management instruction. In an embodiment of the present application, a timing condition may be pre-set as a trigger condition for the alarm management instruction, and when the preset timing condition is reached, the alarm management instruction may be automatically triggered, thereby, the alarm management system may initiate the alarm capture task according to the alarm management instruction.

[0057] As described above, the alarm capture task is used to realize the active capture of alarm information in each device. The type of device whose alarm information is captured does not affect the implementation of this technical solution. It can be any type of electronic device, such as storage devices, servers, switches, etc. This application does not limit this.

[0058] S102: Execute an alarm capture task to capture alarm information from a target device;

[0059] This step aims to realize the execution of the alarm capture task. By executing the alarm capture task, the alarm information can be captured from the target device, wherein the target device is the device from which the alarm management system needs to actively capture the alarm information.

[0060] Specifically, the alarm capture task may include the device information of the target device and the relevant configuration items of the alarm information that needs to be captured. These configuration items are used to indicate which types of alarm information need to be captured in the target device. Based on this, after starting the alarm capture task, the relevant information of the target device (such as the name information, address information, etc. of the target device) and the alarm information configuration items can be determined according to the analysis of the alarm capture task, and then the target device can be logged in to capture the alarm information specified by the configuration items. Of course, the alarm information that needs to be captured can be all types of alarm information in the target device, or it can be some types of alarm information.

[0061] S103: Analyze and process the alarm information to obtain an alarm analysis result, which includes alarm content and alarm level;

[0062] This step aims to realize the analysis and processing of alarm information. After the alarm information is captured based on the alarm capture task, the alarm information can be analyzed and processed to obtain the final alarm analysis result. It should be noted that the alarm analysis and processing here aims to extract the specific alarm content and the alarm level of the specific alarm content in the alarm information.

[0063] It is understandable that for operation and maintenance personnel, the most interesting information is mainly the alarm level of the alarm information, that is, the importance of the alarm information, which helps operation and maintenance personnel give priority to alarm information with higher alarm levels to avoid irreversible serious failures of equipment; and the specific alarm content can tell the operation and maintenance personnel what type of failure or abnormality has occurred.

[0064] S104: Convert the alarm analysis result into a preset format, and save the alarm analysis result in the preset format to a preset storage medium.

[0065] This step aims to achieve the final processing of the alarm analysis results, including format conversion and information storage. It is understandable that, since the data protocols followed by different devices are different, the data communication protocols between different devices and the alarm management system are also different. Therefore, in order to facilitate the unified management of data, after obtaining the alarm analysis results, they can be converted into data in a preset format. Of course, the preset format here is the data format supported by the alarm management system, which can be set according to the actual characteristics of the alarm management system. This application does not limit this. It is understandable that in the embodiment of the present application, only the alarm analysis results are formatted, rather than all alarm information, which can effectively reduce the workload of data conversion and improve work efficiency.

[0066] Furthermore, after obtaining the alarm analysis results in a preset format, they can be saved to a preset storage medium to facilitate the subsequent tracing of alarms or anomalies. The specific type of the preset storage medium does not affect the implementation of this technical solution. It can be a memory space created inside the alarm management system or an external storage device. It can store the alarm analysis results, and this application does not limit this.

[0067] It can be seen that the alarm management method provided in the embodiment of the present application, by creating an active capture task, actively captures the alarm information generated in each device, and realizes the active acquisition of alarm information of multiple devices without the need for the device to actively report. Obviously, this implementation method does not need to configure alarm reporting on each device, which effectively reduces the preliminary configuration work; at the same time, for the alarm information actively captured, it is first analyzed and processed, and then the analysis result is formatted, realizing alarm management in a unified format. Compared with the implementation method of first converting the alarm information format and then performing alarm analysis, this technical solution only needs to convert the analysis result format, effectively reducing the post-processing work. As a result, reasonable and efficient alarm management for multiple devices is realized, effectively ensuring the safe operation of the equipment.

[0068] In one embodiment of the present application, before executing the alarm capture task to capture alarm information from the target device, the following steps may also be included:

[0069] Determine whether the active alarm information reported by the target device is received;

[0070] If yes, cancel the alarm capture task;

[0071] If not, the step of executing the alarm capture task to capture the alarm information from the target device is performed.

[0072] It is understandable that for a target device, there may be an active alarm thread, that is, the target device can automatically monitor its own alarm information and actively report it to the alarm management system. At this time, in order to avoid the increase in workload caused by repeated alarms, before executing the alarm capture task, you can first determine whether you have received the alarm information actively reported by the target device, that is, the above-mentioned active reporting alarm information. If you have received the active reporting alarm information of the target device before, it means that the target device is set up with an active alarm thread. At this time, there is no need to execute the alarm capture task again, and you can cancel the task; conversely, if you have not received the active reporting alarm information of the target device before, it means that the target device is not set up with an active alarm thread. At this time, you can directly execute the alarm capture task.

[0073] In one embodiment of the present application, before executing the alarm capture task to capture alarm information from the target device, the following steps may also be included:

[0074] Determine the task identifier of the alarm capture task;

[0075] Determine whether there is a task identifier in the current task execution queue;

[0076] If yes, cancel the alarm capture task;

[0077] If not, the step of executing the alarm capture task to capture the alarm information from the target device is performed.

[0078] For the alarm management system, it may be used to manage the alarm information of multiple devices. Therefore, alarm capture tasks for different target devices may be created at the same time. In order to avoid system instability caused by the simultaneous triggering of multiple tasks, the currently triggered alarm capture task that needs to be executed can be added to the current task execution queue. The alarm capture tasks stored in the current task execution queue are all tasks that have been triggered and are waiting to be executed.

[0079] On this basis, in order to avoid the same alarm grabbing task being executed repeatedly, after starting an alarm grabbing task, before executing the alarm grabbing task, you can first obtain its task identifier, and then compare it with the current task execution queue. If the task identifier exists in the current task execution queue, it means that the alarm grabbing task just created is waiting for execution. At this time, there is no need to execute the alarm grabbing task again, and you can cancel the task; conversely, if the task identifier does not exist in the current task execution queue, it means that there is no repeated execution. At this time, you can directly execute the alarm grabbing task.

[0080] Among them, in the current task execution queue, each alarm capture task is stored in a one-to-one correspondence with the corresponding task identifier, so as to facilitate the task identifier matching work.

[0081] In one embodiment of the present application, the above-mentioned execution of the alarm capture task to capture alarm information from the target device may include the following steps:

[0082] Add the alarm capture task to the current task execution queue;

[0083] Execute the alarm capture task according to the task arrangement order in the current task execution queue to capture the alarm information from the target device.

[0084] As mentioned above, in order to avoid system instability caused by simultaneous triggering of multiple tasks, the currently triggered alarm capture task that needs to be executed can be added to the current task execution queue. Then, for each alarm capture task to be executed in the current task execution queue, it can be executed in sequence according to the order of their arrangement in the queue.

[0085] Furthermore, after executing the alarm capture task to capture alarm information from the target device, the process may further include: deleting the capture task from the current task execution queue. That is, after the alarm capture task is executed, it can be deleted from the current task execution queue to avoid unnecessary space occupation and provide storage space for subsequent new alarm capture tasks.

[0086] In one embodiment of the present application, the above-mentioned execution of the alarm capture task to capture alarm information from the target device may include the following steps:

[0087] Get the latest alarm time of the target device;

[0088] Capture alarm information from the latest alarm time to the current time in the target device

[0089] An embodiment of the present application provides a method for executing an alarm capture task. In order to avoid the same alarm information being collected repeatedly, an implementation method for incremental alarm information capture can be used. When executing an alarm capture task, the latest alarm time of the target device can be obtained first. The latest alarm time is the time when the alarm information was last obtained closest to the current time. This time may be an active alarm capture time or an active alarm reporting time. It can be understood that the alarm information that occurred before the latest alarm time has been collected. Therefore, it is sufficient to collect the alarm information in the target device within the time period from the latest alarm time to the current time.

[0090] In one embodiment of the present application, before analyzing and processing the alarm information to obtain the alarm analysis result, the following steps may also be included:

[0091] De-duplicate the alarm information based on the local alarm information.

[0092] The alarm management method provided in the embodiment of the present application can further realize the information deduplication function, avoid the problem of the same alarm information being repeatedly collected and then repeatedly analyzed, and thus avoid unnecessary waste of resources.

[0093] In the implementation process, after receiving the alarm information, the alarm management system can first use the local alarm information to deduplicate it, where the local alarm information is the alarm information received before the current time and stored in the local space. Further, by judging whether the newly received alarm information is the same as the local alarm information, it is determined whether the alarm information has been received before. If the newly received alarm information is different from the local alarm information, it means that the alarm information has not been received before, and the alarm information can continue to be analyzed and processed; if the newly received alarm information is the same as the local alarm information, it means that the alarm information is collected repeatedly, and at this time, the alarm information can be discarded.

[0094] Of course, in the case where the newly received alarm information does not match the local alarm information, it can also be added to the local storage space to be used as the local alarm information for deduplication processing of the subsequently newly received alarm information.

[0095] In one embodiment of the present application, the above-mentioned analysis and processing of the alarm information to obtain the alarm analysis result may include the following steps:

[0096] Extract text from the alarm information to obtain the alarm text;

[0097] Perform word segmentation on the alarm text to obtain the alarm content;

[0098] Match the alarm content with the historical alarm content to determine the alarm level.

[0099] The embodiment of the present application provides a method for analyzing and processing alarm information to obtain alarm analysis results. In the implementation process, for the received alarm information, text extraction can be performed first to obtain the alarm text therein, and then the alarm text can be segmented. This process can be implemented by word segmentation to obtain the alarm content therein, and finally the alarm content is matched with the historical alarm content memory to determine its alarm level.

[0100] Among them, the historical alarm content can be stored in the historical alarm library. In the historical alarm library, each alarm content and the alarm level are stored one by one. Therefore, when the alarm content hits the historical alarm library, the alarm level of the alarm content can be queried therefrom. Of course, when the alarm content does not hit the historical alarm library, a manual analysis prompt about the alarm content can be output to remind the technicians to manually analyze the alarm content and determine the alarm level. Furthermore, for the alarm content that has obtained the alarm level through manual analysis, the two can also be stored in the historical alarm library in correspondence, thereby realizing the update of the historical alarm library.

[0101] In addition, alarm prompts can be further set. Specifically, for alarm contents whose alarm levels exceed the preset levels, alarm prompts can be output in a timely manner, for example, buzzer prompts, indicator light prompts, etc., so as to remind operation and maintenance personnel to handle abnormal and urgent alarm information in a timely manner, thereby ensuring the safety of the equipment. The preset level can be set by the technician according to the actual situation, and this application does not limit this.

[0102] Based on the above embodiments:

[0103] An embodiment of the present application provides another alarm management method.

[0104] Please refer to Figure 2 , Figure 2 This is a principle block diagram of an alarm management method provided by this application. The alarm management method mainly includes three parts:

[0105] (1) Actively report alarm information: basic function that can ensure the real-time nature of alarms;

[0106] (2) Actively capture alarm information: The main function is to capture alarm information incrementally to reduce the pressure of information collection. It should be noted that when the collection time of alarm information is longer than the preset collection cycle, the next collection cycle can be postponed; when the actively reported alarm information has been received, the active capture task is canceled;

[0107] (3) Alarm information analysis: Analyze and process the acquired alarm information.

[0108] On this basis, the implementation process of the alarm management method provided in the embodiment of the present application is as follows:

[0109] (1) When receiving an alarm message, the alarm message is put into the analysis and processing flow and the extraction limiter is notified;

[0110] (2) The extraction limiter checks whether the alarm source (target device) has reported the alarm information in the form of active reporting. If so, the next active capture is canceled;

[0111] (3) When the collection cycle is triggered, start the scheduled task;

[0112] (4) The extraction controller sets the ID (task identifier) ​​of the capture task according to the MAC address of each device to be collected;

[0113] (5) Set up a queue task_queue (current task execution queue), which stores the grabbing tasks being executed. Compare the grabbing tasks in the queue with the ID generated in (4). If they are consistent, it means that the grabbing task is being executed and the device is skipped during this grabbing. Otherwise, the grabbing task is put into the queue and waits for execution.

[0114] (6) Actively capture alarm information. When capturing alarm information, first query the locally synchronized alarm information and find the last synchronization time. During this capture, only the alarm information generated after the synchronization time node is captured;

[0115] (7) Compare the captured alarm information with the existing local alarm information to remove duplication;

[0116] (8) After deduplication is completed, the warning text is extracted and word segmentation is performed on the warning text;

[0117] (9) Analyze the segmented words. The analysis process may be to match the existing alarm information to determine the alarm level, alarm content and other analysis results;

[0118] (10) Perform structural conversion on the analysis results, convert them into the alarm structure of the alarm management system and store them persistently;

[0119] (11) Remove the completed crawling task from the queue;

[0120] (12) Wait for the next cycle to start.

[0121] It can be seen that the alarm management method provided in the embodiment of the present application, by creating an active capture task, actively captures the alarm information generated in each device, and realizes the active acquisition of alarm information of multiple devices without the need for the device to actively report. Obviously, this implementation method does not need to configure alarm reporting on each device, which effectively reduces the preliminary configuration work; at the same time, for the alarm information actively captured, it is first analyzed and processed, and then the analysis result is formatted, realizing alarm management in a unified format. Compared with the implementation method of first converting the alarm information format and then performing alarm analysis, this technical solution only needs to convert the analysis result format, effectively reducing the post-processing work. As a result, reasonable and efficient alarm management for multiple devices is realized, effectively ensuring the safe operation of the equipment.

[0122] An embodiment of the present application provides an alarm management device.

[0123] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of an alarm management device provided by the present application. The alarm management device may include:

[0124] Startup module 1, used to start the alarm capture task according to the alarm management instruction;

[0125] Execution module 2, used for executing the alarm capture task to capture the alarm information from the target device;

[0126] Analysis module 3, used to analyze and process the alarm information to obtain the alarm analysis result, which includes the alarm content and alarm level;

[0127] The storage module 4 is used to convert the alarm analysis result into a preset format and save the alarm analysis result in the preset format to a preset storage medium.

[0128] It can be seen that the technical solution provided by the embodiment of the present application realizes the active acquisition of alarm information of multiple devices by creating an active capture task to actively capture the alarm information generated in each device, without the need for the device to actively report. Obviously, this implementation method does not require the alarm reporting configuration on each device, which effectively reduces the preliminary configuration work; at the same time, for the alarm information actively captured, it is first analyzed and processed, and then the analysis result is formatted, realizing the alarm management of a unified format. Compared with the implementation method of first converting the alarm information format and then performing alarm analysis, this technical solution only needs to convert the analysis result format, effectively reducing the post-processing work. As a result, reasonable and efficient alarm management for multiple devices is realized, effectively ensuring the safe operation of the equipment.

[0129] In one embodiment of the present application, the alarm management device may also include an active alarm module, which is used to determine whether the target device's actively reported alarm information is received before executing the above-mentioned alarm capture task to capture the alarm information from the target device; if so, cancel the execution of the alarm capture task; if not, execute the step of executing the alarm capture task to capture the alarm information from the target device.

[0130] In one embodiment of the present application, the alarm management device may also include a task deduplication module, which is used to determine the task identifier of the alarm capture task before executing the alarm capture task to capture alarm information from the target device; determine whether the task identifier exists in the current task execution queue; if so, cancel the execution of the alarm capture task; if not, execute the step of executing the alarm capture task to capture alarm information from the target device.

[0131] In one embodiment of the present application, the above-mentioned execution module 2 can be specifically used to add the alarm capture task to the current task execution queue; execute the alarm capture task according to the task arrangement order in the current task execution queue to capture alarm information from the target device.

[0132] In one embodiment of the present application, the execution module 2 can be specifically used to obtain the latest alarm time of the target device; and capture the alarm information from the latest alarm time to the current time in the target device.

[0133] In one embodiment of the present application, the alarm management device may further include an information deduplication module for deduplicating the alarm information based on local alarm information before analyzing and processing the alarm information to obtain the alarm analysis result.

[0134] In one embodiment of the present application, the above-mentioned analysis module 3 can be specifically used to extract text from the alarm information to obtain the alarm text; perform word segmentation on the alarm text to obtain the alarm content; match the alarm content with the historical alarm content to determine the alarm level.

[0135] For an introduction to the device provided in the embodiments of the present application, please refer to the above method embodiments, and the present application will not elaborate on them here.

[0136] An embodiment of the present application provides an electronic device.

[0137] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in this application, and the electronic device may include:

[0138] Memory for storing computer programs;

[0139] The processor is used to implement the steps of any one of the above-mentioned alarm management methods when executing a computer program.

[0140] like Figure 4 , which is a schematic diagram of the composition structure of an electronic device, the electronic device may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 all communicate with each other through the communication bus 13.

[0141] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices, etc.

[0142] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in an embodiment of the alarm management method.

[0143] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:

[0144] Start the alarm capture task according to the alarm management instruction;

[0145] Execute alarm capture tasks to capture alarm information from target devices;

[0146] Analyze and process the alarm information to obtain the alarm analysis result, which includes the alarm content and alarm level;

[0147] The alarm analysis results are converted into a preset format, and the alarm analysis results in the preset format are saved to a preset storage medium.

[0148] In a possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function, etc.; the data storage area may store data created during use.

[0149] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.

[0150] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.

[0151] Of course, it should be noted that Figure 4 The structure shown does not constitute a limitation on the electronic device in the embodiment of the present application. In actual applications, the electronic device may include Figure 4 More or fewer components than shown, or combinations of certain components.

[0152] An embodiment of the present application provides a computer-readable storage medium.

[0153] The computer-readable storage medium provided in the embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned alarm management methods can be implemented.

[0154] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0155] For an introduction to the computer-readable storage medium provided in the embodiments of the present application, please refer to the above method embodiments, and the present application will not elaborate on them here.

[0156] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0157] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0158] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0159] The technical solution provided by the present application is described in detail above. The principle and implementation method of the present application are described in detail using specific examples herein, and the description of the above embodiments is only used to help understand the method and core idea of ​​the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

Claims

1. An alarm management method, characterized in that: include: Initiate an alarm capture task according to an alarm management instruction; the alarm capture task includes target device information and alarm information configuration items; Executing the alarm capture task to capture the alarm information specified by the alarm information configuration item from the target device corresponding to the target device information; Analyze and process the alarm information to obtain an alarm analysis result, wherein the alarm analysis result includes alarm content and alarm level; Converting the alarm analysis result into a preset format, and saving the alarm analysis result in the preset format to a preset storage medium; Wherein, before executing the alarm capture task to capture alarm information from the target device, it also includes: determining the task identifier of the alarm capture task; judging whether the task identifier exists in the current task execution queue; if so, canceling the execution of the alarm capture task; if not, executing the step of executing the alarm capture task to capture alarm information from the target device; The executing of the alarm capture task to capture alarm information from the target device includes: obtaining the latest alarm time of the target device; capturing the alarm information from the latest alarm time to the current time in the target device; the latest alarm time is the time when the alarm information was last acquired that is closest to the current time; The analyzing and processing the alarm information to obtain the alarm analysis result includes: performing text extraction on the alarm information to obtain the alarm text; performing word segmentation processing on the alarm text to obtain the alarm content; matching the alarm content with historical alarm content to determine the alarm level.

2. The alarm management method according to claim 1, characterized in that: Before executing the alarm capture task to capture alarm information from the target device, the method further includes: Determine whether the active alarm reporting information of the target device is received; If yes, cancel the alarm capture task; If not, the step of executing the alarm capture task to capture alarm information from the target device is performed.

3. The alarm management method according to claim 1, characterized in that: The executing the alarm capture task to capture alarm information from the target device includes: Adding the alarm capture task to the current task execution queue; The alarm capture task is executed according to the task arrangement order in the current task execution queue to capture the alarm information from the target device.

4. The alarm management method according to claim 1, characterized in that: Before analyzing and processing the alarm information to obtain the alarm analysis result, the method further includes: Deduplication processing is performed on the alarm information according to the local alarm information.

5. An alarm management device, characterized in that: include: A startup module, used to start an alarm capture task according to an alarm management instruction; the alarm capture task includes target device information and alarm information configuration items; An execution module, used for executing the alarm capture task to capture the alarm information specified by the alarm information configuration item from the target device corresponding to the target device information; An analysis module is used to analyze and process the alarm information to obtain an alarm analysis result, wherein the alarm analysis result includes alarm content and alarm level; A storage module, used for converting the alarm analysis result into a preset format, and saving the alarm analysis result in the preset format to a preset storage medium; A task deduplication module is used to determine the task identifier of the alarm grabbing task before executing the alarm grabbing task to grab alarm information from the target device; determine whether the task identifier exists in the current task execution queue; if so, cancel the execution of the alarm grabbing task; if not, execute the step of executing the alarm grabbing task to grab alarm information from the target device; The execution module is specifically used to obtain the latest alarm time of the target device; capture the alarm information from the latest alarm time to the current time in the target device; the latest alarm time is the time when the alarm information was last obtained closest to the current time; The analysis module is specifically used to perform text extraction on the alarm information to obtain the alarm text; perform word segmentation processing on the alarm text to obtain the alarm content; match the alarm content with historical alarm content to determine the alarm level.

6. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the alarm management method according to any one of claims 1 to 4 when executing the computer program.

7. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the computer program implements any one of claims 1 to 4. The steps of an alarm management method.

Citation Information

Patent Citations

  • Method and device for updating monitoring data of equipment monitoring system

    CN104486147A

  • Alarm data process and its processor in network system

    CN1713588A