CN-121984833-A - Alarm information processing method and device, storage medium and electronic equipment
Abstract
The application discloses a method and a device for processing alarm information, a storage medium and electronic equipment. The method comprises the steps of obtaining a plurality of alarm information tables and push configuration tables corresponding to each target platform in a plurality of target platforms, determining a target push mode of an alarm event in the alarm information tables based on the target push configuration tables for each alarm information table, wherein the target push configuration tables refer to push configuration tables of the target platforms to which the alarm information tables belong, processing event information of the alarm event in the alarm information tables based on a data processing mode corresponding to the target push mode to obtain target event information, and pushing the target event information to a target object in the target push mode. The application solves the problem of high maintenance cost of the alarm information pushing operation caused by the fact that different platforms respectively send the alarm information in the platforms in the related technology.
Inventors
- GUO RUIKUN
- XU XIUYING
Assignees
- 中国工商银行股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260116
Claims (11)
- 1. The method for processing the alarm information is characterized by comprising the following steps: Acquiring a plurality of alarm information tables and push configuration tables corresponding to each target platform in a plurality of target platforms, wherein different alarm information tables corresponding to the target platforms are used for recording event information of different alarm events in the target platforms, and the push configuration tables corresponding to the target platforms are used for recording target push modes corresponding to all alarm events in a plurality of push modes of the target platforms; For each alarm information table, determining a target pushing mode of an alarm event in the alarm information table based on a target pushing configuration table, wherein the target pushing configuration table refers to a pushing configuration table of a target platform to which the alarm information table belongs; Processing event information of the alarm event in the alarm information table based on a data processing mode corresponding to the target pushing mode to obtain target event information; Pushing the target event information to a target object in the target pushing mode.
- 2. The method of claim 1, wherein obtaining a plurality of alert information tables corresponding to each of a plurality of target platforms, comprises: Acquiring a plurality of alarm record lists sent by each of a plurality of target platforms, wherein different alarm record lists of the target platforms comprise initial event information of different alarm events in the target platforms; extracting event occurrence time points, event occurrence objects, event levels and event contents of the alarm event from the initial event information through a preset data extraction rule; Determining the event occurrence time point, the event occurrence object, the event level, the event content and an initial zone bit of each alarm event as event information of the alarm event, and generating a plurality of alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial zone bit is used for representing push states of the plurality of push modes.
- 3. The method of claim 1, wherein the push configuration table includes a correspondence between table names of alarm information tables and push manners, wherein determining a target push manner of an alarm event in the alarm information table based on the target push configuration table includes: determining a pushing mode corresponding to the table name of the alarm information table from the target pushing configuration table; and determining a pushing mode corresponding to the table name of the alarm information table as the target pushing mode.
- 4. The method according to claim 2, wherein pushing the target event information to a target object by the target pushing manner comprises: determining an identifier corresponding to the target pushing mode from an initial zone bit of the alarm information table; and pushing the target event information to a target object through the target pushing mode under the condition that the mark corresponding to the target pushing mode is a first mark, wherein the first mark is used for representing that the alarm event is not pushed in the target pushing mode.
- 5. The method of claim 4, wherein after determining the identifier corresponding to the target push mode from the initial flag bit of the alert information table, the method further comprises: and under the condition that the mark corresponding to the target pushing mode is a second mark, the target event information is forbidden to be pushed to a target object through the target pushing mode, wherein the second mark is used for representing that the alarm event is pushed in the target pushing mode.
- 6. The method of claim 2, wherein after pushing the target event information to a target object by the target pushing manner, the method further comprises: determining an identifier corresponding to the target pushing mode from an initial zone bit of the alarm information table; Updating the identifier corresponding to the target pushing mode into a second identifier, wherein the second identifier is used for representing that the alarm event is pushed in the target pushing mode.
- 7. The method of claim 1, wherein the push configuration table is further configured to record a contact manner of a push object of the alert event, wherein pushing the target event information to the target object by the target push manner comprises: Determining the contact way of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; and determining the pushing object as the target object, and pushing the target event information to the target object based on the target pushing mode and the contact mode.
- 8. An apparatus for processing alarm information, comprising: The system comprises an acquisition module, a pushing configuration table and a control module, wherein the acquisition module is used for acquiring a plurality of alarm information tables and pushing configuration tables corresponding to each target platform in a plurality of target platforms, wherein different alarm information tables corresponding to the target platforms are used for recording event information of different alarm events in the target platforms, and the pushing configuration tables corresponding to the target platforms are used for recording target pushing modes corresponding to all alarm events of the target platforms in a plurality of pushing modes; The first determining module is used for determining a target pushing mode of an alarm event in each alarm information table based on a target pushing configuration table, wherein the target pushing configuration table refers to a pushing configuration table of a target platform to which the alarm information table belongs; the first processing module is used for processing the event information of the alarm event in the alarm information table based on the data processing mode corresponding to the target pushing mode to obtain target event information; And the second processing module is used for pushing the target event information to a target object in the target pushing mode.
- 9. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored executable program, wherein the executable program, when run, controls a device in which the computer-readable storage medium is located to perform the alarm information processing method according to any one of claims 1 to 7.
- 10. An electronic device, comprising: a memory storing an executable program; A processor for running the program, wherein the program runs to execute the alarm information processing method according to any one of claims 1 to 7.
- 11. A computer program product comprising computer instructions which, when executed by a processor, implement the steps of the method of processing alert information as claimed in any one of claims 1 to 7.
Description
Alarm information processing method and device, storage medium and electronic equipment Technical Field The present application relates to financial technology and other related fields, and in particular, to a method and apparatus for processing alarm information, a storage medium, and an electronic device. Background In the current operation and maintenance management of the data center, along with the continuous expansion of the service and the increasing complexity of the technology, each operation and maintenance platform operates independently and is responsible for monitoring the health condition of the system in each field and sending alarm information. Such a decentralized alert push job mode may be able to meet basic operation and maintenance requirements at an early stage, but its drawbacks are gradually revealed as the size of the data center is enlarged and the number of operation and maintenance items is increased. For example, since each platform needs to push alarm information, operation and maintenance personnel need to maintain and manage alarm push configurations of different platforms respectively, thereby consuming a great deal of manpower and material resources. Therefore, the foregoing method has a problem that the maintenance cost of the alert information push operation is high. In view of the above problems in the related art, no effective solution has been proposed at present. Disclosure of Invention The application mainly aims to provide a processing method, a device, a storage medium and electronic equipment for alarm information, which are used for solving the problem that in the related art, the alarm information in different platforms is sent by each platform, so that the maintenance cost of an alarm information pushing operation is high. In order to achieve the above object, according to one aspect of the present application, there is provided a method of processing alarm information. The method comprises the steps of obtaining a plurality of alarm information tables and push configuration tables corresponding to each target platform in a plurality of target platforms, wherein different alarm information tables corresponding to the target platforms are used for recording event information of different alarm events in the target platforms, the push configuration tables corresponding to the target platforms are used for recording target push modes corresponding to all alarm events in the target platforms in a plurality of push modes, determining a target push mode of the alarm events in the alarm information tables based on the target push configuration tables for each alarm information table, wherein the target push configuration tables refer to the push configuration tables of the target platform to which the alarm information tables belong, processing the event information of the alarm events in the alarm information tables based on the data processing modes corresponding to the target push modes to obtain target event information, and pushing the target event information to a target object through the target push modes. The method for processing the alarm information further comprises the steps of obtaining a plurality of alarm record lists sent by each of a plurality of target platforms, wherein different alarm record lists of the target platforms comprise initial event information of different alarm events in the target platforms, extracting event occurrence time points, event occurrence objects, event levels and event contents of the alarm events from the initial event information through preset data extraction rules, determining the event occurrence time points, the event occurrence objects, the event levels, the event contents and the initial flag bits of each alarm event as the event information of the alarm event, and generating a plurality of alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bits are used for representing push states of a plurality of push modes. Further, the push configuration table comprises a corresponding relation between the table name of the alarm information table and the push mode, wherein the alarm information processing method further comprises the steps of determining the push mode corresponding to the table name of the alarm information table from the target push configuration table, and determining the push mode corresponding to the table name of the alarm information table as the target push mode. The method for processing the alarm information further comprises the steps of determining an identifier corresponding to a target pushing mode from an initial zone bit of an alarm information table, and pushing target event information to a target object through the target pushing mode under the condition that the identifier corresponding to the target pushing mode is a first identifier, wherein the first identifier is used for representing that the