Alarm information processing method and device, storage medium and electronic equipment
By processing alarm information pushes from multiple platforms through a unified system, the problem of high maintenance costs for alarm information push operations in data centers has been solved, and efficient and reliable information push has been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2026-01-16
- Publication Date
- 2026-05-05
AI Technical Summary
In data center operation and maintenance management, the independent operation of each operation and maintenance platform leads to high maintenance costs for alarm information push operations, and existing technologies have failed to effectively solve this problem.
By acquiring alarm information tables and push configuration tables from multiple target platforms, the target push method for alarm events is determined, and data processing and information push are performed based on this method, thereby enabling a unified system to handle alarm information pushes from multiple platforms.
It reduces the maintenance cost of alarm information push operations, improves the efficiency and reliability of information push, and avoids duplicate notifications and resource consumption.
Smart Images

Figure CN121984833A_ABST
Abstract
Description
Technical Field
[0001] This application relates to financial technology or other related fields, and more specifically, to a method, apparatus, storage medium, and electronic device for processing alarm information. Background Technology
[0002] In current data center operations and maintenance (O&M) management, with the continuous expansion of business and the increasing complexity of technology, various O&M platforms operate independently, responsible for monitoring the system health status within their respective domains and sending alarm information. This decentralized alarm push operation model may meet basic O&M needs in the early stages, but its drawbacks gradually become apparent as data center scales up and the number of O&M projects surges. For example, since each platform needs to push alarm information, O&M personnel need to maintain and manage the alarm push configurations for different platforms separately, thus consuming significant human and material resources. Therefore, the aforementioned approach suffers from high maintenance costs for alarm information push operations.
[0003] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention
[0004] The main objective of this application is to provide a method, apparatus, storage medium, and electronic device for processing alarm information, so as to solve the problem of high maintenance costs for alarm information push operations caused by different platforms sending alarm information from their respective platforms in related technologies.
[0005] To achieve the above objectives, according to one aspect of this application, a method for processing alarm information is provided. The method includes: acquiring multiple alarm information tables and push configuration tables corresponding to each of multiple target platforms, wherein the different alarm information tables corresponding to the target platforms are used to record event information of different alarm events in the target platform, and the push configuration table corresponding to the target platform is used to record the target push method corresponding to each alarm event of the target platform among multiple push methods; for each alarm information table, determining the target push method for the alarm events in the alarm information table based on the target push configuration table, wherein the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs; processing the event information of the alarm events in the alarm information table based on the data processing method corresponding to the target push method to obtain target event information; and pushing the target event information to a target object through the target push method.
[0006] Furthermore, the alarm information processing method also includes: acquiring multiple alarm record sheets sent by each of the multiple target platforms, wherein the different alarm record sheets of the target platforms include the initial event information of different alarm events in the target platform; extracting the event occurrence time, event object, event level and event content of the alarm event from the initial event information through preset data extraction rules; determining the event occurrence time, event object, event level, event content and initial flag bit of each alarm event as the event information of the alarm event, and generating multiple alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bit is used to represent the push status of multiple push methods.
[0007] Furthermore, the push configuration table includes the correspondence between the table name of the alarm information table and the push method. The alarm information processing method further includes: determining the push method corresponding to the table name of the alarm information table from the target push configuration table; and determining the push method corresponding to the table name of the alarm information table as the target push method.
[0008] Furthermore, the alarm information processing method also includes: determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table; when the identifier corresponding to the target push method is the first identifier, pushing the target event information to the target object through the target push method, wherein the first identifier is used to indicate that the alarm event was not pushed in the target push method.
[0009] Furthermore, the alarm information processing method also includes: after determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table, if the identifier corresponding to the target push method is the second identifier, the push of the target event information to the target object through the target push method is prohibited. The second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0010] Furthermore, the alarm information processing method also includes: after pushing the target event information to the target object through the target push method, determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table; updating the identifier corresponding to the target push method to a second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0011] Furthermore, the push configuration table is also used to record the contact information of the push object of the alarm event. The alarm information processing method also includes: determining the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; determining the push object as the target object; and pushing the target event information to the target object based on the target push method and contact information.
[0012] To achieve the above objectives, according to another aspect of this application, an alarm information processing apparatus is provided. The apparatus includes: an acquisition module, configured to acquire multiple alarm information tables and push configuration tables corresponding to each of multiple target platforms, wherein the different alarm information tables corresponding to the target platforms are used to record event information of different alarm events in the target platform, and the push configuration table corresponding to the target platform is used to record the target push method corresponding to each alarm event of the target platform among multiple push methods; a first determination module, configured to determine, for each alarm information table, the target push configuration table based on the target push configuration table, wherein the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs; a first processing module, configured to process the event information of the alarm events in the alarm information table based on the data processing method corresponding to the target push method to obtain target event information; and a second processing module, configured to push the target event information to a target object through the target push method.
[0013] Furthermore, the acquisition module also includes: an acquisition submodule, used to acquire multiple alarm record sheets sent by each of the multiple target platforms, wherein the different alarm record sheets of the target platforms include the initial event information of different alarm events in the target platform; an extraction submodule, used to extract the event occurrence time, event object, event level and event content of the alarm event from the initial event information according to preset data extraction rules; and a first determination submodule, used to determine the event occurrence time, event object, event level, event content and initial flag bit of each alarm event as the event information of the alarm event, and generate multiple alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bit is used to represent the push status of multiple push methods.
[0014] Furthermore, the push configuration table includes the correspondence between the table name of the alarm information table and the push method. The first determining module further includes: a second determining submodule, used to determine the push method corresponding to the table name of the alarm information table from the target push configuration table; and a third determining submodule, used to determine the push method corresponding to the table name of the alarm information table as the target push method.
[0015] Furthermore, the second processing module also includes: a fourth determining submodule, used to determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; and a first processing submodule, used to push the target event information to the target object through the target push method when the identifier corresponding to the target push method is the first identifier, wherein the first identifier is used to indicate that the alarm event was not pushed in the target push method.
[0016] Furthermore, the alarm information processing device also includes: a third processing module, used to prohibit the push of target event information to the target object through the target push method when the identifier corresponding to the target push method is the second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0017] Furthermore, the alarm information processing device also includes: a second determining module, used to determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; and a fourth processing module, used to update the identifier corresponding to the target push method to a second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed out in the target push method.
[0018] Furthermore, the push configuration table is also used to record the contact information of the push object of the alarm event. The second processing module also includes: a fifth determination submodule, used to determine the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; and a second processing submodule, used to determine the push object as the target object, and push the target event information to the target object based on the target push method and contact information.
[0019] To achieve the above objectives, according to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, the device where the computer-readable storage medium is located is controlled to perform the above-mentioned alarm information processing method.
[0020] To achieve the above objectives, according to another aspect of this application, an electronic device is provided, the electronic device including a memory storing an executable program; and a processor for running the program, wherein the program executes the above-described alarm information processing method during runtime.
[0021] To achieve the above objectives, according to another aspect of this application, a computer program product is provided, including computer instructions that, when executed by a processor, implement the steps of the alarm information processing method described above.
[0022] In this embodiment, by acquiring multiple alarm information tables and push configuration tables corresponding to each of the multiple target platforms, and pushing alarm events based on these tables, information is pushed to multiple platforms. On one hand, this achieves unified system processing of alarm event information pushes across multiple platforms, avoiding the maintenance of alarm information push operations for multiple platforms and effectively reducing maintenance costs. On the other hand, by using information tables to differentiate and record alarm event information and push methods for different target platforms, effective management of relevant information for different platforms is achieved, thereby improving the efficiency and reliability of information push.
[0023] Therefore, the method provided in this application achieves the goal of processing alarm information push from multiple platforms through a unified system, thereby reducing the technical effect of operation and maintenance costs. It also solves the technical problem in related technologies where alarm information push operations are maintained at a high cost due to different platforms sending their own alarm information. Attached Figure Description
[0024] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 This is a hardware structure block diagram of a computer terminal provided according to an embodiment of this application;
[0026] Figure 2 This is a flowchart of an alarm information processing method provided in the embodiments of this application;
[0027] Figure 3 This is a schematic diagram of the operation of the target processing system provided in the embodiments of this application;
[0028] Figure 4 This is a schematic diagram of an alarm information processing device provided according to an embodiment of this application;
[0029] Figure 5 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] It should be noted that the alarm information processing method, device, storage medium and electronic device disclosed herein can be used in the financial technology field, or in any field other than the financial technology field. The application field of the alarm information processing method, device, storage medium and electronic device disclosed herein is not limited.
[0033] It should be noted that the information collected in this application (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with relevant laws, regulations, and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding access points are provided for users to choose to authorize or refuse. For example, interfaces are set up between this system and relevant users or organizations, providing users with corresponding access points to choose to agree to or refuse automated decision-making results; if the user chooses to refuse, the process proceeds to the expert decision-making stage.
[0034] Example 1
[0035] According to an embodiment of this application, an embodiment of a method for processing alarm information is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0036] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal (or mobile device) for implementing a method for processing alarm information is shown. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0037] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0038] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the alarm information processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the alarm information processing method described above. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0039] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0040] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0041] Under the aforementioned operating environment, this application provides the following: Figure 2 The alarm information processing method shown is as follows. Figure 2 This is a flowchart of an alarm information processing method provided according to an embodiment of this application.
[0042] Step S201: Obtain multiple alarm information tables and push configuration tables corresponding to each target platform among multiple target platforms. The different alarm information tables corresponding to the target platform are used to record the event information of different alarm events in the target platform, and the push configuration tables corresponding to the target platform are used to record the target push method corresponding to each alarm event of the target platform in multiple push methods.
[0043] Optionally, electronic devices, application systems, servers, and other devices can be used as the execution subject of this application. In this embodiment, the target processing system is used as the execution subject to execute the above-mentioned alarm information processing method.
[0044] Optionally, the target platform can be an operations and maintenance project platform used to execute various business operations or projects.
[0045] Optionally, different alarm information tables corresponding to the target platform are used to record event information for different alarm events on the target platform. Event information can be recorded in the alarm information table in a 5-tuple format. For example, a 5-tuple includes: the time of occurrence of the alarm event, the object that triggered the alarm event, the event level, the event content, and an initial flag. The event object refers to the object that triggered the alarm event; for example, the event object could be a server, a port, a hard drive, etc. The event level is used to identify the importance (i.e., severity) of the alarm event, and the initial flag is used to characterize the push status of multiple push methods, where the push method refers to the way the alarm information is pushed. That is, in a single alarm information table, each row can be understood as one element of a 5-tuple, and a single alarm information table must contain at least five rows of information, each corresponding to one of the aforementioned 5-tuples.
[0046] In an optional embodiment, the event information in the alarm information table can be determined based on an alarm record form sent by the target platform. This alarm record form can be filled out by a user through the target platform's human-computer interaction interface, or it can be automatically generated by the target platform. The target platform can then send the alarm record form to the target processing system, which will then determine the alarm information table based on the alarm record form.
[0047] In an optional embodiment, the alarm information form can also be filled in directly by the user on the target platform's human-computer interaction interface, or it can be automatically generated by the target platform. The target platform can send the alarm record to the target processing system for the target processing system to obtain.
[0048] Optionally, the push configuration table corresponding to the target platform is used to record the target push method for each alarm event on the target platform among multiple push methods. That is, there is a one-to-many relationship between the push configuration table and the alarm information table of the target platform. In a single push configuration table, there are multiple entries, and each entry can be understood as the target push method corresponding to an alarm event in the alarm information table. Multiple push methods include, but are not limited to, SMS notification, email notification, submission to centralized monitoring service, telephone notification, etc.
[0049] In an optional embodiment, the push configuration form can be filled out by the user through the target platform's human-computer interaction interface, and then the target platform sends the push configuration form to the target processing system. The target push method corresponding to the alarm event in the push configuration form refers to the push method required when pushing the alarm event. There can be one or more target push methods corresponding to the alarm event.
[0050] Step S202: For each alarm information table, determine the target push method for the alarm events in the alarm information table based on the target push configuration table, where the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs.
[0051] Optionally, for each alarm information table, the target processing system can first determine the push configuration table of the target platform to which the alarm information table belongs, that is, first determine the target push configuration table. Then, based on the table name of the alarm information table, it can determine the entry associated with the alarm information table from the target push configuration table, and determine the push method in the entry as the target push method for the alarm event in the corresponding alarm information table.
[0052] Step S203: Based on the data processing method corresponding to the target push method, process the event information of the alarm event in the alarm information table to obtain the target event information.
[0053] Optionally, the data processing method is used to convert event information into information that conforms to the format requirements of a specific push method, such as converting alarm information into a specific format of email or SMS.
[0054] After determining the target push method for alarm events, the target processing system can perform corresponding data format conversion on the event information in the alarm information table to obtain the target event information, so that the target event information can be adapted to the specific requirements of the target push method.
[0055] Optionally, the correspondence between various push methods and data processing methods can be pre-stored in the target processing system.
[0056] Step S204: Push the target event information to the target object using the target push method.
[0057] Optionally, the target object refers to the object that will receive the target event information. For example, the target object could refer to a specific operations and maintenance personnel.
[0058] In this embodiment, by acquiring multiple alarm information tables and push configuration tables corresponding to each of the multiple target platforms, and pushing alarm events based on these tables, information is pushed to multiple platforms. On one hand, this achieves unified system processing of alarm event information pushes across multiple platforms, avoiding the maintenance of alarm information push operations for multiple platforms and effectively reducing maintenance costs. On the other hand, by using information tables to differentiate and record alarm event information and push methods for different target platforms, effective management of relevant information for different platforms is achieved, thereby improving the efficiency and reliability of information push.
[0059] Therefore, the method provided in this application achieves the goal of processing alarm information push from multiple platforms through a unified system, thereby reducing the technical effect of operation and maintenance costs. It also solves the technical problem in related technologies where alarm information push operations are maintained at a high cost due to different platforms sending their own alarm information.
[0060] Optionally, in the alarm information processing method provided in this application embodiment, obtaining multiple alarm information tables corresponding to each target platform among multiple target platforms includes: obtaining multiple alarm record sheets sent by each target platform among multiple target platforms, wherein different alarm record sheets of the target platforms include initial event information of different alarm events in the target platform; extracting the event occurrence time, event object, event level and event content of the alarm event from the initial event information through preset data extraction rules; determining the event occurrence time, event object, event level, event content and initial flag bit of each alarm event as the event information of the alarm event, and generating multiple alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bit is used to characterize the push status of multiple push methods.
[0061] Optionally, alarm log forms can be filled out by users through the target platform's human-computer interaction interface, or they can be automatically generated by the target platform. For example, if the alarm log form is automatically generated by the target platform, it can be an alarm log. An alarm log form is used to record the initial event information of an alarm event.
[0062] Optionally, the initial event information in the alarm log includes basic data of the alarm event, such as the time of occurrence, the object of the event, the event level, and the event content. It may also include other information related to the alarm event.
[0063] Optionally, the data extraction rules are manually preset. Data extraction rules refer to algorithms or steps pre-defined based on the structural characteristics of alarm information, used to extract key fields (such as the time of the event, the object of the event, the event level, and the event content) from initial event information. For example, a sub-rule in the data extraction rules could be: determine the first line of information in the alarm record as the time of the event, etc.
[0064] Optionally, after determining the event occurrence time, event target, event level, and event content of each alarm event in each alarm log, for each alarm event, the event occurrence time, event target, event level, event content, and initial flag are determined as the event information for that alarm event. Furthermore, the initial flag is the same for all alarm events.
[0065] Optionally, the initial flag is used to track and record whether alarm information has been successfully sent via various push methods. For example, if the initial flag is 000, the first 0 from left to right indicates that the alarm was not sent via email, the second 0 indicates that it was not sent via SMS, and the third 0 indicates that it was not sent via centralized monitoring.
[0066] After determining the event information of a certain alarm event, import the event information of the alarm event into the alarm information table template to obtain the alarm information table corresponding to the alarm event, and then identify the alarm information table as the alarm information table corresponding to the target platform to which the alarm event belongs.
[0067] It should be noted that, through the above methods, on the one hand, the alarm information table is accurately generated, and on the other hand, the richness of the alarm information table content is improved.
[0068] Optionally, in the alarm information processing method provided in the embodiments of this application, the push configuration table includes the correspondence between the table name of the alarm information table and the push method. The method of determining the target push method of the alarm event in the alarm information table based on the target push configuration table includes: determining the push method corresponding to the table name of the alarm information table from the target push configuration table; and determining the push method corresponding to the table name of the alarm information table as the target push method.
[0069] Optionally, in the push configuration table, the `tablename` field can be set as the primary key. The `tablename` field is used to fill in the name of the alarm information table, and the value corresponding to the primary key in the push configuration table is the push method. That is, in the push configuration table, each record includes the name of an alarm information table and the push method corresponding to that table name. Through the table name field, the push configuration table can be used to find the push method that should be used for a specific alarm information table.
[0070] Therefore, in this embodiment, for each alarm information table, the push method corresponding to the table name of the alarm information table can be determined from the target push configuration table based on the table name of the alarm information table, thereby determining the push method corresponding to the table name of the alarm information table as the target push method.
[0071] It should be noted that the above method effectively links alarm information and push methods, and accurately determines the target push method corresponding to the alarm information.
[0072] Optionally, in the alarm information processing method provided in the embodiments of this application, pushing target event information to a target object through a target push method includes: determining an identifier corresponding to the target push method from the initial flag bit of the alarm information table; and pushing the target event information to the target object through the target push method when the identifier corresponding to the target push method is a first identifier, wherein the first identifier is used to indicate that the alarm event was not pushed through the target push method.
[0073] Optionally, the initial flag may include multiple digits, with each digit corresponding to a push method. The target processing system can determine the digit corresponding to the target push method from the initial flag of the alarm information table based on the correspondence between each digit and the push method.
[0074] For example, assuming the initial flag is 000, the first 0 from left to right corresponds to email push, indicating that email push was not successful; the second 0 corresponds to SMS push, indicating that SMS push was not successful; and the third 0 corresponds to centralized monitoring, indicating that push was not successful. If the target push method is SMS push, then the flag corresponding to the target push method is determined to be the second 0 in "000".
[0075] Optionally, the first identifier is used to indicate that the alarm event was not pushed using the target push method. After determining the identifier corresponding to the target push method, it is determined whether the identifier corresponding to the target push method is the first identifier. For example, in the example of "000" above, "0" is equivalent to the first identifier. Therefore, in this case, it is determined that the alarm event has not been sent through this method, and the target event information can be pushed to the target object through the target push method.
[0076] It should be noted that the above method enables the determination of whether an alarm message has already been pushed through the target push method before pushing the alarm message. In the case that it has not been pushed before, a specific method is used to push the alarm message, avoiding duplicate notifications to the target object, maintaining the effectiveness and reliability of alarm message transmission, and reducing unnecessary interference and resource consumption for users in operation and maintenance work.
[0077] Optionally, in the alarm information processing method provided in the embodiments of this application, after determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table, the method further includes: if the identifier corresponding to the target push method is a second identifier, prohibiting the push of target event information to the target object through the target push method, wherein the second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0078] Optionally, the second identifier may be different from the first identifier; for example, the second identifier may be 1.
[0079] Optionally, if the target processing system finds that the flag corresponding to the target push method (such as email) has been marked as the second flag (e.g., 1, meaning the alarm information has been sent through this method) when checking the initial flag of the alarm information table, the system will automatically skip this push task and will no longer send the same information to the target object.
[0080] For example, suppose the initial flag has been changed to 010. The first bit from left to right is 0, which corresponds to email push, the second bit is 1, which corresponds to SMS push, and the third bit is 0, which corresponds to centralized monitoring. If the target push method is SMS push, then the identifier corresponding to the target push method is determined to be the second identifier. In this case, it is prohibited to push target event information to the target object through this target push method.
[0081] It should be noted that, through the above method, the system can accurately determine the specific sending status of alarm events, effectively avoiding duplicate pushes. This not only saves network resources and server performance, but also greatly improves the work experience of front-line operation and maintenance personnel, enabling them to focus more on handling emergency events that have not yet been notified.
[0082] Optionally, in the alarm information processing method provided in the embodiments of this application, after pushing the target event information to the target object through the target push method, the method further includes: determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table; updating the identifier corresponding to the target push method to a second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0083] For example, assuming the initial flag is 000, the first 0 from left to right corresponds to email push, indicating that the push was not sent via email; the second 0 corresponds to SMS push, indicating that the push was not sent via SMS; and the third 0 corresponds to centralized monitoring, indicating that the push was not sent via centralized monitoring. If the target push method is SMS push, then after pushing the target event information to the target object via the target push method, the initial flag is updated to 010.
[0084] For example, if the target push method is SMS push and email push, then after the target event information is pushed to the target object through the target push method, the initial flag is updated to 110.
[0085] It should be noted that the above method ensures that the status of each alarm message push is accurately recorded, which facilitates subsequent traceability and also prevents the same alarm event from being sent up again, avoiding unnecessary resource consumption and information redundancy.
[0086] Optionally, in the alarm information processing method provided in the embodiments of this application, the push configuration table is also used to record the contact information of the push object of the alarm event. The method of pushing the target event information to the target object through the target push method includes: determining the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; determining the push object as the target object; and pushing the target event information to the target object based on the target push method and the contact information.
[0087] In an optional embodiment, the push object refers to the object used to receive event information for alarm events, and the push configuration table is used to record the contact information of the push object for alarm events under the target push method. For example, if the target push method is SMS push, the contact information can be the push object's phone number; if the target push method is email push, the contact information can be the push object's email address; if the target push method is centralized monitoring, the contact information can be the account or user ID registered by the push object in the centralized monitoring service.
[0088] In the push configuration table, each row includes the name of an alarm information table, the push method corresponding to that table name, and the contact information of the push recipient under that push method.
[0089] Optionally, the target processing system can determine the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table corresponding to the alarm information table, based on the table name of the alarm information table. This identifies the push object as the target object, and the target event information is pushed to the target object based on the target push method and contact information.
[0090] It should be noted that recording the contact information of the target audience in the push configuration table can further improve push efficiency and reliability.
[0091] In an optional embodiment, Figure 3 This is a schematic diagram of the operation of the target processing system provided in the embodiments of this application, such as... Figure 3 As shown, the target processing system can obtain multiple alarm information tables and push configuration tables corresponding to each target platform in multiple target platforms. Then, based on the received alarm information tables and push configuration tables, it determines the target push method for the alarm events in the alarm information tables and the contact information of the corresponding push objects. Based on the target push method and contact information, it pushes alarm information using centralized monitoring, SMS, email, and other methods.
[0092] Therefore, the method provided in this application achieves the goal of processing alarm information push from multiple platforms through a unified system, thereby reducing the technical effect of operation and maintenance costs. It also solves the technical problem in related technologies where alarm information push operations are maintained at a high cost due to different platforms sending their own alarm information.
[0093] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0094] Example 2
[0095] This application also provides an alarm information processing apparatus. It should be noted that the alarm information processing apparatus of this application can be used to execute the alarm information processing method provided in this application. The alarm information processing apparatus provided in this application is described below.
[0096] According to an embodiment of this application, an apparatus for implementing the above-described alarm information processing method is also provided, such as... Figure 4 As shown, the device includes:
[0097] The acquisition module 401 is used to acquire multiple alarm information tables and push configuration tables corresponding to each target platform among multiple target platforms. The different alarm information tables corresponding to the target platform are used to record the event information of different alarm events in the target platform, and the push configuration table corresponding to the target platform is used to record the target push method corresponding to each alarm event of the target platform in multiple push methods.
[0098] The first determining module 402 is used to determine the target push method for each alarm information table based on the target push configuration table, wherein the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs.
[0099] The first processing module 403 is used to process the event information of the alarm events in the alarm information table based on the data processing method corresponding to the target push method, so as to obtain the target event information;
[0100] The second processing module 404 is used to push target event information to the target object through a target push method.
[0101] In this embodiment, by acquiring multiple alarm information tables and push configuration tables corresponding to each of the multiple target platforms, and pushing alarm events based on these tables, information is pushed to multiple platforms. On one hand, this achieves unified system processing of alarm event information pushes across multiple platforms, avoiding the maintenance of alarm information push operations for multiple platforms and effectively reducing maintenance costs. On the other hand, by using information tables to differentiate and record alarm event information and push methods for different target platforms, effective management of relevant information for different platforms is achieved, thereby improving the efficiency and reliability of information push.
[0102] Therefore, the method provided in this application achieves the goal of processing alarm information push from multiple platforms through a unified system, thereby reducing the technical effect of operation and maintenance costs. It also solves the technical problem in related technologies where alarm information push operations are maintained at a high cost due to different platforms sending their own alarm information.
[0103] Optionally, in the alarm information processing device provided in this application embodiment, the acquisition module further includes: an acquisition submodule, used to acquire multiple alarm record sheets sent by each of multiple target platforms, wherein the different alarm record sheets of the target platforms include initial event information of different alarm events in the target platforms; an extraction submodule, used to extract the event occurrence time, event object, event level and event content of the alarm event from the initial event information through preset data extraction rules; and a first determination submodule, used to determine the event occurrence time, event object, event level, event content and initial flag bit of each alarm event as the event information of the alarm event, and generate multiple alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bit is used to characterize the push status of multiple push methods.
[0104] Optionally, in the alarm information processing device provided in the embodiments of this application, the push configuration table includes the correspondence between the table name of the alarm information table and the push method. The first determining module further includes: a second determining submodule, used to determine the push method corresponding to the table name of the alarm information table from the target push configuration table; and a third determining submodule, used to determine the push method corresponding to the table name of the alarm information table as the target push method.
[0105] Optionally, in the alarm information processing device provided in the embodiments of this application, the second processing module further includes: a fourth determining submodule, used to determine an identifier corresponding to the target push method from the initial flag bit of the alarm information table; and a first processing submodule, used to push the target event information to the target object through the target push method when the identifier corresponding to the target push method is the first identifier, wherein the first identifier is used to indicate that the alarm event was not pushed in the target push method.
[0106] Optionally, in the alarm information processing device provided in the embodiments of this application, the alarm information processing device further includes: a third processing module, used to prohibit the push of target event information to target object through target push method when the identifier corresponding to the target push method is a second identifier, wherein the second identifier is used to indicate that the alarm event is pushed through the target push method.
[0107] Optionally, in the alarm information processing device provided in the embodiments of this application, the alarm information processing device further includes: a second determining module, used to determine an identifier corresponding to the target push method from the initial flag bit of the alarm information table; and a fourth processing module, used to update the identifier corresponding to the target push method to a second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed out in the target push method.
[0108] Optionally, in the alarm information processing device provided in this application embodiment, the push configuration table is further used to record the contact information of the push object of the alarm event. The second processing module further includes: a fifth determining submodule, used to determine the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; and a second processing submodule, used to determine the push object as the target object, and push the target event information to the target object based on the target push method and contact information.
[0109] It should be noted that the acquisition module 401, the first determination module 402, the first processing module 403, and the second processing module 404 mentioned above correspond to steps S201 to S204 in Embodiment 1. The four modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in Embodiment 1. It should be noted that the above modules or units can be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above modules can also be part of a device and run in the computer terminal 10 provided in Embodiment 1.
[0110] Example 3
[0111] Embodiments of this application may provide an electronic device. Figure 5 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 5 As shown, the electronic device may include: one or more ( Figure 5 (Only one is shown) processor 1002, memory 1004, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0112] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-described methods. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0113] The processor can access information and applications stored in memory via a transmission device to perform the following steps: acquiring multiple alarm information tables and push configuration tables corresponding to each of multiple target platforms. The alarm information tables for each target platform record event information for different alarm events within that platform, and the push configuration table records the target push method for each alarm event among multiple push methods. For each alarm information table, the target push method for the alarm events in that table is determined based on the target push configuration table, where the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs. The event information of the alarm events in the alarm information table is processed based on the data processing method corresponding to the target push method to obtain target event information. The target event information is then pushed to the target object using the target push method.
[0114] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: acquire multiple alarm record sheets sent by each target platform, wherein the different alarm record sheets of the target platforms include the initial event information of different alarm events in the target platform; extract the event occurrence time, event object, event level and event content of the alarm event from the initial event information through preset data extraction rules; determine the event occurrence time, event object, event level, event content and initial flag bit of each alarm event as the event information of the alarm event, and generate multiple alarm information tables corresponding to each target platform based on the event information of each target platform, wherein the initial flag bit is used to represent the push status of multiple push methods.
[0115] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the push method corresponding to the table name of the alarm information table from the target push configuration table; and determine the push method corresponding to the table name of the alarm information table as the target push method.
[0116] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; if the identifier corresponding to the target push method is the first identifier, push the target event information to the target object through the target push method, wherein the first identifier is used to indicate that the alarm event was not pushed in the target push method.
[0117] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: after determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table, if the identifier corresponding to the target push method is the second identifier, the push of the target event information to the target object through the target push method is prohibited, wherein the second identifier is used to indicate that the alarm event is pushed through the target push method.
[0118] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: after pushing the target event information to the target object through the target push method, determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; update the identifier corresponding to the target push method to the second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed through the target push method.
[0119] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; determine the push object as the target object, and push the target event information to the target object based on the target push method and contact information.
[0120] In this embodiment, by acquiring multiple alarm information tables and push configuration tables corresponding to each of the multiple target platforms, and pushing alarm events based on these tables, information is pushed to multiple platforms. On one hand, this achieves unified system processing of alarm event information pushes across multiple platforms, avoiding the maintenance of alarm information push operations for multiple platforms and effectively reducing maintenance costs. On the other hand, by using information tables to differentiate and record alarm event information and push methods for different target platforms, effective management of relevant information for different platforms is achieved, thereby improving the efficiency and reliability of information push.
[0121] Therefore, the method provided in this application achieves the goal of processing alarm information push from multiple platforms through a unified system, thereby reducing the technical effect of operation and maintenance costs. It also solves the technical problem in related technologies where alarm information push operations are maintained at a high cost due to different platforms sending their own alarm information.
[0122] Those skilled in the art will understand that Figure 5 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 5 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 5The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 5 The different configurations shown.
[0123] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0124] Example 4
[0125] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the alarm information processing method provided in Embodiment 1.
[0126] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0127] This application also provides a computer program product, which, when executed on a data processing device, is suitable for performing alarm information processing method steps.
[0128] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0129] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0130] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0131] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0132] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0133] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0134] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for processing alarm information, characterized in that, include: Obtain multiple alarm information tables and push configuration tables corresponding to each target platform among multiple target platforms. The different alarm information tables corresponding to the target platform are used to record the event information of different alarm events in the target platform, and the push configuration table corresponding to the target platform is used to record the target push method corresponding to each alarm event of the target platform among multiple push methods. For each alarm information table, the target push method for the alarm events in the alarm information table is determined based on the target push configuration table, wherein the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs; Based on the data processing method corresponding to the target push method, the event information of the alarm event in the alarm information table is processed to obtain the target event information; The target event information is pushed to the target object using the target push method.
2. The method according to claim 1, characterized in that, Retrieve multiple alarm information tables for each target platform from multiple target platforms, including: Acquire multiple alarm record sheets sent by each target platform from multiple target platforms, wherein the different alarm record sheets of the target platforms include the initial event information of different alarm events in the target platform; The alarm event's occurrence time, event target, event level, and event content are extracted from the initial event information using preset data extraction rules. The event occurrence time, event object, event level, event content, and initial flag bit of each alarm event are determined as the event information of the alarm event. Based on the event information of each target platform, multiple alarm information tables corresponding to each target platform are generated. The initial flag bit is used to represent the push status of the multiple push methods.
3. The method according to claim 1, characterized in that, The push configuration table includes the correspondence between the table name of the alarm information table and the push method. Determining the target push method for alarm events in the alarm information table based on the target push configuration table includes: Determine the push method corresponding to the table name of the alarm information table from the target push configuration table; The push method corresponding to the table name of the alarm information table is determined as the target push method.
4. The method according to claim 2, characterized in that, Pushing the target event information to the target object through the target push method includes: Determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; When the identifier corresponding to the target push method is the first identifier, the target event information is pushed to the target object through the target push method, wherein the first identifier is used to indicate that the alarm event is not pushed in the target push method.
5. The method according to claim 4, characterized in that, After determining the identifier corresponding to the target push method from the initial flag bit of the alarm information table, the method further includes: When the identifier corresponding to the target push method is the second identifier, it is prohibited to push the target event information to the target object through the target push method. The second identifier is used to indicate that the alarm event has been pushed through the target push method.
6. The method according to claim 2, characterized in that, After pushing the target event information to the target object using the target push method, the method further includes: Determine the identifier corresponding to the target push method from the initial flag bit of the alarm information table; Update the identifier corresponding to the target push method to the second identifier, wherein the second identifier is used to indicate that the alarm event has been pushed out using the target push method.
7. The method according to claim 1, characterized in that, The push configuration table is also used to record the contact information of the target recipients of the alarm events, wherein pushing the target event information to the target recipients via the target push method includes: Determine the contact information of the push object corresponding to the alarm event in the alarm information table from the target push configuration table; The target object is identified as the target object, and the target event information is pushed to the target object based on the target push method and the contact information.
8. An alarm information processing device, characterized in that, include: The acquisition module is used to acquire multiple alarm information tables and push configuration tables corresponding to each target platform among multiple target platforms. The different alarm information tables corresponding to the target platforms are used to record the event information of different alarm events in the target platform, and the push configuration tables corresponding to the target platforms are used to record the target push method corresponding to each alarm event of the target platform among multiple push methods. The first determining module is used to determine the target push method for each alarm information table based on the target push configuration table, wherein the target push configuration table refers to the push configuration table of the target platform to which the alarm information table belongs. The first processing module is used to process the event information of the alarm events in the alarm information table based on the data processing method corresponding to the target push method, so as to obtain the target event information; The second processing module is used to push the target event information to the target object through the target push method.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device containing the computer-readable storage medium to perform the alarm information processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, executes the alarm information processing method according to any one of claims 1 to 7.
11. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the steps of the alarm information processing method according to any one of claims 1 to 7.