Fault location method, device, computer equipment and storage medium for monitoring data

By adding dimensionality to the source alarm information and identifying the CMDB model, combined with the configuration management database expert model and frequent itemset model, the problem of low timeliness and accuracy in the existing fault location methods is solved, and efficient fault location is achieved.

CN111258798BActive Publication Date: 2024-08-27PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202010037886.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-14
Publication Date
2024-08-27
Estimated Expiration
2040-01-14

AI Technical Summary

Technical Problem

Existing fault location methods cannot guarantee timeliness, and due to the diversity of fault root causes and low-probability events, the location accuracy is low, and the impact of invalid correlation items cannot be effectively avoided.

Method used

By obtaining source alarm information, dimensionality is added to generate extended information, and the CMDB model is used to identify the extended information and generate fault location results, including the combination of the configuration management database expert model and the frequent item set model, for data association and generalization processing.

Benefits of technology

It improves the timeliness and accuracy of fault location, effectively avoids the impact of invalid associations, and ensures the accuracy of fault location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111258798B
    Figure CN111258798B
Patent Text Reader

Abstract

The present invention discloses a fault location method, device, computer equipment and storage medium for monitoring data, and belongs to the field of information processing. The fault location method for monitoring data of the present invention achieves the purpose of enriching the source alarm information by increasing the dimension of the acquired source alarm information to generate extended information, so as to facilitate data association using the enriched extended information and improve the accuracy of data association; the extended information is identified using the CMDB model to generate a fault location result, which can improve the timeliness of fault location, effectively avoid the influence of invalid association on fault location, and ensure the accuracy of fault location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing, and in particular to a method and device for locating faults in monitoring data. Background Art

[0002] At present, there are basic monitoring systems in various fields. When a fault occurs (for example: code bugs, network fluctuations, hardware equipment failures, improper operation, etc.), a large number of related fault alarms will be generated. In order to find the root cause of the fault more quickly and improve the overall positioning efficiency, there are currently many implementation schemes of fault positioning systems in various fields. For example: the fault categories are subdivided into categories and trained through tree models, and the fault positioning problem is transformed into a multi-classification problem of fault types, so as to obtain causal relationships. However, the existing fault positioning methods not only cannot guarantee the timeliness of fault processing, but also because the root causes of some faults are highly diverse, many fault events are not high-probability events. For low-probability events, the influence of invalid related items cannot be effectively avoided when locating the fault, resulting in low positioning accuracy. Summary of the invention

[0003] In view of the problem of low accuracy of existing fault location, a method, device, computer equipment and storage medium for monitoring data are provided to improve the accuracy of fault location.

[0004] To achieve the above object, the present invention provides a method for locating a fault in monitoring data, comprising the following steps:

[0005] Get source alarm information;

[0006] Adding dimension to the source alarm information based on the type of the source alarm information to generate extended information;

[0007] The extended information is identified according to the CMDB model to generate a fault location result.

[0008] Preferably, the step of obtaining source alarm information includes:

[0009] Collect source alarm information and identify the type of the source alarm information, where the type of the source alarm information includes system alarm information and application alarm information.

[0010] Preferably, the extended information includes fault application extended information or alarm extended information;

[0011] The step of increasing the dimension of the source alarm information based on the type of the source alarm information to generate extended information includes:

[0012] When the source alarm information is application alarm information, obtaining fault application information according to the source alarm information;

[0013] When the source alarm information is system alarm information, determining whether the source alarm information is valid;

[0014] The fault application information or the effective system alarm information is dimensioned based on a storage association database to generate and store fault application extension information or alarm extension information.

[0015] Preferably, when the source alarm information is application alarm information, the step of obtaining fault application information according to the source alarm information includes:

[0016] When the source alarm information is application alarm information, corresponding call link data is acquired based on the source alarm information, and fault application information of the fault root node is acquired according to the call link data.

[0017] Preferably, the step of increasing the dimension of the fault application information or the valid system alarm information based on the storage association database, generating and storing the fault application extension information or the alarm extension information includes:

[0018] According to the root node data in the fault application information, the storage association database is queried to obtain information associated with the root node data, and the fault application extension information is generated based on the information associated with the root node data;

[0019] The storage association database is queried according to the application name to which the valid system class alarm information belongs, information associated with the application name is acquired, and alarm extension information is generated based on the information associated with the application name.

[0020] Preferably, the step of identifying the extended information and generating a fault location result according to the CMDB model includes:

[0021] The CMDB model includes a configuration management database expert model;

[0022] Generate a to-be-associated set based on the acquired alarm extension information within a preset time range;

[0023] The fault application extension information is matched with the information in the to-be-associated set through the configuration management database expert model, and an association result is recursively obtained, and the association result is used as the fault location result.

[0024] Preferably, the step of identifying the extended information and generating a fault location result according to the CMDB model includes:

[0025] The CMDB model includes a configuration management database expert model and a frequent item set model;

[0026] Generate a to-be-associated set based on the acquired alarm extension information within a preset time range;

[0027] Matching the fault application extension information with the information in the to-be-associated set through the configuration management database expert model, and recursively obtaining an association result;

[0028] Determining whether the association result includes an association relationship;

[0029] When the correlation result includes a correlation relationship, the correlation result is used as the fault location result;

[0030] When the association result does not include an association relationship, generalizing the fault application extended information to obtain the fault application generalized information;

[0031] The fault location result is obtained by performing association matching on the fault application generalization information based on a preset data set through a frequent item set model.

[0032] To achieve the above object, the present invention further provides a fault location device for monitoring data, comprising:

[0033] An acquisition unit, used for acquiring source alarm information;

[0034] A generating unit, configured to increase the dimension of the source alarm information based on the type of the source alarm information to generate extended information;

[0035] The locating unit is used to identify the extended information according to the CMDB model and generate a fault locating result.

[0036] To achieve the above objectives, the present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0037] To achieve the above object, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0038] Beneficial effects of the above technical solution:

[0039] In the present technical solution, the fault location method, device, computer equipment and storage medium of monitoring data achieve the purpose of enriching the source alarm information by increasing the dimension of the acquired source alarm information to generate extended information, so as to facilitate the use of the enriched extended information for data association and improve the accuracy of data association; the extended information is identified by using the CMDB model to generate the fault location result, which can improve the timeliness of fault location, effectively avoid the influence of invalid association on fault location, and ensure the accuracy of fault location. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A method flow chart of an embodiment of the method for locating faults in monitoring data according to the present invention;

[0041] Figure 2 A flow chart of increasing the dimension of source alarm information to generate extended information in the present invention;

[0042] Figure 3 A flowchart of an embodiment of the present invention for identifying alarm extension information and generating fault location results;

[0043] Figure 4 A flowchart of another embodiment of the present invention for identifying alarm extension information and generating fault location results;

[0044] Figure 5 A module diagram of an embodiment of the fault location device for monitoring data of the present invention;

[0045] Figure 6 A schematic diagram of the hardware architecture of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0047] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0048] The fault location method, device, computer equipment and storage medium of monitoring data provided by the present invention are applicable to business fields such as banking, finance, and insurance. The present invention achieves the purpose of enriching the source alarm information by increasing the dimension of the acquired source alarm information to generate extended information, so as to facilitate data association using the enriched extended information and improve the accuracy of data association; the extended information is identified using the CMDB model to generate fault location results, which can improve the timeliness of fault location, effectively avoid the influence of invalid association on fault location, and ensure the accuracy of fault location.

[0049] Embodiment 1

[0050] See also Figure 1 , a monitoring data fault location method of this embodiment, the method comprises the following steps:

[0051] S1. Obtain source alarm information;

[0052] In actual applications, the monitoring system can add an alarm action when an alarm is triggered, and send the alarm data synchronously to Kafka (Kafka is a high-throughput distributed publish-subscribe messaging system that can process all action stream data in consumer-scale websites) to collect source alarm information. The monitoring system can use zabbix (zabbix is ​​an enterprise-level open source technology that provides distributed system monitoring and network monitoring functions based on the WEB interface). By configuring the newly added call data collection interface in the action for data transmission, the open source monitoring system can be used at the application layer to call a unified data sending interface to collect source alarm information when the alarm is sent; other change systems and log monitoring systems can also use the same collection method to collect source alarm information. Considering that a huge amount of alarm data can be generated when an alarm occurs, Kafka with a high throughput can be used as a message queue to cache source alarm information.

[0053] Furthermore, the step of obtaining source alarm information in step S1 may include:

[0054] Collect source alarm information and identify the type of the source alarm information, where the type of the source alarm information may include system alarm information and application alarm information.

[0055] Among them, application alarm information may include application alarm information, business indicator alarm information, log alarm information, etc. System alarm information may include network alarm information, server alarm information, storage device alarm information and change information, etc.

[0056] In this step, the type corresponding to the source alarm information may be identified according to the identifier carried by the source alarm information, such as system alarm information or application alarm information.

[0057] S2. Add dimension to the source alarm information based on the type of the source alarm information to generate extended information;

[0058] Wherein: the extended information may include fault application extended information or alarm extended information;

[0059] It should be noted that: since the monitoring status of application systems and business indicators directly reflects the availability of software products, in this embodiment, application-type alarm information is set to trigger fault location events, while other source alarms (system-type alarm information) do not trigger fault location events, but are only stored as data association items.

[0060] refer to Figure 2 As shown, further, in step S2, the source alarm information is dimensioned based on the type of the source alarm information to generate extended information, including:

[0061] S21. When the source alarm information is an application alarm information, obtaining fault application information according to the source alarm information;

[0062] Specifically, in step S21, when the source alarm information is application alarm information, corresponding call link data is obtained based on the source alarm information, and fault application information of the fault root node is obtained according to the call link data.

[0063] In actual applications, inter-application calls are implemented through the RPC (full name: Remote Procedure Call Protocol, Chinese: Remote Procedure Call Protocol) framework. Inter-application calls are made based on the call link data. For example, the call link data is message_id, root_id, parent_id, and child_id. Message_id represents the global id that marks the life cycle of a call request; root_id represents the starting point of the call request; parent_id represents the upstream IP information; and child_id represents the IP of the party to be called. When the system calls, data is intercepted at the RPC middleware layer to obtain the call link data. When the system is abnormal, the fault application information of the fault root node can be obtained through the call link data, thereby locating the fault root node of the application layer.

[0064] S22. When the source alarm information is a system alarm information, determining whether the source alarm information is valid;

[0065] Due to the huge amount of system alarm information, many alarms are actually just early warnings. For example, the remaining disk space is less than 10%, the remaining file sharing system space is less than 10%, etc. Therefore, it is necessary to classify whether the system alarm information has an impact on business indicators, filter out invalid system alarm information, and prevent excessive invalid system alarm information from interfering with fault location. When identifying extended information later, only consider associating application alarm information that has affected business indicators.

[0066] As an example but not a limitation, in this step, the xgboost algorithm can be used to identify whether the system alarm information has an impact on the business indicators.

[0067] 5000 sample alarm data are selected (each data is configured with a corresponding category tag). The feature vector of the sample alarm data (feature classification table 1) may include the alarm level, alarm type, alarm source, processing time, application level, application class group, computer room, whether the business indicator is complained, whether it is valid, etc., all of which adopt the one-hot encoding format. Train with the xgboost algorithm to generate an offline model. Use the offline model to identify the system alarm information and determine whether it is valid, so as to filter out invalid alarm association items. Record invalid system alarm information, and store valid system alarm information in the set to be associated.

[0068] Table 1

[0069]

[0070] S23. Based on the storage association database, the fault application information or the effective system alarm information is dimensioned, and fault application extension information or alarm extension information is generated and stored.

[0071] Since the existing alarm information (such as source alarm information) is poor in content, including only the alarm level, alarm time, alarm server IP, host name, alarm description, and alarm threshold, it is not conducive to subsequent data association. Therefore, in this step, based on the storage association database (such as CMDB, CMDB stores and manages various configuration information of equipment in the enterprise IT architecture. It is closely linked to all service support and service delivery processes, supports the operation of these processes, and maximizes the value of configuration information), the fault application information and system alarm information can be added with the server IP in the source alarm information as the center.

[0072] Specifically, step S23 may include:

[0073] According to the root node data in the fault application information, the storage association database is queried to obtain information associated with the root node data, and the fault application extension information is generated based on the information associated with the root node data;

[0074] It should be noted that the storage association database pre-stores association information of system data, and information associated with the root node data can be obtained by querying the storage association database, and then fault application extension information corresponding to the fault application information is generated based on the corresponding association information.

[0075] The storage association database is queried according to the application name to which the valid system class alarm information belongs, information associated with the application name is acquired, and alarm extension information is generated based on the information associated with the application name.

[0076] As an example and not limitation, when the source alarm information is obtained, for the system layer information, the connected switch information, firewall information, etc. can be obtained according to the host machine address to which the IP address of the source alarm information belongs; for the application layer information, the application name can be obtained according to the IP address of the source alarm information, and then the container type, exposed port, external domain name, connected database address, cache address, scheduling task information during the alarm period, and message queue names for other system interactions can be obtained, thereby enriching the source alarm information to multi-dimensional data covering the system layer, network layer, application layer, data layer and middleware layer, thereby achieving the purpose of increasing dimensionality.

[0077] S3. Identify the extended information according to the CMDB model and generate a fault location result.

[0078] In step S3, when the CMDB model includes a configuration management database expert model, the step of identifying the extended information according to the CMDB model to generate a fault location result includes (e.g. Figure 3 shown):

[0079] S301. Generate a set to be associated based on the acquired alarm extension information within a preset time range;

[0080] It should be noted that the to-be-associated set is a set updated in real time, and the set is composed of valid system alarm information determined in step S22.

[0081] S302. Match the fault application extension information with the information in the to-be-associated set through the configuration management database expert model, recursively obtain an association result, and use the association result as the fault location result.

[0082] The configuration management database expert model is a storage warehouse used to centrally store and manage all entity elements in the set to be associated. In the configuration management database expert model, configuration items, attributes and association relationships are the three basic elements of the configuration management database expert model. The configuration model formed by the combination of the three is the real projection of the entity elements in the actual set to be associated in the monitoring system. Configuration items are logical resources such as call link data, source alarm information type, alarm level, alarm type, alarm source, processing time, application level, application class group, computer room, whether the business indicator is complained, whether it is valid, etc. under the control of configuration management; attributes are specific descriptions of configuration items; association relationships describe various relationships between configuration items in the configuration management database. In actual applications, the fault application extension information is matched with the configuration items in the set to be associated to obtain the matching configuration items, and the association relationship information associated with the fault application extension information is obtained based on the attributes and association relationships of the configuration items in a recursive manner, and matching is performed layer by layer until the association result is obtained, so that the association result is used as the fault location result.

[0083] In this embodiment, based on the to-be-associated set storing valid system alarm information and change information, a preset time range is selected as the associated time period. It is assumed that the alarms occurring within this time period have an associated relationship. When an alarm occurs, the fault application information and the configuration items in the to-be-associated set are matched one by one. If the match is successful, the associated alarm information is used as the associated party to continue to be associated in the corresponding associated set, and this is recursively performed until no new association is generated. The configuration management database expert model in this embodiment is based on the strong data association of CMDB, and the association accuracy is very high.

[0084] In step S3, when the CMDB model includes a configuration management database expert model and a frequent item set model, the step of identifying the extended information according to the CMDB model to generate a fault location result includes (e.g. Figure 4 shown):

[0085] S311. Generate a set to be associated based on the acquired alarm extension information within a preset time range;

[0086] S312. Matching the fault application extension information with the information in the to-be-associated set through the configuration management database expert model, and recursively obtaining the association result;

[0087] In this embodiment, based on the to-be-associated set that stores valid system alarm information and change information, a preset time range is selected as the associated time period. It is assumed that the alarms occurring within this time period have an associated relationship. When an alarm occurs, the fault application information and the to-be-associated set are associated with each other. If the association is successful, the associated alarm information will be used as the associated party to continue to be associated in the corresponding associated set, and this process is performed recursively until no new association relationship is generated.

[0088] S313. Determine whether the association result includes an association relationship. If so, execute step S314; if not, execute step S315;

[0089] In this step, when the association result has no association relationship, it is necessary to combine the frequent item set model to locate the fault, and refer to steps S314 to S316 for details.

[0090] S314. Using the association result as the fault location result;

[0091] S315. Generalize the fault application extension information to obtain the fault application generalization information;

[0092] S316. Perform association matching on the fault application generalization information based on a preset data set using a frequent item set model to obtain the fault location result.

[0093] The essence of the frequent item set model is to divide a large amount of data into several subsets, and judge whether there is a correlation between the data according to the frequency of the simultaneous appearance of each data in each subset, and then judge the causal orientation in the correlation relationship according to the confidence level in the correlation data set. However, a huge disadvantage of the frequent item set algorithm in the fault location scenario is that the correlation relationship is based on frequency. Only alarms with high frequency can mine correlation relationships, but alarm events are very random, and for professional Internet companies, the alarm repetition rate is also very low. If the frequency threshold is lowered, many invalid correlation relationships will also appear. For this reason, in this embodiment, the generalized fault application extension information is located using the frequent item set model to avoid the above defects.

[0094] In this embodiment, the fault application extended information is generalized in multiple layers. For example, if the interface a of application A generates an alarm that a certain interface of other applications is not connected, it can be generalized into the following categories. Based on the call link data, the upstream and downstream of the interface call are not considered. The range is from small to large, respectively, error type (whether the interface call is timed out, whether the parameters are legal, whether the database operation is abnormal, etc.) + interface name + application name, interface name + application name. Similarly, the system layer alarm can also be generalized in this way. For example, if the disk space of ip1 is less than 5%, it can be generalized into ip1 + monitoring group (application group corresponding to ip1, application server group, database group, middleware group) + disk space (alarm type classification, disk space, cpu usage rate, application process), and the remaining low-dimensional generalization methods are consistent with the application layer. Then the generalized alarms of each layer are generated by the apriori algorithm to generate frequent item sets associated with multiple layers. After generalization, many-to-many causal relationships may appear, so it is necessary to calculate the proportion of various root causes to determine the possibility of the root cause of the fault. Because the generalization of the alarm content actually lowers the threshold of the frequent itemset, and because the generalization classification does not produce many invalid associations caused by the lowered threshold, the association effect is greatly improved compared to the traditional association mode of frequent itemsets.

[0095] As an example but not limitation, the specific process of associating fault application generalization information based on a preset data set for a frequent item set model is as follows: providing a preset data set, counting the number of occurrences of the same data in the preset data set, removing the data that does not meet the frequency threshold in the preset data set, and dividing the preset data set according to a certain time dimension to generate multiple level 1 data sets; taking two data within the same time range as level 2 data, counting the number of occurrences of the same data in the level 2 data set, and removing the level 2 data that does not meet the frequency threshold; taking three data within the same time range as level 3 data sets, counting the number of occurrences of the same data in the level 3 data set, and removing the level 3 data that does not meet the frequency threshold; calculating the confidence between multiple levels of data, and outputting a directed association relationship.

[0096] The use of configuration management database expert model and frequent item set model can not only achieve the accuracy brought by the rule model, but also avoid the difficulty of maintaining a large number of complex rule models and the lack of positioning caused by insufficient rule coverage to a certain extent. Among them, the traditional frequent item set model is the most related event by mining common events in the same time dimension with high probability. The biggest problem is that many fault events are not high-probability events, and if the frequent item threshold is lowered, many invalid related items will be added, affecting the accuracy of positioning. This embodiment, by hierarchically generalizing each source alarm information, is actually a multi-level classification of the source alarm information, and a multi-level frequent item model is generated therefrom. Since the generalization process increases the probability of event repetition to a certain extent, it also avoids the influence of invalid associations. Multi-level generalization can provide a general suspicion direction even if accurate association cannot be made, accelerating the positioning and processing process when a fault occurs.

[0097] The fault location method of monitoring data can obtain the fault application information of the fault root node when the fault alarm is generated according to the call link between applications, and locate the fault through the configuration management database expert model and the frequent item set model after data enrichment and pre-classification and generalization of the source alarm information; according to the call link data, the call relationship between applications can be efficiently sorted out, and the fault node in the link can be accurately focused on rather than the top-level error-reporting application. The accuracy of the configuration management database expert model in fault location and the high coverage of the frequent item set model plus alarm generalization can effectively complement each other, and can make accurate associations in massive alarms. In the absence of accurate associations, it can also provide a general suspicion direction, greatly accelerating the fault handling process and reducing fault losses.

[0098] Embodiment 2

[0099] See also Figure 5 A fault location device 1 for monitoring data of this embodiment includes: an acquisition unit 11, a generation unit 12 and a location unit 13, wherein:

[0100] An acquisition unit 11 is used to acquire source alarm information;

[0101] In this embodiment, the acquisition unit 11 collects source alarm information and identifies the type of the source alarm information, which may include system alarm information and application alarm information. Specifically, the type corresponding to the source alarm information can be identified according to the identifier carried by the source alarm information, such as system alarm information or application alarm information.

[0102] Among them, application alarm information may include application alarm information, business indicator alarm information, log alarm information, etc. System alarm information may include network alarm information, server alarm information, storage device alarm information and change information, etc.

[0103] A generating unit 12, configured to increase the dimension of the source alarm information based on the type of the source alarm information to generate extended information;

[0104] Wherein: the extended information may include fault application extended information or alarm extended information;

[0105] When the source alarm information is application alarm information, obtaining fault application information according to the source alarm information;

[0106] Specifically, when the source alarm information is application alarm information, corresponding call link data is acquired based on the source alarm information, and fault application information of the fault root node is acquired according to the call link data.

[0107] When the source alarm information is system alarm information, determining whether the source alarm information is valid;

[0108] Due to the huge amount of system alarm information, many alarms are actually just early warnings. For example, the remaining disk space is less than 10%, the remaining file sharing system space is less than 10%, etc. Therefore, it is necessary to classify whether the system alarm information has an impact on business indicators, filter out invalid system alarm information, and prevent excessive invalid system alarm information from interfering with fault location. When identifying extended information later, only consider associating application alarm information that has affected business indicators.

[0109] Based on the storage association database, the fault application information or the effective system alarm information is increased in dimension to generate and store the fault application extension information or the alarm extension information.

[0110] Specifically, the storage association database may be queried according to the root node data in the fault application information to obtain information associated with the root node data, and the fault application extension information may be generated based on the information associated with the root node data;

[0111] It should be noted that the storage association database pre-stores association information of system data, and information associated with the root node data can be obtained by querying the storage association database, and then fault application extension information corresponding to the fault application information is generated based on the corresponding association information.

[0112] The storage association database is queried according to the application name to which the valid system class alarm information belongs, information associated with the application name is acquired, and alarm extension information is generated based on the information associated with the application name.

[0113] The locating unit 13 is used to identify the extended information according to the CMDB model to generate a fault locating result.

[0114] In this embodiment, the positioning unit 13 generates a set to be associated based on the acquired alarm extended information within a preset time range; matches the fault application extended information with the information in the set to be associated through the configuration management database expert model, recursively obtains the association result, and uses the association result as the fault positioning result.

[0115] In this embodiment, based on the to-be-associated set storing valid system alarm information and change information, a preset time range is selected as the associated time period. It is assumed that the alarms occurring within this time period have an associated relationship. When an alarm occurs, the fault application information and the to-be-associated set are associated with each other. If the association is successful, the associated alarm information is used as the associated party to continue to be associated in the corresponding associated set, and this is recursively performed until no new association is generated. The configuration management database expert model in this embodiment is based on the strong data association of CMDB, and the association accuracy is very high.

[0116] In this embodiment, the fault location device 1 of monitoring data achieves the purpose of enriching the source alarm information by increasing the dimension of the acquired source alarm information to generate extended information, so as to facilitate data association using the enriched extended information and improve the accuracy of data association; the extended information is identified by using the CMDB model to generate the fault location result, which can improve the timeliness of fault location, effectively avoid the influence of invalid association on fault location, and ensure the accuracy of fault location.

[0117] Embodiment three:

[0118] To achieve the above-mentioned purpose, the present invention further provides a computer device 2, which includes multiple computer devices 2. The components of the fault location device 1 for monitoring data of the second embodiment can be dispersed in different computer devices 2. The computer device 2 can be a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including independent server, or server cluster composed of multiple servers) that executes the program. The computer device 2 of this embodiment includes at least but is not limited to: a memory 21, a processor 23, a network interface 22 and a fault location device 1 for monitoring data that can be interconnected through a system bus (refer to Figure 6 ). It should be pointed out that Figure 6 Only a computer device 2 having components is shown, but it should be understood that implementing all of the components shown is not a requirement and more or fewer components may alternatively be implemented.

[0119] In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 21 can be an internal storage unit of the computer device 2, such as a hard disk or memory of the computer device 2. In other embodiments, the memory 21 can also be an external storage device of the computer device 2, such as a plug-in hard disk equipped on the computer device 2, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 21 can also include both the internal storage unit of the computer device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the computer device 2, such as the program code of the fault location method of monitoring data in embodiment 1, etc. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.

[0120] The processor 23 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 23 is generally used to control the overall operation of the computer device 2, such as executing control and processing related to data interaction or communication with the computer device 2. In this embodiment, the processor 23 is used to run the program code stored in the memory 21 or process data, such as running the fault location device 1 for monitoring data.

[0121] The network interface 22 may include a wireless network interface or a wired network interface, and the network interface 22 is generally used to establish a communication connection between the computer device 2 and other computer devices 2. For example, the network interface 22 is used to connect the computer device 2 to an external terminal through a network, and to establish a data transmission channel and a communication connection between the computer device 2 and the external terminal. The network may be a wireless or wired network such as an Intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, or Wi-Fi.

[0122] It should be pointed out that Figure 6 Only computer device 2 is shown with components 21 - 23 , but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0123] In this embodiment, the fault location device 1 of the monitoring data stored in the memory 21 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (processor 23 in this embodiment) to complete the present invention.

[0124] Embodiment 4:

[0125] To achieve the above purpose, the present invention also provides a computer-readable storage medium, which includes multiple storage media, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, App application mall, etc., on which a computer program is stored, and the program implements the corresponding function when executed by the processor 23. The computer-readable storage medium of this embodiment is used for storing the fault location device 1 of monitoring data, and when executed by the processor 23, the fault location method of monitoring data of embodiment 1 is implemented.

[0126] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0128] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for locating faults in monitoring data, characterized in that: The steps include: Get source alarm information; Adding dimension to the source alarm information based on the type of the source alarm information to generate extended information; wherein the extended information includes fault application extended information and alarm extended information; The extended information is identified according to a CMDB model to generate a fault location result; wherein the CMDB model includes a configuration management database expert model, or the CMDB model includes a configuration management database expert model and a frequent item set model; When the CMDB model includes a configuration management database expert model, the step of identifying the extended information according to the CMDB model to generate a fault location result includes: Generate a to-be-associated set based on the acquired alarm extension information within a preset time range; Matching the fault application extension information with the information in the to-be-associated set through the configuration management database expert model, recursively acquiring an association result, and using the association result as the fault location result; When the CMDB model includes the configuration management database expert model and the frequent item set model, the step of identifying the extended information according to the CMDB model to generate a fault location result includes: Generate a to-be-associated set based on the acquired alarm extension information within a preset time range; Matching the fault application extension information with the information in the to-be-associated set through the configuration management database expert model, and recursively obtaining an association result; Determining whether the association result includes an association relationship; If yes, taking the correlation result as the fault location result; If not, generalize the fault application extension information to obtain fault application generalization information; and obtain the fault location result by performing association matching on the fault application generalization information based on a preset data set using a frequent item set model.

2. The fault location method of monitoring data according to claim 1, characterized in that: The steps to obtain source alarm information include: Collect source alarm information and identify the type of the source alarm information, where the type of the source alarm information includes system alarm information and application alarm information.

3. The fault location method of monitoring data according to claim 2, characterized in that: The step of increasing the dimension of the source alarm information based on the type of the source alarm information to generate extended information includes: When the source alarm information is application alarm information, obtaining fault application information according to the source alarm information; When the source alarm information is system alarm information, determining whether the source alarm information is valid; The fault application information or the effective system alarm information is dimensioned based on a storage association database to generate and store fault application extension information or alarm extension information.

4. The fault location method of monitoring data according to claim 3, characterized in that: When the source alarm information is application alarm information, the step of obtaining fault application information according to the source alarm information includes: When the source alarm information is application alarm information, corresponding call link data is acquired based on the source alarm information, and fault application information of the fault root node is acquired according to the call link data.

5. The fault location method of monitoring data according to claim 3, characterized in that: The step of increasing the dimension of the fault application information or the effective system alarm information based on the storage association database, generating and storing the fault application extension information or the alarm extension information includes: According to the root node data in the fault application information, the storage association database is queried to obtain information associated with the root node data, and the fault application extension information is generated based on the information associated with the root node data; The storage association database is queried according to the application name to which the valid system class alarm information belongs, information associated with the application name is acquired, and alarm extension information is generated based on the information associated with the application name.

6. A fault location device for monitoring data, characterized in that: include: An acquisition unit, used for acquiring source alarm information; A generating unit, configured to increase the dimension of the source alarm information based on the type of the source alarm information to generate extended information; wherein the extended information includes fault application extended information and alarm extended information; A positioning unit, configured to identify the extended information according to a CMDB model and generate a fault positioning result; wherein the CMDB model includes a configuration management database expert model, or the CMDB model includes a configuration management database expert model and a frequent item set model; when the CMDB model includes a configuration management database expert model, the step of identifying the extended information according to the CMDB model and generating a fault positioning result comprises: generating a to-be-associated set based on the acquired alarm extended information within a preset time range; matching the fault application extended information with the information in the to-be-associated set through the configuration management database expert model, recursively acquiring an association result, and using the association result as the fault positioning result; when the CMDB model When the model includes a configuration management database expert model and the frequent item set model, the step of identifying the extended information according to the CMDB model to generate a fault location result includes: generating a to-be-associated set based on the acquired alarm extended information within a preset time range; matching the fault application extended information with the information in the to-be-associated set through the configuration management database expert model and recursively obtaining an associated result; judging whether the associated result includes an associated relationship; if so, taking the associated result as the fault location result; if not, generalizing the fault application extended information to obtain fault application generalized information; and obtaining the fault location result by associating and matching the fault application generalized information based on a preset data set through the frequent item set model.

7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Alarm message processing method and device

    CN101212367A

  • Method for constructing intelligent communication alarm fault positioning expert system based on meta-knowledge

    CN102083116A

  • Method for positioning network fault in network management system and device thereof

    CN104065501A

  • Resource pre-warning method and system based on resource topology

    CN107124299A

  • Method and apparatus of determining alarm, and alarm system

    CN108270618A