Alarm processing method, device, electronic device and storage medium
By obtaining and associating alarm information, the problem of unsuccessful notifications in alarm processing is solved, ensuring the security of business, and improving the user experience and accuracy of alarm processing is improved.
Patent Information
- Application Number
- CN202211660900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-12-22
AI Technical Summary
During the alarm processing process, due to the numerous sources, complex types and inconsistent data accuracy, the alarm cannot successfully notify business personnel, affecting business security.
By obtaining alarm information, determining the target alarm type and query platform, performing query operations to obtain candidate association information, selecting association information that meets preset conditions, and associate the alarm information with the associated object, pushing it to the terminal to ensure the accuracy of notifications. and timely.
It realizes that unrelated alarm information can be successfully notified to business personnel, ensuring the safe progress of business, and improving the user experience and accuracy of alarm processing.
Smart Images

Figure CN115941445B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of data processing technology, and in particular to an alarm processing method, device, electronic device and storage medium. Background Art
[0002] Security alert events refer to threats to users' assets (such as servers, containers, etc.) detected by the cloud security center, the execution of malicious scripts or access to malicious download sources on the user's host, etc., which generate alerts and need to be immediately notified to business personnel, requiring them to handle them as soon as possible to minimize losses.
[0003] However, during the alarm processing process, due to the existence of multiple alarm sources, complex alarm types and different accuracy of different data, the generated alarms may not be able to successfully notify business personnel, which in turn affects the safe operation of the business. Summary of the invention
[0004] In view of this, in order to solve the above technical problems or part of the technical problems, an embodiment of the present invention provides an alarm processing method, device, electronic device and storage medium.
[0005] In a first aspect, an embodiment of the present invention provides an alarm processing method, including:
[0006] Obtaining first alarm information; wherein the first alarm information is used to represent the alarm information to be associated;
[0007] Determining a target alarm type corresponding to the first alarm information, and determining a target query platform corresponding to the target alarm type;
[0008] According to the first alarm information, a query operation is performed on the target query platform to obtain a candidate association information set corresponding to the first alarm information;
[0009] Determining first associated information corresponding to the first alarm information from the candidate associated information set;
[0010] The first alarm information is associated with the first association information.
[0011] In an optional implementation, the determining the first associated information corresponding to the first alarm information from the candidate associated information set includes:
[0012] Determine the object type corresponding to each candidate association information in the candidate association information set;
[0013] Determine a target object type that meets a first preset condition from the plurality of object types, wherein the first preset condition includes: the target object type is a preset object type;
[0014] Determining candidate association information corresponding to the target object type from the candidate association information set;
[0015] The candidate association information corresponding to the target object type is determined as the first association information corresponding to the first alarm information.
[0016] 0 In an optional implementation, the first association information includes a first association object;
[0017] The method further comprises:
[0018] Pushing the first alarm information to the terminal where the first associated object is located;
[0019] receiving feedback information returned by the terminal; wherein the feedback information is used to characterize the first
[0020] 1. Whether the push result of the alarm information is correct;
[0021] 5. adjusting the first associated information according to the feedback information;
[0022] Associating the first alarm information with the first association information includes:
[0023] The first alarm information is associated with the adjusted first association information.
[0024] In an optional implementation, the first association
[0025] Information to be adjusted, including:
[0026] 0 When the feedback information includes that the push result is an error, according to the candidate association information
[0027] Set, generate display data;
[0028] sending the display data to the terminal so that the terminal displays the display data;
[0029] receiving target selection information of the terminal for the display data;
[0030] The first association information is adjusted according to the target selection information.
[0031] In an optional implementation, the first alarm information is pushed to the first
[0032] The terminal where the associated object is located, including:
[0033] Determining a first alarm level corresponding to the first alarm information;
[0034] When the first alarm level meets a second preset condition, determining a target number of times corresponding to the first alarm information obtained within a preset time, wherein the second preset condition includes: the first alarm level is not the highest alarm level;
[0035] When the target number satisfies a third preset condition, the first alarm level is processed according to the target number to obtain a second alarm level corresponding to the first alarm information, the second alarm level is higher than the first alarm level, and the third preset condition includes: the target number is greater than a preset number threshold;
[0036] The first alarm information and the second alarm level are pushed to the terminal where the first associated object is located.
[0037] In an optional embodiment, the method further includes:
[0038] Obtaining second alarm information;
[0039] Determine second association information corresponding to the second alarm information; wherein the second association information includes a second association object;
[0040] When the first alarm information is inconsistent with the second alarm information, and / or the first associated object is inconsistent with the second associated object, the second alarm information is pushed to the terminal where the second associated object is located.
[0041] In an optional implementation, the determining the target alarm type corresponding to the first alarm information includes:
[0042] Extracting target keywords from the first warning information;
[0043] Determining, according to the target keyword, a target alarm type corresponding to the first alarm information;
[0044] The step of performing a query operation on the target query platform according to the first alarm information to obtain a candidate association information set corresponding to the first alarm information includes:
[0045] According to the target keyword, a query operation is performed on the target query platform to obtain a candidate associated information set corresponding to the first alarm information.
[0046] In a second aspect, an embodiment of the present invention provides an alarm processing device, including:
[0047] An acquisition module, used for acquiring first alarm information; wherein the first alarm information is used for representing the alarm information to be associated;
[0048] A determination module, used to determine a target alarm type corresponding to the first alarm information, and determine a target query platform corresponding to the target alarm type;
[0049] The determination module is further configured to perform a query operation on the target query platform according to the first alarm information to obtain candidate association information corresponding to the first alarm information;
[0050] The determining module is further configured to determine the first associated information corresponding to the first alarm information from the candidate associated information set;
[0051] An association module is used to associate the first alarm information with the first association information.
[0052] In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory, wherein the processor is used to execute an alarm processing program stored in the memory to implement the alarm processing method as described above.
[0053] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the alarm processing method as described above.
[0054] An alarm processing method provided by an embodiment of the present invention includes: obtaining first alarm information; wherein the first alarm information is used to characterize the alarm information to be associated; determining the target alarm type corresponding to the first alarm information, and determining the target query platform corresponding to the target alarm type; performing a query operation on the target query platform according to the first alarm information to obtain a candidate associated information set corresponding to the first alarm information; determining the first associated information corresponding to the first alarm information from the candidate associated information set; and associating the first alarm information with the first associated information. Through the above manner, after obtaining unassociated alarm information, the embodiment of the present invention queries the associated information corresponding to the alarm information, and associates the alarm information with the query result, so that the unassociated alarm information can successfully notify the business personnel to ensure the safe conduct of the business. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A flowchart of an alarm processing method provided by an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of the structure of an alarm processing device provided by an embodiment of the present invention;
[0057] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0058] In the above attached figure:
[0059] 10. Acquisition module; 20. Determination module; 30. Association module;
[0060] 400, electronic device; 401, processor; 402, memory; 4021, operating system; 4022, application; 403, user interface; 404, network interface; 405, bus system. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0063] refer to Figure 1 , Figure 1 A flowchart of an alarm processing method provided by an embodiment of the present invention. An alarm processing method provided by an embodiment of the present invention comprises the following steps:
[0064] S101: Obtain first alarm information.
[0065] In this embodiment, the first alarm information is used to represent the alarm information to be associated, that is, after the first alarm information is generated, the first alarm information cannot be successfully notified to the relevant business personnel because the first alarm information is not associated with the relevant business personnel. Therefore, the first alarm information needs to be associated.
[0066] Specifically, in order to prevent normal alarms from being affected, when an alarm occurs, the alarm is judged to determine whether the alarm is an alarm that can be ignored. For example, due to the particularity of the code, alarms are often triggered within the security system, and such alarms can generally be ignored. Some edge businesses allow alarms to exist due to human resources, technology, and other reasons, that is, they accept the risk of alarms. Therefore, after obtaining the first alarm information, it is determined whether the first alarm information belongs to the preset alarm information. When it is determined that the first alarm information belongs to the preset alarm information set, return to step S101 to re-acquire the next first alarm information. When it is determined that the first alarm information does not belong to the preset alarm information set, execute step S102. Among them, the preset alarm information set includes multiple preset alarm information.
[0067] S102: Determine a target alarm type corresponding to the first alarm information, and determine a target query platform corresponding to the target alarm type.
[0068] In this embodiment, after obtaining the first alarm information, the target alarm type corresponding to the first alarm information is determined, and the target query platform corresponding to the target alarm type is determined. By querying the associated information corresponding to the first alarm information through the target query platform, the first alarm information can be associated with the corresponding associated information, so that the relevant business personnel can process the first alarm information in time to ensure the safety of the business. Among them, when querying the associated information corresponding to the first alarm information, the associated information corresponding to the first alarm information can be obtained by querying the target query platform according to the first alarm information.
[0069] Specifically, the target alarm type corresponding to the first alarm information may be determined in the following manner:
[0070] Extracting target keywords from the first alarm information;
[0071] A target alarm type corresponding to the first alarm information is determined according to the target keyword.
[0072] In this embodiment, a target keyword can be extracted from the first alarm information based on a preset rule. The target keyword belongs to a preset keyword set. The preset keyword set includes multiple preset keywords. The preset keywords in the preset keyword set have a corresponding relationship with the alarm type. After the target keyword belonging to the preset keyword set is extracted from the first alarm information, the target alarm type corresponding to the target keyword can be obtained according to the corresponding relationship between the preset keyword and the alarm type. Similarly, the corresponding relationship between the alarm type and the query platform is preset. After the target alarm type corresponding to the first alarm information is determined, the target query platform corresponding to the target alarm type can be obtained according to the corresponding relationship between the alarm type and the query platform. The associated information related to the first alarm information can be queried according to the target query platform.
[0073] Specifically, the alarm types may include: IP address alarm type, domain name alarm type, container application name alarm type, and code repository address alarm type, etc. The query platform includes: an IP query platform corresponding to the IP address alarm type, a domain name query platform corresponding to the domain name alarm type, a container query platform corresponding to the container application name alarm type, and a code query platform corresponding to the code repository address alarm type, etc. Of course, the alarm types may also be divided according to actual needs. After the alarm types are divided, they are associated with the query platform according to the divided alarm types. After obtaining the first alarm information, the target alarm type corresponding to the first alarm information may be determined, and the target query platform corresponding to the target alarm type may be determined from the associated information.
[0074] More specifically, in the process of extracting the target keyword from the first alarm information, when the target alarm format corresponding to the first alarm information does not conform to the preset alarm format, the target alarm format corresponding to the first alarm information is converted so that the converted target alarm format conforms to the preset alarm format; when the target alarm format cannot be successfully converted to the preset alarm format, feedback is given to the alarm device, which triggers an alarm to prevent effective alarms from being missed due to program errors.
[0075] S103: According to the first alarm information, a query operation is performed on the target query platform to obtain a candidate associated information set corresponding to the first alarm information.
[0076] In this embodiment, after the target query platform is determined according to the target alarm type corresponding to the first alarm information, the target query platform can be queried according to the first alarm information to obtain the query result corresponding to the first alarm information, and the query result is the candidate association information set corresponding to the first alarm information, and the candidate association information set includes multiple candidate association information, and for each candidate association information, the candidate association information includes a candidate association object. Since there may be multiple different candidate association information when performing a query operation on the target query platform, if the first alarm information is associated with all the determined candidate association information, non-related personnel will receive the processing notification of the first alarm information, affecting the user's experience.
[0077] Specifically, according to the first alarm information, a query operation is performed on the target query platform to obtain a candidate associated information set corresponding to the first alarm information, including:
[0078] According to the target keyword corresponding to the first alarm information, a query operation is performed on the target query platform to obtain a candidate associated information set corresponding to the first alarm information.
[0079] In this embodiment, after determining the target keyword corresponding to the first alarm information, a query operation is performed on the target query platform according to the target keyword and the query information corresponding to the target keyword to obtain the candidate associated information set corresponding to the first alarm information.
[0080] S104: Determine first associated information corresponding to the first alarm information from the candidate associated information set.
[0081] In this embodiment, as described above, when there are multiple candidate association information, if all candidate association information are associated with the first alarm information, it will affect the user experience. Therefore, when associating the first alarm information, it is necessary to determine the first association information corresponding to the first alarm information from the candidate association information set.
[0082] Specifically, the first associated information corresponding to the first alarm information may be determined from the candidate associated information set in the following manner:
[0083] Determine the object type corresponding to each candidate association information in the candidate association information set;
[0084] Determining a target object type that meets a first preset condition from a plurality of object types;
[0085] Determine candidate association information corresponding to the target object type from the candidate association information set;
[0086] The candidate association information corresponding to the target object type is determined as the first association information corresponding to the first alarm information.
[0087] In this embodiment, the first preset condition includes: the target object type is a preset object type. Each candidate association information has a corresponding object type, wherein the object type is used to characterize the rank of the candidate association object. Generally speaking, when an alarm is generated, the alarm is usually pushed to business maintenance personnel rather than business management personnel, etc. In order to prevent unnecessary notifications and communications and improve the user experience, only when it is determined that the object type corresponding to the candidate association information is a preset object type, the candidate association information corresponding to the preset object type is determined as the first association information. The preset object type can be business maintenance personnel, etc.
[0088] Specifically, since the target object type may correspond to multiple different first association information, in order to further prevent unnecessary notifications and communications, the first association information that meets the preset conditions is determined from the multiple different candidate association information corresponding to the target object type to improve the user experience. Among them, when the target object type corresponds to multiple different first association information, the first association information that meets the preset conditions can be determined in the following manner, as follows:
[0089] When there are multiple pieces of first association information corresponding to the target object type, determining an identifier of each piece of first association information;
[0090] Aggregating all first association information belonging to the same identifier to obtain multiple association information sets;
[0091] Determining a target number of first association information included in each association information set;
[0092] According to the number of multiple targets, first association information satisfying a preset condition is determined from the multiple first association information.
[0093] Among them, the identifier of the first associated information is the unique identifier of the first associated object. For example, the identifier of the first associated information can be the mobile phone number or ID number of the first associated object. Of course, the identifier of the first associated information can also be selected according to actual needs. In this embodiment, the identifier of the first associated information is not specifically limited. Specifically, in order to more accurately associate the first alarm information in this embodiment, after determining the first associated information corresponding to the target object type, the number of targets of the same first associated information is counted to determine the first associated information that ultimately meets the preset conditions. Among them, the preset conditions can be set according to actual needs. When a certain number of targets is large, it indicates that the first associated information corresponding to the target number is more likely to process the first alarm information. Therefore, the preset conditions may include: the number of targets corresponding to the first associated information is the maximum value among all target numbers. In the above manner, the first alarm information can be further accurately associated.
[0094] S105: Associating the first alarm information with the first association information.
[0095] In this embodiment, the first associated information includes a first associated object. After the first alarm information is determined, the first alarm information is associated with the first associated information. After the association, the first associated object can process the first alarm information to ensure the security of the business.
[0096] Specifically, after executing step S105, the alarm processing method provided in this embodiment further includes the following steps:
[0097] Pushing the first alarm information to the terminal where the first associated object is located;
[0098] receiving feedback information returned by the terminal; wherein the feedback information is used to indicate whether the push result of the first alarm information is correct;
[0099] Adjusting the first associated information according to the feedback information;
[0100] The first alarm information is associated with the adjusted first association information.
[0101] In this embodiment, in order to process the first alarm information in a timely manner and ensure the safe operation of the business, after associating the first alarm information with the first associated information, the first alarm information can be pushed to the terminal where the first associated object is located, and the first associated object processes the first alarm information according to the pushed information. Since there may be deviations in the determination of the first associated object, after pushing the first alarm information to the terminal where the first associated object is located, the first associated object can determine whether the push result of the first alarm information is correct based on the display interface displayed by the terminal. When the push result of the first alarm information is wrong, the first associated information corresponding to the first alarm information can be adjusted according to the push result. After adjusting the first associated information, the first alarm information is associated with the adjusted first associated information, and the first alarm information is pushed to the terminal where the adjusted first associated object is located. Among them, the terminal can be a mobile phone terminal or a tablet terminal, etc.
[0102] Specifically, adjusting the first associated information according to the feedback information includes:
[0103] When the feedback information includes that the push result is an error, generating display data according to the candidate association information set;
[0104] Sending the display data to the terminal so that the terminal displays the display data;
[0105] The receiving terminal selects target information for displaying data;
[0106] The first association information is adjusted according to the target selection information.
[0107] In this embodiment, the display data may be a display list corresponding to a candidate association information set. The first association object may select candidate association information based on the above display list. After selecting the corresponding candidate association information, the first association information is adjusted according to the selected candidate association information to obtain the adjusted first association information (i.e., the selected candidate association information).
[0108] In this embodiment, when the first alarm information is pushed to the terminal where the first associated object is located, in order to enable the first associated object to clearly understand the importance of the pushed first alarm information, the first alarm information is pushed to the terminal where the first associated object is located, including:
[0109] Determining a first alarm level corresponding to the first alarm information;
[0110] When the first alarm level meets a second preset condition, determining a target number of times corresponding to the first alarm information obtained within a preset time, the second preset condition including: the first alarm level is not the highest alarm level;
[0111] When the target number meets the third preset condition, the first alarm level is processed according to the target number to obtain a second alarm level corresponding to the first alarm information, the second alarm level is higher than the first alarm level, and the third preset condition includes: the target number is greater than the preset number threshold;
[0112] The first alarm information and the second alarm level are pushed to the terminal where the first associated object is located.
[0113] Specifically, the preset time and preset number thresholds in this embodiment can be set according to actual needs, and the specific values of the preset time and preset number thresholds are not limited in this embodiment. When the first alarm level does not meet the first alarm level, the first alarm information and the first alarm level corresponding to the first alarm information are pushed to the terminal where the first associated object is located. Similarly, when the target number does not meet the third preset condition, the first alarm information and the first alarm level corresponding to the first alarm information are pushed to the terminal where the first associated object is located. In this embodiment, the number of first alarm information obtained within the preset time is counted to determine whether it is necessary to increase the alarm level of the first alarm information. When it is determined that the alarm level of the first alarm information needs to be increased, the alarm level of the first alarm information is increased to express the expansion of the risk brought by the alarm and to enhance the attention level of the first associated object.
[0114] In this embodiment, in order to avoid causing alarm explosion, an alarm processing method provided in this embodiment further includes:
[0115] Obtaining second alarm information;
[0116] Determine second associated information corresponding to the second alarm information; wherein the second associated information includes a second associated object;
[0117] When the first alarm information is inconsistent with the second alarm information, and / or the first associated object is inconsistent with the second associated object, the second alarm information is pushed to the terminal where the second associated object is located.
[0118] Specifically, only when the first alarm information is consistent with the second alarm information and the first associated object corresponding to the first alarm information is consistent with the second associated object corresponding to the second alarm information, the second alarm information will not be pushed to the terminal where the second associated object corresponding to the second alarm information is located, so as to prevent alarm explosion. In other cases, the second alarm information can be directly pushed to the terminal where the second associated object corresponding to the second alarm information is located, so that the second associated object can process the second alarm information in time to ensure the safe operation of the business.
[0119] In this embodiment, in order to ensure the normal progress of alarm processing, during the alarm processing process, a simulated alarm message is sent at a preset interval. The simulated alarm message is set with a corresponding simulated associated object to determine whether the mode alarm message is pushed to the terminal where the simulated associated object is located. When the simulated alarm message is not pushed to the terminal where the simulated associated object is located, a target alarm message is generated and pushed to the terminal where the target object is located, so that the target object can repair the alarm processing process to ensure the normal progress of the alarm processing.
[0120] The present embodiment provides an alarm processing method, which, after obtaining unassociated alarm information, queries the associated information corresponding to the alarm information, and associates the alarm information with the query result, so that the unassociated alarm information can successfully notify business personnel to ensure the safe conduct of the business.
[0121] refer to Figure 2 , Figure 2 A structural diagram of an alarm processing device provided by an embodiment of the present invention. An alarm processing device provided by an embodiment of the present invention includes: an acquisition module 10, a determination module 20 and an association module 30, wherein the acquisition module 10 is used to acquire a first alarm message; wherein the first alarm message is used to characterize the alarm message to be associated; the determination module 20 is used to determine the target alarm type corresponding to the first alarm message, and determine the target query platform corresponding to the target alarm type; the determination module 20 is also used to perform a query operation on the target query platform according to the first alarm message to obtain candidate associated information corresponding to the first alarm message; the determination module 20 is also used to determine the first associated information corresponding to the first alarm message from the candidate associated information set; the association module 30 is used to associate the first alarm message with the first associated information.
[0122] In this embodiment, the determination module 20 is further configured to:
[0123] Determine the object type corresponding to each candidate association information in the candidate association information set;
[0124] Determine a target object type that satisfies a first preset condition from the plurality of object types, wherein the first preset condition includes: the target object type is a preset object type;
[0125] Determining candidate association information corresponding to the target object type from the candidate association information set;
[0126] The candidate association information corresponding to the target object type is determined as the first association information corresponding to the first alarm information.
[0127] In this embodiment, the first association information includes a first association object.
[0128] In this embodiment, an alarm processing device provided in this embodiment further includes a push module, a receiving module and an adjustment module, wherein the push module is used to push the first alarm information to the terminal where the first associated object is located;
[0129] The receiving module is used to receive feedback information returned by the terminal; wherein the feedback information is used to indicate whether the push result of the first alarm information is correct;
[0130] The adjustment module is used to adjust the first association information according to the feedback information.
[0131] In this embodiment, the association module 30 is further used for:
[0132] The first alarm information is associated with the adjusted first association information.
[0133] In this embodiment, the adjustment module is further used for:
[0134] When the feedback information includes that the push result is an error, generating display data according to the candidate association information set;
[0135] sending the display data to the terminal so that the terminal displays the display data;
[0136] receiving target selection information of the terminal for the display data;
[0137] The first association information is adjusted according to the target selection information.
[0138] In this embodiment, the push module is also used for:
[0139] Determining a first alarm level corresponding to the first alarm information;
[0140] When the first alarm level meets a second preset condition, determining a target number of times corresponding to the first alarm information obtained within a preset time, wherein the second preset condition includes: the first alarm level is not the highest alarm level;
[0141] When the target number satisfies a third preset condition, the first alarm level is processed according to the target number to obtain a second alarm level corresponding to the first alarm information, the second alarm level is higher than the first alarm level, and the third preset condition includes: the target number is greater than a preset number threshold;
[0142] The first alarm information and the second alarm level are pushed to the terminal where the first associated object is located.
[0143] In this embodiment, the acquisition module 10 is further used to acquire second alarm information.
[0144] In this embodiment, the determination module 20 is further configured to determine second associated information corresponding to the second alarm information; wherein the second associated information includes a second associated object.
[0145] The push module is further configured to push the second alarm information to a terminal where the second associated object is located when the first alarm information is inconsistent with the second alarm information and / or the first associated object is inconsistent with the second associated object.
[0146] In this embodiment, the determination module 20 is further configured to extract target keywords from the first alarm information;
[0147] Determining, according to the target keyword, a target alarm type corresponding to the first alarm information;
[0148] In this embodiment, the determination module 20 is further configured to perform a query operation on the target query platform according to the target keyword to obtain candidate associated information corresponding to the first alarm information.
[0149] The alarm processing device provided in this embodiment queries the associated information corresponding to the alarm information after obtaining the unassociated alarm information, and associates the alarm information with the query result, so that the unassociated alarm information can successfully notify the business personnel to ensure the safe operation of the business.
[0150] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 3 The electronic device 400 shown includes: at least one processor 401, a memory 402, at least one network interface 404 and other user interfaces 403. The various components in the electronic device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 405 is not shown in FIG. Figure 3 Various buses are labeled as bus system 405 .
[0151] The user interface 403 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0152] It can be understood that the memory 402 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 402 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0153] In some implementations, the memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 4021 and application programs 4022 .
[0154] The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 4022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 4022.
[0155] In an embodiment of the present invention, by calling a program or instruction stored in the memory 402, specifically, a program or instruction stored in the application 4022, the processor 401 is used to execute the method steps provided by each method embodiment, for example, including: obtaining a first alarm information; wherein the first alarm information is used to characterize the alarm information to be associated; determining a target alarm type corresponding to the first alarm information, and determining a target query platform corresponding to the target alarm type; performing a query operation on the target query platform according to the first alarm information to obtain a candidate associated information set corresponding to the first alarm information; determining the first associated information corresponding to the first alarm information from the candidate associated information set; and associating the first alarm information with the first associated information.
[0156] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the above method in combination with its hardware.
[0157] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0158] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0159] The electronic device provided in this embodiment may be Figure 3 The electronic device shown in FIG. 1 may perform the following steps: Figure 1 All steps of the alarm processing method in the Figure 1 For details, please refer to the technical effect of the alarm processing method shown. Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0160] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0161] When one or more programs in the storage medium can be executed by one or more processors, the alarm processing method executed on the alarm processing device side can be implemented.
[0162] The processor is used to execute the alarm processing program stored in the memory to implement the following steps of the alarm processing method executed on the alarm processing device side: obtaining first alarm information; wherein the first alarm information is used to characterize the alarm information to be associated; determining the target alarm type corresponding to the first alarm information, and determining the target query platform corresponding to the target alarm type; based on the first alarm information, performing a query operation on the target query platform to obtain a candidate associated information set corresponding to the first alarm information; determining the first associated information corresponding to the first alarm information from the candidate associated information set; and associating the first alarm information with the first associated information.
[0163] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0164] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in a random access memory.
[0165] The data storage medium may be a RAM, a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0166] The specific implementation methods described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention.
[0167] It is only a formula and is not used to limit the protection scope of the present invention. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An alarm processing method, It is characterized in that include: Obtaining first alarm information; wherein the first alarm information is used to represent the alarm information to be associated; Determining a target alarm type corresponding to the first alarm information, and determining a target query platform corresponding to the target alarm type; According to the first alarm information, a query operation is performed on the target query platform to obtain a candidate association information set corresponding to the first alarm information; Determine first association information corresponding to the first alarm information from the candidate association information set, where the first association information includes a first association object; Pushing the first association information to the terminal where the first association object is located; receiving feedback information returned by the terminal; wherein the feedback information is used to indicate whether the push result of the first alarm information is correct; When the feedback information includes that the push result is an error, generating display data according to the candidate association information set; sending the display data to the terminal so that the terminal displays the display data; receiving target selection information of the terminal for the display data; Adjusting the first association information according to the target selection information; Associating the first alarm information with the first association information includes: The first alarm information is associated with the adjusted first association information.
2. The method according to claim 1, It is characterized in that The determining, from the candidate association information set, first association information corresponding to the first alarm information includes: Determine the object type corresponding to each candidate association information in the candidate association information set; Determine a target object type that satisfies a first preset condition from the plurality of object types, wherein the first preset condition includes: the target object type is a preset object type; Determining candidate association information corresponding to the target object type from the candidate association information set; The candidate association information corresponding to the target object type is determined as the first association information corresponding to the first alarm information.
3. The method according to claim 1, It is characterized in that The pushing the first alarm information to the terminal where the first associated object is located includes: Determining a first alarm level corresponding to the first alarm information; When the first alarm level meets a second preset condition, determining a target number of times corresponding to the first alarm information obtained within a preset time, wherein the second preset condition includes: the first alarm level is not the highest alarm level; When the target number satisfies a third preset condition, the first alarm level is processed according to the target number to obtain a second alarm level corresponding to the first alarm information, the second alarm level is higher than the first alarm level, and the third preset condition includes: the target number is greater than a preset number threshold; The first alarm information and the second alarm level are pushed to the terminal where the first associated object is located.
4. The method according to claim 1, It is characterized in that The method further comprises: Obtaining second alarm information; Determine second association information corresponding to the second alarm information; wherein the second association information includes a second association object; When the first alarm information is inconsistent with the second alarm information, and / or the first associated object is inconsistent with the second associated object, the second alarm information is pushed to the terminal where the second associated object is located.
5. The method according to claim 1, It is characterized in that The determining a target alarm type corresponding to the first alarm information includes: Extracting target keywords from the first warning information; Determining, according to the target keyword, a target alarm type corresponding to the first alarm information; The step of performing a query operation on the target query platform according to the first alarm information to obtain a candidate association information set corresponding to the first alarm information includes: According to the target keyword, a query operation is performed on the target query platform to obtain a candidate associated information set corresponding to the first alarm information.
6. An alarm processing device, It is characterized in that include: An acquisition module, used for acquiring first alarm information; wherein the first alarm information is used for representing the alarm information to be associated; A determination module, used to determine a target alarm type corresponding to the first alarm information, and determine a target query platform corresponding to the target alarm type; The determination module is further configured to perform a query operation on the target query platform according to the first alarm information to obtain candidate association information corresponding to the first alarm information; The determining module is further configured to determine first associated information corresponding to the first alarm information from the candidate associated information set, wherein the first associated information includes a first associated object; A push module, used for pushing the first alarm information to the terminal where the first associated object is located; A receiving module, configured to receive feedback information returned by the terminal; wherein the feedback information is used to indicate whether the push result of the first alarm information is correct; an adjustment module, configured to generate display data according to the candidate association information set when the feedback information includes that the push result is an error; sending the display data to the terminal so that the terminal displays the display data; receiving target selection information of the terminal for the display data; Adjusting the first association information according to the target selection information; an associating module, configured to associate the first alarm information with the first associated information; The association module is further used to associate the first alarm information with the adjusted first association information.
7. An electronic device, It is characterized in that include: A processor and a memory, wherein the processor is used to execute an alarm processing program stored in the memory to implement the alarm processing method according to any one of claims 1 to 5.
8. A storage medium, It is characterized in that The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the alarm processing method according to any one of claims 1 to 5.
