CN-122027438-A - Network fault diagnosis method, device, equipment, medium and program product
Abstract
The present disclosure relates to the field of computer technology, and provides a network fault diagnosis method, device, equipment, medium and program product, where the network fault diagnosis method of the present disclosure includes firstly obtaining current network state data; then, based on a pre-constructed fault feature library, performing feature matching analysis on the acquired network state data according to corresponding detection logic to obtain a corresponding feature matching analysis result; and finally, determining the specific network fault type based on the feature matching analysis result. The method and the device can automatically and standardized identify the specific type of the network fault and improve the efficiency of network fault diagnosis.
Inventors
- CHEN HAN
- ZHOU LUZHOU
- XIE HAOJIE
- WANG WEIHENG
- ZENG SHAOBIN
- CHEN JINHAI
Assignees
- 杭州网易云音乐科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260313
Claims (10)
- 1. A method of diagnosing a network failure, the method comprising: acquiring network state data; based on the fault feature library, performing feature matching analysis on the network state data according to the detection logic to obtain a feature matching analysis result; and determining the network fault type according to the feature matching analysis result.
- 2. The method of claim 1, wherein the network failure type comprises at least one of a device configuration class failure and a network performance class failure, and wherein the detection logic comprises: firstly, carrying out feature matching analysis on equipment configuration parameters related to equipment configuration in the network state data so as to identify whether equipment configuration faults exist or not; And under the condition that the equipment configuration type fault is not identified, performing feature matching analysis on network performance indexes related to network performance in the network state data to identify whether the network performance type fault exists.
- 3. The method of claim 2, wherein the device configuration parameters comprise network proxy and routing configuration parameters.
- 4. A method according to claim 3, wherein the network proxy and route configuration parameters comprise virtual private network status; the identifying whether there is a device configuration class fault includes: And when the virtual private network is detected to be in an on state, judging that the equipment configuration type fault exists.
- 5. A method according to claim 3, wherein the network proxy and routing configuration parameters comprise network proxy status; the identifying whether there is a device configuration class fault includes: and when the network agent is detected to be in an on state, judging that the equipment configuration type fault exists.
- 6. A method according to claim 3, wherein the network proxy and route configuration parameters comprise domain name system server addresses; the identifying whether there is a device configuration class fault includes: and when detecting that the currently used domain name system server address exists in a preset abnormal domain name system list, judging that the equipment configuration type fault exists.
- 7. A network fault diagnosis apparatus, the apparatus comprising: the acquisition module is used for acquiring network state data; The analysis module is used for carrying out feature matching analysis on the network state data according to the detection logic based on the fault feature library so as to obtain a feature matching analysis result; And the determining module is used for determining the network fault type according to the characteristic matching analysis result.
- 8. An electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the network fault diagnosis method of any one of claims 1 to 6.
- 9. A computer-readable storage medium having stored thereon computer instructions for causing a computer to execute the network fault diagnosis method according to any one of claims 1 to 6.
- 10. A computer program product comprising computer instructions for causing a computer to perform the network fault diagnosis method of any one of claims 1 to 6.
Description
Network fault diagnosis method, device, equipment, medium and program product Technical Field The present disclosure relates to the field of computer technologies, and in particular, to a network fault diagnosis method, apparatus, device, medium, and program product. Background In the related art, when a terminal device encounters a network connection problem, it generally relies on a user to perform investigation manually or by means of a single-function tool. For example, the user may need to check the bandwidth using the speed measuring tool separately and check the network configuration through the system setting, and the whole process relies on manual experience to perform comprehensive judgment. The distributed and non-automatic checking mode not only has slow response, but also causes unnecessary computing resource consumption and network signaling overhead due to the fact that the terminal equipment executes multiple independent and possibly redundant network detection and state check operations. Meanwhile, the low-efficiency fault location also prolongs the duration of the abnormal network state, increases the invalid occupation pressure on the associated server resources, and reduces the automation level and the resource utilization efficiency of network operation and maintenance as a whole. Therefore, how to design a technical scheme capable of effectively integrating multidimensional network state information and realizing automatic and accurate positioning of fault sources becomes a key for improving the diagnosis efficiency and accuracy of terminal network problems. Disclosure of Invention The embodiment of the disclosure provides a network fault diagnosis method, device, equipment, medium and program product, which are used for solving the problems of low network fault diagnosis efficiency and inaccurate network fault diagnosis in the related art. In a first aspect, an embodiment of the present disclosure provides a network fault diagnosis method, including: acquiring network state data; Based on the fault feature library, performing feature matching analysis on the network state data according to the detection logic to obtain feature matching analysis results; And determining the network fault type according to the feature matching analysis result. The network fault diagnosis method provided by the embodiment of the disclosure provides an objective data basis for subsequent fault analysis by acquiring the network state data, performs feature matching analysis on the network state data according to the detection logic based on the fault feature library, can systematically compare discrete network data with the known fault modes so as to obtain an accurate feature matching analysis result, further determines the network fault type according to the feature matching analysis result, realizes the effects of automatically processing the network data and accurately positioning the fault type, thereby being beneficial to rapidly and accurately diagnosing the network fault and improving the efficiency and the accuracy of network fault processing. In an alternative embodiment, the network fault type includes at least one of a device configuration class fault and a network performance class fault: Firstly, carrying out feature matching analysis on equipment configuration parameters related to equipment configuration in network state data so as to identify whether equipment configuration faults exist or not; And under the condition that the equipment configuration type faults are not identified, performing feature matching analysis on network performance indexes related to network performance in the network state data to identify whether the network performance type faults exist. The embodiment of the disclosure can also preferentially identify and remove blocking faults caused by configuration errors of users, and avoid nonsensical performance test under the condition of the configuration errors, thereby effectively preventing misjudgment caused by configuration covering performance problems and improving the execution efficiency of the diagnosis flow. In an alternative embodiment, the device configuration parameters include network proxy and routing configuration parameters. In an alternative embodiment, the network proxy and routing configuration parameters include virtual private network status, identifying whether a device configuration class fault exists, comprising: And when the virtual private network is detected to be in an on state, judging that the equipment configuration type fault exists. In an alternative embodiment, the network proxy and routing configuration parameters include network proxy status, identifying whether a device configuration class fault exists, including: and when the network agent is detected to be in an on state, judging that the equipment configuration type fault exists. In an alternative embodiment, the network proxy and routing configuration parameters include a doma