Alarm mail processing method, device, electronic device and storage medium
By setting up an ignore list and integrating user responses with the last alarm processing results, emails with low alarm levels are filtered, which solves the problem of too many alarm emails in the monitoring system and improves the efficiency and effectiveness of alarm email processing.
Patent Information
- Application Number
- CN202110918234.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-11
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-08-11
AI Technical Summary
In the existing technology, alarm emails from the monitoring system are too frequent, resulting in a large number of invalid alarm emails, and users need to spend a lot of time sorting and summarizing them to obtain effective information.
By setting the ignore list and comprehensive user replies and the last alarm processing results, emails with alarm levels lower than the threshold are filtered, and alarm emails at the current moment are processed to obtain effective alarm processing results.
The number of alarm emails is reduced and the effectiveness of alarm email processing is improved. Users can obtain the total information of each alarm without manual aggregation.
Smart Images

Figure CN113645073B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of alarm processing, and in particular to an alarm mail processing method, device, electronic device and storage medium. Background Art
[0002] In order to monitor the operating status of the system, various monitoring items will be configured. When an exception occurs, it will be sent to the corresponding developer via SMS, email, or a combination of the two. In order to detect problems in a timely manner, most monitoring items will be triggered every 15 minutes or so, which is a high-frequency alarm. When this type of alarm is triggered, if it cannot be restored temporarily due to various reasons such as partners, users, system abnormalities, etc., a large number of alarm text messages and emails will be generated. Some teams receive about 500 alarm emails per day, and some teams even receive thousands of alarm emails per day.
[0003] Currently, once an alarm is triggered, the alarm information will be sent to the person in charge in the form of an alarm email, resulting in the person in charge receiving a large number of alarm emails every day. However, some alarms may be triggered by mistake, or the alarm has been resolved before the alarm email is sent, so there are many invalid alarm emails among the alarm emails received by users. Users need to sort and summarize a large number of alarm emails to obtain effective information. Therefore, how to effectively handle alarm emails is a problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide an alarm email processing method, device, electronic device and storage medium, set an ignore list, and comprehensively process the alarm email at the current moment based on the user reply and the previous alarm processing result, so as to obtain a valid alarm email.
[0005] In a first aspect, an embodiment of the present application provides a method for processing an alarm email, comprising:
[0006] Obtain multiple first alarm emails at the current moment, the alarm processing results at the previous moment, the ignore list, and the reply results of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing result for multiple second alarm emails at the previous moment, and the ignore list is used to filter alarm emails with an alarm level lower than a threshold;
[0007] Processing the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result to obtain the alarm processing results of the multiple first alarm emails at the current moment;
[0008] Feedback the target user with the alarm processing results of the multiple first alarm emails at the current moment.
[0009] In a second aspect, an embodiment of the present application provides an alarm mail processing device, comprising:
[0010] An acquisition unit, used to acquire multiple first alarm emails at the current moment, the alarm processing result at the previous moment, an ignore list, and the reply result of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing result for multiple second alarm emails at the previous moment, and the ignore list is used to filter alarm emails with an alarm level lower than a threshold;
[0011] A processing unit, configured to process the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result, to obtain the alarm processing results of the multiple first alarm emails at the current moment;
[0012] The sending unit is used to feed back the alarm processing results of the multiple first alarm emails at the current moment to the target user.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the method described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method described in the first aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method described in the first aspect.
[0016] Implementing the embodiments of the present application has the following beneficial effects:
[0017] It can be seen that in the embodiment of the present application, after the alarm mail processing device obtains multiple first alarm mails at the current moment, it does not directly feed back the multiple first alarm mails to the target user, but first filters out the alarm mails with relatively low alarm levels according to a pre-set ignore list to avoid the number of alarm mails; then, it combines the alarm processing result of the previous moment, that is, it processes the current first alarm mail based on the alarm processing result of the previous alarm mail. In this way, the alarm processing result obtained will obtain the alarm information of each moment, so that the alarm processing result fed back to the user directly includes the total alarm information of each alarm, and the user does not need to summarize and organize it to obtain effective alarm information, thereby improving the effectiveness of alarm mail processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A flowchart of an alarm mail processing system provided in an embodiment of the present application;
[0020] Figure 2 A flowchart of a method for processing an alarm email provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of an alarm processing result provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of an ignore list provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a feedback alarm processing result provided in an embodiment of the present application;
[0024] Figure 6 A block diagram of the functional units of an alarm mail processing device provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0028] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0029] See also Figure 1 , Figure 1 An alarm mail processing system is provided in an embodiment of the present application.
[0030] The alarm mail processing system 100 comprises a plurality of first terminal devices 101, an alarm mail processing apparatus 102 and a second terminal device 103. The plurality of first terminal devices 101, the alarm mail processing apparatus 102 and the second terminal device 103 maintain communication connection.
[0031] Exemplarily, at the current moment, when an alarm occurs in any first terminal device 101, the terminal device 101 will send a first alarm email to the alarm email processing device 102 based on the alarm; accordingly, the alarm email processing device 102 can receive multiple first alarm emails at the current moment, and then process the multiple first alarm emails according to the alarm processing results of the multiple second alarm emails at the previous moment and a pre-set ignore list to obtain the alarm processing results of the multiple first alarm emails at the current moment; finally, the alarm email processing device 102 sends the alarm processing results of the multiple first alarm emails at the current moment to the second terminal device 103.
[0032] It should be understood that the terminal devices in this application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices MID (Mobile Internet Devices, referred to as: MID) or wearable devices, etc. The above terminal devices are only examples, not exhaustive, and include but are not limited to the above terminal devices. In practical applications, the above electronic devices may also include: smart vehicle terminals, computer equipment, etc.
[0033] See also Figure 2 , Figure 2 An alarm mail processing method is provided in an embodiment of the present application. The method is applied to the above-mentioned alarm mail processing system. The method comprises the following steps:
[0034] 201: The alarm mail processing device obtains a plurality of first alarm mails at the current moment, the alarm processing result at the previous moment, an ignore list, and the reply result of the user at the current moment to the plurality of first alarm mails.
[0035] Exemplarily, the alarm processing result at the last moment is the alarm processing result of multiple second alarm emails at the last moment. Figure 3 As shown, the alarm processing results of multiple second alarm emails at the last moment include the alarm level (level), title (title), summary (latest body), whether it is repaired (is recover), latest alarm time (latest time), ignore deadline (ignore end time), number of alarms (times), and subsequent operations (action) of the second alarm email. Among them, the summary refers to the summary content of the main text in the second alarm email, and the ignore deadline is the deadline before which the alarm email can be ignored. For example, the ignore deadline of the second alarm email is June 1, 2021, then before June 1, 2021, the alarm email can be ignored, and there is no need to send the second alarm email to the target user. Subsequent operations are the actions that the user needs to perform on the alarm event indicated by the alarm email.
[0036] Exemplarily, the ignore list is used to filter alarm emails whose alarm levels are lower than a threshold. There are alarm levels for alarm emails, for example, there are three alarm levels: high, medium, and low. When the alarm level of an alarm email is low, the alarm email can be ignored through the ignore list, that is, the alarm email is not sent to the target user. Exemplarily, some alarm emails may be sent by the system by mistake or have a relatively low alarm level, such as some notification alarm emails. These alarm emails can be filtered through the ignore list to ignore these alarm emails without alarming. Specifically, the ignore list contains multiple regular expressions. When an alarm email matches a regular expression, it is considered that the alarm level of this alarm email is low and can be ignored. Therefore, for each type of ignorable alarm email, a unified regular expression is set for this alarm email, so that this alarm email can be managed uniformly in the future, without the need to separately count each alarm email of this type, thereby improving the processing efficiency of alarm emails. In addition, each regular expression has a maximum number of times that can be ignored. By setting the maximum number of times that can be ignored, it is still necessary to issue an alert for an ignorable alert email even if the number of alerts exceeds the maximum number of times that can be ignored. Because for ignorable emails, if they appear frequently, they may be alert emails that need attention or processing even if the alert level is relatively low. By setting the maximum number of times that can be ignored, alert processing can be performed for alert emails that exceed the maximum number of times that can be ignored to avoid missing alert information.
[0037] For example, if Figure 4 The following table shows the regular expressions set in the ignore list and the maximum number of alarms. Figure 4 As shown, regular expressions can include "operation", "business", "job exception monitoring", "insufficient merchant balance", etc., and the corresponding maximum number of ignore times can be 999, 999, 100, 50, etc.
[0038] Exemplarily, the user reply result at the current moment is the user's reply emails to multiple first warning emails, wherein the reply emails include "ignore deadline" and "subsequent operations".
[0039] Optionally, the alarm mail processing device can obtain mails within a preset time period from a designated folder (e.g., a folder corresponding to the inbox), for example, obtain mails in the last 24 hours from the inbox of Outlook, and use these mails as multiple first alarm mails at the current moment. Among them, the mails within the preset time period are sent to the alarm mail processing device by the above-mentioned multiple first terminal devices 101, and stored in the designated folder by the alarm mail processing device 102. Optionally, the alarm mail processing device can obtain the alarm processing result of the previous moment based on the historical processing records; optionally, the alarm mail processing device obtains the mails in the designated folder (e.g., the outbox) and obtains the user's reply result.
[0040] 202: The alarm mail processing device processes the multiple first alarm mails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result, and obtains the alarm processing results of the multiple first alarm mails at the current moment.
[0041] The following takes the first alarm email A as an example to illustrate the process of obtaining the alarm processing result of the first alarm email A at the current moment, wherein the first alarm email A is any one of multiple first alarm emails, and the processing method of other first alarm emails is similar to that of the first alarm email A, which will not be described again.
[0042] Exemplarily, the alarm mail processing device performs keyword extraction on the title of the first alarm mail A to obtain the keywords of the first alarm mail A; matches the keywords of the first alarm mail A with multiple regular expressions in the ignore list to determine whether there is a regular expression in the multiple regular expressions that matches the keywords of the first alarm mail A; if so, marks the alarm processing result of the first alarm mail A at the current moment as ignorable; if not, processes the first alarm mail A according to the reply result and the alarm processing result of the previous moment to obtain the alarm processing result of the first alarm mail A at the current moment.
[0043] Optionally, since each regular expression is set with a maximum number of matches, when there is a matching regular expression, it is also necessary to increase the number of ignore times corresponding to the regular expression that matches the keyword of the first alarm email A by one, and obtain the number of ignored times corresponding to the regular expression that matches the keyword of the first alarm email A at the current moment; if the number of ignored times is less than the maximum number of ignored times corresponding to the regular expression, the first alarm email A is determined to be an ignorable alarm email; otherwise, even if there is a matching regular expression, the first alarm email A must be processed according to the reply result and the alarm processing result of the previous moment, and the alarm processing result of the first alarm email A at the current moment is obtained.
[0044] Optionally, since multiple first alarm emails are alarm emails sent within a preset time period, for some more urgent alarms, alarm events may be triggered frequently, which will also lead to frequent sending of alarm emails, which may result in the existence of alarm emails for the same alarm event in multiple first alarm emails. In this case, only the latest obtained first alarm email needs to be fed back to the target user, and there is no need to feed back all alarm emails for the same alarm event to the target user, which will greatly interfere with the target user's handling of the alarm event.
[0045] Therefore, before processing the first alarm email A and obtaining the alarm processing result of the first alarm email A at the current moment, semantic information extraction can also be performed on each first alarm email to obtain the target semantic vector of each first alarm email. Specifically, semantic information extraction is performed on the title of each first alarm email to obtain a first semantic vector; semantic information extraction is performed on the recipients and carbon copies of each first alarm email to obtain a second semantic vector; semantic information extraction is performed on the body of each first alarm email to obtain a third semantic vector; the first semantic vector, the second semantic vector and the third semantic vector of each first alarm email are concatenated to obtain the target semantic vector of each first alarm email. Among them, semantic extraction can be achieved through a trained topic identification model (LDA) or a Bert model, which will not be described again; according to the target semantic vector of each first alarm email, the multiple first alarm emails are clustered to obtain at least one clustering result. It can be understood that the similarity between the target semantic vectors of the first alarm email in each clustering result is greater than the threshold value, that is, the alarm event indicated by the first alarm email in each clustering result is the same alarm event. Then, the sending time of each first alarm email in the clustering result A is obtained, wherein the clustering result A is the clustering result to which the first alarm email A belongs in the at least one clustering result; the sending time of the first alarm email A is determined to be the alarm email with the latest sending time among all the alarm emails in the clustering result A. That is, only when it is determined that the first alarm email A is the alarm email with the latest sending time in the clustering result to which it belongs, will the first alarm email A be processed as an alarm, so that for each clustering result, only the first alarm email with the latest sending time in its clustering result is processed, and there is no need to process each first alarm email, thereby improving the alarm processing efficiency of the alarm email.
[0046] Furthermore, after determining that the sending time of the first alarm email A is the first alarm email with the latest sending time among all the alarm emails in the clustering result A, determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing result of the previous moment. For example, it is possible to determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing result of the previous moment by comparing the email subjects one by one; if so, update the alarm result of the second alarm email corresponding to the first alarm email A according to the alarm information of the first alarm email A to obtain the candidate alarm result of the first alarm email A at the current moment, wherein the alarm result of the second alarm email corresponding to the first alarm email A includes: alarm level, number of alarms, summary content, alarm time, whether to recover, subsequent operations, etc. Therefore, the alarm content of the first alarm email A is merged and deduplicated with the alarm content of the second alarm email at the previous moment (i.e., the alarm information at the previous moment is not updated) as the candidate alarm result of the first alarm email A at the current moment. For example, the alarm time in the second alarm email at the previous moment is updated to the alarm time in the first alarm email A, and then the re-updated alarm time is used as the alarm time in the alarm result corresponding to the first alarm A, etc. If it does not exist, it is determined that the alarm event corresponding to the first alarm email A is a newly occurring alarm event. Therefore, the alarm information of the first alarm email A can be directly used as the candidate alarm result of the first alarm email A at the current moment.
[0047] Further, determine whether there is a reply result for the first alarm email A in the reply result; if so, update the candidate alarm result of the first alarm email A at the current moment according to the reply result for the first alarm email A, and obtain the alarm result of the first alarm email A at the current moment. This update method is similar to the above-mentioned update method and will not be described again; if not, use the candidate alarm result of the first alarm email A at the current moment as the alarm result of the first alarm email A at the current moment, that is, obtain the alarm result of the first alarm email A at the current moment.
[0048] Specifically, after the candidate alarm result of the first alarm email A is obtained for the first time, the reply email of the user at the current moment can be obtained, and the candidate alarm result of the first alarm email A can be updated again according to the reply email. Exemplarily, for the reply email, the reply email corresponding to the first alarm email A is obtained. For example, the reply email corresponding to the first alarm email A can be obtained by identifying the title and / or summary of the email. Then, the reply content in the reply email is parsed, and the candidate alarm result of the first alarm email A is updated again according to the restored content. For example, if the reply email includes "ignore deadline", the "ignore deadline" in the candidate alarm result of the first alarm email A is updated to the "ignore deadline" replied by the user. For another example, if the reply email includes a subsequent operation for the first alarm email A, and the subsequent operation is "alarm restored", the candidate alarm result of the first alarm email A is updated to be ignorable, that is, the first alarm email A is ignored. .
[0049] 203: The alarm mail processing device feeds back the alarm processing results of the plurality of first alarm mails at the current moment to the target user.
[0050] Exemplarily, the alarm mail processing device may send the alarm processing results of the multiple first alarm mails at the current moment in the form of mails. For example, the title of the mail sent may be "Alarm Mail Intelligent Assistant", and the body of the mail may be presented in the form of a table.
[0051] Exemplarily, based on a target first alarm email among the multiple first alarm emails, wherein the target first alarm email is the first alarm email among the multiple first alarm emails excluding the first alarm email whose alarm result is negligible; based on a first number of the target first alarm emails and a second number of items included in the target first alarm email, a table is generated, wherein the number of rows in the table is the first number, and the number of columns is the second number; the alarm processing results of the target first alarm email at the current moment are entered into the table in sequence, and the table in which the alarm processing results of the target first alarm email at the current moment are entered is sent to the target user in the form of a table.
[0052] For example, if Figure 5 As shown, the alarm processing results of multiple first alarm emails at the current moment are sent to pre-set target users in the form of a table to feed back the current alarm processing results to the target users so that the target users can process the alarm events in time according to the alarm processing results.
[0053] It can be seen that in the embodiment of the present application, after the alarm mail processing device obtains multiple first alarm mails at the current moment, it does not directly feed back the multiple first alarm mails to the target user, but first filters out the alarm mails with relatively low alarm levels according to a pre-set ignore list to avoid the number of alarm mails; then, it combines the alarm processing result of the previous moment, that is, it processes the current first alarm mail based on the alarm processing result of the previous alarm mail. In this way, the alarm processing result obtained will obtain the alarm information of each moment, so that the alarm processing result fed back to the user directly includes the total alarm information of each alarm, and the user does not need to summarize and organize it to obtain effective alarm information, thereby improving the effectiveness of alarm mail processing.
[0054] See also Figure 6 , Figure 6 The functional unit composition block diagram of an alarm mail processing device provided in an embodiment of the present application. The alarm mail processing device 600 comprises: an acquisition unit 601, a processing unit 602 and a sending unit 603;
[0055] The acquisition unit 601 is used to acquire multiple first alarm emails at the current moment, the alarm processing result at the previous moment, the ignore list, and the reply result of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing result for multiple second alarm emails at the previous moment, and the ignore list is used to filter alarm emails with an alarm level lower than a threshold;
[0056] The processing unit 602 is used to process the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result, and obtain the alarm processing results of the multiple first alarm emails at the current moment;
[0057] The sending unit 603 is used to feed back the alarm processing results of the multiple first alarm emails at the current moment to the target user.
[0058] In some possible implementations, the ignore list includes multiple regular expressions; in terms of processing the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list, and the reply result, to obtain the alarm processing results of the multiple first alarm emails at the current moment, the processing unit 602 is specifically used to:
[0059] For the first warning email A, extract keywords from the title of the first warning email A to obtain keywords of the first warning email A, wherein the first warning email A is any one of the multiple first warning emails;
[0060] Matching the keywords of the first alarm email A with the multiple regular expressions, and determining whether there is a regular expression in the multiple regular expressions that matches the keywords of the first alarm email A;
[0061] If so, mark the alarm processing result of the first alarm email A at the current moment as ignorable;
[0062] If it does not exist, the first alarm email A is processed according to the reply result and the alarm processing result of the previous moment to obtain the alarm processing result of the first alarm email A at the current moment.
[0063] In some possible implementations, each of the multiple regular expressions is set with a maximum number of times that can be ignored; before marking the alarm processing result of the first alarm email A at the current moment as ignorable, the processing unit 602 is further used to add one to the number of times that the regular expression matching the keyword of the first alarm email A corresponds to, and obtain the number of times that the regular expression matching the keyword of the first alarm email A has been ignored at the current moment;
[0064] It is determined that the number of ignored times is less than the maximum number of ignored times corresponding to the regular expression.
[0065] In some possible implementations, the first alarm email A is processed according to the reply result and the alarm processing result of the previous moment to obtain the alarm processing result of the first alarm email A at the current moment, and the processing unit 602 is further used to extract semantic information from each of the multiple first alarm emails to obtain a target semantic vector of each first alarm email;
[0066] Clustering the plurality of first warning emails according to the target semantic vector of each first warning email to obtain at least one clustering result;
[0067] Obtaining the sending time of each first warning email in the clustering result A, wherein the clustering result A is the clustering result to which the first warning email A belongs in the at least one clustering result;
[0068] Determine that the sending time of the first alarm email A is the first alarm email with the latest sending time among all the alarm emails in the clustering result A.
[0069] In some possible implementations, in extracting semantic information from the multiple first warning emails to obtain a target semantic vector for each of the multiple first warning emails, the processing unit 602 is specifically configured to:
[0070] Extracting semantic information from the title of each first warning email to obtain a first semantic vector;
[0071] Extracting semantic information from the recipients and carbon copy recipients of each first warning email to obtain a second semantic vector;
[0072] Extracting semantic information from the body of each first warning email to obtain a third semantic vector;
[0073] The first semantic vector, the second semantic vector and the third semantic vector of each first warning email are concatenated to obtain a target semantic vector of each first warning email.
[0074] In some possible implementations, in terms of processing the first alarm email A according to the reply result and the alarm processing result at the previous moment to obtain the alarm processing result of the first alarm email A at the current moment, the processing unit is specifically used to:
[0075] Determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing result at the previous moment;
[0076] If so, update the alarm result of the second alarm email corresponding to the first alarm email A according to the alarm information of the first alarm email A to obtain the candidate alarm result of the first alarm email A at the current moment;
[0077] If not, the alarm information of the first alarm email A is used as the candidate alarm result of the first alarm email A at the current moment;
[0078] Determine whether there is a reply result for the first alarm email A in the reply results;
[0079] If so, updating the candidate alarm result of the first alarm email A at the current moment according to the reply result to the first alarm email A, and obtaining the alarm result of the first alarm email A at the current moment;
[0080] If not, the candidate alarm result of the first alarm email A at the current moment is used as the alarm result of the first alarm email A at the current moment.
[0081] In some possible implementations, in terms of feeding back to the target user the alarm processing results of the multiple first alarm emails at the current moment, the processing unit 602 is specifically configured to:
[0082] According to a target first alarm email among the multiple first alarm emails, wherein the target first alarm email is a first alarm email among the multiple first alarm emails except for the first alarm emails whose alarm results are negligible;
[0083] Generate a table according to the first number of the target first warning emails and the second number of items included in the target first warning emails, wherein the number of rows in the table is the first number and the number of columns is the second number;
[0084] The alarm processing results of the target first alarm email at the current moment are sequentially entered into the table, and the table in which the alarm processing results of the target first alarm email at the current moment are entered is sent to the target user in the form of a table.
[0085] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 700 includes a transceiver 701, a processor 702 and a memory 703. They are connected via a bus 704. The memory 703 is used to store computer programs and data, and can transmit the data stored in the memory 703 to the processor 702.
[0086] The processor 702 is used to read the computer program in the memory 703 and perform the following operations:
[0087] Obtain multiple first alarm emails at the current moment, the alarm processing results at the previous moment, the ignore list, and the reply results of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing result for multiple second alarm emails at the previous moment, and the ignore list is used to filter alarm emails with an alarm level lower than a threshold;
[0088] Processing the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result to obtain the alarm processing results of the multiple first alarm emails at the current moment;
[0089] Feedback the target user with the alarm processing results of the multiple first alarm emails at the current moment.
[0090] In some possible implementations, the ignore list includes multiple regular expressions; in terms of processing the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list, and the reply result, to obtain the alarm processing results of the multiple first alarm emails at the current moment, the processor 702 is specifically used to perform the following operations:
[0091] For the first warning email A, extract keywords from the title of the first warning email A to obtain keywords of the first warning email A, wherein the first warning email A is any one of the multiple first warning emails;
[0092] Matching the keywords of the first alarm email A with the multiple regular expressions, and determining whether there is a regular expression in the multiple regular expressions that matches the keywords of the first alarm email A;
[0093] If so, mark the alarm processing result of the first alarm email A at the current moment as ignorable;
[0094] If it does not exist, the first alarm email A is processed according to the reply result and the alarm processing result of the previous moment to obtain the alarm processing result of the first alarm email A at the current moment.
[0095] In some possible implementations, each of the multiple regular expressions is set with a maximum number of times that can be ignored; before marking the alarm processing result of the first alarm email A at the current moment as ignorable, the processor 702 is further used to perform the following operations: adding one to the number of times that the regular expression that matches the keyword of the first alarm email A corresponds to, to obtain the number of times that the regular expression that matches the keyword of the first alarm email A has been ignored at the current moment;
[0096] It is determined that the number of ignored times is less than the maximum number of ignored times corresponding to the regular expression.
[0097] In some possible implementations, the first alarm email A is processed according to the reply result and the alarm processing result at the previous moment, and before obtaining the alarm processing result of the first alarm email A at the current moment, the processor 702 is further used to perform the following operations: extract semantic information from each of the multiple first alarm emails to obtain a target semantic vector of each first alarm email;
[0098] Clustering the plurality of first warning emails according to the target semantic vector of each first warning email to obtain at least one clustering result;
[0099] Obtaining the sending time of each first warning email in the clustering result A, wherein the clustering result A is the clustering result to which the first warning email A belongs in the at least one clustering result;
[0100] Determine that the sending time of the first alarm email A is the first alarm email with the latest sending time among all the alarm emails in the clustering result A.
[0101] In some possible implementations, in extracting semantic information from the multiple first warning emails to obtain a target semantic vector for each of the multiple first warning emails, the processor 702 is specifically configured to perform the following operations:
[0102] Extracting semantic information from the title of each first warning email to obtain a first semantic vector;
[0103] Extracting semantic information from the recipients and carbon copy recipients of each first warning email to obtain a second semantic vector;
[0104] Extracting semantic information from the body of each first warning email to obtain a third semantic vector;
[0105] The first semantic vector, the second semantic vector and the third semantic vector of each first warning email are concatenated to obtain a target semantic vector of each first warning email.
[0106] In some possible implementations, in terms of processing the first alarm email A according to the reply result and the alarm processing result at the previous moment to obtain the alarm processing result of the first alarm email A at the current moment, the processor 702 is specifically configured to perform the following operations:
[0107] Determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing result at the previous moment;
[0108] If so, update the alarm result of the second alarm email corresponding to the first alarm email A according to the alarm information of the first alarm email A to obtain the candidate alarm result of the first alarm email A at the current moment;
[0109] If not, the alarm information of the first alarm email A is used as the candidate alarm result of the first alarm email A at the current moment;
[0110] Determine whether there is a reply result for the first alarm email A in the reply results;
[0111] If so, updating the candidate alarm result of the first alarm email A at the current moment according to the reply result to the first alarm email A, and obtaining the alarm result of the first alarm email A at the current moment;
[0112] If not, the candidate alarm result of the first alarm email A at the current moment is used as the alarm result of the first alarm email A at the current moment.
[0113] In some possible implementations, in terms of feeding back to the target user the alarm processing results of the multiple first alarm emails at the current moment, the processor 702 is specifically configured to perform the following operations:
[0114] According to a target first alarm email among the multiple first alarm emails, wherein the target first alarm email is a first alarm email among the multiple first alarm emails except for the first alarm emails whose alarm results are negligible;
[0115] Generate a table according to the first number of the target first warning emails and the second number of items included in the target first warning emails, wherein the number of rows in the table is the first number and the number of columns is the second number;
[0116] The alarm processing results of the target first alarm email at the current moment are sequentially entered into the table, and the table in which the alarm processing results of the target first alarm email at the current moment are entered is sent to the target user in the form of a table.
[0117] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any alarm email processing method recorded in the above method embodiments.
[0118] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the alarm email processing methods recorded in the above method embodiments.
[0119] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0120] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.
[0124] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0125] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0126] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for processing an alarm email, It is characterized in that include: Obtain multiple first alarm emails at the current moment, the alarm processing results at the previous moment, the ignore list, and the reply results of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing result for multiple second alarm emails at the previous moment; determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing result at the previous moment; if so, update the alarm result of the second alarm email corresponding to the first alarm email A according to the alarm information of the first alarm email A, and obtain the candidate alarm result of the first alarm email A at the current moment; if not, use the alarm information of the first alarm email A as the candidate alarm result of the first alarm email A at the current moment; the ignore list is used to filter the alarm emails with an alarm level lower than a threshold The ignore list includes multiple regular expressions. When a first alarm email matches a certain regular expression, it is considered that the alarm level of the first alarm email is low, and no alarm is issued for the first alarm email with a low alarm level; for each type of first alarm email that can be ignored, a unified regular expression is set for the same type of first alarm email; determine whether there is a reply result for the first alarm email A in the reply result; if so, update the candidate alarm result of the first alarm email A at the current moment according to the reply result for the first alarm email A, and obtain the alarm result of the first alarm email A at the current moment; if not, use the candidate alarm result of the first alarm email A at the current moment as the alarm result of the first alarm email A at the current moment; According to the alarm processing result of the previous moment, the ignore list and the reply result, the multiple first alarm emails at the current moment are processed to obtain the alarm processing results of the multiple first alarm emails at the current moment, including: for the first alarm email A, keyword extraction is performed on the title of the first alarm email A to obtain the keywords of the first alarm email A, wherein the first alarm email A is any one of the multiple first alarm emails; the keywords of the first alarm email A are matched with the multiple regular expressions to determine whether there is a regular expression matching the keywords of the first alarm email A in the multiple regular expressions; if so, the alarm processing result of the first alarm email A at the current moment is marked as ignorable; if not, the first alarm email A is processed according to the reply result and the alarm processing result of the previous moment to obtain the alarm processing result of the first alarm email A at the current moment; Feedback the target user with the alarm processing results of the multiple first alarm emails at the current moment.
2. The method according to claim 1, It is characterized in that Each of the plurality of regular expressions is set with a maximum number of times that can be ignored; Before marking the alarm processing result of the first alarm email A at the current moment as ignorable, the method further includes: Add one to the number of ignored times corresponding to the regular expression matching the keyword of the first alarm email A, to obtain the number of ignored times corresponding to the regular expression matching the keyword of the first alarm email A at the current moment; It is determined that the number of ignored times is less than the maximum number of ignored times corresponding to the regular expression.
3. The method according to any one of claims 1 to 2, It is characterized in that According to the reply result and the alarm processing result at the previous moment, the first alarm email A is processed to obtain the alarm processing result of the first alarm email A at the current moment, the method further includes: Extracting semantic information from each of the plurality of first warning emails to obtain a target semantic vector for each of the first warning emails; Clustering the plurality of first warning emails according to the target semantic vector of each first warning email to obtain at least one clustering result; Obtaining the sending time of each first warning email in the clustering result A, wherein the clustering result A is the clustering result to which the first warning email A belongs in the at least one clustering result; Determine that the sending time of the first alarm email A is the first alarm email with the latest sending time among all the alarm emails in the clustering result A.
4. The method according to claim 3, It is characterized in that The extracting semantic information from the plurality of first warning emails to obtain a target semantic vector of each of the plurality of first warning emails includes: Extracting semantic information from the title of each first warning email to obtain a first semantic vector; Extracting semantic information from the recipients and carbon copy recipients of each first warning email to obtain a second semantic vector; Extracting semantic information from the body of each first warning email to obtain a third semantic vector; The first semantic vector, the second semantic vector and the third semantic vector of each first warning email are concatenated to obtain a target semantic vector of each first warning email.
5. The method according to any one of claims 2 to 4, It is characterized in that The feeding back to the target user the alarm processing results of the plurality of first alarm emails at the current moment includes: According to a target first alarm email among the multiple first alarm emails, wherein the target first alarm email is a first alarm email among the multiple first alarm emails except for the first alarm emails whose alarm results are negligible; Generate a table according to the first number of the target first warning emails and the second number of items included in the target first warning emails, wherein the number of rows in the table is the first number and the number of columns is the second number; The alarm processing results of the target first alarm email at the current moment are sequentially entered into the table, and the table in which the alarm processing results of the target first alarm email at the current moment are entered is sent to the target user in the form of a table.
6. An alarm mail processing device, It is characterized in that include: An acquisition unit is used to acquire multiple first alarm emails at the current moment, the alarm processing results at the previous moment, an ignore list, and the reply results of the user at the current moment to the multiple first alarm emails, wherein the alarm processing result at the previous moment is the alarm processing results for multiple second alarm emails at the previous moment, and determine whether there is a second alarm email corresponding to the first alarm email A in the alarm processing results at the previous moment; if so, update the alarm result of the second alarm email corresponding to the first alarm email A according to the alarm information of the first alarm email A, and obtain the candidate alarm result of the first alarm email A at the current moment; if not, use the alarm information of the first alarm email A as the candidate alarm result of the first alarm email A at the current moment; the ignore list is used to filter alarms, etc. The ignore list includes multiple regular expressions. When a first alarm email matches a certain regular expression, it is considered that the alarm level of the first alarm email is low, and no alarm is issued for the first alarm email with a low alarm level. For each type of first alarm email that can be ignored, a unified regular expression is set for the same type of first alarm emails. It is determined whether there is a reply result for the first alarm email A in the reply result. If so, the candidate alarm result of the first alarm email A at the current moment is updated according to the reply result for the first alarm email A, and the alarm result of the first alarm email A at the current moment is obtained. If not, the candidate alarm result of the first alarm email A at the current moment is used as the alarm result of the first alarm email A at the current moment. A processing unit, used for processing the multiple first alarm emails at the current moment according to the alarm processing result at the previous moment, the ignore list and the reply result, to obtain the alarm processing results of the multiple first alarm emails at the current moment, and specifically for extracting keywords from the title of the first alarm email A for the first alarm email A, to obtain keywords of the first alarm email A, wherein the first alarm email A is any one of the multiple first alarm emails; matching the keywords of the first alarm email A with the multiple regular expressions, to determine whether there is a regular expression in the multiple regular expressions that matches the keywords of the first alarm email A; if so, marking the alarm processing result of the first alarm email A at the current moment as ignorable; if not, processing the first alarm email A according to the reply result and the alarm processing result at the previous moment, to obtain the alarm processing result of the first alarm email A at the current moment; The sending unit is used to feed back the alarm processing results of the multiple first alarm emails at the current moment to the target user.
7. An electronic device, It is characterized in that include: a processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, So that the electronic device executes the method as described in any one of claims 1-5.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Digitization alarm optimization design method of nuclear power plant
CN103440892A
Remote processing method and device for alarm of backup system
CN103618631A
Alert processing method and device
CN107908530A
Sensitive data slow leakage detection method and system based on adaptive perception
CN108011881A
Alarm information inspection method and system, computer device and readable storage medium
CN110221947A
