CN-122019234-A - Analysis method and device for server fault, electronic equipment and readable storage medium
Abstract
The disclosure provides a server fault analysis method, a device, electronic equipment and a readable storage medium, wherein the data information package of a server to be analyzed is collected, the data information package comprises attribute information and operation log information of the server to be analyzed, matching fault processing information is screened out from a pre-constructed fault processing information base based on the attribute information and the operation log information, the operation log information and the matching fault processing information are input into a pre-trained fault analysis model so that the fault analysis model outputs target fault reasons and target fault processing information of the server to be analyzed, and a corresponding target fault processing tool is called for processing faults of the server to be analyzed based on the target fault processing information in response to the condition that the target fault reasons and the target fault processing information meet analysis processing conditions. Thus, the accuracy of the server fault analysis processing can be improved.
Inventors
- CHEN XIAOSHENG
- ZHAO ZEHAO
- SU BAOLIN
Assignees
- 广州博冠信息科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260127
Claims (15)
- 1. The analysis method of the server fault is characterized by being applied to a server fault analysis system, and comprises the following steps: Collecting a data information packet of a server to be analyzed, wherein the data information packet comprises attribute information and operation log information of the server to be analyzed; screening out matching fault processing information from a pre-constructed fault processing information base based on the attribute information and the operation log information; Inputting the operation log information and the matching fault processing information into a pre-trained fault analysis model so that the fault analysis model outputs target fault reasons and target fault processing information of the server to be analyzed; and responding to the target fault reason and the target fault processing information to meet analysis processing conditions, and calling a corresponding target fault processing tool to process the fault of the server to be analyzed based on the target fault processing information.
- 2. The method according to claim 1, wherein the screening out matching fault handling information from a pre-constructed fault handling information base based on the attribute information and the operation log information, comprises: inputting the attribute information and the operation log information into a pre-trained vector processing model, and outputting a target vector; and screening matching fault processing information matched with the target vector from the pre-constructed fault processing information base based on the target vector.
- 3. The analysis method according to claim 2, wherein the screening out matching fault handling information matching the target vector from the fault handling information base constructed in advance based on the target vector includes: determining a similarity between the target vector and each matching fault vector stored in the fault handling information base based on the target vector; and determining fault processing information corresponding to the matching fault vectors with the similarity between the target vectors being greater than a preset similarity threshold as the matching fault processing information.
- 4. The analysis method according to claim 1, wherein the target failure cause and the target failure processing information satisfy an analysis processing condition by: determining the target fault cause and the analysis evaluation score corresponding to the target fault processing information based on at least one evaluation index; and if the analysis evaluation score is larger than a preset evaluation score threshold, determining that the target fault cause and the target fault processing information meet analysis processing conditions.
- 5. The method according to claim 4, wherein determining the analysis evaluation score corresponding to the target failure cause and the target failure processing information based on at least one evaluation index, comprises: Determining a dimension evaluation score of the target fault cause and the target fault processing information under each evaluation index; and carrying out weighted calculation on the dimension evaluation scores under each evaluation index based on the weight coefficient corresponding to each evaluation index, and determining the analysis evaluation score.
- 6. The analysis method according to claim 4, wherein the evaluation index includes at least one of: the matching degree of the fault analysis model and the matching fault processing information, the logic self-consistency degree of the target fault reason and the target fault processing information, the abnormal signal coverage degree of the target fault reason and the target fault processing information, and the confidence degree of the fault analysis model on the target fault reason and the target fault processing information.
- 7. The method of analysis of claim 4, further comprising: And if the analysis evaluation score is smaller than a preset evaluation score threshold, carrying out fault analysis on the attribute information and the operation log information of the server to be analyzed again until the corresponding analysis evaluation score is larger than the preset evaluation score threshold or the fault analysis times of the server to be analyzed are larger than the preset analysis times threshold.
- 8. The method of analysis of claim 1, wherein the method of analysis further comprises: And determining the fault processing level aiming at the server to be analyzed based on the fault operation type, the fault influence range and the service time range of the server.
- 9. The method according to claim 8, wherein the calling a corresponding target failure processing tool to process the failure of the server to be analyzed based on the target failure processing information includes: And calling a target fault processing tool corresponding to the target fault processing information according to a processing flow corresponding to the fault processing grade based on the fault processing grade of the server to be analyzed, and processing the fault of the server to be analyzed.
- 10. The method of analysis of claim 1, wherein the method of analysis further comprises: determining at least one historical fault reason, fault processing information corresponding to each historical fault reason and server attribute information; inputting each historical fault cause, corresponding fault processing information and server attribute information into a pre-trained vector processing model, and outputting at least one matching fault vector; and constructing the fault processing information base based on at least one matching fault vector.
- 11. The method of analysis of claim 1, wherein the method of analysis further comprises: Inputting the target fault reasons and the target fault processing information into a pre-trained vector processing model, and outputting corresponding updated matching fault vectors; And storing the updated matching fault vector into the fault handling information base to update the fault handling information base.
- 12. The method according to claim 1, wherein the collecting the data packets of the server to be analyzed comprises: collecting data information packet of server to be analyzed according to preset collecting frequency or And collecting the data information packet of the server to be analyzed according to the received fault analysis instruction.
- 13. An analysis device for server faults is characterized by being applied to a server fault analysis system, and the analysis device comprises: The system comprises a data acquisition module, a data analysis module and a data analysis module, wherein the data acquisition module is used for acquiring a data information packet of a server to be analyzed, and the data information packet comprises attribute information and operation log information of the server to be analyzed; The fault information matching module is used for screening matching fault processing information from a pre-constructed fault processing information base based on the attribute information and the operation log information; The fault cause determining module is used for inputting the operation log information and the matching fault processing information into a pre-trained fault analysis model so that the fault analysis model outputs the target fault cause and the target fault processing information of the server to be analyzed; and the fault processing module is used for responding to the target fault reason and the target fault processing information to meet analysis processing conditions, and calling a corresponding target fault processing tool to process the fault of the server to be analyzed based on the target fault processing information.
- 14. An electronic device comprising a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor in communication with the storage medium via the bus when the electronic device is in operation, the processor executing the machine-readable instructions to perform the steps of the method of server failure analysis of any one of claims 1 to 12.
- 15. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the server failure analysis method according to any of claims 1 to 12.
Description
Analysis method and device for server fault, electronic equipment and readable storage medium Technical Field The disclosure relates to the technical field of fault analysis, and in particular relates to a method and a device for analyzing server faults, electronic equipment and a readable storage medium. Background During the operation of the server, different types of faults may be generated at different times, so that the faults of the server need to be accurately analyzed, and corresponding processing is further performed to ensure the normal operation of the server. In the related art, a large number of logs generated in the running process of the server can be collected, the server faults are analyzed according to the collected logs and the information of the preset fault processing rules, but the large number of log information is analyzed according to the fixed preset fault processing rules, when a new fault is generated on the server, the corresponding fault cannot be accurately analyzed, and the efficiency and the accuracy of the server fault analysis are affected. Further, a corresponding fault analysis model can be trained to analyze the server fault, but the analysis effect of the fault analysis model is relatively dependent on a training sample, and when a new fault is generated on the server, the fault analysis model may have a fault condition for the server fault analysis, so that the problem of lower accuracy rate for the server fault analysis is caused. Disclosure of Invention In view of this, an object of the present disclosure is to provide a method, an apparatus, an electronic device, and a readable storage medium for analyzing a server failure, by collecting a data packet of a server to be analyzed, screening matching failure processing information from a failure processing information base constructed in advance, inputting data of the server to be analyzed and the matching failure processing information into a failure analysis model at the same time, so as to assist in analyzing a server failure by the matching failure processing information, improve accuracy of server failure analysis, and to improve target failure cause and target failure processing information output by the failure analysis model, and only after the target failure cause and the target failure processing information meet analysis processing conditions, perform next processing according to the corresponding failure processing information, thereby further improving accuracy of server failure analysis processing. In a first aspect, an embodiment of the present disclosure provides a method for analyzing a server failure, which is applied to a server failure analysis system, where the method includes: Collecting a data information packet of a server to be analyzed, wherein the data information packet comprises attribute information and operation log information of the server to be analyzed; screening out matching fault processing information from a pre-constructed fault processing information base based on the attribute information and the operation log information; Inputting the operation log information and the matching fault processing information into a pre-trained fault analysis model so that the fault analysis model outputs target fault reasons and target fault processing information of the server to be analyzed; and responding to the target fault reason and the target fault processing information to meet analysis processing conditions, and calling a corresponding target fault processing tool to process the fault of the server to be analyzed based on the target fault processing information. In a second aspect, an embodiment of the present disclosure further provides an analysis apparatus for server failure, which is applied to a server failure analysis system, where the analysis apparatus includes: The system comprises a data acquisition module, a data analysis module and a data analysis module, wherein the data acquisition module is used for acquiring a data information packet of a server to be analyzed, and the data information packet comprises attribute information and operation log information of the server to be analyzed; The fault information matching module is used for screening matching fault processing information from a pre-constructed fault processing information base based on the attribute information and the operation log information; The fault cause determining module is used for inputting the operation log information and the matching fault processing information into a pre-trained fault analysis model so that the fault analysis model outputs the target fault cause and the target fault processing information of the server to be analyzed; and the fault processing module is used for responding to the target fault reason and the target fault processing information to meet analysis processing conditions, and calling a corresponding target fault processing tool to process the fault of the server to be ana