Alarm information processing method, device, electronic device and storage medium

By receiving alarm information in the alarm system and determining the target hierarchical structure, combined with the recipient information table, the target recipient of the alarm information is quickly determined, which solves the problems of time-consuming alarm information processing and missed reporting in the existing technology, and achieves efficient Alarm information delivery and system versatility.

CN114741425BActive Publication Date: 2024-10-22SHANGHAI JUNZHENG NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210389070.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-10-22
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

When processing alarm information, the existing alarm system requires operation and maintenance personnel to manually input and match information, which is time-consuming and prone to missed reports. Especially when a large amount of alarm information is generated, the system is busy and cannot quickly determine the target recipient.

Method used

By receiving the scene information and node information in the alarm information, the target hierarchical structure is determined, and the node information matching results are generated. The target recipient is determined based on the recipient information table, so that the alarm information can be sent quickly to avoid missed reports.

Benefits of technology

It improves the working efficiency of the alarm system, ensures that alarm information is not missed, and enhances the versatility and flexibility of the system through the preset hierarchical structure and cover recipient mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114741425B_ABST
    Figure CN114741425B_ABST
Patent Text Reader

Abstract

The present invention provides an alarm information processing method, device, electronic device and storage medium, wherein the method comprises: receiving alarm information, wherein the alarm information comprises scene information and node information; determining the target hierarchical structure corresponding to the alarm information according to the scene information in the alarm information; generating a node information matching result according to the node information in the alarm information and the target hierarchical structure; determining the target recipient of the alarm information according to the node information matching result and a recipient information table, and sending the alarm information to the target recipient, wherein the recipient information table comprises the correspondence between the node information and the recipient. By analyzing the alarm information, it is quickly determined whether there is a node corresponding to the alarm information in the target hierarchical structure, without traversing all nodes, and different target recipients are determined according to the matching results, thereby improving the working efficiency of the alarm system and ensuring that the alarm information is not missed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of alarm management, and in particular to an alarm information processing method, device, electronic equipment and storage medium. Background Art

[0002] The alarm system is a common computer system that is widely used in various industries such as industrial control, commercial risk control, and the Internet of Things. In existing solutions, when an alarm message is generated, the operation and maintenance personnel are often required to accurately send the alarm message to the corresponding recipient, which increases the pressure on the operation and maintenance personnel; or the data in the alarm system must be traversed to find the correct recipient, which is not only time-consuming, but also causes the alarm system to be busy when a large number of alarm messages are generated.

[0003] For example, the comparative document CN113986689A mentions a custom configuration alarm method, system and terminal, the method comprising: pre-defining the alarm types, alarm levels and alarm delivery objects corresponding to multiple alarm information respectively to generate an alarm database; when a system event is detected to trigger an alarm event, the alarm information is input into the alarm database to determine the alarm type, alarm level and alarm delivery object of the current alarm event; the alarm type, alarm level and alarm delivery object of the current alarm event are displayed in the form of an alarm view, and the alarm event is reminded to the alarm delivery object in the form of a prompt box. In this solution, when a system event is detected to trigger an alarm event, the operation and maintenance personnel need to input the keywords of the alarm information into the alarm database and check the corresponding alarm type, alarm level and alarm time; only after matching the alarm database can the alarm type, alarm level and alarm delivery object of the current alarm event be determined, which is time-consuming and labor-intensive. In addition, when new alarm information is generated, that is, the alarm information has no relevant record in the alarm database, the system cannot determine the alarm delivery object, which will cause the alarm information to be missed. Summary of the invention

[0004] Based on this, it is necessary to provide an alarm information processing method, device, electronic device and storage medium that can quickly determine the target recipient of the alarm information and not miss new alarm information in order to address the above technical problems.

[0005] In a first aspect, a method for processing alarm information is provided, the method comprising:

[0006] Receiving alarm information, wherein the alarm information includes scene information and node information;

[0007] Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0008] Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0009] The target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0010] In one embodiment, generating a node information matching result according to the node information in the alarm information and the target hierarchical structure includes:

[0011] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0012] determining whether the first level belongs to the target level structure,

[0013] If it does not belong, generate the first matching result;

[0014] If yes, a matching result is generated according to the node information and the first-level node set.

[0015] In one embodiment, generating a matching result according to the node information and the first-level node set includes:

[0016] Determining whether the node information belongs to the first-level node set;

[0017] If yes, generate a second matching result;

[0018] If not, generate the first matching result.

[0019] In one embodiment, determining the target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0020] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0021] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0022] In one of the embodiments, if the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0023] In one of the embodiments, if the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0024] In one embodiment, before receiving the alarm information, the method further includes:

[0025] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0026] In another aspect, a warning information processing device is provided, the device comprising:

[0027] A receiving module, used to receive alarm information, wherein the alarm information includes scene information and node information;

[0028] A determination module, configured to determine a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0029] A generating module, used for generating a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0030] The sending module is used to determine the target recipient of the alarm information according to the node information matching result and the recipient information table, and send the alarm information to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0031] In one embodiment, the generating module generates a matching result according to the node information in the alarm information and the target hierarchical structure, including:

[0032] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0033] determining whether the first level belongs to the target level structure,

[0034] If it does not belong, generate the first matching result;

[0035] If yes, a matching result is generated according to the node information and the first-level node set.

[0036] In one embodiment, the generating module generates a matching result according to the node information and the first-level node set, including:

[0037] Determining whether the node information belongs to the first-level node set;

[0038] If yes, generate a second matching result;

[0039] If not, generate the first matching result.

[0040] In one embodiment, the sending module determines the target recipient of the alarm information according to the node information matching result and the recipient information table, including:

[0041] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0042] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0043] In one of the embodiments, if the second recipient information corresponding to the node information does not exist in the recipient information table, the sending module uses the first recipient corresponding to the scenario information as the target recipient.

[0044] In one of the embodiments, if the first recipient information corresponding to the scenario information does not exist in the recipient information table, the sending module uses the backup recipient as the target recipient.

[0045] In one embodiment, before the receiving module receives the alarm information, the receiving module further includes:

[0046] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0047] In another aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0048] Receiving alarm information, wherein the alarm information includes scene information and node information;

[0049] Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0050] Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0051] The target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0052] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0053] Generating a node information matching result according to the node information in the warning information and the target hierarchical structure includes:

[0054] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0055] determining whether the first level belongs to the target level structure,

[0056] If it does not belong, generate the first matching result;

[0057] If yes, a matching result is generated according to the node information and the first-level node set.

[0058] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0059] The generating a matching result according to the node information and the first-level node set includes:

[0060] Determining whether the node information belongs to the first-level node set;

[0061] If yes, generate a second matching result;

[0062] If not, generate the first matching result.

[0063] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0064] Determining a target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0065] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0066] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0067] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0068] If the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0069] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0070] If the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0071] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0072] Before receiving the alarm information, it also includes:

[0073] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0074] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0075] Receiving alarm information, wherein the alarm information includes scene information and node information;

[0076] Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0077] Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0078] The target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0079] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0080] Generating a node information matching result according to the node information in the warning information and the target hierarchical structure includes:

[0081] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0082] determining whether the first level belongs to the target level structure,

[0083] If it does not belong, generate the first matching result;

[0084] If yes, a matching result is generated according to the node information and the first-level node set.

[0085] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0086] The generating a matching result according to the node information and the first-level node set includes:

[0087] Determining whether the node information belongs to the first-level node set;

[0088] If yes, generate a second matching result;

[0089] If not, generate the first matching result.

[0090] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0091] Determining a target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0092] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0093] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0094] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0095] If the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0096] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0097] If the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0098] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0099] Before receiving the alarm information, it also includes:

[0100] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0101] By receiving alarm information, wherein the alarm information includes scene information and node information; determining a target hierarchical structure corresponding to the alarm information according to the scene information in the alarm information; generating a node information matching result according to the node information in the alarm information and the target hierarchical structure; determining a target recipient of the alarm information according to the node information matching result and a recipient information table, and sending the alarm information to the target recipient, wherein the recipient information table includes a correspondence between node information and recipients, thereby achieving rapid determination of the target recipient of the alarm information and no omission of new alarm information.

[0102] At the same time, different hierarchical structures are preset in different application scenarios, and when there is no second recipient corresponding to the node information, the second recipient is configured by the first recipient corresponding to the scenario information; when there is no first recipient, the first recipient is configured by the backup recipient, which plays the role of improving the alarm system, thereby generating an alarm system with good versatility and high flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0103] Figure 1 A flowchart of a method for processing alarm information;

[0104] Figure 2 A schematic diagram of the steps of the method for processing alarm information;

[0105] Figure 3 Display diagram for the generated hierarchical structure page;

[0106] Figure 4 The page display diagram for configuring recipients;

[0107] Figure 5 It is a structural diagram of an alarm information processing device;

[0108] Figure 6 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0109] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0110] The alarm information processing method provided in this application can be applied to Figure 1In the flowchart of the alarm information processing method shown in the figure, the target hierarchical structure is confirmed from the alarm system according to the scene information in the alarm information; the node information matching result is generated according to the node information in the alarm information and the target hierarchical structure, and whether there is a node corresponding to the node information in the target hierarchical structure is quickly determined, without traversing the node set in the target hierarchical structure, thereby improving the working efficiency of the alarm system; the target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient to ensure that the alarm information is not missed.

[0111] Among them, the alarm system includes multiple hierarchical structures, the hierarchical structure includes multiple levels, the level includes a node set, the node set includes multiple node information, and the recipient information table includes the correspondence between the scene information and the first recipient, the correspondence between the node information and the second recipient, and the backup recipient information.

[0112] In one embodiment, Figure 2 As shown, the present invention provides a method for processing alarm information, characterized in that the method comprises:

[0113] S201, receiving alarm information, wherein the alarm information includes scene information and node information;

[0114] S202, determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0115] S203, generating a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0116] S204. Determine a target recipient of the alarm information according to the node information matching result and a recipient information table, and send the alarm information to the target recipient, wherein the recipient information table includes a correspondence between node information and recipients.

[0117] Through the above-mentioned alarm information processing method, it is possible to quickly determine the target recipient of the alarm information and avoid missing new alarm information.

[0118] In one embodiment, generating a node information matching result according to the node information in the alarm information and the target hierarchical structure includes:

[0119] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0120] determining whether the first level belongs to the target level structure,

[0121] If it does not belong, generate the first matching result;

[0122] If yes, a matching result is generated according to the node information and the first-level node set.

[0123] Specifically, Figure 3 The page display diagram of the generated hierarchical structure, wherein when an alarm information is received, for example, a hitchhiking car has a traffic accident in Jiangxing Street, it can be known that the scene information is the hitchhiking car and the node information is Jiangxing Street. According to the scene information of the hitchhiking car, the corresponding target hierarchical structure is selected from the alarm system, such as region->province->city->county, and then by retrieving the keyword (street) in the node information Jiangxing Street, it is determined that the first level corresponding to the node information is the street. When it is determined that the first level of the street corresponding to the alarm information does not belong to the target hierarchical structure corresponding to the hitchhiking car, it can be known that the alarm information does not match the target hierarchical structure in the current alarm system. There is no need to continue to retrieve the levels in the target hierarchical structure and the node sets contained in the levels, and the first matching result of the failed matching is generated immediately. For example, if a supermarket product shortage alarm is received from Baohe Wanda, it can be known that the scene information is a supermarket and the node information is Baohe Wanda. According to the supermarket scene information, the corresponding target hierarchical structure is selected from the alarm system, such as region->province->city->grid, and then it is confirmed that the first level corresponding to the node information is the grid. When it is determined that the first level of the grid corresponding to the alarm information belongs to the target hierarchical structure corresponding to the supermarket, the matching result is generated according to the node information of Baohe Wanda and the first level node set of the grid in the target hierarchical structure.

[0124] In one embodiment, generating a matching result according to the node information and the first-level node set includes:

[0125] Determining whether the node information belongs to the first-level node set;

[0126] If yes, generate a second matching result;

[0127] If not, generate the first matching result.

[0128] Specifically, taking the above-mentioned alarm information of supermarket commodity shortage received from Baohe Wanda as an example, when it is determined that the first level of the grid corresponding to the node information belongs to the target hierarchical structure corresponding to the supermarket, the node set included in the grid level in the target hierarchical structure is retrieved, and when it is retrieved that Baohe Wanda belongs to the node set, a second matching result of successful matching is generated; when it is retrieved that Baohe Wanda does not belong to the node set, a second matching result of failed matching is generated.

[0129] In one embodiment, determining the target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0130] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0131] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0132] Specifically, taking the above-mentioned alarm information received about a traffic accident involving a ride-sharing car in Jiangxing Street as an example, when the first matching result of failed matching is immediately generated, the recipient information table is retrieved, and the first recipient corresponding to the ride-sharing scene information, such as Zhang San, is determined from the recipient information table as the target recipient. After Zhang San is selected as the target recipient, he has the authority to configure the hierarchical structure corresponding to the ride-sharing car, add a street level to the hierarchical structure, and add the Jiangxing Street node to the street level; taking the above-mentioned alarm information about the shortage of supermarket goods in Baohe Wanda as an example, because the second matching result of successful matching is generated, and the second recipient information corresponding to the Baohe Wanda node information in the recipient information table is retrieved, including Li Si and Li Si’s contact information such as telephone number, Li Si is selected as the target recipient of the alarm information.

[0133] In one of the embodiments, if the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0134] Specifically, taking the above-mentioned alarm information about supermarket commodity shortages received in Baohe Wanda as an example, when the second recipient information corresponding to the Baohe Wanda node information is retrieved in the recipient information table, that is, there is no contact information of Li Si such as telephone number, etc., the first recipient Wang Wu corresponding to the supermarket scene information is determined as the target recipient, and after Wang Wu is the target recipient, he has the authority to configure the recipient information table, that is, to add the contact information of the second recipient Li Si in the recipient information table.

[0135] In one of the embodiments, if the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0136] Specifically, taking the above-mentioned alarm information received about a traffic accident involving a ride-sharing car in Jiangxing Street as an example, when the contact information of the first recipient Zhang San is not found in the recipient information table, the backup recipient Zhao Liu is determined as the target recipient of the alarm information; taking the above-mentioned alarm information about the shortage of supermarket goods received in Baohe Wanda as an example, when the contact information of the first recipient Wang Wu is not found in the recipient information table, the backup recipient Zhao Liu is determined as the target recipient of the alarm information, and Zhao Liu, as the backup recipient, always has the authority to configure the alarm system including the hierarchical structure and the recipient information table, that is, Zhao Liu can add Wang Wu's contact information in the recipient information table, or configure a new first recipient and second recipient when there is no first recipient corresponding to the supermarket, where the page effect can be Figure 4 Figure 14 shows the page display for configuring recipients.

[0137] In one embodiment, before receiving the alarm information, the method further includes:

[0138] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0139] Specifically, before receiving the alarm information, you can access the data source to obtain data to automatically build a hierarchical structure. Of course, this method is also applicable to various types of databases such as mysql and pg as data sources. The hierarchical structure can also be manually configured by the administrator of the alarm system, and multiple hierarchical structures can be generated according to the database under different scenario information; the dimension is the general attribute in the database field, such as city, store name, vehicle type, etc., and the indicator is the attribute that describes the dimension in the database field, such as sales, sales volume, etc. The custom name, node set, id field, and name field of each level are determined according to the dimension. The id is generally a unique uuid automatically generated in the database, such as DE12F, which can never be changed. The name will have a meaning, such as Xiangyang City, which can be changed in the database. Now it may be changed to Xiangfan City. When accessing a data source whose scene information is a supermarket, first determine the target hierarchical structure according to the dimensions in the database, such as region->province->city->grid, and then generate node sets in the hierarchy according to the dimensions in the database. For example, the node set in the Jiangnan province hierarchy includes multiple nodes such as Xiangyang City, and the node set in the Xiangyang city hierarchy includes multiple nodes such as Baohe Wanda.

[0140] The solution of this application has the following beneficial effects:

[0141] 1) By analyzing the node information in the alarm information, it is quickly determined whether there is a node corresponding to the alarm information in the target hierarchical structure, without traversing all the nodes in the target hierarchical structure, thereby improving the working efficiency of the alarm system;

[0142] 2) Determine different target recipients based on the node information matching results to ensure that no alarm information is missed; and at this time, the target recipient has the authority to configure and improve the alarm system;

[0143] 3) It is possible to generate respective hierarchical structures according to multiple databases in different scenarios to enhance the versatility of the alarm system.

[0144] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0145] In one embodiment, Figure 5 As shown, a warning information processing device is provided, comprising:

[0146] The receiving module 501 is used to receive alarm information, wherein the alarm information includes scene information and node information;

[0147] A determination module 502, configured to determine a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0148] A generating module 503, configured to generate a node information matching result according to the node information in the warning information and the target hierarchical structure;

[0149] The sending module 504 is used to determine the target recipient of the alarm information according to the node information matching result and the recipient information table, and send the alarm information to the target recipient, wherein the recipient information table includes the correspondence between the node information and the recipient.

[0150] In one embodiment, the generating module generates a matching result according to the node information in the alarm information and the target hierarchical structure, including:

[0151] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0152] determining whether the first level belongs to the target level structure,

[0153] If it does not belong, generate the first matching result;

[0154] If yes, a matching result is generated according to the node information and the first-level node set.

[0155] In one embodiment, the generating module generates a matching result according to the node information and the first-level node set, including:

[0156] Determining whether the node information belongs to the first-level node set;

[0157] If yes, generate a second matching result;

[0158] If not, generate the first matching result.

[0159] In one embodiment, the sending module determines the target recipient of the alarm information according to the node information matching result and the recipient information table, including:

[0160] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0161] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0162] In one of the embodiments, if the second recipient information corresponding to the node information does not exist in the recipient information table, the sending module uses the first recipient corresponding to the scenario information as the target recipient.

[0163] In one of the embodiments, if the first recipient information corresponding to the scenario information does not exist in the recipient information table, the sending module uses the backup recipient as the target recipient.

[0164] In one embodiment, before the receiving module receives the alarm information, the receiving module further includes:

[0165] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0166] For the specific definition of the alarm information processing device, please refer to the definition of the alarm information processing method above, which will not be repeated here. Each module in the above alarm information processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0167] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the alarm information processing method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0168] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0169] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0170] Receiving alarm information, wherein the alarm information includes scene information and node information;

[0171] Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0172] Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0173] The target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0174] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0175] Generating a node information matching result according to the node information in the warning information and the target hierarchical structure includes:

[0176] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0177] determining whether the first level belongs to the target level structure,

[0178] If it does not belong, generate the first matching result;

[0179] If yes, a matching result is generated according to the node information and the first-level node set.

[0180] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0181] The generating a matching result according to the node information and the first-level node set includes:

[0182] Determining whether the node information belongs to the first-level node set;

[0183] If yes, generate a second matching result;

[0184] If not, generate the first matching result.

[0185] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0186] Determining a target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0187] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0188] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0189] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0190] If the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0191] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0192] If the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0193] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0194] Before receiving the alarm information, it also includes:

[0195] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0196] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0197] Receiving alarm information, wherein the alarm information includes scene information and node information;

[0198] Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information;

[0199] Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure;

[0200] The target recipient of the alarm information is determined according to the node information matching result and the recipient information table, and the alarm information is sent to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

[0201] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0202] Generating a node information matching result according to the node information in the warning information and the target hierarchical structure includes:

[0203] Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set,

[0204] determining whether the first level belongs to the target level structure,

[0205] If it does not belong, generate the first matching result;

[0206] If yes, a matching result is generated according to the node information and the first-level node set.

[0207] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0208] The generating a matching result according to the node information and the first-level node set includes:

[0209] Determining whether the node information belongs to the first-level node set;

[0210] If yes, generate a second matching result;

[0211] If not, generate the first matching result.

[0212] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0213] Determining a target recipient of the alarm information according to the node information matching result and the recipient information table includes:

[0214] If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient;

[0215] If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

[0216] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0217] If the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

[0218] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0219] If the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

[0220] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0221] Before receiving the alarm information, it also includes:

[0222] A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

[0223] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0224] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0225] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for processing alarm information, characterized in that: The method comprises: Receiving alarm information, wherein the alarm information includes scene information and node information; Determining a target hierarchical structure corresponding to the warning information according to the scene information in the warning information; Generate a node information matching result according to the node information in the alarm information and the target hierarchical structure; Determine the target recipient of the alarm information according to the node information matching result and the recipient information table, and send the alarm information to the target recipient, wherein the recipient information table includes the correspondence between the node information and the recipient; The generating of the node information matching result according to the node information in the warning information and the target hierarchical structure includes: Determine, according to the node information, a first level corresponding to the node information, wherein the first level includes a first level node set, determining whether the first level belongs to the target level structure, If it does not belong, generate the first matching result; If so, generating a matching result according to the node information and the first-level node set, including: generating a matching result according to the node information and the first-level node set, determining whether the node information belongs to the first-level node set, and if so, generating a second matching result; if not, generating a first matching result; The determining the target recipient of the alarm information according to the node information matching result and the recipient information table includes: If the matching result is the first matching result, the first recipient corresponding to the scene information is used as the target recipient; If the matching result is the second matching result, and the second recipient information corresponding to the node information exists in the recipient information table, the second recipient corresponding to the node information is used as the target recipient.

2. The method according to claim 1, characterized in that If the second recipient information corresponding to the node information does not exist in the recipient information table, the first recipient corresponding to the scene information is used as the target recipient.

3. The method according to claim 1 or 2, characterized in that: If the first recipient information corresponding to the scenario information does not exist in the recipient information table, the backup recipient is used as the target recipient.

4. The method according to claim 1, characterized in that: Before receiving the alarm information, it also includes: A hierarchical structure corresponding to each scene information is preset, each hierarchical structure includes levels, and each level includes a node set.

5. A device for implementing the alarm information processing method according to claim 1, characterized in that: The device comprises: A receiving module, used to receive alarm information, wherein the alarm information includes scene information and node information; A determination module, configured to determine a target hierarchical structure corresponding to the warning information according to the scene information in the warning information; A generating module, used for generating a node information matching result according to the node information in the alarm information and the target hierarchical structure; The sending module is used to determine the target recipient of the alarm information according to the node information matching result and the recipient information table, and send the alarm information to the target recipient, wherein the recipient information table includes the corresponding relationship between the node information and the recipient.

6. An electronic device, characterized in that: include: one or more processors; and a memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the method according to any one of claims 1 to 4.

7. A computer storage medium, characterized in that: A computer program is stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Custom configuration alarm method, system and terminal

    CN113986689A

  • Alarm information processing method and device

    CN110321268A

  • Monitoring method and device, server and storage medium

    CN110855473A

  • Database fault automatic positioning method and device and electronic equipment

    CN112559376A

  • Communication network and method which respond to a failed link

    US5581543A