Internet equipment fault diagnosis method and system

The neural network model is used to perform fault diagnosis on real-time business status data of Internet equipment, which solves the problem of low efficiency and accuracy of Internet equipment fault diagnosis, realizes automated fault detection and location, and reduces operation and maintenance costs.

CN118827342APending Publication Date: 2024-10-22CHINA MOBILE GROUP ZHEJIANG +1

Patent Information

Application Number
CN202311250047.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

As the scale and system complexity of the Internet increase, existing technologies are unable to quickly and accurately handle Internet equipment failures, resulting in operation and maintenance personnel facing the pressure of diagnosis and repair of large amounts of data and information. There are risks of human subjective judgment, misjudgment, and delayed processing. .

Method used

The Internet equipment fault diagnosis method based on the neural network model is adopted. By obtaining real-time business status data and training the back propagation neural network model, a real-time fault diagnosis model for Internet equipment is constructed to achieve automated fault detection and location.

Benefits of technology

It improves the accuracy and efficiency of Internet equipment fault diagnosis, reduces human operation and maintenance costs, reduces fault processing time, and avoids human misjudgment and delayed processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827342A_ABST
    Figure CN118827342A_ABST
Patent Text Reader

Abstract

The invention provides an Internet equipment fault diagnosis method and system, and the method comprises the steps: obtaining the real-time business state data of target Internet equipment within a preset time period after determining that the target Internet equipment breaks down; and inputting the real-time service state data into a real-time fault diagnosis model of the Internet equipment to obtain a fault diagnosis result output by the real-time fault diagnosis model of the Internet equipment, the internet equipment real-time fault diagnosis model is obtained by training a neural network model based on sample service state data marked with an internet equipment fault type label and a fault index label. According to the invention, automatic equipment fault detection and positioning are realized, and the accuracy and efficiency of internet equipment fault diagnosis are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an Internet device fault diagnosis method and system. Background Art

[0002] As the scale of the Internet continues to expand, Internet applications and Infrastructure as a Service (IAAS) devices continue to increase, the system structure becomes increasingly complex, and the failure rate also increases. Existing equipment fault diagnosis usually relies on the manpower and experience of operation and maintenance personnel, and requires a lot of time and energy to analyze and solve problems.

[0003] However, as the scale of the Internet continues to expand and the complexity of systems increases, manual fault diagnosis alone can no longer meet the needs of fast and accurate fault handling. Operation and maintenance personnel are faced with a large amount of data and information and need to diagnose and repair complex systems in a short period of time. This process involves the risk of subjective judgment, misjudgment, and delayed processing.

[0004] Therefore, there is an urgent need for an Internet device fault diagnosis method and system to solve the above problems. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides an Internet device fault diagnosis method and system.

[0006] The present invention provides an Internet device fault diagnosis method, comprising:

[0007] After determining that a target Internet device has failed, obtaining real-time service status data of the target Internet device within a preset time period;

[0008] The real-time business status data is input into the real-time fault diagnosis model of the Internet device to obtain the fault diagnosis result output by the real-time fault diagnosis model of the Internet device, wherein the real-time fault diagnosis model of the Internet device is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

[0009] According to a method for diagnosing faults of an Internet device provided by the present invention, the Internet device real-time fault diagnosis model is trained by the following steps:

[0010] Obtain historical service status data of multiple sample Internet devices;

[0011] Determine the fault type corresponding to the historical service status data according to the fault information generated when each of the sample Internet devices has a device fault at a historical moment, and obtain sample fault indicator data according to the fault type, wherein the sample fault indicator data is the data in the historical service status data that causes the device fault;

[0012] Generate a fault label corresponding to the historical service status data according to the fault type and the sample fault indicator data to obtain the sample service status data;

[0013] The neural network model is trained using the sample business status data, and if the training conditions are met, the Internet device real-time fault diagnosis model is obtained.

[0014] According to a method for diagnosing faults of Internet devices provided by the present invention, the neural network model is a back propagation neural network model;

[0015] The neural network model is trained by the sample business status data, and if the training conditions are met, the real-time fault diagnosis model of the Internet device is obtained, including:

[0016] It is determined whether the training results in each round of training meet the preset error threshold. If not, the connection weights and thresholds in the back propagation neural network model are updated through the model parameter correction formula until the training results of the current training round meet the preset error threshold, thereby obtaining the Internet device real-time fault diagnosis model. The model parameter correction formula is:

[0017]

[0018]

[0019]

[0020]

[0021]

[0022]

[0023] Where w represents the connection weight, j represents the jth hidden layer node, k represents the kth output layer node, n0 represents the number of iterations, p represents the number of samples, η represents the step size, and o j represents the output of the jth hidden layer node, i represents the ith input layer node, θ represents the threshold in the back propagation neural network model, t represents the expected output value, and y represents the network predicted output value.

[0024] According to a method for diagnosing faults of an Internet device provided by the present invention, the method further includes:

[0025] After determining that the target Internet device has failed, if the real-time service status data is not obtained within the preset time period, receiving a first input, wherein the first input includes an operation of querying service status data of the target Internet device at previous N moments;

[0026] In response to the first input, the acquired business status data of the previous N moments are matched with a preset Internet device fault diagnosis tree to obtain a fault diagnosis result of the target Internet device, wherein the preset Internet device fault diagnosis tree is constructed through a logical causal relationship between fault type and fault characteristics.

[0027] According to a method for diagnosing faults of an Internet device provided by the present invention, after inputting the real-time service status data into a real-time fault diagnosis model of an Internet device and obtaining a fault diagnosis result output by the real-time fault diagnosis model of the Internet device, the method further comprises:

[0028] Determine the fault type and fault indicator data of the target Internet device according to the fault diagnosis result;

[0029] Matching the fault type and the fault indicator data with the fault processing solutions in the preset fault processing solution library to obtain a target processing solution;

[0030] Generate corresponding fault warning information according to the fault type, the fault indicator data and the target processing solution.

[0031] According to a method for diagnosing faults of an Internet device provided by the present invention, the step of obtaining real-time service status data of the target Internet device within a preset time period further includes:

[0032] The real-time business status data is preprocessed to obtain preprocessed real-time business status data, so as to perform Internet device fault diagnosis through the preprocessed real-time business status data, wherein the data preprocessing at least includes denoising processing, missing value processing and timestamp processing.

[0033] The present invention also provides an Internet device fault diagnosis system, comprising:

[0034] A real-time data acquisition module, used to obtain the real-time service status data of the target Internet device within a preset time period after determining that the target Internet device has failed;

[0035] A fault diagnosis module is used to input the real-time business status data into the real-time fault diagnosis model of the Internet device to obtain the fault diagnosis result output by the real-time fault diagnosis model of the Internet device, wherein the real-time fault diagnosis model of the Internet device is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the Internet device fault diagnosis methods described above is implemented.

[0037] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the Internet device fault diagnosis method as described in any one of the above is implemented.

[0038] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the Internet device fault diagnosis methods described above.

[0039] The Internet device fault diagnosis method and system provided by the present invention, after determining that a target Internet device has a fault, uses a real-time fault diagnosis model for Internet devices obtained through neural network training to perform fault diagnosis on real-time business status data of the target Internet device acquired within a preset time period, thereby realizing automated equipment fault detection and positioning, and improving the accuracy and efficiency of Internet device fault diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic diagram of a flow chart of a method for diagnosing faults of an Internet device provided by the present invention;

[0042] Figure 2 A schematic diagram of the Internet device diagnosis process based on the neural network model provided by the present invention;

[0043] Figure 3 A schematic diagram of a real-time fault diagnosis mode and an offline fault diagnosis mode provided by the present invention;

[0044] Figure 4A schematic diagram of the structure of the Internet device fault diagnosis system provided by the present invention;

[0045] Figure 5 A schematic diagram of the overall structure of the Internet device fault diagnosis system provided by the present invention;

[0046] Figure 6 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0048] Traditional fault diagnosis usually relies on the manpower and experience of operation and maintenance personnel, which puts tremendous pressure on the operation and maintenance team. Troubleshooting requires operation and maintenance personnel to have excellent fault location capabilities and professional qualities, and requires a lot of time and energy to analyze and solve problems. This method not only increases the cost of the operation and maintenance department, but also prolongs the duration of fault handling.

[0049] However, with the continuous expansion of the Internet and the increase in system complexity, manual fault diagnosis alone can no longer meet the needs of fast and accurate fault handling. When faced with a large amount of data and information, operation and maintenance personnel need to diagnose and repair complex systems in a short period of time. This process involves the risk of subjective judgment, misjudgment and delayed processing.

[0050] Artificial Neural Networks (ANNs) is an information processing system with nonlinear and adaptive capabilities. It has a large number of processing units designed to imitate neurons in human brain cells, and is a nonlinear dynamic system connected by a high-intensity connection method. Neural networks have the characteristics of distributed storage, parallel processing, fault tolerance and adaptive capabilities. Among them, distributed storage means that knowledge in neural networks is not stored in a specific storage unit, but distributed in the entire system; parallel processing is not only reflected in structural parallelism, but also in parallel processing sequence; fault tolerance is reflected in the ability to learn and obtain results from incomplete data without affecting the operation of the entire system; adaptability is reflected in the ability to find the internal connection between input and output based on samples and through learning, so as to solve the current problem. In addition, dynamic systems can also be easily solved based on this ability.

[0051] This application uses a fault diagnosis model constructed based on a neural network to perform fault diagnosis on Internet devices. It does not require operation and maintenance experts to organize, summarize and digest knowledge. It only uses examples or examples of problem solving by operation and maintenance experts to train the neural network. In terms of knowledge representation, the neural network adopts implicit representation. While acquiring knowledge, the automatically generated knowledge is represented by the structure and weights of the network, and several pieces of knowledge of a certain problem are represented in the same network. It has strong versatility and is easy to realize automatic knowledge acquisition and parallel associative reasoning. In actual application, the neural network realizes reasoning through the interaction between neurons, thereby intelligently diagnosing the current cause of the fault and the corresponding solution, reducing the cost of human operation and maintenance and ensuring the rapid recovery of the business system.

[0052] Figure 1 A flow chart of the Internet device fault diagnosis method provided by the present invention is shown as follows: Figure 1 As shown, the present invention provides an Internet device fault diagnosis method, comprising:

[0053] Step 101, after determining that a target Internet device fails, obtain real-time service status data of the target Internet device within a preset time period.

[0054] In the present invention, a preset duration is set, which indicates how long it takes to obtain the real-time service status data of the target Internet device when a fault occurs. When an Internet device sends a fault, various service status data related to the target Internet device are obtained within the preset duration by real-time monitoring of the target Internet device, such as network traffic, processing speed, connection status, device operation log, and error report.

[0055] Step 102: input the real-time business status data into the real-time fault diagnosis model of the Internet device to obtain the fault diagnosis result output by the real-time fault diagnosis model of the Internet device, wherein the real-time fault diagnosis model of the Internet device is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

[0056] The Internet device fault diagnosis process is a process of determining what faults the object (i.e., the fault type) has and the possible causes of these faults (i.e., which fault indicator data will cause the fault, such as hardware storage space greater than the maximum threshold, which may cause system crashes, data loss, or performance degradation) based on the abnormal characteristics of the diagnostic object (i.e., the target Internet device). In the present invention, a diagnostic problem can be formalized as a four-element formula:

[0057] DP=(X,Y,E,X + );

[0058] Where X=(x1,x2,...,x n ) T represents a non-empty feature set, Y = (y1, y2, ..., y n ) T represents a non-empty set of faults; X + ∈X, is a subset of the feature set X, indicating the feature set that has been observed to exist; E∈X×Y, is a relational subset defined on X×Y, that is, the knowledge about the causal relationship between faults and features. In traditional diagnostic expert systems, E can be the probability of a feature caused by a fault, or it can be a membership function of a causal binary ordered fuzzy relationship defined on X×Y. In a neural network, E is ultimately expressed as the connection weights and thresholds between the input layer and the output layer of the neural network. In the present invention, by using sample business status data marked with Internet device fault type labels and fault indicator labels, the neural network model is trained so that the model can learn the association between the features of different fault types and fault indicators, thereby constructing a real-time fault diagnosis model for Internet devices.

[0059] After the real-time business status data is input into the real-time fault diagnosis model of the Internet device, the model will process and analyze the input data and output the fault diagnosis results. It will display the fault type of the target Internet device and the indicator data causing the fault (such as memory usage, disk space, etc.) to the operation and maintenance personnel through the display terminal, thereby providing the operation and maintenance personnel with relevant information such as fault detection and fault location. Figure 2 The schematic diagram of the Internet device diagnosis process based on the neural network model provided by the present invention can be referred to Figure 2 As shown, in the present invention, in the real-time diagnosis scenario and training process, the input data can be preprocessed and then feature selection / extraction can be performed. In the training process, the model learns by extracting the features, and in the real-time diagnosis scenario, reasoning can be performed based on the features extracted from the real-time business status data, and the model outputs the corresponding diagnosis results.

[0060] The Internet device fault diagnosis method provided by the present invention, after determining that a target Internet device has a fault, uses a real-time fault diagnosis model for Internet devices obtained through neural network training to perform fault diagnosis on real-time business status data of the target Internet device acquired within a preset time period, thereby realizing automated equipment fault detection and positioning, and improving the accuracy and efficiency of Internet device fault diagnosis.

[0061] Based on the above embodiment, the Internet device real-time fault diagnosis model is trained by the following steps:

[0062] Obtain historical service status data of multiple sample Internet devices;

[0063] Determine the fault type corresponding to the historical service status data according to the fault information generated when each of the sample Internet devices has a device fault at a historical moment, and obtain sample fault indicator data according to the fault type, wherein the sample fault indicator data is the data in the historical service status data that causes the device fault;

[0064] Generate a fault label corresponding to the historical service status data according to the fault type and the sample fault indicator data to obtain the sample service status data;

[0065] The neural network model is trained using the sample business status data, and if the training conditions are met, the Internet device real-time fault diagnosis model is obtained.

[0066] In the present invention, historical service status data of sample Internet devices are obtained, which contain various service status information of devices at different times, such as connection status, bandwidth utilization, memory status, disk utilization, device temperature, device log information, and system event information, etc. Then, based on the historical fault information of these sample Internet devices, the fault type and sample fault indicator data are determined. By analyzing the historical fault information of the sample Internet devices, the types of faults occurring in the historical service status data are determined, such as connection failure, hardware failure, software error, transmission failure, etc.; at the same time, based on the fault type and historical service status data, sample fault indicator data related to the fault are obtained. These fault indicator data are key factors leading to device failures, which help the model to accurately identify faults. For example, too high hard disk temperature may cause hardware failure, and too high CPU occupancy may cause system performance degradation, etc.

[0067] Furthermore, based on the fault type and sample fault indicator data, fault labels corresponding to the historical business status data are generated. These labels will be used as markers for training samples to guide the neural network model to learn the association between fault types and fault indicators. During the training process, the error of the model on the training set is minimized by continuously adjusting the weights and biases of the neural network. Through multiple iterations of optimizing the training process, when the model reaches the pre-set convergence condition on the training set, that is, the error is within an acceptable range, a real-time fault diagnosis model for Internet devices can be obtained. This model can perform fault diagnosis based on real-time business status data, predict the current fault type of the device, and accurately predict the corresponding fault label based on the input business status data, that is, when an Internet device fails, the fault type of the device and the main indicator data factors causing the failure can be obtained in real time.

[0068] Aiming at the development trend of Internet device management from centralized to distributed, the present invention establishes an adaptive distributed diagnosis model, trains the neural network model based on the fault type and fault indicator data corresponding to the sample business status data, thereby incorporating different detection strategies into the different fault characteristics and status attributes of each device in the Internet business, realizes intelligent fault diagnosis of Internet devices, and accurately obtains real-time fault diagnosis results of devices.

[0069] Based on the above embodiment, the neural network model is a back propagation neural network model. In the present invention, a back propagation (BP) neural network model is used for training. The neural network model is a learning algorithm with a teacher (supervised). The input learning samples are p (x1, x2, ..., x p ), it is known that the corresponding teacher sample (i.e. expected value) is (t1, t2, ..., t p ), the learning algorithm is based on the actual output prediction value (y1,y2,...,y p ) and (t1,t2,...,t p ) to modify its connection weight and threshold so that t p and p As close as possible.

[0070] Specifically, the neural network model is trained by the sample business status data, and if the training conditions are met, the real-time fault diagnosis model of the Internet device is obtained, including:

[0071] It is determined whether the training results in each round of training meet the preset error threshold. If not, the connection weights and thresholds in the back propagation neural network model are updated through the model parameter correction formula until the training results of the current training round meet the preset error threshold, thereby obtaining the Internet device real-time fault diagnosis model. The model parameter correction formula is:

[0072]

[0073]

[0074]

[0075]

[0076]

[0077]

[0078] Furthermore, the network prediction error E is calculated:

[0079]

[0080] Where w represents the connection weight, j represents the jth hidden layer node, k represents the kth output layer node, n0 represents the number of iterations, p represents the number of samples, η represents the step size, and o j Represents the output of the jth hidden layer node, i represents the ith input layer node, θ represents the threshold in the back propagation neural network model, t represents the expected output value, y represents the network predicted output value, l represents the number of parameters contained in each sample, and ε represents the preset error threshold. In the present invention, in each round of training, if the network prediction error E is less than the preset error threshold ε, the iterative training is stopped to obtain a trained model, that is, a real-time fault diagnosis model for Internet devices. It should be noted that in the present invention, the preset error threshold ε is a positive number, and its specific value is related to the accuracy of network model training. The present invention is based on the BP neural network model, and through the above-mentioned model parameter correction formula, the model is gradually optimized and approaches the optimal solution during the training process to avoid local optimal solutions.

[0081] Based on the above embodiment, the method further includes:

[0082] After determining that the target Internet device has failed, if the real-time service status data is not obtained within the preset time period, receiving a first input, wherein the first input includes an operation of querying service status data of the target Internet device at previous N moments;

[0083] In response to the first input, the acquired business status data of the previous N moments are matched with a preset Internet device fault diagnosis tree to obtain a fault diagnosis result of the target Internet device, wherein the preset Internet device fault diagnosis tree is constructed through a logical causal relationship between fault type and fault characteristics.

[0084] In the present invention, the fault diagnosis method based on the fault tree is relatively dependent on the knowledge and experience of domain experts, and has no learning and adaptive capabilities, so it is not suitable for online fault diagnosis. However, the advantage of this method is that it can fully draw on the knowledge and experience of domain experts to provide assistance for equipment fault diagnosis. Therefore, the present invention constructs a preset Internet device diagnostic tree and applies it to the offline fault diagnosis working mode.

[0085] The present invention is based on the knowledge, experience and reasoning methods of experts in the field of Internet devices. After extraction and organization, the knowledge is put into the knowledge base, and the knowledge in the knowledge base is represented as a fault tree diagram according to the cause and effect relationship. When a fault occurs, the corresponding fault signs and phenomena are obtained based on the business status data of the Internet device that has failed at multiple historical moments before the current moment, and the fault signs are used as the starting point for fault analysis to complete fault reasoning and solve the fault problem.

[0086] The method of constructing the Internet device fault diagnosis tree may vary according to the actual situation and requirements. In one embodiment, the fault tree may be obtained by the following construction method:

[0087] Determine the failure mode: First, you need to determine the possible failure modes of the device. You can refer to the device's technical documentation, historical experience, and manufacturer recommendations to obtain relevant information. Common failure modes include hardware failure, software failure, and communication failure.

[0088] List fault characteristics: For each fault mode, list the fault characteristics or abnormal phenomena that may be associated with it. These characteristics can be data such as device status parameters, alarm information, log records, and network traffic.

[0089] Establish nodes and connection relationships: According to the fault mode and fault characteristics, establish the nodes and connection relationships of the fault diagnosis tree. Each node represents a fault mode or equipment status, and the connection relationship represents the conditional judgment and logical relationship between nodes.

[0090] Define conditional judgment: Define conditional judgment for each node, that is, when certain specific conditions are met, the system will enter the node. The conditional judgment can be defined based on the threshold of the fault characteristics, logical operations, etc.

[0091] Refine the node hierarchy: Based on the specific equipment and failure mode, the node hierarchy can be further refined to split the complex failure mode into smaller parts so as to more accurately deduce the cause of the failure.

[0092] Determine diagnostic rules: For each fault node, define corresponding diagnostic rules, that is, how to perform fault diagnosis based on fault characteristics at this node. These rules can be determined based on expert experience, data analysis algorithms, etc.

[0093] Fault diagnosis path: By gradually matching the equipment status data and condition judgment, the fault diagnosis tree is deduced along the path to ultimately determine the failure mode and cause of the equipment.

[0094] The present invention is based on a neural network fault diagnosis model, and performs fault diagnosis according to the real-time working status data of the diagnosed equipment object, without manual participation. However, if there is no way to monitor the working status of part of the diagnosed equipment object in real time, the faults occurring within these parts cannot be solved. For this reason, the present invention combines the two diagnostic methods, and uses the fault tree offline diagnostic method within the partial range where the neural network real-time diagnostic method fails. In this way, the advantages of the neural network diagnostic method can be used to achieve real-time online fault diagnosis, and the knowledge and experience of experts in the operation and maintenance field can be used to solve the fault problem, and the fault problem of the diagnosed object can be solved more perfectly. That is, if the characteristic parameter data of the diagnosed equipment object shows that there are uncollectable points at the fault occurrence site, the offline fault diagnosis working mode is started to continue to complete the fault diagnosis. Figure 3 This is a schematic diagram of the real-time fault diagnosis mode and the offline fault diagnosis mode provided by the present invention. The two modes can be combined to work as shown in FIG. Figure 3 shown.

[0095] In another embodiment, the offline fault diagnosis mode based on the preset Internet device fault diagnosis tree can also generate corresponding help documents. For operation and maintenance personnel, they need to have a full understanding of the applications to be maintained, and the knowledge base in the offline fault diagnosis mode stores a large amount of knowledge and experience of experts in the operation and maintenance field. Corresponding help documents can be generated based on business status data, and can also be used as training documents for new operation and maintenance personnel, so as to give full play to the knowledge and experience of experts in the field, improve the work efficiency of operation and maintenance personnel, and also reduce the training costs of operation and maintenance personnel.

[0096] On the basis of the above embodiment, after inputting the real-time service status data into the Internet device real-time fault diagnosis model to obtain the fault diagnosis result output by the Internet device real-time fault diagnosis model, the method further includes:

[0097] Determine the fault type and fault indicator data of the target Internet device according to the fault diagnosis result;

[0098] Matching the fault type and the fault indicator data with the fault processing solutions in the preset fault processing solution library to obtain a target processing solution;

[0099] Generate corresponding fault warning information according to the fault type, the fault indicator data and the target processing solution.

[0100] In the present invention, when a fault occurs, real-time business status data can be obtained through log data. At this time, the real-time fault diagnosis model of the Internet device performs fault diagnosis based on the real-time business status data in the log data, and then determines the key characters in the abnormal log data according to the fault type and fault indicator data (i.e., which data will cause the fault) determined in the fault diagnosis result, and matches them with the fault handling solutions in the preset fault handling solution library. The preset fault handling solution library outputs the corresponding fault solution. For example, when the host disk reaches a threshold, causing the Internet device to fail, if the fault indicator data is judged to be too many log files, based on key characters such as the disk threshold, it is matched with the fault handling solutions in the preset fault handling solution library, such as deleting unnecessary log files. According to priority and importance, old, redundant or insignificant log files can be deleted, so that disk space can be released; at the same time, the present invention also pushes the path of the log file that occupies a large space to the operation and maintenance personnel through an alarm SMS, and the operation and maintenance personnel can directly operate the corresponding log file according to the diagnosis result, which greatly reduces the operation and maintenance cost and improves the operation and maintenance efficiency.

[0101] Based on the above embodiment, the step of obtaining the real-time service status data of the target Internet device within a preset time period further includes:

[0102] The real-time business status data is preprocessed to obtain preprocessed real-time business status data, so as to perform Internet device fault diagnosis through the preprocessed real-time business status data, wherein the data preprocessing at least includes denoising processing, missing value processing and timestamp processing.

[0103] In the present invention, the original data (including real-time business status data and historical business status data) is preprocessed, including noise removal, missing value processing and timestamp standardization processing, among which, filling the time of time series data is a method of missing value processing, which is often used to process missing data or irregularly spaced data in time series. Timestamp standardization processing is to convert timestamps of different formats or representations into a unified standard format to facilitate data processing and comparison. In the real-time diagnosis of Internet device faults, the validity of input data can be improved, and in the model training process, the quality of training samples can be improved, which helps to improve the final model training effect.

[0104] The Internet device fault diagnosis system provided by the present invention is described below. The Internet device fault diagnosis system described below and the Internet device fault diagnosis method described above can be referenced to each other.

[0105] Figure 4 A schematic diagram of the structure of the Internet device fault diagnosis system provided by the present invention is shown in FIG. Figure 4As shown, the present invention provides an Internet device fault diagnosis system, including a real-time data acquisition module 401 and a fault diagnosis module 402, wherein the real-time data acquisition module 401 is used to obtain the real-time business status data of the target Internet device within a preset time period after determining that a fault occurs in the target Internet device; the fault diagnosis module 402 is used to input the real-time business status data into the Internet device real-time fault diagnosis model to obtain the fault diagnosis result output by the Internet device real-time fault diagnosis model, wherein the Internet device real-time fault diagnosis model is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

[0106] In the present invention, a preset duration is set, which indicates how long it takes to obtain the real-time service status data of the target Internet device when a fault occurs. When the Internet device sends a fault, the real-time data acquisition module 401 obtains various service status data related to the target Internet device within the preset duration by real-time monitoring of the target Internet device, such as network traffic, processing speed, connection status, device operation log and error report, etc.

[0107] When the real-time business status data is input into the fault diagnosis module 402, the real-time fault diagnosis model of the Internet device in the fault diagnosis module 402 processes and analyzes the input data, and outputs the fault diagnosis results, and displays the fault type of the target Internet device and the indicator data causing the fault (such as memory occupancy, disk space, etc.) to the operation and maintenance personnel through the display terminal, thereby providing the operation and maintenance personnel with relevant information such as fault detection and fault location.

[0108] Figure 5 The overall structural diagram of the Internet device fault diagnosis system provided by the present invention can be referred to Figure 5 As shown in the figure, the knowledge base in the Internet equipment fault diagnosis system contains a large number of use cases and rules in the field of the problem to be solved. The knowledge is stored in the database, which can provide the training samples and expert experience required by the model (which can be used to build a fault tree). The richness of the knowledge base largely determines the reasoning ability of the Internet equipment fault diagnosis system. Only when the knowledge base provides rich facts and rules to the algorithm reasoning module (such as the Internet equipment real-time fault diagnosis model), the algorithm reasoning machine can infer the answer to the problem based on these facts and rules.

[0109] Furthermore, after creating a complete knowledge base, the algorithmic reasoning machine can reason according to a certain strategy until the reasoning finds the answer to the problem or fails to solve the problem. The existence of the algorithmic reasoning machine allows operation and maintenance personnel to reason and solve problems like operation and maintenance experts, making the knowledge, experience and reasoning methods of operation and maintenance experts no longer static knowledge, but dynamic knowledge that can answer problems.

[0110] The explanation mechanism module provides display for operation and maintenance personnel and can explain the reasoning results of the algorithm reasoning engine. This module is set up to enable users to better understand the reasoning process and conclusions obtained, making the knowledge of operation and maintenance experts easier to understand and impart.

[0111] The human-computer exchange page is a communication bridge between users and the Internet device fault diagnosis system. It can explicitly present the reasoning process and conclusions of the Internet device fault diagnosis system to users, and can also accept questions from users and provide answers to them, so that users can obtain Internet fault diagnosis results through the display module. At the same time, operation and maintenance experts can also input new Internet device fault analysis experience into the system through the human-computer interaction interface, thereby updating the knowledge base.

[0112] The Internet device fault diagnosis system provided by the present invention, after determining that a target Internet device has failed, uses a real-time fault diagnosis model for Internet devices obtained through neural network training to perform fault diagnosis on real-time business status data of the target Internet device acquired within a preset time period, thereby realizing automated equipment fault detection and positioning, and improving the accuracy and efficiency of Internet device fault diagnosis.

[0113] The system provided by the present invention is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for the specific processes and detailed contents, which will not be repeated here.

[0114] Figure 6 A schematic diagram of the structure of an electronic device provided by the present invention, such as Figure 6As shown, the electronic device may include: a processor (Processor) 601, a communication interface (Communications Interface) 602, a memory (Memory) 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604. The processor 601 may call the logic instructions in the memory 603 to execute the Internet device fault diagnosis method, the method comprising: after determining that the target Internet device has a fault, obtaining the real-time service status data of the target Internet device within a preset time period; inputting the real-time service status data into the Internet device real-time fault diagnosis model to obtain the fault diagnosis result output by the Internet device real-time fault diagnosis model, wherein the Internet device real-time fault diagnosis model is obtained by training a neural network model based on sample service status data marked with Internet device fault type labels and fault indicator labels.

[0115] In addition, the logic instructions in the above-mentioned memory 603 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0116] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the Internet device fault diagnosis method provided by the above-mentioned methods, and the method includes: after determining that a target Internet device has a fault, obtaining real-time business status data of the target Internet device within a preset time period; inputting the real-time business status data into an Internet device real-time fault diagnosis model to obtain a fault diagnosis result output by the Internet device real-time fault diagnosis model, wherein the Internet device real-time fault diagnosis model is obtained by training a neural network model based on sample business status data marked with an Internet device fault type label and a fault indicator label.

[0117] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the Internet device fault diagnosis method provided by the above-mentioned embodiments, the method comprising: after determining that a target Internet device has a fault, obtaining real-time business status data of the target Internet device within a preset time period; inputting the real-time business status data into an Internet device real-time fault diagnosis model to obtain a fault diagnosis result output by the Internet device real-time fault diagnosis model, wherein the Internet device real-time fault diagnosis model is obtained by training a neural network model based on sample business status data marked with an Internet device fault type label and a fault indicator label.

[0118] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for diagnosing faults of an Internet device, characterized in that: include: After determining that a target Internet device has failed, obtaining real-time service status data of the target Internet device within a preset time period; The real-time business status data is input into the real-time fault diagnosis model of the Internet device to obtain the fault diagnosis result output by the real-time fault diagnosis model of the Internet device, wherein the real-time fault diagnosis model of the Internet device is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

2. The Internet device fault diagnosis method according to claim 1, characterized in that: The Internet device real-time fault diagnosis model is trained by the following steps: Obtain historical service status data of multiple sample Internet devices; Determine the fault type corresponding to the historical service status data according to the fault information generated when each of the sample Internet devices has a device fault at a historical moment, and obtain sample fault indicator data according to the fault type, wherein the sample fault indicator data is the data in the historical service status data that causes the device fault; Generate a fault label corresponding to the historical service status data according to the fault type and the sample fault indicator data to obtain the sample service status data; The neural network model is trained using the sample business status data, and if the training conditions are met, the Internet device real-time fault diagnosis model is obtained.

3. The Internet device fault diagnosis method according to claim 2, characterized in that: The neural network model is a back propagation neural network model; The neural network model is trained by the sample business status data, and if the training conditions are met, the real-time fault diagnosis model of the Internet device is obtained, including: It is determined whether the training results in each round of training meet the preset error threshold. If not, the connection weights and thresholds in the back propagation neural network model are updated through the model parameter correction formula until the training results of the current training round meet the preset error threshold, thereby obtaining the Internet device real-time fault diagnosis model. The model parameter correction formula is: Where w represents the connection weight, j represents the jth hidden layer node, k represents the kth output layer node, n0 represents the number of iterations, p represents the number of samples, η represents the step size, and o j represents the output of the jth hidden layer node, i represents the ith input layer node, θ represents the threshold in the back propagation neural network model, t represents the expected output value, and y represents the network predicted output value.

4. The Internet device fault diagnosis method according to claim 1, characterized in that: The method further comprises: After determining that the target Internet device has failed, if the real-time service status data is not obtained within the preset time period, receiving a first input, wherein the first input includes an operation of querying service status data of the target Internet device at previous N moments; In response to the first input, the acquired business status data of the previous N moments are matched with a preset Internet device fault diagnosis tree to obtain a fault diagnosis result of the target Internet device, wherein the preset Internet device fault diagnosis tree is constructed through a logical causal relationship between fault type and fault characteristics.

5. The Internet device fault diagnosis method according to claim 1, characterized in that: After inputting the real-time service status data into the Internet device real-time fault diagnosis model to obtain the fault diagnosis result output by the Internet device real-time fault diagnosis model, the method further includes: Determine the fault type and fault indicator data of the target Internet device according to the fault diagnosis result; Matching the fault type and the fault indicator data with the fault processing solutions in the preset fault processing solution library to obtain a target processing solution; Generate corresponding fault warning information according to the fault type, the fault indicator data and the target processing solution.

6. The Internet device fault diagnosis method according to claim 1, characterized in that: The step of obtaining the real-time service status data of the target Internet device within a preset time period further includes: The real-time business status data is preprocessed to obtain preprocessed real-time business status data, so as to perform Internet device fault diagnosis through the preprocessed real-time business status data, wherein the data preprocessing at least includes denoising processing, missing value processing and timestamp processing.

7. An Internet device fault diagnosis system, characterized in that: include: A real-time data acquisition module, used to obtain the real-time service status data of the target Internet device within a preset time period after determining that the target Internet device has failed; A fault diagnosis module is used to input the real-time business status data into the real-time fault diagnosis model of the Internet device to obtain the fault diagnosis result output by the real-time fault diagnosis model of the Internet device, wherein the real-time fault diagnosis model of the Internet device is obtained by training a neural network model based on sample business status data marked with Internet device fault type labels and fault indicator labels.

8. An electronic 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 Internet device fault diagnosis method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the Internet device fault diagnosis method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the Internet device fault diagnosis method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Equipment fault intelligent diagnosis method based on artificial neural network

    CN110766143A

  • Fault diagnosis method and system for intelligent electric meter

    CN112379325A

  • Internet of Things fault diagnosis method, model training method and related device

    CN113541985A

  • Fault device positioning method and device, equipment and storage medium

    CN116184122A

Cited By

  • Elevator health condition assessment method based on fusion network model

    CN119503568A

  • Operation and maintenance fault positioning method and device based on large model, equipment and storage medium

    CN120196528A

  • Operation and maintenance fault location method, device, equipment and storage medium based on large model

    CN120196528B